|
| 1 | +Changelog for rest-server 0.12.1 (2023-07-09) |
| 2 | +============================================ |
| 3 | + |
| 4 | +The following sections list the changes in rest-server 0.12.1 relevant |
| 5 | +to users. The changes are ordered by importance. |
| 6 | + |
| 7 | +Summary |
| 8 | +------- |
| 9 | + |
| 10 | + * Fix #230: Fix erroneous warnings about unsupported fsync |
| 11 | + * Fix #238: API: Return empty array when listing empty folders |
| 12 | + * Enh #217: Log to stdout using the `--log -` option |
| 13 | + |
| 14 | +Details |
| 15 | +------- |
| 16 | + |
| 17 | + * Bugfix #230: Fix erroneous warnings about unsupported fsync |
| 18 | + |
| 19 | + Due to a regression in rest-server 0.12.0, it continuously printed `WARNING: fsync is not |
| 20 | + supported by the data storage. This can lead to data loss, if the system crashes or the storage is |
| 21 | + unexpectedly disconnected.` for systems that support fsync. We have fixed the warning. |
| 22 | + |
| 23 | + https://github.com/restic/rest-server/issues/230 |
| 24 | + https://github.com/restic/rest-server/pull/231 |
| 25 | + |
| 26 | + * Bugfix #238: API: Return empty array when listing empty folders |
| 27 | + |
| 28 | + Rest-server returned `null` when listing an empty folder. This has been changed to returning |
| 29 | + an empty array in accordance with the REST protocol specification. This change has no impact on |
| 30 | + restic users. |
| 31 | + |
| 32 | + https://github.com/restic/rest-server/issues/238 |
| 33 | + https://github.com/restic/rest-server/pull/239 |
| 34 | + |
| 35 | + * Enhancement #217: Log to stdout using the `--log -` option |
| 36 | + |
| 37 | + Logging to stdout was possible using `--log /dev/stdout`. However, when the rest server is run |
| 38 | + as a different user, for example, using |
| 39 | + |
| 40 | + `sudo -u restic rest-server [...] --log /dev/stdout` |
| 41 | + |
| 42 | + This did not work due to permission issues. |
| 43 | + |
| 44 | + For logging to stdout, the `--log` option now supports the special filename `-` which also |
| 45 | + works in these cases. |
| 46 | + |
| 47 | + https://github.com/restic/rest-server/pull/217 |
| 48 | + |
| 49 | + |
1 | 50 | Changelog for rest-server 0.12.0 (2023-04-24)
|
2 | 51 | ============================================
|
3 | 52 |
|
|
0 commit comments