Skip to content

Conversation

@zamderax
Copy link
Contributor

@zamderax zamderax commented Oct 11, 2025

What changed

  • Conform CasbinError and its nested enums to Sendable
  • Helps Swift 6 toolchains reason about sendability and reduces potential warnings
    All associated values are already Sendable (e.g., String), so this is a safe annotation
  • All tests pass locally (macOS 15, Swift 6.1.2)
  • Continue migrating tests in small phases
  • Consider modernizing NIO file APIs in a separate PR

…onform CasbinError, MatchError, RbacError, ModelError to Sendable\n- Complements prior sendability hygiene; reduces Swift 6 warnings\n\nNo functional changes.
@hsluoyz hsluoyz merged commit 1b53734 into casbin:master Oct 11, 2025
4 checks passed
@hsluoyz
Copy link
Member

hsluoyz commented Oct 11, 2025

🎉 This PR is included in version 1.10.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants