v2.0.0-beta
版本发布时间: 2021-12-08 16:38:37
auth0/go-jwt-middleware最新发布版本:v2.2.2(2024-08-24 03:19:54)
BEFORE YOU UPGRADE
- This is a major release that includes breaking changes. Please see MIGRATION_GUIDE before upgrading. This release will require changes to your application.
Added
- Use github.com/pkg/errors (#98)
- Add a migration guide (#99)
- Add cookie token extractor (#93, #63)
- Add token validator using square/go-jose.v2 (#84, #81, #79, #74, #53)
- Add allowed signing algorithms in validator (#128)
- Add issuer and audience as required params in validator (#119)
- Add support for jwks
Changed
- Update docs (#72)
- Reorganize imports across the project
- Reorder fields to use less memory
- Split jwtmiddleware into multiple files
Breaking
- Simplify JWT library functionality into an interface (#77)
- Rename Claims to RegisteredClaims in validator pkg
- Refactor main middleware (#90, #51, #51)
- Write back error messages on DefaultErrorHandler
Fixed
- Fix code smells and code style