Releases: go-chi/jwtauth
Release list
v5.4.0
v5.3.3
What's Changed
- update ci by @pkieltyka in #84
- Bump github.com/lestrrat-go/jwx/v2 from 2.0.20 to 2.0.21 by @dependabot in #86
- Update godoc link to v5 by @l2dy in #87
- Encode: check for errors while setting claim fields by @drakkan in #92
- Authenticator: remove jwt.Validate by @drakkan in #91
- upgrade deps by @pkieltyka in #96
- Fix typos by @VojtechVitek in #97
- Fix invalid Bearer prefix format (wrong character instead of a space) by @VojtechVitek in #99
New Contributors
- @dependabot made their first contribution in #86
- @l2dy made their first contribution in #87
Full Changelog: v5.2.0...v5.3.3
v5.1.0
v5.0.1
v5.0.0
v1.2.0
v1.1.1
v1.1.0 - new jwt dependency
This release has a few breaking changes to the API as we're switching from the underlying jwt library github.com/dgrijalva/jwt-go to github.com/lestrrat-go/jwx. See #50 for further details + discussion.
Migration guide is pretty straight forward:
- Use
jwt.Tokeninstead of*jwt.Token - Use
tokenStringfrom(*JWTAuth).Encode()instead ofjwt.Raw - Use
map[string]interface{}instead ofjwt.MapClaims{} - Use
jwtauth.New()instead ofjwtauth.NewWithParser()
Please see _example and jwtauth_test.go for more details. As well to view more docs on the new jwt lib see https://github.com/lestrrat-go/jwx and https://github.com/lestrrat-go/jwx/blob/master/jwt/README.md
NOTE: https://github.com/golang-cz/jwtauth is a fork of this repository without the above breaking changes. It uses github.com/golang-jwt/jwt, a successor to github.com/dgrijalva/jwt-go pkg, instead of the new github.com/lestrrat-go/jwx dependency.
v1.0.0 with go.mod support
jwtauth now ships with go.mod support with version v1.0.0
See https://github.com/go-chi/chi/blob/master/CHANGELOG.md#v150-2020-11-12---now-with-gomod-support for more information on the version reset.
Bugfix release; fixing regression in v3.2.0
Merge pull request #26 from slax0rr/master Truly support jwtauth.Claims when parsing from context