Skip to content

chore(deps): update rust crate casbin to v2.19.0#643

Merged
stmh merged 1 commit intomainfrom
renovate/casbin-2.x-lockfile
Dec 21, 2025
Merged

chore(deps): update rust crate casbin to v2.19.0#643
stmh merged 1 commit intomainfrom
renovate/casbin-2.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Dec 20, 2025

This PR contains the following updates:

Package Type Update Change
casbin (source) workspace.dependencies minor 2.17.0 -> 2.19.0

Release Notes

casbin/casbin-rs (casbin)

v2.19.0

Compare Source

Features
  • disable semantic-release git commits to remove bump version commits (#​413) (97851d2)

v2.18.1

Compare Source

Bug Fixes
  • remove "Deploy Docs to GitHub Pages" CI script and gh-pages branch (#​411) (aeb7fe0)

v2.18.0

Compare Source

Bug Fixes
Features
  • fix FileAdapter CSV format to preserve spaces after commas (#​407) (5d0a915)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added dependencies Pull requests that update a dependency file renovate rust labels Dec 20, 2025
@claude
Copy link
Copy Markdown

claude Bot commented Dec 20, 2025

PR Review: Casbin Dependency Update (2.17.0 → 2.19.0)

Summary

This PR updates the casbin crate from version 2.17.0 to 2.19.0. The update includes two minor version increments with no breaking changes.

Changes in casbin 2.17.0 → 2.19.0

v2.19.0:

  • Disabled semantic-release git commits to remove bump version commits

v2.18.1:

  • Removed "Deploy Docs to GitHub Pages" CI script and gh-pages branch

v2.18.0:

  • Fix: FileAdapter CSV format now preserves spaces after commas (#407)
  • Removed beta Rust version from CI
  • Documentation link cleanup

Impact Analysis

Low Risk Update - This is a safe dependency update for the following reasons:

  1. No Breaking Changes: Both v2.18.0 and v2.19.0 are minor releases with no breaking API changes

  2. FileAdapter Change Does Not Apply: The main functional change in v2.18.0 fixes CSV format handling in FileAdapter, but Scotty uses MemoryAdapter (see scotty/src/services/authorization/service.rs:36), so this change has zero impact on the codebase

  3. Custom Functions Compatible: Scotty's custom user_match function for domain/wildcard matching (used for authorization) does not rely on any APIs affected by these updates

  4. Runtime Features Unchanged: The dependency is configured with runtime-tokio and cached features, which remain stable across these versions

Recommendations

Approve and Merge - This is a straightforward dependency maintenance update with:

  • No breaking changes
  • No impact on Scotty's casbin usage patterns
  • Standard housekeeping improvements in the upstream library

Testing Suggestions

While the risk is low, consider running the authorization test suite to verify compatibility:

cargo test authorization

The existing tests in scotty/tests/authorization_domain_test.rs and unit tests in scotty/src/services/authorization/casbin.rs should provide adequate coverage to catch any unexpected issues.


Verdict: ✅ Safe to merge after CI passes

@stmh stmh merged commit 36854e2 into main Dec 21, 2025
24 checks passed
@renovate renovate Bot deleted the renovate/casbin-2.x-lockfile branch December 21, 2025 13:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file renovate rust

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant