github.com/gin-contrib/authz
v1.0.7
#2721 most downloaded on Go modules
gin-contrib/authz
What this package is like to depend on
Last release 9 days ago
15 Aug 2026
Ships fairly regularly
a new release about every 3 months
Nearly every release is documented
notes for 9 of 9 stable releases
Nothing withdrawn
no release was ever pulled
9 years old
53 releases · first in 2017
6 releases in the last 12 months
see the full history below
Release timeline
53 releases · Sep 2017 to Aug 2026Releases
latest 53-
v1.0.8-0.20260815030004-325d204d841d15 Aug 2026 pre-releaseNothing published for this version
-
v1.0.8-0.20260718025900-53cb7941ae9b18 Jul 2026 pre-releaseNothing published for this version
-
v1.0.8-0.20260626120838-4eac8fe2d46426 Jun 2026 pre-releaseNothing published for this version
-
v1.0.728 Mar 2026Release notes
Open source →Changelog
Enhancements
- d321d6b: chore(deps): upgrade golang.org/x/crypto to v0.45.0 (@appleboy)
- c7cd59f: chore: update golang.org/x dependencies to latest versions (@appleboy)
- e4717b0: chore: update CI workflows and dependencies to latest versions (@appleboy)
- b8a4e1a: chore(deps): upgrade quic-go to v0.57.1 (@appleboy)
- 21f9585: chore(ci): update golangci-lint to v2.6 (@appleboy)
- 63dfd4a: chore: remove gitter badge from README (@appleboy)
- 25a72f2: chore(deps): bump actions/cache from 4 to 5 (@appleboy)
- 3b2ec1f: chore(ci): upgrade trivy-action from 0.33.1 to 0.35.0 (@appleboy)
- 02adc49: chore(deps): upgrade gin to v1.12.0 and update CI Go versions (@appleboy)
- 7ffc614: chore(deps): upgrade golang.org/x/text to v0.35.0 (@appleboy)
Build process updates
- 580ccff: ci: migrate vulnerability scanning to dedicated Trivy workflow (@appleboy)
- 5393411: ci: integrate automated Trivy security scans via GitHub Actions (@appleboy)
- e970854: ci: remove Trivy security scan from CI workflows (@appleboy)
- 4878deb: ci(workflow): bump goreleaser/goreleaser-action from v6 to v7 (@appleboy)
Others
-
v1.0.7-0.20251109040132-580ccffb23a009 Nov 2025 pre-releaseNothing published for this version
-
v1.0.613 Oct 2025Release notes
Open source →Changelog
Enhancements
- 3e8c63e: chore: update authorization library and refresh indirect dependencies (@appleboy)
- 4c449d2: chore: update and clean up major dependencies and indirect packages (@appleboy)
- c78f5bd: chore(deps): bump actions/checkout from 4 to 5 (#86) (@dependabot[bot])
- 480b24c: chore(deps): bump aquasecurity/trivy-action from 0.28.0 to 0.33.1 (#91) (@dependabot[bot])
- 522abe8: chore: bump Go version and refresh dependencies (@appleboy)
Build process updates
-
v1.0.525 May 2025 -
v1.0.431 Mar 2025Release notes
Open source →Changelog
Enhancements
- 7485059: chore(security): update dependencies for casbin and govaluate libraries (@appleboy)
- 93dc2a4: chore(deps): bump codecov/codecov-action from 4 to 5 (#74) (@dependabot[bot])
- 40d2377: chore: update dependencies and Go version to enhance library support (@appleboy)
Build process updates
- 40df0ca: ci: add GitHub Actions workflow for Bearer PR checks (@appleboy)
- fddada5: ci: update GitHub Actions and improve test configurations (@appleboy)
- cd6f599: ci: update CI workflow and cache paths for Go build optimization (@appleboy)
- 67dca39: ci: refactor and update linting configurations and GitHub workflows (@appleboy)
-
v1.0.327 Dec 2024Release notes
Open source →Changelog
Enhancements
- 0cf86cd: chore: update dependencies to latest versions (@appleboy)
- 84041fb: chore: update dependencies to latest versions (@appleboy)
- cb73814: chore: upgrade multiple dependencies to latest versions (@appleboy)
- ca71acd: chore: restrict Go versions and simplify workflow configuration (@appleboy)
- 74c3912: chore: update Go version compatibility in project files (@appleboy)
- 75544ac: chore: update dependencies and Go version to latest releases (@appleboy)
Build process updates
-
v1.0.3-0.20240828150336-74c3912c1cad28 Aug 2024 pre-releaseNothing published for this version
-
v1.0.3-0.20240613011019-84041fb8ad3b13 Jun 2024 pre-releaseNothing published for this version
-
v1.0.3-0.20240521024200-1e516b45dc9e21 May 2024 pre-releaseNothing published for this version
-
v1.0.3-0.20240507045717-0cf86cd61ceb07 May 2024 pre-releaseNothing published for this version
-
v1.0.202 May 2024 -
v1.0.124 Mar 2024Release notes
Open source →Changelog
Enhancements
- b8a8fc9 chore: remove
depguardlinter from.golangci.ymlfile - fb048c3 chore: update GitHub Actions versions in workflows
- a8c915f chore: update Go version in GitHub Actions workflows
- e09f454 chore: update
goreleaser/goreleaser-actiontov5 - d39982e chore: update dependencies to latest versions
- 6463040 chore: update dependencies to latest versions
- 2e4f9c8 chore: update go-version to ^1.21
- 6be22ba chore: update linter configuration in .golangci.yml
- f12acd5 chore: update multiple dependencies to latest versions
Others
- b8a8fc9 chore: remove
-
v1.0.1-0.20240324022130-4f4cf4ea12c624 Mar 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20240212045526-366002eef44d12 Feb 2024 pre-releaseNothing published for this version
-
v1.0.1-0.20231230012659-237331a4940a30 Dec 2023 pre-releaseNothing published for this version
-
v1.0.1-0.20230810083609-b8a8fc9b356610 Aug 2023 pre-releaseNothing published for this version
-
v1.0.010 Aug 2023Release notes
Open source →Changelog
Enhancements
- 9e5d17f chore(deps): add go1.20 version
- ca2834c chore(deps): bump github.com/casbin/casbin/v2 from 2.41.0 to 2.44.2 (#16)
- 67deffc chore(deps): bump github.com/casbin/casbin/v2 from 2.44.2 to 2.46.0 (#23)
- cc99b02 chore(deps): bump github.com/casbin/casbin/v2 from 2.47.3 to 2.55.1 (#36)
- 7bbf274 chore(deps): bump github/codeql-action from 1 to 2 (#20)
- d238186 chore(gin): upgrade to v1.8.0
- 7784ddd chore: Add go 1.19 and upgrade lint version to v1.49
- a7d4986 chore: bump require version
- 7fa381c chore: update Go and goreleaser/goreleaser-action versions
- fd7f112 chore: update package requirements and import paths
Others
- a57c2d0 ci: update Go workflows to use actions/setup-go@v4 and set go-version to '1.21'
-
v0.0.2-0.20230208011044-9e5d17fa61a008 Feb 2023 pre-releaseNothing published for this version
-
v0.0.2-0.20220430081340-ca2834cc6ef830 Apr 2022 pre-releaseNothing published for this version
-
v0.0.130 Apr 2022Release notes
Open source →Changelog
Features
Bug fixes
Enhancements
- 00343b9 chore(CD): enable goreleaser config.
- fd47ac5 chore(CI): add cache and lint checker (#15)
- d5a4f87 chore(CI): update go version for lint testing
- 7e38f1e chore(CI): upgrade golangci-lint to v1.42.0
- bcf9765 chore(ci): add go1.14
- 77b571f chore(ci): remove 1.10
- 2fd6520 chore(gin): upgrade to 1.7.4
- e9d8475 chore(github): upgrade action package.
- 2a70df0 chore(lint): upgrade golanci-lint to v1.43.0
- b6ebff9 chore(mod): update gin version
- 3695bd1 chore: add go1.15.x
- 92820ec chore: remove tags
- fdc732f chore: remove test tag
- cf801cf chore: replace 403 with StatusForbidden const
- 2cb6302 chore: support go1.13 (#13)
- a7717eb chore: switch travis to GitHub actions. (#14)
- f58cd3b chore: update CI
- ad346fc chore: update travis
- 8d0a9f2 chore: upgrade checkout version to v3
- d110fab chore: upgrade gin and casbin
- 2da04f7 chore: upgrade gin and casbin version
- ca8a82c chore: upgrade gin to v1.5.0
- 4a1cb85 chore: upgrade github.com/casbin/casbin/v2 to v2.37
- cd1d0c1 chore: upgrade golangci to v1.42.1
Others
- 53373b8 Add README.
- 12b5043 Add Travis CI and coverage.
- 5768146 Add the documentation in README.
- d5e7d5c Add the middleware code.
- dc60d41 Change the indentation to 4 spaces in README.
- be38714 Drop go 1.9 support
- 00111e7 Fix the Casbin 2.x import path.
- a8edaa1 Ignore IDEA files.
- 8b17e68 Initial commit
- b222b85 Merge pull request #1 from gin-contrib/readme
- 9f37da0 Merge pull request #2 from gin-contrib/travis
- fa0feb9 Merge pull request #5 from theobouwman/master
- cd3ed20 Merge pull request #7 from Neopallium/master
- 87f814f Move creation of
BasicAuthorizer - b2e3cde Only support go 1.9.0 and above in .travis.yml because sync.Map is used.
- 13cec14 Remove extra returns in code.
- cc61375 Return status 200 in a simpler way.
- c52461b Update .travis.yml
- f7bcba6 Update .travis.yml
- d9c9695 Update .travis.yml
- ebfcdc3 Update the new repo location.
- b2abe43 Update to Casbin 2.x
- 3771f3e add 1.6 version testing.
- 63f4ccc add golang 1.11.x version
- bb68c05 chore(CI/CD): add dependabot
- 3b17dff chore(CI/CD): add go1.18 version
- 9d90e7a chore(CI/CD): remove 1.13 version
- f161622 fixed response header overwriting
- 1fb3afa support go1.12
- 9d15592 test: remove macos version
- de6c16b test: update new request with context
- f37dc3b update 1.9
- 27784a0 update readme.
- c995f95 update travis config.
- 749041b upgrade gin to v1.4.0
-
v0.0.0-20220427081920-bb68c055563627 Apr 2022 pre-releaseNothing published for this version
-
v0.0.0-20220321040446-9d155922c41021 Mar 2022 pre-releaseNothing published for this version
-
v0.0.0-20220321033756-bab10e73eab521 Mar 2022 pre-releaseNothing published for this version
-
v0.0.0-20220321033321-9d90e7a2f05721 Mar 2022 pre-releaseNothing published for this version
-
v0.0.0-20220321030047-3b17dff7f30621 Mar 2022 pre-releaseNothing published for this version
-
v0.0.0-20220317031526-8d0a9f2beaca17 Mar 2022 pre-releaseNothing published for this version
-
v0.0.0-20220203064617-34d8f4e4e5ac03 Feb 2022 pre-releaseNothing published for this version
-
v0.0.0-20220203064406-0855b672781803 Feb 2022 pre-releaseNothing published for this version
-
v0.0.0-20220131035900-a5c596c1b0af31 Jan 2022 pre-releaseNothing published for this version
-
v0.0.0-20220101113842-de6c16bdd09901 Jan 2022 pre-releaseNothing published for this version
-
v0.0.0-20211106112157-2a70df09d20706 Nov 2021 pre-releaseNothing published for this version
-
v0.0.0-20210918065036-cf801cf094f218 Sep 2021 pre-releaseNothing published for this version
-
v0.0.0-20210822023525-7e38f1e6f03b22 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210820001809-fdc732f6293f20 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210819004244-2fd652011ade19 Aug 2021 pre-releaseNothing published for this version
-
v0.0.0-20210620100611-e4afb9e0a78320 Jun 2021 pre-releaseNothing published for this version
-
v0.0.0-20210429002939-d110fabd0cf029 Apr 2021 pre-releaseNothing published for this version
-
v0.0.0-20200908132451-ad346fc37a3b08 Sep 2020 pre-releaseNothing published for this version
-
v0.0.0-20200815104511-3695bd1c457715 Aug 2020 pre-releaseNothing published for this version
-
v0.0.0-20200226035807-77b571fb513b26 Feb 2020 pre-releaseNothing published for this version
-
v0.0.0-20200226022840-bcf97653a66326 Feb 2020 pre-releaseNothing published for this version
-
v0.0.0-20191126023748-ca8a82c1c91e26 Nov 2019 pre-releaseNothing published for this version
-
v0.0.0-20190904051449-2cb6302f1fe404 Sep 2019 pre-releaseNothing published for this version
-
v0.0.0-20190803061001-00111e724ce003 Aug 2019 pre-releaseNothing published for this version
-
v0.0.0-20190528083835-749041bdf7e228 May 2019 pre-releaseNothing published for this version
-
v0.0.0-20190227052352-1fb3afa6ee8a27 Feb 2019 pre-releaseNothing published for this version
-
v0.0.0-20190101123428-7175d47f87fa01 Jan 2019 pre-releaseNothing published for this version
-
v0.0.0-20181116145418-cd3ed206be0a16 Nov 2018 pre-releaseNothing published for this version
-
v0.0.0-20180921155831-13cec146382521 Sep 2018 pre-releaseNothing published for this version
-
v0.0.0-20170917022117-c52461b5085d17 Sep 2017 pre-releaseNothing published for this version