Skip to content

Releases: cotton-coding/loom-io

v0.12.3

17 Jul 17:11
43a472c
Compare
Choose a tag to compare

Fix

  • Paths of File or Directory could be starting with a slash ( maybe this will be a fix in the future) which made problems with getFullPath in the Filesystem-Adapter.

Full Changelog: v0.12.2...v0.12.3

v0.12.2

01 Jul 21:29
d478ea3
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.12.1...v0.12.2

v0.12.1

28 Jun 14:14
611abfe
Compare
Choose a tag to compare

New

  • funtion to get the filename without extension `file.getNameWithoutExtension()´

Full Changelog: v0.12.0...v0.12.1

v0.12.0

24 Jun 16:35
d520652
Compare
Choose a tag to compare

Bracking changes

  • Separate conversion of file content from file object: json and stirngify are removed from the file and the file must be passed directly to the parser.
  • Rename stringify function in converters to unify
  • The LoomFileConverter interface is renamed to FileConverter and is exported by the new library @loom-io/converter.
  • The base package @loom-io/base-fs will be removed because it is no longer useful.## New

New library

@loom-io/convert to combine several converters - https://loom-io.cotton-coding.com/converter/combined-converter.html

What's Changed

Full Changelog: v0.11.0...v0.12.0

v0.11.0

27 May 17:45
5c23420
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.10.1...v0.11.0

v0.10.0

18 May 09:31
83dfc9b
Compare
Choose a tag to compare

Bracking Changes

Importing Loom from the core package is only necessary to register converters. Adapters directly export a dir and file.
The source adapters are now classes, so it is necessary to create a new version of them with new.
See the documentation for more information.

What's Changed

Full Changelog: v0.9.2...v0.10.0

v0.9.2

03 May 10:37
e7e769c
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • remove type casting from read and write, have to be done with as now. It made problems with front matter converter because of the bedefined structure

Full Changelog: v0.8.0...v0.9.2

v0.8.0

01 Apr 19:05
238a261
Compare
Choose a tag to compare

Breaking Changes

  • jsonConvert and yamlConvert now exporting functions
  • defintions of converter has changed
  • converter replacing extending attribute with a function to verify, which get the file as param to do a more deep check if necassery
  • stringify and parse gets the file as param for more flexibility

What's Changed

Full Changelog: v0.7.1...v0.8.0

v0.7.0

31 Mar 15:36
8bfb993
Compare
Choose a tag to compare

Breaking changes

The library has been restructured, there are completely new packages and the old @loom-io/fs is deprecated. Please switch to @loom-io/base-fs for a one-to-one replacement or combine the modules as needed. Have a look at the new documentation.

New

  • Adapter can handle different storage systems and besides one for the filesystem there is also one for s3 and in-memory.
  • Creating and writing files is now possible. You can also write JSON to json files or yml files if the jsonConvert or yamlConverter are not added by default.
  • converters are not added by default to avoid unwanted dependencies.

What's Changed

Full Changelog: v0.6.0...v0.7.0

v0.6.0

03 Mar 12:41
v0.6.0
0574175
Compare
Choose a tag to compare

What's Changed

Full Changelog: v0.5.0...v0.6.0