Skip to content

Commit

Permalink
fix(deps): update module github.com/golang-jwt/jwt/v5 to v5.1.0 (#4229)
Browse files Browse the repository at this point in the history
[![Mend Renovate logo
banner](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github.com/golang-jwt/jwt/v5](https://github.com/golang-jwt/jwt) |
require | minor | `v5.0.0` -> `v5.1.0` |

---

### Release Notes

<details>
<summary>golang-jwt/jwt (github.com/golang-jwt/jwt/v5)</summary>

### [`v5.1.0`](https://github.com/golang-jwt/jwt/releases/tag/v5.1.0)

[Compare
Source](https://github.com/golang-jwt/jwt/compare/v5.0.0...v5.1.0)

#### What's Changed

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

#### New Contributors

- [@&#8203;alexandear](https://github.com/alexandear) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/317](https://github.com/golang-jwt/jwt/pull/317)
- [@&#8203;dcalsky](https://github.com/dcalsky) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/302](https://github.com/golang-jwt/jwt/pull/302)
- [@&#8203;craigpastro](https://github.com/craigpastro) made their
first contribution in
[https://github.com/golang-jwt/jwt/pull/313](https://github.com/golang-jwt/jwt/pull/313)
- [@&#8203;duhaesbaert](https://github.com/duhaesbaert) made their
first contribution in
[https://github.com/golang-jwt/jwt/pull/341](https://github.com/golang-jwt/jwt/pull/341)
- [@&#8203;epelc](https://github.com/epelc) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/343](https://github.com/golang-jwt/jwt/pull/343)
- [@&#8203;tareksha](https://github.com/tareksha) made their first
contribution in
[https://github.com/golang-jwt/jwt/pull/351](https://github.com/golang-jwt/jwt/pull/351)

**Full Changelog**:
golang-jwt/jwt@v5.0.0...v5.1.0

</details>

---

### Configuration

📅 **Schedule**: Branch creation - "before 6am on Monday" in timezone
Europe/Paris, Automerge - At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.

♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.

---

- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box

---

This PR has been generated by [Mend
Renovate](https://www.mend.io/free-developer-tools/renovate/). View
repository job log
[here](https://developer.mend.io/github/cozy/cozy-stack).

<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy41OS44IiwidXBkYXRlZEluVmVyIjoiMzcuNTkuOCIsInRhcmdldEJyYW5jaCI6Im1hc3RlciJ9-->
  • Loading branch information
nono authored Nov 20, 2023
2 parents a6afbc7 + ac9ee1a commit 301e397
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ require (
github.com/dustin/go-humanize v1.0.1
github.com/gavv/httpexpect/v2 v2.16.0
github.com/gofrs/uuid/v5 v5.0.0
github.com/golang-jwt/jwt/v5 v5.0.0
github.com/golang-jwt/jwt/v5 v5.1.0
github.com/golang/gddo v0.0.0-20210115222349-20d68f94ee1f
github.com/goodsign/monday v1.0.1
github.com/google/go-querystring v1.1.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ github.com/golang-jwt/jwt v3.2.2+incompatible/go.mod h1:8pz2t5EyA70fFQQSrl6XZXzq
github.com/golang-jwt/jwt/v4 v4.4.1/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg=
github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0=
github.com/golang-jwt/jwt/v5 v5.0.0 h1:1n1XNM9hk7O9mnQoNBGolZvzebBQ7p93ULHRc28XJUE=
github.com/golang-jwt/jwt/v5 v5.0.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang-jwt/jwt/v5 v5.1.0 h1:UGKbA/IPjtS6zLcdB7i5TyACMgSbOTiR8qzXgw8HWQU=
github.com/golang-jwt/jwt/v5 v5.1.0/go.mod h1:pqrtFR0X4osieyHYxtmOUWsAWrfe1Q5UVIyoH402zdk=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0 h1:DACJavvAHhabrF08vX0COfcOBJRhZ8lUbR+ZWIs0Y5g=
github.com/golang/freetype v0.0.0-20170609003504-e2365dfdc4a0/go.mod h1:E/TSTwGwJL78qG/PmXZO1EjYhfJinVAhrmmHX6Z8B9k=
github.com/golang/gddo v0.0.0-20210115222349-20d68f94ee1f h1:16RtHeWGkJMc80Etb8RPCcKevXGldr57+LOyZt8zOlg=
Expand Down

0 comments on commit 301e397

Please sign in to comment.