Skip to content

chore: upgrade summer-sa-token to 0.7.1 - #7

Merged
holmofy merged 1 commit into
summer-rs:masterfrom
ouywm:chore-upgrade-sa-token
Jun 30, 2026
Merged

holmofy merged 1 commit into
summer-rs:masterfrom
ouywm:chore-upgrade-sa-token

Conversation

@ouywm

@ouywm ouywm commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Bump summer-sa-token from 0.7.0 to 0.7.1.
  • Upgrade Sa-Token dependencies to 0.1.18:
    • sa-token-plugin-axum
    • sa-token-core
    • sa-token-adapter
    • sa-token-storage-memory
  • Synchronize SaTokenConfig with the current Sa-Token configuration surface and pass supported fields explicitly into CoreConfig.
  • Remove plugin-local token_prefix, storage_prefix, and rewrite_storage_prefix options.
  • Use storage_key_prefix for Sa-Token storage key namespacing.
  • Update Redis storage behavior to use keys and patterns generated by Sa-Token directly.
  • Update README, README.zh, example config, tests, and changelog for the new configuration behavior.
  • Add OpenDAL repository links in OpenDAL plugin documentation.

Breaking Changes

  • Removed plugin-local config options:
    • token_prefix
    • storage_prefix
    • rewrite_storage_prefix

Use storage_key_prefix for storage key namespacing.

Verification

  • cargo test --manifest-path summer-sa-token/Cargo.toml
  • cargo test --manifest-path summer-sa-token/Cargo.toml --all-features
  • CARGO_TARGET_DIR=/tmp/summer-sa-token-clippy cargo clippy --manifest-path summer-sa-token/Cargo.toml --all-targets --all-features -- -D warnings

@ouywm
ouywm force-pushed the chore-upgrade-sa-token branch from f747245 to c973095 Compare June 29, 2026 18:57
@holmofy
holmofy merged commit 2a0e4b9 into summer-rs:master Jun 30, 2026
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