From 74f00280e21a67b6dd80de7a6b4a79db3b2770e5 Mon Sep 17 00:00:00 2001 From: Michael Eischer <9106997+MichaelEischer@users.noreply.github.com> Date: Tue, 17 Nov 2026 19:29:42 +0100 Subject: [PATCH] Polish changelogs (#22195) --------- Co-authored-by: Leo R. Lundgren --- changelog/unreleased/issue-21870 | 6 +++--- changelog/unreleased/issue-21892 | 10 +++------- changelog/unreleased/issue-21973 | 8 -------- changelog/unreleased/issue-22051 | 8 +++++--- changelog/unreleased/issue-22085 | 11 ++++++----- changelog/unreleased/issue-22092 | 8 +++++--- changelog/unreleased/issue-22112 | 14 ++++++++------ changelog/unreleased/issue-22120 | 11 +++++++---- changelog/unreleased/issue-22136 | 15 ++++++++------- changelog/unreleased/issue-22178 | 10 +++++----- changelog/unreleased/issue-22180 | 11 ++++++----- changelog/unreleased/issue-22181 | 1 + changelog/unreleased/issue-3129 | 5 ++--- changelog/unreleased/issue-3202 | 8 +++++--- changelog/unreleased/issue-5372 | 6 +++--- changelog/unreleased/pull-21845 | 8 ++++---- changelog/unreleased/pull-21883 | 6 +++--- changelog/unreleased/pull-21977 | 13 +++++++------ changelog/unreleased/pull-22007 | 8 ++++---- changelog/unreleased/pull-22163 | 6 +++--- 20 files changed, 88 insertions(+), 85 deletions(-) delete mode 100644 changelog/unreleased/issue-21973 diff --git a/changelog/unreleased/issue-21870 b/changelog/unreleased/issue-21870 index 0273fb8d4..7723950da 100644 --- a/changelog/unreleased/issue-21870 +++ b/changelog/unreleased/issue-21870 @@ -1,7 +1,7 @@ -Enhancement: show excluded items during backup in verbose mode +Enhancement: Show excluded items during `backup` in verbose mode -`restic backup -vv` now shows excluded items in verbose mode. Both text and JSON -output are supported. +The `backup -vv` command (backup in verbose mode) now shows excluded +files and directories. Both text and JSON output are supported. https://github.com/restic/restic/issues/21870 https://github.com/restic/restic/pull/21887 diff --git a/changelog/unreleased/issue-21892 b/changelog/unreleased/issue-21892 index ec0f7cd8c..afabdebf2 100644 --- a/changelog/unreleased/issue-21892 +++ b/changelog/unreleased/issue-21892 @@ -1,11 +1,7 @@ -Enhancement: `restic repair snapshots --forget` removes broken snapshots +Enhancement: Make `repair snapshots --forget` remove broken snapshots -In the past restic had no command to remove broken snapshot files. - -`restic repair snapshots --forget` can now remove broken snapshot files, -which have been found previously by `restic check` or by earlier error messages from restic commands. - -For example, `restic repair snapshots --forget 1d204771` will remove a broken snapshot file with id `1d204771`. +The `repair snapshots --forget` command will now remove broken snapshot +files reported by `check` or by earlier error messages from restic. https://github.com/restic/restic/issues/21892 https://github.com/restic/restic/pull/21907 diff --git a/changelog/unreleased/issue-21973 b/changelog/unreleased/issue-21973 deleted file mode 100644 index 80ca7752a..000000000 --- a/changelog/unreleased/issue-21973 +++ /dev/null @@ -1,8 +0,0 @@ -Enhancement: Replace deprecated GPG verification library used for self-update - -Restic used the unmaintained and insecure golang.org/x/crypto/openpgp -package to verify GPG signatures during self-update. It now uses the -actively maintained ProtonMail/go-crypto fork instead, which addresses -known security weaknesses in the original package. - -https://github.com/restic/restic/issues/21973 diff --git a/changelog/unreleased/issue-22051 b/changelog/unreleased/issue-22051 index beca8cd99..b0790c60c 100644 --- a/changelog/unreleased/issue-22051 +++ b/changelog/unreleased/issue-22051 @@ -1,8 +1,10 @@ Bugfix: Reject empty repository location files -An empty file passed via `--repository-file` or `RESTIC_REPOSITORY_FILE` -was treated as the current directory. Restic now reports an error if the -file is empty or contains only whitespace. +Previously, if the `--repository-file` option or `RESTIC_REPOSITORY_FILE` +environment variable referred to a file that was either empty or contained +only whitespace, restic used the current directory for the repository. + +This has now been fixed, and restic instead reports an error in this case. https://github.com/restic/restic/issues/22051 https://github.com/restic/restic/pull/22052 diff --git a/changelog/unreleased/issue-22085 b/changelog/unreleased/issue-22085 index bdf2a0963..6d0d9c2f9 100644 --- a/changelog/unreleased/issue-22085 +++ b/changelog/unreleased/issue-22085 @@ -1,10 +1,11 @@ Bugfix: Restore partially matching hard-linked files correctly -When restoring over an existing file that had multiple hard links and whose -data blobs only partly matched the snapshot, restic replaced the file by -an empty one but still skipped writing the blobs it believed were already -present. The restored file then contained zero bytes in place of those -blobs. Restic now rewrites the whole file in this case. +When restoring over an existing file which had hard links and +was partially different from the file in the snapshot, restic +used to replace the file with an empty one but only restored +the changed parts. The restored file then contained zero bytes +in the unchanged parts. Restic now instead rewrites the whole +file in this case. https://github.com/restic/restic/issues/22085 https://github.com/restic/restic/pull/22086 diff --git a/changelog/unreleased/issue-22092 b/changelog/unreleased/issue-22092 index bd8358663..53baed467 100644 --- a/changelog/unreleased/issue-22092 +++ b/changelog/unreleased/issue-22092 @@ -1,9 +1,11 @@ -Bugfix: Read empty directories from older repaired snapshots +Bugfix: Handle empty directories from older repaired snapshots Since restic 0.19.0, snapshots containing empty directories written by older versions of `repair snapshots` could fail with `error decoding tree: expected -[, got `. Restic now accepts these empty directory trees again, allowing -`prune`, `check` and `restore` to process the affected snapshots. +[, got `. + +This has now been fixed, allowing `prune`, `check` and `restore` to process +the affected snapshots successfully. https://github.com/restic/restic/issues/22092 https://github.com/restic/restic/pull/22117 diff --git a/changelog/unreleased/issue-22112 b/changelog/unreleased/issue-22112 index 1e077a92e..6060d5175 100644 --- a/changelog/unreleased/issue-22112 +++ b/changelog/unreleased/issue-22112 @@ -1,10 +1,12 @@ -Bugfix: Fix `stats` progress bar resetting its counters for every snapshot +Bugfix: Don't reset `stats` progress bar counters for every snapshot -The progress bar of `restic stats` reset its file, blob and size counters -at the start of each snapshot, so the final progress line only showed the -numbers for the last processed snapshot. These numbers varied between runs -depending on the order in which snapshots were processed. The progress bar -now counts across all selected snapshots. +The progress bar of the `stats` command previously reset its file, +blob and size counters at the start of each snapshot, so the final +progress line only showed the numbers for the last processed snapshot. +These numbers varied between runs depending on the order in which +snapshots were processed. + +The progress bar now instead counts across all selected snapshots. https://github.com/restic/restic/issues/22112 https://github.com/restic/restic/pull/22130 diff --git a/changelog/unreleased/issue-22120 b/changelog/unreleased/issue-22120 index 5a01f8af0..40c281d79 100644 --- a/changelog/unreleased/issue-22120 +++ b/changelog/unreleased/issue-22120 @@ -1,8 +1,11 @@ -Enhancement: Show a concise error when listing pack files fails during `prune` +Bugfix: Improve error message when `prune` fails to list pack files When listing the pack files of a repository failed during `prune`, for -example due to a request timeout, restic printed the error together with a -stack trace. Restic now reports a short error message that states that -listing the pack files failed. +example due to a request timeout, restic printed the error together with +a stack trace. + +Restic now instead reports a short error message stating that listing +the pack files failed. https://github.com/restic/restic/issues/22120 +https://github.com/restic/restic/pull/22124 diff --git a/changelog/unreleased/issue-22136 b/changelog/unreleased/issue-22136 index 892fa32c3..c07f7dec8 100644 --- a/changelog/unreleased/issue-22136 +++ b/changelog/unreleased/issue-22136 @@ -1,10 +1,11 @@ -Bugfix: Improve silience of repository v2 upgrade rollback +Bugfix: Improve resilience of repository v2 upgrade rollback -When upgrading a repository from version 1 to 2, an aborted migration -attempted contingency rollback by unconditionally removing the configuration -file before re-saving it. On atomic backends (such as local filesystems), -the original configuration was intact, and deleting it during a failed rollback -left the repository unopenable. Restic now conditions config pre-removal -on whether the backend lacks atomic replacement. +When an upgrade from repository version 1 to version 2 failed, restic +deleted the configuration file before writing the previous version of +it back. If writing the old configuration file back also failed, the +repository no longer had a configuration file and could not be opened. + +Restic now writes the previous configuration back without deleting +the file first on relevant backends. https://github.com/restic/restic/pull/22136 diff --git a/changelog/unreleased/issue-22178 b/changelog/unreleased/issue-22178 index f837fcb46..eb511426b 100644 --- a/changelog/unreleased/issue-22178 +++ b/changelog/unreleased/issue-22178 @@ -1,12 +1,12 @@ -Bugfix: Fix file owner when `restore --ownership-by-name` cannot resolve a name +Bugfix: Fix ownership when `restore --ownership-by-name` cannot resolve names When restoring with `--ownership-by-name`, user or group names that could not be resolved on the restore host (or were not recorded in the snapshot) caused -restic to change the owner of the restored file to uid/gid 0. Combined with -restored setuid/setgid bits this could produce setuid-root files. +restic to change the owner of the restored file to UID/GID 0. Combined with +restored setuid/setgid bits this could produce unintentional setuid-root files. -Restic now falls back to the numeric uid/gid stored in the snapshot and prints -a warning when a name cannot be resolved. +Restic now instead falls back to the numeric UID/GID stored in the snapshot and +prints a warning when a name cannot be resolved. https://github.com/restic/restic/issues/22178 https://github.com/restic/restic/pull/22185 diff --git a/changelog/unreleased/issue-22180 b/changelog/unreleased/issue-22180 index 215a12a4c..f2305cce5 100644 --- a/changelog/unreleased/issue-22180 +++ b/changelog/unreleased/issue-22180 @@ -1,9 +1,10 @@ -Bugfix: Reject trees with duplicate or out-of-order node names during `restore` +Bugfix: Reject trees with duplicate or out-of-order node names in `restore` A tree containing a symlink and a directory with the same name could let -`restic restore` write through the symlink to files outside the restore -target. Restic now rejects trees whose node names are not strictly -increasing during restore and reports an error instead of restoring such -a snapshot. +`restore` write through the symlink to files outside the restore target. + +Restic now rejects trees whose node names are not strictly increasing +during restore and reports an error instead of restoring such a snapshot. https://github.com/restic/restic/issues/22180 +https://github.com/restic/restic/pull/22190 diff --git a/changelog/unreleased/issue-22181 b/changelog/unreleased/issue-22181 index 44f75ef34..d488efbfa 100644 --- a/changelog/unreleased/issue-22181 +++ b/changelog/unreleased/issue-22181 @@ -6,3 +6,4 @@ deleted all existing content of that directory in the target. Restic now disables deletion for the rest of the restore when a tree cannot be loaded. https://github.com/restic/restic/issues/22181 +https://github.com/restic/restic/pull/22189 diff --git a/changelog/unreleased/issue-3129 b/changelog/unreleased/issue-3129 index 3340dca0e..de4e34808 100644 --- a/changelog/unreleased/issue-3129 +++ b/changelog/unreleased/issue-3129 @@ -1,7 +1,6 @@ -Enhancement: Add JSON support to prune +Enhancement: Add JSON support to `prune` command -Restic `prune` now also supports the `--json` option and gives all -statistics in JSON format. +The `prune` command now supports the `--json` option for JSON output. https://github.com/restic/restic/issues/3129 https://github.com/restic/restic/pull/5239 diff --git a/changelog/unreleased/issue-3202 b/changelog/unreleased/issue-3202 index 4d0317b70..53edb8bbe 100644 --- a/changelog/unreleased/issue-3202 +++ b/changelog/unreleased/issue-3202 @@ -1,7 +1,9 @@ -Enhancement: Add warmup support for check command on S3 backend +Enhancement: Add warmup support for `check` on the S3 backend -Like the other cold storage features, warmup support for the `check` command -remains experimental and gated behind the "s3-restore" feature flag. +The `check` command can now warm up pack files from cold storage on S3 +and S3-compatible providers before reading them. Like the other cold +storage features, this remains experimental and is gated behind the +`s3-restore` feature flag. https://github.com/restic/restic/pull/5248 https://github.com/restic/restic/issues/3202 diff --git a/changelog/unreleased/issue-5372 b/changelog/unreleased/issue-5372 index 6aae52216..8b346536e 100644 --- a/changelog/unreleased/issue-5372 +++ b/changelog/unreleased/issue-5372 @@ -1,7 +1,7 @@ -Enhancement: Add command to list packfiles belonging to a snapshot +Enhancement: Support specifying snapshot ID in `list packs` command -This enhancement adds command `list packs snapshotID` to show the packfiles -belonging to the given snapshot. +The `list packs` command now accepts a snapshot ID and lists the pack +files used by that snapshot. https://github.com/restic/restic/issues/5372 https://github.com/restic/restic/pull/5396 diff --git a/changelog/unreleased/pull-21845 b/changelog/unreleased/pull-21845 index 896c6c0a8..4c9070853 100644 --- a/changelog/unreleased/pull-21845 +++ b/changelog/unreleased/pull-21845 @@ -1,7 +1,7 @@ -Enhancement: `restic repair packs` can handle missing packfiles +Enhancement: Handle missing pack files in `repair packs` -Missing and damaged packfiles previously required separate approaches to fix a repository. -Now, both cases can be handled by the `repair packs` command, which is now able to handle -missing packfiles by removing them from the repository index. +Missing and damaged pack files previously required separate approaches +to fix a repository. Both cases can now be handled by the `repair packs` +command, which removes missing pack files from the repository index. https://github.com/restic/restic/pull/21845 diff --git a/changelog/unreleased/pull-21883 b/changelog/unreleased/pull-21883 index 48b77f2d9..e03ddc495 100644 --- a/changelog/unreleased/pull-21883 +++ b/changelog/unreleased/pull-21883 @@ -1,6 +1,6 @@ -Enhancement: `find --pack` can handle corrupted pack files +Enhancement: Handle corrupted pack files in `find --pack` -`restic find --pack ` can now also report affected snapshot if a packfile -is corrupted but still present in the repository index. +The `find --pack ` command can now also report snapshots in which +a pack file is corrupted but still present in the repository index. https://github.com/restic/restic/pull/21883 diff --git a/changelog/unreleased/pull-21977 b/changelog/unreleased/pull-21977 index 716125469..e6ab89390 100644 --- a/changelog/unreleased/pull-21977 +++ b/changelog/unreleased/pull-21977 @@ -1,9 +1,10 @@ -Bugfix: Report an error instead of crashing on a truncated key or config file +Bugfix: Don't crash on truncated key or config file -Restic crashed with a slice bounds panic when a repository contained a key -file or a config file that was shorter than the encryption overhead, for -example after an upload was interrupted. Since every command has to read a -key file, the whole repository became unusable until the file was removed. -Restic now reports that the file is too short instead. +Restic previously crashed with a slice bounds panic when the repository +contained a key or config file that was shorter than the encryption overhead, +for example after an upload was interrupted. Since every command has to read +a key file, the whole repository became unusable until the file was removed. + +This has now been fixed, and restic instead reports that the file is too short. https://github.com/restic/restic/pull/21977 diff --git a/changelog/unreleased/pull-22007 b/changelog/unreleased/pull-22007 index df0df3740..8d6e7299d 100644 --- a/changelog/unreleased/pull-22007 +++ b/changelog/unreleased/pull-22007 @@ -1,7 +1,7 @@ -Bugfix: Redact Swift backend password in debug log output +Bugfix: Redact `swift` backend password in debug log output -Restic could write the OpenStack Swift backend password (OS_PASSWORD or -ST_KEY) in clear text to the debug log when debug logging was enabled. -The password is now redacted. +Restic could previously write the OpenStack Swift backend password in clear +text to the debug log when debug logging was enabled. The password came from +the environment variables `OS_PASSWORD` and `ST_KEY`. It is now redacted. https://github.com/restic/restic/pull/22007 diff --git a/changelog/unreleased/pull-22163 b/changelog/unreleased/pull-22163 index af642f111..63416a843 100644 --- a/changelog/unreleased/pull-22163 +++ b/changelog/unreleased/pull-22163 @@ -1,7 +1,7 @@ -Bugfix: Report an error for too large numbers in `--keep-within*` durations +Bugfix: Error on too large numbers in `--keep-within*` durations -Restic crashed with a stack trace when a number in a duration such as the one -passed to `restic forget --keep-within` did not fit into an integer. It now +Restic used to crash with a stack trace when a number in a duration such as +the one passed to `forget --keep-within` did not fit into an integer. It now reports an invalid argument instead. https://github.com/restic/restic/pull/22163