Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Sep 7, 2025

🤖 New release

  • rocket_flex_session: 0.1.3 -> 0.2.0 (⚠ API breaking changes)

rocket_flex_session breaking changes

--- failure derive_trait_impl_removed: built-in derived trait no longer implemented ---

Description:
A public type has stopped deriving one or more traits. This can break downstream code that depends on those types implementing those traits.
        ref: https://doc.rust-lang.org/reference/attributes/derive.html#derive
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/derive_trait_impl_removed.ron

Failed in:
  type RocketFlexSession no longer derives Clone, in /tmp/.tmpN2CvCj/rocket-flex-session/src/fairing.rs:58

--- failure enum_missing: pub enum removed or renamed ---

Description:
A publicly-visible enum cannot be imported by its prior path. A `pub use` may have been removed, or the enum 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.43.0/src/lints/enum_missing.ron

Failed in:
  enum rocket_flex_session::storage::interface::SessionError, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/storage/interface.rs:9
  enum rocket_flex_session::storage::redis::RedisType, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/storage/redis.rs:12

--- 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.43.0/src/lints/inherent_method_missing.ron

Failed in:
  RedisFredStorage::new, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/storage/redis.rs:75
  Session::set_keys, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/session.rs:248
  SqlxPostgresStorage::new, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/storage/sqlx.rs:25

--- failure method_requires_different_generic_type_params: method now requires a different number of generic type parameters ---

Description:
A method now requires a different number of generic type parameters than it used to. Uses of this method that supplied the previous number of generic types will be broken.
        ref: https://doc.rust-lang.org/reference/items/generics.html
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/method_requires_different_generic_type_params.ron

Failed in:
  rocket_flex_session::Session::get_key takes 0 generic types instead of 1, in /tmp/.tmpN2CvCj/rocket-flex-session/src/session_hash.rs:33

--- failure module_missing: pub module removed or renamed ---

Description:
A publicly-visible module cannot be imported by its prior path. A `pub use` may have been removed, or the module may have been renamed, removed, or made non-public.
        ref: https://doc.rust-lang.org/cargo/reference/semver.html#item-remove
       impl: https://github.com/obi1kenobi/cargo-semver-checks/tree/v0.43.0/src/lints/module_missing.ron

Failed in:
  mod rocket_flex_session::storage::interface, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/storage/interface.rs:1

--- failure struct_missing: pub struct removed or renamed ---

Description:
A publicly-visible struct cannot be imported by its prior path. A `pub use` may have been removed, or the struct 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.43.0/src/lints/struct_missing.ron

Failed in:
  struct rocket_flex_session::SessionOptions, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/options.rs:3
  struct rocket_flex_session::RocketFlexSessionBuilder, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/lib.rs:217

--- failure trait_missing: pub trait removed or renamed ---

Description:
A publicly-visible trait cannot be imported by its prior path. A `pub use` may have been removed, or the trait 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.43.0/src/lints/trait_missing.ron

Failed in:
  trait rocket_flex_session::storage::interface::SessionStorage, previously in file /tmp/.tmpl6hiLZ/rocket_flex_session/src/storage/interface.rs:54
Changelog

0.2.0 - 2025-09-10

Added

  • [breaking] add sqlite storage, refactor storage traits and inner session (#6)
  • use builder pattern (#5)
  • session indexing (#1)

Fixed

  • indexed storages missing impl
  • unnecessary cookie creation when updating the session data (#2)

Other

  • Update README.md
  • bump rand & retainer, use rocket exports for deps (#3)


This PR was generated with release-plz.

@github-actions github-actions bot force-pushed the release-plz-2025-09-07T21-15-56Z branch 3 times, most recently from 3dcb66d to 912b748 Compare September 8, 2025 07:51
@github-actions github-actions bot force-pushed the release-plz-2025-09-07T21-15-56Z branch from 912b748 to ba37607 Compare September 10, 2025 19:48
@fa-sharp fa-sharp merged commit c67c494 into main Sep 12, 2025
@fa-sharp fa-sharp deleted the release-plz-2025-09-07T21-15-56Z branch September 12, 2025 05:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants