|
1 | 1 | # Changelog |
2 | 2 |
|
| 3 | +# 2.3.0 |
| 4 | + |
| 5 | +### New features |
| 6 | +* Added the storage manager to allow to limit the storage *[74094e3](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/74094e3)* |
| 7 | +* Added a method in the server to give the listing of resources *[18f0e3a](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/18f0e3a)* |
| 8 | +* Added a 'autoSave' method to the server to start the auto-save without starting the HTTP server *[481413d](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/481413d)* |
| 9 | +* Added 'before-*' file system events *[8763396](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/8763396)* |
| 10 | + |
| 11 | +### Tests |
| 12 | +* Added the ability to fail a streaming request in the tests (v2) *[6eb0cd0](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/6eb0cd0)* |
| 13 | +* Added tests for the quotas *[d191d72](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/d191d72)* |
| 14 | +* Added tests for the 'server.listResources(...)' method *[0caed21](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/0caed21)* |
| 15 | + |
| 16 | +### Bug fix |
| 17 | +* Fixed custom properties' attributes removing the property namespace (xmlns) *[70c5341](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/70c5341)* |
| 18 | + |
| 19 | +# 2.2.3 |
| 20 | + |
| 21 | +### Bug fix |
| 22 | +* Fixed the missing 'lock' argument in the callback of the 'refresh' method of the lock manager returned in the 'FileSystem' class *[3dae2aa](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/3dae2aa)* |
| 23 | + |
| 24 | +# 2.2.2 |
| 25 | + |
| 26 | +### Other |
| 27 | +* Removed forgotten 'console.log' *[3277908](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/3277908)* |
| 28 | + |
| 29 | +# 2.2.1 |
| 30 | + |
| 31 | +### Other |
| 32 | +* Exported the 'IRange' interface of the 'Range' header parsing *[961f1e7](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/961f1e7)* |
| 33 | + |
| 34 | +### Bug fix |
| 35 | +* Fixed the delete method in the 'PhysicalFileSystem' class *[da9abf0](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/da9abf0)* |
| 36 | + |
| 37 | +# 2.2.0 |
| 38 | + |
| 39 | +### New features |
| 40 | +* Added support for the sequence/multipart, start and end types of the 'Range' header in the 'GET' method *[dd23bfc](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/dd23bfc)* |
| 41 | +* Added 'Range' support in the 'HEAD' method to better fit the 'GET' response without body *[6ebfd98](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/6ebfd98)* |
| 42 | + |
| 43 | +### Tests |
| 44 | +* Added more tests for the 'Range' header of the 'Get' method : |
| 45 | + * *[6945b31](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/6945b31)* |
| 46 | + * *[25a1cf3](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/25a1cf3)* |
| 47 | +* Added more server ports to the tests of the v2 : |
| 48 | + * *[68172a9](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/68172a9)* |
| 49 | + * *[98d16af](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/98d16af)* |
| 50 | + |
| 51 | +### Other |
| 52 | +* Exported the 'Range' header parser to be usable in the 'GET' and 'HEAD' methods *[a2aabce](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/a2aabce)* |
| 53 | + |
| 54 | + |
| 55 | +# 2.1.0 |
| 56 | + |
| 57 | +### New features |
| 58 | +* Added server wide events *[6786998](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/6786998)* |
| 59 | +* Added file system wide events *[9a5688c](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/9a5688c)* |
| 60 | + |
| 61 | +### Tests |
| 62 | +* Added tests for the events *[f8d8969](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/f8d8969)* |
| 63 | +* Added tests for the ranged GET *[647a8c3](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/647a8c3)* |
| 64 | + |
| 65 | +### Bug fix |
| 66 | +* Fixed the GET Range *[3b2d11f](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/3b2d11f)* |
| 67 | + |
| 68 | +# 2.0.19 |
| 69 | + |
| 70 | +### Changes |
| 71 | +* Added headers to allow cross domain access to the server *[654886c](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/654886c)* |
| 72 | + |
| 73 | +### Bug fix |
| 74 | +* Fixed a bug on the mkcol method *[4dcabe7](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/4dcabe7)* |
| 75 | + |
| 76 | +# 2.0.18 |
| 77 | + |
| 78 | +### Changes |
| 79 | +* Removed the decoding in the 'Path' class *[ad5c8a6](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/ad5c8a6)* |
| 80 | + |
| 81 | +### Bug fix |
| 82 | +* Fixed the URL decoding in the 'Path' class to be able to work with fully encoded and partially encoded URL *[5a743a9](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/5a743a9)* |
| 83 | + |
| 84 | +# 2.0.17 |
| 85 | + |
| 86 | +### Changes |
| 87 | +* Removed the URL encoding in the 'href' tags and in the 'displayname' tags *[014820b](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/014820b)* |
| 88 | + |
| 89 | +### Other |
| 90 | +* Excluded the folder experiment : |
| 91 | + * *[8abda60](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/8abda60)* |
| 92 | + * *[e966921](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/e966921)* |
| 93 | + |
| 94 | +### Bug fix |
| 95 | +* Fixed wrong content length when the content contains special characters + Specified the encoding when writing to the response body (UTF-8) + Minimified the 'Content-Type' header in the 'writeBody' method of the 'RequestContext' class *[c12096a](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/c12096a)* |
| 96 | + |
| 97 | +# 2.0.16 |
| 98 | + |
| 99 | +### Bug fix |
| 100 | +* Fixed the 'HTTPDigestAuthentication' class of the v1 and v2 to work with the level 0 of the digest authentication *[6247297](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/6247297)* |
| 101 | + |
| 102 | +# 2.0.15 |
| 103 | + |
| 104 | +### Bug fix |
| 105 | +* Fixed the 'LOCK' method which needed the 'owner' in the lock properties (which was made optional in the past) *[21a4a94](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/21a4a94)* |
| 106 | + |
| 107 | +# 2.0.14 |
| 108 | + |
| 109 | +### Changes |
| 110 | +* Use 'xml-js-builder' npm package instead of built-in XML manager *[15e4f2d](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/15e4f2d)* |
| 111 | + |
| 112 | +# 2.0.13 |
| 113 | + |
| 114 | +### Bug fix |
| 115 | +* Fixed a bug saying that the callback is not a function when calling the 'readDir' method of a file system *[57056d0](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/57056d0)* |
| 116 | + |
| 117 | +# 2.0.12 |
| 118 | + |
| 119 | +### Bug fix |
| 120 | +* Fixed the standard copy/move methods to copy/move the source content of the resource *[ec0144e](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/ec0144e)* |
| 121 | + |
| 122 | +# 2.0.11 |
| 123 | + |
| 124 | +### Changes |
| 125 | +* Modified the 'VirtualSerializer' class serialize 'resources' into a property of the serialized object instead of being the serialized object *[2833836](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/2833836)* |
| 126 | +* Added the 'VirtualSerializerVersions' and 'PhysicalSerializerVersions' object to provide a list of versions of the serializers *[2833836](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/2833836)* |
| 127 | + |
| 128 | +# 2.0.10 |
| 129 | + |
| 130 | +### Changes |
| 131 | +* Modified the class name from '_VirtualFileSystemResource' into 'VirtualFileSystemResource' *[8e8b425](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/8e8b425)* |
| 132 | +* Modified the class name from '_PhysicalFileSystemResource' into 'PhysicalFileSystemResource' *[a09fe35](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/a09fe35)* |
| 133 | + |
| 134 | +### Documentation |
| 135 | +* Added a 2nd example of creating a custom method for the server *[d191897](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/d191897)* |
| 136 | +* Added a README to the examples folder *[5efdead](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/5efdead)* |
| 137 | + |
| 138 | +### Other |
| 139 | +* Cleaned the code : |
| 140 | + * *[50782df](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/50782df)* |
| 141 | + * *[6acbcdd](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/6acbcdd)* |
| 142 | +* Removed the 'no-conditional-assignment' lint *[03105d9](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/03105d9)* |
| 143 | + |
| 144 | +### Bug fix |
| 145 | +* Fixed the HEAD method crashing when the size of a resource is undefined *[de276ff](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/de276ff)* |
| 146 | + |
| 147 | +# 2.0.9 |
| 148 | + |
| 149 | +### Bug fix |
| 150 | +* Fixed the constructor by copy of the 'LocalPropertyManager' class and the 'LocalLockManager' class *[a5fb4c0](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/a5fb4c0)* |
| 151 | + |
| 152 | +# 2.0.8 |
| 153 | + |
| 154 | +### Bug fix |
| 155 | +* Fixed the persistence (untriggered close event on saving) *[7e7f86d](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/7e7f86d)* |
| 156 | + |
| 157 | +# 2.0.7 |
| 158 | + |
| 159 | +### Changes |
| 160 | +* Removed the initial GZip/GUnZip of the persistence => now it is a default behaviour *[ac1fd34](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/ac1fd34)* |
| 161 | +* Modified the 'IAutoSave' interface to fit cases *[ac1fd34](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/ac1fd34)* |
| 162 | + |
| 163 | +### Documentation |
| 164 | +* Added the use of the method in the 'Custom Method' example *[c9f34e3](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/c9f34e3)* |
| 165 | +* Added a note to the README of the 'Custom Method' example *[e58fdaf](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/e58fdaf)* |
| 166 | +* Added the 'Custom Method' example *[eadb2b8](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/eadb2b8)* |
| 167 | + |
| 168 | +### Bug fix |
| 169 | +* Fixed the 'create' method of the 'FileSystem' class which was not creating more than 1 intermediate *[4b1cb25](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/4b1cb25)* |
| 170 | + |
| 171 | +# 2.0.6 |
| 172 | + |
| 173 | +### Changes |
| 174 | +* Modified the LOCK method to make the owner tag optional *[7a34231](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/7a34231)* |
| 175 | + |
| 176 | +### Bug fix |
| 177 | +* Fixed the 'SimplePathPrivilegeManager' class to add sub-rights when calling the 'setRights' method *[aaeed0c](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/aaeed0c)* |
| 178 | +* Fixed a bad privilege check in the 'FileSystem' class which asked write rights for reading available locks of a resource *[feb1fe0](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/feb1fe0)* |
| 179 | + |
| 180 | +# 2.0.5 |
| 181 | + |
| 182 | +### New features |
| 183 | +* Allow to override the privilege checking in the context to allow special operations (list all locks, for instance) *[b96fde6](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/b96fde6)* |
| 184 | +* Added the 'isLocked' method in the 'Resource' class and in the 'ContextualFileSystem' class *[7e3a142](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/7e3a142)* |
| 185 | + |
| 186 | +### Tests |
| 187 | +* Upgraded the tests for the persistence to fail if the an error occurs while saving *[7f7a3cd](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/7f7a3cd)* |
| 188 | + |
| 189 | +### Bug fix |
| 190 | +* Removed a bad privilege check in the 'listDeepLocks' method of the 'FileSystem' class *[2023611](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/2023611)* |
| 191 | + |
| 192 | +# 2.0.4 |
| 193 | + |
| 194 | +### New features |
| 195 | +* Modified the 'FileSystem' class and the serialization method to skip/allow non-serializable file system (skip the serialization of a fs if 'fs.serializer()' returns null/undefined) *[43acf3f](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/43acf3f)* |
| 196 | + |
| 197 | +### Documentation |
| 198 | +* Added comments to describe methods of the 'FileSystem' class and the 'FileSystemSerializer' interface for better code completion details *[e95de1a](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/e95de1a)* |
| 199 | +* Fixed the missing description of the 2nd example in the README *[218d907](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/218d907)* |
| 200 | +* Added the '@webdav-server' npm packages information in the README *[d80b6ab](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/d80b6ab)* |
| 201 | + |
| 202 | +### Bug fix |
| 203 | +* Fixed the 'isLocked' method of the 'FileSystem' class to skip privilege checking *[f201b61](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/f201b61)* |
| 204 | +* Fixed the 'SimplePathPrivilegeManager' class *[25a9529](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/25a9529)* |
| 205 | + |
| 206 | +# 2.0.3 |
| 207 | + |
| 208 | +### Changes |
| 209 | +* The default behaviour of the 'size' method in the 'FileSystem' class is now to return 'undefined' as value (= cannot tell the size) *[4aed15f](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/4aed15f)* |
| 210 | +* Made the 'Content-Length' header optional in the response when no size can be obtained *[0f1cdcd](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/0f1cdcd)* |
| 211 | + |
| 212 | +# 2.0.2 |
| 213 | + |
| 214 | +### Bug fix |
| 215 | +* Fixed the MOVE method *[592d2bc](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/592d2bc)* |
| 216 | +* Fixed the 'autoLoad' method to not crash when the 'autoSave' option is missing *[a03cc96](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/a03cc96)* |
| 217 | + |
| 218 | +# 2.0.1 |
| 219 | + |
| 220 | +### Documentation |
| 221 | +* Fixed wrong place of the deprecated comment *[b6ed379](https://github.com/OpenMarshal/npm-WebDAV-Server/commit/b6ed379)* |
| 222 | + |
3 | 223 | # 2.0.0 |
4 | 224 |
|
5 | 225 | ### New features |
|
0 commit comments