Releases: appleboy/gin-jwt
Releases · appleboy/gin-jwt
v3.3.0
Changelog
Features
- 54137dd: feat: enable standard JWT claims via PayloadFunc for RFC 7519 compliance (#363) (@appleboy)
Bug fixes
Enhancements
- 866b026: chore: no functional changes; prepare for future development (@appleboy)
- 69522a5: chore(deps): upgrade golang.org/x/crypto to v0.45.0 (@appleboy)
- cbf9c99: chore: update indirect Go dependencies to latest versions (@appleboy)
- 2e75aee: chore: remove bearer.yml workflow (@appleboy)
- f82eeda: chore(deps): bump actions/checkout from 4 to 6 (@appleboy)
- c53cca0: chore(deps): upgrade quic-go to v0.57.1 (@appleboy)
- fb8b0ac: chore(ci): update golangci-lint to v2.6 (@appleboy)
Refactor
- 9df0443: refactor: simplify Go expert role configuration and codebase (@appleboy)
- 51caed9: refactor: adopt code quality standards and clarify store type exports (@appleboy)
- 9044513: refactor: unify test credential handling with shared constants (@appleboy)
Build process updates
Documentation updates
Others
- 0f282ec: test: refactor test HTTP requests for context support (@appleboy)
- 70a3705: test: simplify Redis test setup and middleware helper signatures (@appleboy)
- c4ebb97: test: refactor test files to use constants for user roles and tokens (@appleboy)
- c9a2f81: test: standardize admin test credentials usage in authentication tests (@appleboy)
- 9f78ed2: test: suppress staticcheck linter warnings in test assertions (@appleboy)
- c64228e: style: enforce double quotes in workflow YAML parameters (@appleboy)
v3.2.0
v3.1.0
v3.0.0
Changelog
Features
- bb81564: feat: adopt OAuth2-style token fields in authentication responses (#347) (@appleboy)
- 94090fe: feat: add RFC 6749 compliant refresh token flow and pluggable store (#350) (@appleboy)
- 8c5b6d4: feat: refactor auth middleware and refresh token endpoint usage (@appleboy)
- c275802: feat: enhance logout endpoint with customizable responses and JWT access (#351) (@appleboy)
- fa21e4a: feat: refactor JWT token handling and support programmatic generation (#352) (@appleboy)
- daa117d: feat: integrate Redis as configurable refresh token store (#353) (@appleboy)
Bug fixes
- 177ca98: fix: strengthen JWT claims validation and error handling (@appleboy)
- f2872ff: fix: refactor JWT token generation and validation logic (@appleboy)
Enhancements
- faba783: chore(example): go mod init (@appleboy)
- 06ac89f: chore: update gin and indirect dependencies to latest versions (@appleboy)
- 892b627: chore: update and clean up Go module dependencies (@appleboy)
- 4fceb9a: chore: migrate to golang-jwt v5 and update token error handling (#348) (@appleboy)
- 2833f70: chore: update Go version and upgrade dependencies in project (@appleboy)
- 3e7109b: chore: update Go version and refresh project dependencies (@appleboy)
- 8286763: chore: expand dependency support for Docker, Redis, and telemetry (@appleboy)
- ff4da9b: chore: migrate project dependencies to gin-jwt/v3 (@appleboy)
Refactor
- 3bf5c41: refactor: simplify JWT middleware by removing "create" scope handling (@appleboy)
- de350c8: refactor: refactor codebase to use jwt.MapClaims directly (#349) (@appleboy)
- 7504a97: refactor: strengthen handling and protection of cryptographic secrets (@appleboy)
- f387e9f: refactor: refactor token generation and error handling for clarity and reuse (@appleboy)
- 3318864: refactor: refactor middleware setup and improve error handling (@appleboy)
- abfdc57: refactor: migrate from RefreshToken to RFC 6749-compliant RefreshHandler (@appleboy)
- 501d370: refactor: Redis store configuration to use functional options pattern (#354) (@appleboy)
- 3b7f88b: refactor: standardize codebase to use any instead of interface{} (@appleboy)
- f8fef47: refactor: refactor auth handlers to use structured token objects (@appleboy)
- bad9f43: refactor: unify function parameter order for context and data/error (@appleboy)
- 163bda7: refactor: standardize middleware naming to Authorizer across the codebase (#355) (@appleboy)
- 22ee3f8: refactor: unify token generation API naming across codebase (@appleboy)
Build process updates
- dfa6597: ci: refactor CI workflows and simplify JWT token header check (@appleboy)
- a5e5b53: ci: add Go 1.25 support to CI test matrix (@appleboy)
Documentation updates
- 11fafdc: docs: revise and expand documentation for clarity and usability (@appleboy)
- 841d3c6: docs: deprecate non-module usage and update related documentation (@appleboy)
- 7617f67: docs: add multilingual support and Chinese translations to documentation (@appleboy)
- 74a1250: docs: introduce configurable expert modes for Go development (@appleboy)
- d5473df: docs: update authentication screenshots in documentation (@appleboy)
- 50dbd99: docs: drop codebeat badge from all documentation versions (@appleboy)
- cc702a2: docs: document and exemplify route-based authorization with Gin and JWT (#356) (@appleboy)
- 3a24630: docs: revise and enhance documentation security guidelines (@appleboy)
v2.10.3
v2.10.2
Changelog
Features
Enhancements
- 7bf9220: chore: refactor codebase and update dependencies for improved performance (@appleboy)
- be787cc: chore: upgrade dependencies and CI workflow to support Go 1.23 (@appleboy)
Refactor
- 74e77e5: refactor: adopt jwt.MapClaims to replace custom MapClaims type across codebase (#342) (@appleboy)
Build process updates
v2.10.1
Changelog
Features
Enhancements
Build process updates
Documentation updates
v2.10.0
Changelog
Features
Enhancements
- 5392099: chore: update dependencies to latest versions (@appleboy)
- 76f00ea: chore: update dependencies to latest versions (#333) (@iTanken)
- 246b77a: chore: refine
.goreleaser.yamland changelog setup (@appleboy) - efe5553: chore: remove typo server.go (#334) (@jp-santosq)
- 694fee1: chore: upgrade Go and dependencies to latest versions (@appleboy)
- 6e78f18: chore: bump Go version to 1.21.0 (@appleboy)
Refactor
- d36b890: refactor: Provided an Option to Set Cookie using *GinJWTMiddleware (#335) (@maniSHarma7575)
Build process updates
- 4da94ba: ci: update GitHub Actions and Improve CI Robustness (@appleboy)
- a4e49c3: ci: enhance testing matrix and tolerance limits (@appleboy)
- 466d7e9: ci: refine Go workflows and update actions versions (@appleboy)
- a7ade22: ci: refactor GitHub Actions workflows (@appleboy)
- 4339e81: ci: update Go linting action to v6 in CI workflow (@appleboy)
- 30cc93a: ci: refactor Go workflow for improved cross-platform support (@appleboy)
- 2b1dbef: ci: update workflow to support Go 1.23 (@appleboy)
- 2818e89: ci: upgrade GoReleaser action to version 6 (@appleboy)
Documentation updates
- b00ab28: docs(example): update code format (#322) (@AdwindOne)
v2.9.2
Changelog
Enhancements
- 5af9d6f chore: update Go version and dependencies in workflow
- 96e25da chore: update cron schedule and action versions
- f1ee405 chore: update dependencies and improve test coverage
- abcf7b4 chore: update dependencies to latest versions
- ff387a4 chore: update dependencies to latest versions