|
| 1 | +# Changelog |
| 2 | +All notable changes to this project will be documented in this file. |
| 3 | +This project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). |
| 4 | + |
| 5 | +{{ if .Versions -}} |
| 6 | +A list of unreleased changes can be found [here]({{ .Info.RepositoryURL }}/compare/{{ $latest := index .Versions 0 }}{{ $latest.Tag.Name }}...HEAD). |
| 7 | +{{ end -}} |
| 8 | + |
| 9 | +{{ range .Versions }} |
| 10 | +<a name="{{ .Tag.Name }}"></a> |
| 11 | +## {{ if .Tag.Previous }}[{{ .Tag.Name }}]{{ else }}{{ .Tag.Name }}{{ end }} - {{ datetime "2006-01-02" .Tag.Date }} |
| 12 | +{{ range .CommitGroups -}} |
| 13 | +### {{ .Title }} |
| 14 | +{{ range .Commits -}} |
| 15 | +- {{ if .Scope }}**{{ .Scope }}:** {{ end }}{{ .Subject }} [`{{ .Hash.Short }}`]({{ $.Info.RepositoryURL }}/commit/{{ .Hash.Long }}) |
| 16 | +{{ end }} |
| 17 | +{{ end -}} |
| 18 | + |
| 19 | +{{- if .RevertCommits -}} |
| 20 | +### Reverts |
| 21 | +{{ range .RevertCommits -}} |
| 22 | +- {{ .Revert.Header }} |
| 23 | +{{ end }} |
| 24 | +{{ end -}} |
| 25 | + |
| 26 | +{{- if .NoteGroups -}} |
| 27 | +{{ range .NoteGroups -}} |
| 28 | +### {{ .Title }} |
| 29 | +{{ range .Notes }} |
| 30 | +{{ .Body }} |
| 31 | +{{ end }} |
| 32 | +{{ end -}} |
| 33 | +{{ end -}} |
| 34 | +{{ end -}} |
| 35 | + |
| 36 | +<a name="v3.0.5"></a> |
| 37 | +## [v3.0.5] - 2023-10-09 |
| 38 | + |
| 39 | +<a name="v3.0.4"></a> |
| 40 | +## [v3.0.4] - 2023-05-23 |
| 41 | +### Bug Fixes |
| 42 | +- Do not prefix excludes when creating a reader ([#504](https://github.com/SAP/ui5-fs/issues/504)) [`f765894`](https://github.com/SAP/ui5-fs/commit/f765894df3854242dc308b32581e3d234bbcf27e) |
| 43 | + |
| 44 | + |
| 45 | +<a name="v3.0.3"></a> |
| 46 | +## [v3.0.3] - 2023-04-21 |
| 47 | +### Dependency Updates |
| 48 | +- Bump minimatch from 8.0.4 to 9.0.0 ([#497](https://github.com/SAP/ui5-fs/issues/497)) [`56d4542`](https://github.com/SAP/ui5-fs/commit/56d45423458564db7c2bdf7d1cdbd174c2057232) |
| 49 | +- Bump minimatch from 7.4.4 to 8.0.2 [`a53a4e3`](https://github.com/SAP/ui5-fs/commit/a53a4e3e531cc880de29a4e8176844dd2c743196) |
| 50 | + |
| 51 | + |
| 52 | +<a name="v3.0.2"></a> |
| 53 | +## [v3.0.2] - 2023-03-01 |
| 54 | +### Dependency Updates |
| 55 | +- Bump minimatch from 6.2.0 to 7.2.0 [`d2c37d4`](https://github.com/SAP/ui5-fs/commit/d2c37d4be518b4cc812cb55b9a431796010725dc) |
| 56 | + |
| 57 | + |
| 58 | +<a name="v3.0.1"></a> |
| 59 | +## [v3.0.1] - 2023-02-16 |
| 60 | +### Dependency Updates |
| 61 | +- Bump minimatch from 6.1.8 to 6.2.0 [`20e9311`](https://github.com/SAP/ui5-fs/commit/20e931149ce87d374e607f0f4e4357ae0abe3f97) |
| 62 | + |
| 63 | + |
| 64 | +<a name="v3.0.0"></a> |
| 65 | +## [v3.0.0] - 2023-02-09 |
| 66 | +### Breaking Changes |
| 67 | +- Transform to ES Modules ([#398](https://github.com/SAP/ui5-fs/issues/398)) [`2b61580`](https://github.com/SAP/ui5-fs/commit/2b615807a610dd7dfeb5423496ec7aebc9169011) |
| 68 | +- Throw an error on write of a resource when path does not starts with virBasePath of the respective adapter ([#453](https://github.com/SAP/ui5-fs/issues/453)) [`d76575f`](https://github.com/SAP/ui5-fs/commit/d76575f8f05a0b6695285200ba595e532620daed) |
| 69 | +- Clone resources when writing in and reading from the Memory ([#448](https://github.com/SAP/ui5-fs/issues/448)) [`3454bc1`](https://github.com/SAP/ui5-fs/commit/3454bc15be8a6ecd455b49607cb289e69b41d0f0) |
| 70 | +- **AbstractAdapter:** Virtual base path must end with slash [`6d1f411`](https://github.com/SAP/ui5-fs/commit/6d1f4117a2b8bb1226540fafeec8341e4966177d) |
| 71 | +- **resourceFactory:** Remove #createCollectionsForTree [`a4d15f6`](https://github.com/SAP/ui5-fs/commit/a4d15f61ae0416051658280bfd2f8635c7ddf44e) |
| 72 | +- Require Node.js >= 16.18.0 / npm >= 8 [`94029de`](https://github.com/SAP/ui5-fs/commit/94029deea4e85211fb8d84f7b213f1fd0c418240) |
| 73 | + |
| 74 | +### BREAKING CHANGE |
| 75 | +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. |
| 76 | + |
| 77 | +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. |
| 78 | + |
| 79 | +This package has been transformed to ES Modules. Therefore it no longer provides a CommonJS export. |
| 80 | +If your project uses CommonJS, it needs to be converted to ES Modules or use a dynamic import. |
| 81 | + |
| 82 | +For more information see also: |
| 83 | + |
| 84 | +- https://sap.github.io/ui5-tooling/updates/migrate-v3/ |
| 85 | +- https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c |
| 86 | + |
| 87 | +Support for older Node.js and npm releases has been dropped. |
| 88 | +Only Node.js v16.18.0 and npm v8 or higher are supported. |
| 89 | + |
| 90 | +### Features |
| 91 | +- Add Link-reader and WriterCollection [`a0e5cf3`](https://github.com/SAP/ui5-fs/commit/a0e5cf3ef86a4b0cdc817d08963ed6574740f1bc) |
| 92 | +- Introduce Readers "Filter" and "Transformer" ([#331](https://github.com/SAP/ui5-fs/issues/331)) [`f46e6d1`](https://github.com/SAP/ui5-fs/commit/f46e6d1b9aed5858f2d72b10b18635de6ed1f1e0) |
| 93 | +- **Resource:** Add isModified method [`f6a590a`](https://github.com/SAP/ui5-fs/commit/f6a590a284a5ef2879d4d755b5b37be164cf3a45) |
| 94 | + |
| 95 | +### Bug Fixes |
| 96 | +- Allow resource migration ([#407](https://github.com/SAP/ui5-fs/issues/407)) [`1722d71`](https://github.com/SAP/ui5-fs/commit/1722d71b78184cae0dfb092fd3d4c4156924dc28) |
| 97 | +- **FileSystem Adapter:** Use fs.copy / Skip writing when resource is unchanged ([#370](https://github.com/SAP/ui5-fs/issues/370)) [`9ac6a39`](https://github.com/SAP/ui5-fs/commit/9ac6a39f3cb72e02c2a1298b07c4676a0ee92377) |
| 98 | + |
| 99 | +### Dependency Updates |
| 100 | +- Bump minimatch from 5.1.4 to 6.1.5 [`e6b8d14`](https://github.com/SAP/ui5-fs/commit/e6b8d142517a19b138dab5fc19390ed98db425e1) |
| 101 | + |
| 102 | +<a name="v2.0.6"></a> |
| 103 | +## [v2.0.6] - 2020-12-18 |
| 104 | +### Bug Fixes |
| 105 | +- **fsInterface on Windows:** Correctly handle project paths containing non-ASCII characters [`6bb44be`](https://github.com/SAP/ui5-fs/commit/6bb44be7c13f6b5c66855d3343694f42f9bdfe0e) |
| 106 | + |
| 107 | +<a name="v2.0.5"></a> |
| 108 | +## [v2.0.5] - 2020-11-06 |
| 109 | +### Performance Improvements |
| 110 | +- Reduce install size by moving 'mock-require' to devDependencies [`173f4ff`](https://github.com/SAP/ui5-fs/commit/173f4ffc55f0e264025c6e2bce12721a6673790a) |
| 111 | + |
| 112 | +<a name="v2.0.4"></a> |
| 113 | +## [v2.0.4] - 2020-10-22 |
| 114 | +### Bug Fixes |
| 115 | +- **fsInterface:** Improve error messages [`8b998f8`](https://github.com/SAP/ui5-fs/commit/8b998f8a47e89bce0c27f5a4b211bb5471ea2381) |
| 116 | + |
| 117 | +<a name="v2.0.3"></a> |
| 118 | +## [v2.0.3] - 2020-08-12 |
| 119 | +### Bug Fixes |
| 120 | +- **ResourceTagCollection:** Do not validate class of resource [`c52c9f7`](https://github.com/SAP/ui5-fs/commit/c52c9f71e4f868cfa8ae5daf5eede9272654b187) |
| 121 | + |
| 122 | +<a name="v2.0.2"></a> |
| 123 | +## [v2.0.2] - 2020-07-30 |
| 124 | +### Bug Fixes |
| 125 | +- TypeScript type definition support ([#252](https://github.com/SAP/ui5-fs/issues/252)) [`f379094`](https://github.com/SAP/ui5-fs/commit/f37909483b2740219da36c7e0931f7824d51e1a3) |
| 126 | +- **Resource:** Keep stats size up to date ([#253](https://github.com/SAP/ui5-fs/issues/253)) [`0ef976f`](https://github.com/SAP/ui5-fs/commit/0ef976fe658765ae46afd1b4aa5b9100aa9829f8) |
| 127 | +- **Resource:** getStream for empty string ([#249](https://github.com/SAP/ui5-fs/issues/249)) [`bc5eafb`](https://github.com/SAP/ui5-fs/commit/bc5eafb19bf71141b88dff749240354898849a66) |
| 128 | +- **Resource#getSize:** Retrieve Resource's size ([#256](https://github.com/SAP/ui5-fs/issues/256)) [`9d2cc6c`](https://github.com/SAP/ui5-fs/commit/9d2cc6cf92b4a3f29e5c42db2f14afeeac9a0c98) |
| 129 | +- **adapters/Memory:** Return cloned resources ([#235](https://github.com/SAP/ui5-fs/issues/235)) [`7bf3c6a`](https://github.com/SAP/ui5-fs/commit/7bf3c6a2ce55cd1c48b8aaaed83591bd85c228fa) |
| 130 | + |
| 131 | +### Reverts |
| 132 | +- [FIX] adapters/Memory: Return cloned resources ([#235](https://github.com/SAP/ui5-fs/issues/235)) |
| 133 | + |
| 134 | +<a name="v2.0.1"></a> |
| 135 | +## [v2.0.1] - 2020-04-30 |
| 136 | +### Bug Fixes |
| 137 | +- Namespaces in API Reference (JSDoc) [`b9d7b3c`](https://github.com/SAP/ui5-fs/commit/b9d7b3c70679436e6cbea07a789ac5e83bab337a) |
| 138 | + |
| 139 | +<a name="v2.0.0"></a> |
| 140 | +## [v2.0.0] - 2020-03-31 |
| 141 | +### Breaking Changes |
| 142 | +- Remove deprecated parameter useNamespaces ([#223](https://github.com/SAP/ui5-fs/issues/223)) [`231b319`](https://github.com/SAP/ui5-fs/commit/231b319ea1899d6297e70e7b7746340cd5824217) |
| 143 | +- Require Node.js >= 10 [`46651f1`](https://github.com/SAP/ui5-fs/commit/46651f13bcfe391ef985fabab96f99b6ecafe13e) |
| 144 | + |
| 145 | +### Dependency Updates |
| 146 | +- Bump globby from 10.0.2 to 11.0.0 ([#207](https://github.com/SAP/ui5-fs/issues/207)) [`c81eb9d`](https://github.com/SAP/ui5-fs/commit/c81eb9dffc0d1281640efb2ad7e5419fe5451442) |
| 147 | + |
| 148 | +### BREAKING CHANGE |
| 149 | + |
| 150 | +Remove deprecated parameter "useNamespaces" from |
| 151 | +method "resourceFactory.createCollectionsForTree". |
| 152 | +Use parameter "getVirtualBasePathPrefix" instead. |
| 153 | + |
| 154 | +Support for older Node.js releases has been dropped. |
| 155 | +Only Node.js v10 or higher is supported. |
| 156 | + |
| 157 | +<a name="v1.1.2"></a> |
| 158 | +## [v1.1.2] - 2019-07-01 |
| 159 | +### Dependency Updates |
| 160 | +- Bump globby from 9.2.0 to 10.0.0 [`573e853`](https://github.com/SAP/ui5-fs/commit/573e8531827bf1c0320177d3870e37a183db7959) |
| 161 | + |
| 162 | +<a name="v1.1.1"></a> |
| 163 | +## [v1.1.1] - 2019-06-18 |
| 164 | +### Bug Fixes |
| 165 | +- **fsInterface:** Handle non-POSIX paths correctly ([#147](https://github.com/SAP/ui5-fs/issues/147)) [`1ad0cc8`](https://github.com/SAP/ui5-fs/commit/1ad0cc8fdbcf74452ebfcebb23bd659faa956e54) |
| 166 | + |
| 167 | +<a name="v1.1.0"></a> |
| 168 | +## [v1.1.0] - 2019-06-03 |
| 169 | +### Features |
| 170 | +- **AbstractAdapter:** Add excludes option ([#140](https://github.com/SAP/ui5-fs/issues/140)) [`daef31f`](https://github.com/SAP/ui5-fs/commit/daef31f4fb22405e8fa889615b1f3545099eb186) |
| 171 | + |
| 172 | +<a name="v1.0.2"></a> |
| 173 | +## [v1.0.2] - 2019-03-21 |
| 174 | +### Dependency Updates |
| 175 | +- Bump [@ui5](https://github.com/ui5)/logger from 1.0.0 to 1.0.1 ([#122](https://github.com/SAP/ui5-fs/issues/122)) [`e2e2791`](https://github.com/SAP/ui5-fs/commit/e2e27917d936ad5a316c56a0bc0a17d91977d15e) |
| 176 | + |
| 177 | +### Features |
| 178 | +- **fsInterface:** Add mkdir function [`5bd91ac`](https://github.com/SAP/ui5-fs/commit/5bd91acb86d64f03d16abdb186fe66ffa8a9f53a) |
| 179 | + |
| 180 | +<a name="v1.0.1"></a> |
| 181 | +## [v1.0.1] - 2019-02-01 |
| 182 | +### Bug Fixes |
| 183 | +- Prevent FS write from draining Resources content [`370f121`](https://github.com/SAP/ui5-fs/commit/370f121ca4d571397c979e2dce72b6a1cf0d0005) |
| 184 | + |
| 185 | +### Dependency Updates |
| 186 | +- **Yarn:** Pin dir-glob dependency to v2.0.0 [`e14457c`](https://github.com/SAP/ui5-fs/commit/e14457c5b3eda1fab3d3444bca3b8406be63db2f) |
| 187 | + |
| 188 | +<a name="v1.0.0"></a> |
| 189 | +## [v1.0.0] - 2019-01-10 |
| 190 | +### Breaking Changes |
| 191 | +- **index.js export:** Remove top-level access to adapters [`f1f7831`](https://github.com/SAP/ui5-fs/commit/f1f7831ae9e908731a57f9d67952a61431c69d21) |
| 192 | + |
| 193 | +### Dependency Updates |
| 194 | +- Pin dir-glob to v2.0.0 [`b921fbc`](https://github.com/SAP/ui5-fs/commit/b921fbceaa4f200737b8c6cf45eaf2d9bc3e1df2) |
| 195 | +- Bump [@ui5](https://github.com/ui5)/logger from 0.2.2 to 1.0.0 ([#72](https://github.com/SAP/ui5-fs/issues/72)) [`4077f19`](https://github.com/SAP/ui5-fs/commit/4077f19251dee72933de0747de09a6eec5cb75cc) |
| 196 | + |
| 197 | +### BREAKING CHANGE |
| 198 | + |
| 199 | +Adapters "AbstractAdapter", "FileSystem" and "Memory" used to be accessible via the top-level export of index.js (example: require("[@ui5](https://github.com/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](https://github.com/ui5)/project").adapters.FileSystem). |
| 200 | + |
| 201 | +<a name="v0.2.0"></a> |
| 202 | +## [v0.2.0] - 2018-07-11 |
| 203 | + |
| 204 | +<a name="v0.1.0"></a> |
| 205 | +## [v0.1.0] - 2018-06-26 |
| 206 | + |
| 207 | +<a name="v0.0.1"></a> |
| 208 | +## v0.0.1 - 2018-06-06 |
| 209 | +### Bug Fixes |
| 210 | +- **AbstractAdapter:** Fix normalization of globstar [`6d484e8`](https://github.com/SAP/ui5-fs/commit/6d484e847b62aa0829641f25a76dcc89b0840d44) |
| 211 | + |
| 212 | +{{- if .Versions }} |
| 213 | +{{ range .Versions -}} |
| 214 | +{{ if and .Tag.Previous (ne .Tag.Name "v3.0.0") -}} |
| 215 | +[{{ .Tag.Name }}]: {{ $.Info.RepositoryURL }}/compare/{{ .Tag.Previous.Name }}...{{ .Tag.Name }} |
| 216 | +{{ end -}} |
| 217 | +{{ end -}} |
| 218 | +{{ end -}} |
| 219 | +[v3.0.5]: https://github.com/SAP/ui5-fs/compare/v3.0.4...v3.0.5 |
| 220 | +[v3.0.4]: https://github.com/SAP/ui5-fs/compare/v3.0.3...v3.0.4 |
| 221 | +[v3.0.3]: https://github.com/SAP/ui5-fs/compare/v3.0.2...v3.0.3 |
| 222 | +[v3.0.2]: https://github.com/SAP/ui5-fs/compare/v3.0.1...v3.0.2 |
| 223 | +[v3.0.1]: https://github.com/SAP/ui5-fs/compare/v3.0.0...v3.0.1 |
| 224 | +[v3.0.0]: https://github.com/SAP/ui5-fs/compare/v2.0.6...v3.0.0 |
| 225 | +[v2.0.6]: https://github.com/SAP/ui5-fs/compare/v2.0.5...v2.0.6 |
| 226 | +[v2.0.5]: https://github.com/SAP/ui5-fs/compare/v2.0.4...v2.0.5 |
| 227 | +[v2.0.4]: https://github.com/SAP/ui5-fs/compare/v2.0.3...v2.0.4 |
| 228 | +[v2.0.3]: https://github.com/SAP/ui5-fs/compare/v2.0.2...v2.0.3 |
| 229 | +[v2.0.2]: https://github.com/SAP/ui5-fs/compare/v2.0.1...v2.0.2 |
| 230 | +[v2.0.1]: https://github.com/SAP/ui5-fs/compare/v2.0.0...v2.0.1 |
| 231 | +[v2.0.0]: https://github.com/SAP/ui5-fs/compare/v1.1.2...v2.0.0 |
| 232 | +[v1.1.2]: https://github.com/SAP/ui5-fs/compare/v1.1.1...v1.1.2 |
| 233 | +[v1.1.1]: https://github.com/SAP/ui5-fs/compare/v1.1.0...v1.1.1 |
| 234 | +[v1.1.0]: https://github.com/SAP/ui5-fs/compare/v1.0.2...v1.1.0 |
| 235 | +[v1.0.2]: https://github.com/SAP/ui5-fs/compare/v1.0.1...v1.0.2 |
| 236 | +[v1.0.1]: https://github.com/SAP/ui5-fs/compare/v1.0.0...v1.0.1 |
| 237 | +[v1.0.0]: https://github.com/SAP/ui5-fs/compare/v0.2.0...v1.0.0 |
| 238 | +[v0.2.0]: https://github.com/SAP/ui5-fs/compare/v0.1.0...v0.2.0 |
| 239 | +[v0.1.0]: https://github.com/SAP/ui5-fs/compare/v0.0.1...v0.1.0 |
0 commit comments