Skip to content

v3.0.0

Compare
Choose a tag to compare
@openui5bot openui5bot released this 09 Feb 14:20
· 207 commits to main since this release

Breaking Changes

  • Transform to ES Modules (#398) 2b61580
  • Throw an error on write of a resource when path does not starts with virBasePath of the respective adapter (#453) d76575f
  • Clone resources when writing in and reading from the Memory (#448) 3454bc1
  • AbstractAdapter: Virtual base path must end with slash 6d1f411
  • resourceFactory: Remove #createCollectionsForTree a4d15f6
  • Require Node.js >= 16.18.0 / npm >= 8 94029de

BREAKING CHANGE

An error is thrown when a resource shall be written to an adapter where the path of the resource does not starts with the virtual base path defined in the adapter.

Resources stored in the adapters can not be modified by reference anymore. All modifications need to be persisted by using the #write method in order to be reflected in the adapter.

This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export.
If your project uses CommonJS, it needs to be converted to ES Modules or use a dynamic import.

For more information see also:

Support for older Node.js and npm releases has been dropped.
Only Node.js v16.18.0 and npm v8 or higher are supported.

Features

  • Add Link-reader and WriterCollection a0e5cf3
  • Introduce Readers "Filter" and "Transformer" (#331) f46e6d1
  • Resource: Add isModified method f6a590a

Bug Fixes

  • Allow resource migration (#407) 1722d71
  • FileSystem Adapter: Use fs.copy / Skip writing when resource is unchanged (#370) 9ac6a39

Dependency Updates

  • Bump minimatch from 5.1.4 to 6.1.5 e6b8d14

All changes

v2.0.6...v3.0.0