v5.1.0
What's Changed
- Using jwt's native
ErrInvalidType
instead ofjson.UnsupportedTypeError
by @oxisto in #316 - Fix typos in comments and test names by @alexandear in #317
- Format: add whitespaces, remove empty lines by @alexandear in #319
- Refactor example: use io.ReadAll instead of io.Copy by @alexandear in #320
- Refactor code by using switch instead of if-else by @alexandear in #318
- A quick way to validate token string by @dcalsky in #302
- Refactor: remove unnecessary []byte conversion to string by @alexandear in #330
- Refactor: compare strings with strings.EqualFold by @alexandear in #329
- Avoid use of json.NewDecoder by @craigpastro in #313
- Update ParseUnverified godoc by @duhaesbaert in #341
- Update ci workflows (add go1.21) by @mfridman in #345
- Bump actions/checkout from 3 to 4 by @dependabot in #346
- Key rotation with VerificationKeySet by @mfridman in #344
- Add explicit ClaimsValidator implementation check for custom claims by @epelc in #343
- feat: allow making exp claim required by @tareksha in #351
- Add error handling to examples by @craigpastro in #312
New Contributors
- @alexandear made their first contribution in #317
- @dcalsky made their first contribution in #302
- @craigpastro made their first contribution in #313
- @duhaesbaert made their first contribution in #341
- @epelc made their first contribution in #343
- @tareksha made their first contribution in #351
Full Changelog: v5.0.0...v5.1.0