Skip to content

Version 3.11.0 doesn't match version on Go proxy #1780

Open

Description

@GFriedrich

Hi,

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.

Thanks for giving it a check. 🙏

Activity

  1. hsluoyz commented on Nov 21, 2026

    @hsluoyz
    Member

    Thanks for the report, you are right.

    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.

    @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.

  2. self-assigned this
    on Nov 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions