You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Version 3.11.0 doesn't match version on Go proxy #1780
I just found that the tagged version here and the version on the Go proxy at https://pkg.go.dev/github.com/casbin/casbin/v3 point to different commits. From what I got, the pkg.go.dev v3.11.0 points actually to v3.11.0-snapshot.7
This renders the v3.11.0 unusable to me as I always pick the versions that a cached on pkg.go.dev first.
Are you planning to do a re-release of v3.11.0 as v3.11.1?
Otherwise I will wait until the next regular release is available I guess.
v3.11.0 was first tagged at 1571e4f (the same commit as v3.11.0-snapshot.7) on 2026-06-23 by our old automated release, and the Go module proxy cached it then. The Apache 3.11.0 release voted later (RC2, e9df34e) reused the same version number and the tag was moved, but Go module versions are immutable, so proxy.golang.org and sum.golang.org will always serve 1571e4f for v3.11.0. Users with GOPROXY=direct may also hit a checksum mismatch.
This cannot be fixed under v3.11.0. We will publish the current code under a new version number.
Activity
hsluoyz commentedon Nov 21, 2026
Thanks for the report, you are right.
v3.11.0was first tagged at 1571e4f (the same commit asv3.11.0-snapshot.7) on 2026-06-23 by our old automated release, and the Go module proxy cached it then. The Apache 3.11.0 release voted later (RC2, e9df34e) reused the same version number and the tag was moved, but Go module versions are immutable, so proxy.golang.org and sum.golang.org will always serve 1571e4f forv3.11.0. Users withGOPROXY=directmay also hit a checksum mismatch.This cannot be fixed under
v3.11.0. We will publish the current code under a new version number.@EmryZhang could you please start the next release (RC + vote) with a new version (v3.11.1 or v3.12.0)? Please also check that the version is not already on https://proxy.golang.org/github.com/casbin/casbin/v3/@v/list before tagging, and never move or re-push a tag once it has been pushed.