Skip to content

Commit

Permalink
chore: release v0.3.0 (#61)
Browse files Browse the repository at this point in the history
* `rustic_server`: 0.2.0 -> 0.3.0 (⚠️ API breaking changes)

```
--- failure constructible_struct_adds_field: externally-constructible struct adds field ---

Description:
A pub struct constructible with a struct literal has a new pub field. Existing struct literals must be updated to include the new field.
        ref: https://doc.rust-lang.org/reference/expressions/struct-expr.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/constructible_struct_adds_field.ron

Failed in:
  field TlsSettings.disable_tls in /tmp/.tmpX0JI0q/rustic_server/src/config.rs:165
  field AclSettings.disable_acl in /tmp/.tmpX0JI0q/rustic_server/src/config.rs:261
  field AclSettings.private_repos in /tmp/.tmpX0JI0q/rustic_server/src/config.rs:267
  field StorageSettings.quota in /tmp/.tmpX0JI0q/rustic_server/src/config.rs:128

--- failure function_parameter_count_changed: pub fn parameter count changed ---

Description:
A publicly-visible function now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/function_parameter_count_changed.ron

Failed in:
  rustic_server::web::start_web_server now takes 1 parameters instead of 6, in /tmp/.tmpX0JI0q/rustic_server/src/web.rs:29

--- failure inherent_method_missing: pub method removed or renamed ---

Description:
A publicly-visible method or associated fn is no longer available under its prior name. It 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.36.0/src/lints/inherent_method_missing.ron

Failed in:
  LocalStorage::try_new, previously in file /tmp/.tmpuySI4X/rustic_server/src/storage.rs:68

--- failure method_parameter_count_changed: pub method parameter count changed ---

Description:
A publicly-visible method now takes a different number of parameters.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#fn-change-arity
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/method_parameter_count_changed.ron

Failed in:
  rustic_server::acl::Acl::from_config now takes 2 parameters instead of 1, in /tmp/.tmpX0JI0q/rustic_server/src/acl.rs:145
  rustic_server::auth::Auth::from_config now takes 2 parameters instead of 1, in /tmp/.tmpX0JI0q/rustic_server/src/auth.rs:51

--- failure struct_pub_field_missing: pub struct's pub field removed or renamed ---

Description:
A publicly-visible struct has at least one public field that is no longer available under its prior name. It 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.36.0/src/lints/struct_pub_field_missing.ron

Failed in:
  field tls of struct TlsSettings, previously in file /tmp/.tmpuySI4X/rustic_server/src/config.rs:117
  field private_repo of struct AclSettings, previously in file /tmp/.tmpuySI4X/rustic_server/src/config.rs:173
  field max_size of struct StorageSettings, previously in file /tmp/.tmpuySI4X/rustic_server/src/config.rs:99

--- failure trait_method_added: pub trait method added ---

Description:
A non-sealed public trait added a new method without a default implementation, which breaks downstream implementations of the trait
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#trait-new-item-no-default
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.36.0/src/lints/trait_method_added.ron

Failed in:
  trait method rustic_server::storage::Storage::init in file /tmp/.tmpX0JI0q/rustic_server/src/storage.rs:27
  trait method rustic_server::storage::Storage::path in file /tmp/.tmpX0JI0q/rustic_server/src/storage.rs:32
```

<details><summary><i><b>Changelog</b></i></summary><p>

<blockquote>

[0.3.0](v0.2.0...v0.3.0)
- 2024-11-16

- add context module and update configuration files

- preparing the docs for another release
- *(readme)* update readme for current state
- some fixes applied to testing
</blockquote>

</p></details>

---
This PR was generated with
[release-plz](https://github.com/MarcoIeni/release-plz/).

build: remove linux-gnu from target platforms in dist-workspace.toml due to problems when building `aws-lc-sys`

Signed-off-by: simonsan <14062932+simonsan@users.noreply.github.com>
Co-Authored-By: rustic-release-plz[bot] <182542030+rustic-release-plz[bot]@users.noreply.github.com>
  • Loading branch information
rustic-release-plz[bot] authored and simonsan committed Nov 16, 2024
1 parent 11aeb22 commit 9fc6cd6
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 3 deletions.
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

All notable changes to this project will be documented in this file.

## [0.3.0](https://github.com/rustic-rs/rustic_server/compare/v0.2.0...v0.3.0) - 2024-11-16

### Added

- add context module and update configuration files

### Other

- preparing the docs for another release
- *(readme)* update readme for current state
- some fixes applied to testing

## [0.2.0](https://github.com/rustic-rs/rustic_server/compare/v0.1.1...v0.2.0) - 2024-11-14

### Other
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "rustic_server"
version = "0.2.0"
version = "0.3.0"
authors = ["the rustic-rs team"]
categories = ["command-line-utilities"]
edition = "2021"
Expand Down
8 changes: 7 additions & 1 deletion dist-workspace.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,13 @@ ci = "github"
# The installers to generate for each app
installers = ["shell", "powershell", "msi"]
# Target platforms to build apps for (Rust target-triple syntax)
targets = ["aarch64-apple-darwin", "x86_64-apple-darwin", "x86_64-unknown-linux-gnu", "x86_64-unknown-linux-musl", "x86_64-pc-windows-msvc"]
targets = [
"aarch64-apple-darwin",
"x86_64-apple-darwin",
# "x86_64-unknown-linux-gnu",
"x86_64-unknown-linux-musl",
"x86_64-pc-windows-msvc",
]
# Path that installers should place binaries in
install-path = "CARGO_HOME"
# Whether to install an updater program
Expand Down

0 comments on commit 9fc6cd6

Please sign in to comment.