All notable changes to this project will be documented in this file.
This project adheres to Semantic Versioning.
A list of unreleased changes can be found here.
- Drop node v21 support
2d2f125
- Require Node.js 20.11.x/>=21.2.0 and npm >=10
b98bd9a
- DuplexCollection: remove byGlobSource method (#552)
e26338b
byGlobSource
method is removed from DuplexCollection
JIRA: CPOUI5FOUNDATION-802 Relates to: SAP/ui5-tooling#701
Support for older Node.js and npm releases has been dropped. Only Node.js 20.11.x and >=21.2.0 as well as npm v10 or higher are supported.
- Bump minimatch from 6.2.0 to 7.2.0
d2c37d4
- Bump minimatch from 6.1.8 to 6.2.0
20e9311
- 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
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:
- https://sap.github.io/ui5-tooling/updates/migrate-v3/
- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c
Support for older Node.js and npm releases has been dropped. Only Node.js v16.18.0 and npm v8 or higher are supported.
- Add Link-reader and WriterCollection
a0e5cf3
- Introduce Readers "Filter" and "Transformer" (#331)
f46e6d1
- Resource: Add isModified method
f6a590a
- Allow resource migration (#407)
1722d71
- FileSystem Adapter: Use fs.copy / Skip writing when resource is unchanged (#370)
9ac6a39
- Bump minimatch from 5.1.4 to 6.1.5
e6b8d14
- fsInterface on Windows: Correctly handle project paths containing non-ASCII characters
6bb44be
- Reduce install size by moving 'mock-require' to devDependencies
173f4ff
- fsInterface: Improve error messages
8b998f8
- ResourceTagCollection: Do not validate class of resource
c52c9f7
- TypeScript type definition support (#252)
f379094
- Resource: Keep stats size up to date (#253)
0ef976f
- Resource: getStream for empty string (#249)
bc5eafb
- Resource#getSize: Retrieve Resource's size (#256)
9d2cc6c
- adapters/Memory: Return cloned resources (#235)
7bf3c6a
- [FIX] adapters/Memory: Return cloned resources (#235)
- Namespaces in API Reference (JSDoc)
b9d7b3c
Remove deprecated parameter "useNamespaces" from method "resourceFactory.createCollectionsForTree". Use parameter "getVirtualBasePathPrefix" instead.
Support for older Node.js releases has been dropped. Only Node.js v10 or higher is supported.
- Bump globby from 9.2.0 to 10.0.0
573e853
- fsInterface: Add mkdir function
5bd91ac
- Prevent FS write from draining Resources content
370f121
- Yarn: Pin dir-glob dependency to v2.0.0
e14457c
- index.js export: Remove top-level access to adapters
f1f7831
Adapters "AbstractAdapter", "FileSystem" and "Memory" used to be accessible via the top-level export of index.js (example: require("@ui5/project").FileSystem). This is no longer possible. Adapters are now grouped in the top-level object "adapters" and can be accessed from there (example: require("@ui5/project").adapters.FileSystem).
- AbstractAdapter: Fix normalization of globstar
6d484e8
[v4.0.1]: https://github.com/SAP/ui5-fs/compare/v4.0.0...v4.0.1 [v4.0.0]: https://github.com/SAP/ui5-fs/compare/v3.0.5...v4.0.0 [v3.0.5]: https://github.com/SAP/ui5-fs/compare/v3.0.4...v3.0.5 [v3.0.4]: https://github.com/SAP/ui5-fs/compare/v3.0.3...v3.0.4 [v3.0.3]: https://github.com/SAP/ui5-fs/compare/v3.0.2...v3.0.3 [v3.0.2]: https://github.com/SAP/ui5-fs/compare/v3.0.1...v3.0.2 [v3.0.1]: https://github.com/SAP/ui5-fs/compare/v3.0.0...v3.0.1 [v3.0.0]: https://github.com/SAP/ui5-fs/compare/v2.0.6...v3.0.0 [v2.0.6]: https://github.com/SAP/ui5-fs/compare/v2.0.5...v2.0.6 [v2.0.5]: https://github.com/SAP/ui5-fs/compare/v2.0.4...v2.0.5 [v2.0.4]: https://github.com/SAP/ui5-fs/compare/v2.0.3...v2.0.4 [v2.0.3]: https://github.com/SAP/ui5-fs/compare/v2.0.2...v2.0.3 [v2.0.2]: https://github.com/SAP/ui5-fs/compare/v2.0.1...v2.0.2 [v2.0.1]: https://github.com/SAP/ui5-fs/compare/v2.0.0...v2.0.1 [v2.0.0]: https://github.com/SAP/ui5-fs/compare/v1.1.2...v2.0.0 [v1.1.2]: https://github.com/SAP/ui5-fs/compare/v1.1.1...v1.1.2 [v1.1.1]: https://github.com/SAP/ui5-fs/compare/v1.1.0...v1.1.1 [v1.1.0]: https://github.com/SAP/ui5-fs/compare/v1.0.2...v1.1.0 [v1.0.2]: https://github.com/SAP/ui5-fs/compare/v1.0.1...v1.0.2 [v1.0.1]: https://github.com/SAP/ui5-fs/compare/v1.0.0...v1.0.1 [v1.0.0]: https://github.com/SAP/ui5-fs/compare/v0.2.0...v1.0.0 [v0.2.0]: https://github.com/SAP/ui5-fs/compare/v0.1.0...v0.2.0 [v0.1.0]: https://github.com/SAP/ui5-fs/compare/v0.0.1...v0.1.0