Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[![Mend Renovate](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` | | golang.org/x/crypto | require | minor | `v0.14.0` -> `v0.15.0` | | golang.org/x/net | require | minor | `v0.17.0` -> `v0.18.0` | | golang.org/x/oauth2 | require | minor | `v0.13.0` -> `v0.14.0` | | golang.org/x/term | require | minor | `v0.13.0` -> `v0.14.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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​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 [@​craigpastro](https://github.com/craigpastro) in [https://github.com/golang-jwt/jwt/pull/312](https://github.com/golang-jwt/jwt/pull/312) #### New Contributors - [@​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) - [@​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) - [@​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) - [@​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) - [@​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) - [@​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 4am" (UTC), Automerge - "before 4am" (UTC). 🚦 **Automerge**: Enabled. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions) if that's undesired. --- - [ ] <!-- 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/woodpecker-ci/woodpecker). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy40Ni4wIiwidXBkYXRlZEluVmVyIjoiMzcuNDYuMCIsInRhcmdldEJyYW5jaCI6Im1haW4ifQ==--> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
- Loading branch information