Skip to content

feat: upgrade Casbin to v3.8.1 - #32

Merged
hsluoyz merged 3 commits into
apache:masterfrom
geekswamp:feat/upgrade-casbin
Jan 7, 2026
Merged

feat: upgrade Casbin to v3.8.1#32
hsluoyz merged 3 commits into
apache:masterfrom
geekswamp:feat/upgrade-casbin

Conversation

@geekswamp

Copy link
Copy Markdown
Contributor

No description provided.

@geekswamp
geekswamp force-pushed the feat/upgrade-casbin branch from b6d524e to 103f7a1 Compare January 7, 2026 02:50
@geekswamp geekswamp changed the title Feat/upgrade casbin feat: upgrade Casbin to v3.8.1 Jan 7, 2026
@hsluoyz
hsluoyz requested a review from Copilot January 7, 2026 03:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This pull request upgrades the Casbin authorization library from v2.135.0 to v3.8.1, which is a major version update. The changes update all import paths and dependency versions accordingly.

  • Updated Casbin from v2 to v3 (v3.8.1)
  • Updated import paths throughout the codebase from casbin/v2 to casbin/v3
  • Updated various transitive dependencies to their latest compatible versions

Reviewed changes

Copilot reviewed 3 out of 4 changed files in this pull request and generated no comments.

File Description
go.mod Updates Go version directive and upgrades Casbin to v3.8.1, along with dependency updates for ariga.io/atlas, jackc/pgx/v5, and removal of golang.org/x/crypto
go.sum Updates dependency checksums to reflect all the version changes in go.mod
adapter.go Updates import paths from casbin/v2 to casbin/v3 for persist and model packages
adapter_test.go Updates import paths from casbin/v2 to casbin/v3 for casbin and util packages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@hsluoyz
hsluoyz merged commit 6147569 into apache:master Jan 7, 2026
11 checks passed
@github-actions

github-actions Bot commented Jan 7, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.3.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.

3 participants