From 034ce5bc5fdd2fc1f0ff318096bc0b6677bc1c4d Mon Sep 17 00:00:00 2001 From: "rustic-release-plz[bot]" <182542030+rustic-release-plz[bot]@users.noreply.github.com> Date: Wed, 2 Oct 2024 00:51:52 +0000 Subject: [PATCH] chore: release (#289) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 🤖 New release * `rustic_backend`: 0.3.0 -> 0.4.0 (⚠️ API breaking changes) * `rustic_core`: 0.4.0 -> 0.5.0 (⚠️ API breaking changes) * `rustic_testing`: 0.2.1 -> 0.2.2 (✓ API compatible changes) ### ⚠️ `rustic_backend` breaking changes ``` --- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] --- Description: A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile. ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/enum_marked_non_exhaustive.ron Failed in: enum LocalBackendErrorKind in /tmp/.tmpiqILEs/rustic_core/crates/backend/src/error.rs:90 enum RestErrorKind in /tmp/.tmpiqILEs/rustic_core/crates/backend/src/error.rs:67 enum BackendAccessErrorKind in /tmp/.tmpiqILEs/rustic_core/crates/backend/src/error.rs:10 enum RcloneErrorKind in /tmp/.tmpiqILEs/rustic_core/crates/backend/src/error.rs:43 --- failure function_missing: pub fn removed or renamed --- Description: A publicly-visible function cannot be imported by its prior path. A `pub use` may have been removed, or the function itself may have been renamed or removed entirely. ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/function_missing.ron Failed in: function rustic_backend::choose::extend, previously in file /tmp/.tmpKTBBxT/rustic_backend/src/choose.rs:74 --- failure struct_marked_non_exhaustive: struct marked #[non_exhaustive] --- Description: A public struct has been marked #[non_exhaustive], which will prevent it from being constructed using a struct literal outside of its crate. It previously had no private fields, so a struct literal could be used to construct it outside its crate. ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/struct_marked_non_exhaustive.ron Failed in: struct BackendOptions in /tmp/.tmpiqILEs/rustic_core/crates/backend/src/choose.rs:35 struct BackendOptions in /tmp/.tmpiqILEs/rustic_core/crates/backend/src/choose.rs:35 ``` ### ⚠️ `rustic_core` breaking changes ``` --- failure enum_marked_non_exhaustive: enum marked #[non_exhaustive] --- Description: A public enum has been marked #[non_exhaustive]. Pattern-matching on it outside of its crate must now include a wildcard pattern like `_`, or it will fail to compile. ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/enum_marked_non_exhaustive.ron Failed in: enum LimitOption in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/prune.rs:253 --- failure struct_marked_non_exhaustive: struct marked #[non_exhaustive] --- Description: A public struct has been marked #[non_exhaustive], which will prevent it from being constructed using a struct literal outside of its crate. It previously had no private fields, so a struct literal could be used to construct it outside its crate. ref: https://doc.rust-lang.org/cargo/reference/semver.html#attr-adding-non-exhaustive impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.35.0/src/lints/struct_marked_non_exhaustive.ron Failed in: struct RestoreOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/restore.rs:49 struct RepoFileInfos in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/repoinfo.rs:163 struct KeyOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/key.rs:17 struct BlobInfo in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/repoinfo.rs:31 struct FileDirStats in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/restore.rs:74 struct CheckOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/check.rs:125 struct ConfigOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/config.rs:107 struct IndexInfos in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/repoinfo.rs:17 struct PackInfo in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/repoinfo.rs:64 struct TreeStreamerOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/blob/tree.rs:401 struct PruneOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/prune.rs:58 struct RepairSnapshotsOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/repair/snapshots.rs:29 struct RestoreStats in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/restore.rs:90 struct RepoFileInfo in /tmp/.tmpiqILEs/rustic_core/crates/core/src/commands/repoinfo.rs:173 struct LocalSourceFilterOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/backend/ignore.rs:71 struct LocalSourceSaveOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/backend/ignore.rs:51 struct RepositoryOptions in /tmp/.tmpiqILEs/rustic_core/crates/core/src/repository.rs:88 ```
Changelog

## `rustic_backend`

## [0.4.0](https://github.com/rustic-rs/rustic_core/compare/rustic_backend-v0.3.0...rustic_backend-v0.4.0) - 2024-10-02 ### Fixed - Add #[non_exhaustive] to pub structs which may be extended in future ([#293](https://github.com/rustic-rs/rustic_core/pull/293)) - *(backend)* [**breaking**] Use correct merge stratgy for repository options ([#291](https://github.com/rustic-rs/rustic_core/pull/291)) ### Other - *(deps)* update dependencies ([#292](https://github.com/rustic-rs/rustic_core/pull/292)) - *(deps)* use conflate instead of merge crate ([#284](https://github.com/rustic-rs/rustic_core/pull/284))
## `rustic_core`
## [0.5.0](https://github.com/rustic-rs/rustic_core/compare/rustic_core-v0.4.0...rustic_core-v0.5.0) - 2024-10-02 ### Added - Add read-data-subset to CheckOptions; allow to check given trees ([#262](https://github.com/rustic-rs/rustic_core/pull/262)) - Add Repository method to update snapshot collections ([#260](https://github.com/rustic-rs/rustic_core/pull/260)) ### Fixed - Add #[non_exhaustive] to pub structs which may be extended in future ([#293](https://github.com/rustic-rs/rustic_core/pull/293)) - Don't query the default cache directory when a custom one is set ([#285](https://github.com/rustic-rs/rustic_core/pull/285)) ### Other - *(deps)* update dependencies ([#292](https://github.com/rustic-rs/rustic_core/pull/292)) - *(deps)* use conflate instead of merge crate ([#284](https://github.com/rustic-rs/rustic_core/pull/284))
## `rustic_testing`
## [0.2.2](https://github.com/rustic-rs/rustic_core/compare/rustic_testing-v0.2.1...rustic_testing-v0.2.2) - 2024-10-02 ### Other - *(deps)* update dependencies ([#292](https://github.com/rustic-rs/rustic_core/pull/292))

--- This PR was generated with [release-plz](https://github.com/MarcoIeni/release-plz/). Co-authored-by: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com> --- crates/backend/CHANGELOG.md | 12 ++++++++++++ crates/backend/Cargo.toml | 2 +- crates/core/CHANGELOG.md | 17 +++++++++++++++++ crates/core/Cargo.toml | 2 +- crates/testing/CHANGELOG.md | 6 ++++++ crates/testing/Cargo.toml | 2 +- 6 files changed, 38 insertions(+), 3 deletions(-) diff --git a/crates/backend/CHANGELOG.md b/crates/backend/CHANGELOG.md index df795d4c..16a2116c 100644 --- a/crates/backend/CHANGELOG.md +++ b/crates/backend/CHANGELOG.md @@ -2,6 +2,18 @@ All notable changes to this project will be documented in this file. +## [0.4.0](https://github.com/rustic-rs/rustic_core/compare/rustic_backend-v0.3.0...rustic_backend-v0.4.0) - 2024-10-02 + +### Fixed + +- Add #[non_exhaustive] to pub structs which may be extended in future ([#293](https://github.com/rustic-rs/rustic_core/pull/293)) +- *(backend)* [**breaking**] Use correct merge stratgy for repository options ([#291](https://github.com/rustic-rs/rustic_core/pull/291)) + +### Other + +- *(deps)* update dependencies ([#292](https://github.com/rustic-rs/rustic_core/pull/292)) +- *(deps)* use conflate instead of merge crate ([#284](https://github.com/rustic-rs/rustic_core/pull/284)) + ## [0.3.0](https://github.com/rustic-rs/rustic_core/compare/rustic_backend-v0.2.1...rustic_backend-v0.3.0) - 2024-09-23 ### Added diff --git a/crates/backend/Cargo.toml b/crates/backend/Cargo.toml index b36e8453..e3f91770 100644 --- a/crates/backend/Cargo.toml +++ b/crates/backend/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustic_backend" -version = "0.3.0" +version = "0.4.0" authors = ["the rustic-rs team"] categories = ["data-structures", "filesystem"] documentation = "https://docs.rs/rustic_backend" diff --git a/crates/core/CHANGELOG.md b/crates/core/CHANGELOG.md index df5dd543..ea5042f6 100644 --- a/crates/core/CHANGELOG.md +++ b/crates/core/CHANGELOG.md @@ -2,6 +2,23 @@ All notable changes to this project will be documented in this file. +## [0.5.0](https://github.com/rustic-rs/rustic_core/compare/rustic_core-v0.4.0...rustic_core-v0.5.0) - 2024-10-02 + +### Added + +- Add read-data-subset to CheckOptions; allow to check given trees ([#262](https://github.com/rustic-rs/rustic_core/pull/262)) +- Add Repository method to update snapshot collections ([#260](https://github.com/rustic-rs/rustic_core/pull/260)) + +### Fixed + +- Add #[non_exhaustive] to pub structs which may be extended in future ([#293](https://github.com/rustic-rs/rustic_core/pull/293)) +- Don't query the default cache directory when a custom one is set ([#285](https://github.com/rustic-rs/rustic_core/pull/285)) + +### Other + +- *(deps)* update dependencies ([#292](https://github.com/rustic-rs/rustic_core/pull/292)) +- *(deps)* use conflate instead of merge crate ([#284](https://github.com/rustic-rs/rustic_core/pull/284)) + ## [0.4.0](https://github.com/rustic-rs/rustic_core/compare/rustic_core-v0.3.1...rustic_core-v0.4.0) - 2024-09-23 ### Added diff --git a/crates/core/Cargo.toml b/crates/core/Cargo.toml index ffbfe7cc..d5f8946b 100644 --- a/crates/core/Cargo.toml +++ b/crates/core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustic_core" -version = "0.4.0" +version = "0.5.0" authors = ["the rustic-rs team"] categories = ["data-structures", "encoding", "filesystem"] documentation = "https://docs.rs/rustic_core" diff --git a/crates/testing/CHANGELOG.md b/crates/testing/CHANGELOG.md index 8f9c100a..8da51d21 100644 --- a/crates/testing/CHANGELOG.md +++ b/crates/testing/CHANGELOG.md @@ -6,6 +6,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [0.2.2](https://github.com/rustic-rs/rustic_core/compare/rustic_testing-v0.2.1...rustic_testing-v0.2.2) - 2024-10-02 + +### Other + +- *(deps)* update dependencies ([#292](https://github.com/rustic-rs/rustic_core/pull/292)) + ## [0.2.1](https://github.com/rustic-rs/rustic_core/compare/rustic_testing-v0.2.0...rustic_testing-v0.2.1) - 2024-09-06 ### Fixed diff --git a/crates/testing/Cargo.toml b/crates/testing/Cargo.toml index ef6026d8..a853c784 100644 --- a/crates/testing/Cargo.toml +++ b/crates/testing/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustic_testing" -version = "0.2.1" +version = "0.2.2" edition = "2021" license = "Apache-2.0 OR MIT" publish = true