Skip to content

Releases: appleboy/gin-jwt

v3.3.0

14 Dec 04:39
c64228e

Choose a tag to compare

Changelog

Features

  • 54137dd: feat: enable standard JWT claims via PayloadFunc for RFC 7519 compliance (#363) (@appleboy)

Bug fixes

Enhancements

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

  • a4d1168: ci: integrate automated Trivy security scans and status badges (@appleboy)

Documentation updates

  • ce8634f: docs: revise and enhance GinJWTMiddleware documentation and examples (@appleboy)

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

02 Nov 07:14
69bcf11

Choose a tag to compare

Changelog

Features

Bug fixes

  • 89d257c: fix: fix WWW-Authenticate header formatting and add authentication tests (#361) (@appleboy)

Refactor

  • 7f5f977: refactor: refactor codebase for readability and style consistency (@appleboy)

Others

  • 69bcf11: style: refactor codebase for improved readability and formatting (@appleboy)

v3.1.0

17 Oct 02:05
f9213e5

Choose a tag to compare

Changelog

Refactor

  • 144cf55: refactor: enforce TokenStore interface compliance in refresh token stores (@appleboy)
  • f9213e5: refactor: adopt context-aware token operations throughout codebase (#357) (@appleboy)

Documentation updates

  • 6fa781d: docs: streamline documentation by removing screenshots and auth sections (@appleboy)

v3.0.0

11 Oct 14:18
ff4da9b

Choose a tag to compare

Changelog

Features

Bug fixes

Enhancements

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

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

23 Mar 13:41
f72746d

Choose a tag to compare

Changelog

Enhancements

Others

  • 5a57879: test: refactor test functions to use updated MapClaims and clean variables (@appleboy)

v2.10.2

24 Feb 13:03
74e77e5

Choose a tag to compare

Changelog

Features

  • abfea8e: feat: switch to PKCS8 for private key parsing and handling (@appleboy)

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

  • c61999a: ci: improve CI workflow and test coverage across all platforms (@appleboy)

v2.10.1

28 Dec 23:49
a46e1ec

Choose a tag to compare

Changelog

Features

Enhancements

Build process updates

Documentation updates

v2.10.0

31 Aug 01:43
6e78f18

Choose a tag to compare

Changelog

Features

Enhancements

Refactor

Build process updates

Documentation updates

v2.9.2

03 Feb 03:11
abcf7b4

Choose a tag to compare

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

Others

  • 234913a ci: improve API usage and test reliability in workflows
  • 9153049 ci: update GitHub Actions to setup-go@v5

v2.9.1

11 Dec 03:45

Choose a tag to compare

Changelog

Features

  • 22d2e61 feat(CodeQL): Discover vulnerabilities across a codebase with CodeQL
  • 7733244 feat(jwt): adds ParseOption to Parse method of jwt (#303)
  • 687525f feat: simplified code (#290)
  • 119241c Add an option to parse token from POST form data. (#293)

Bug fixes

  • 8a50949 fix(timezone): remove stray UTC() call (#309)
  • b3c8050 bug: fix the false alarm of verification with jwt.WithJSONNumber (#305)