mirror of
1
Fork 0
forgejo/services/packages
harryzcy 0f9f6567bb
Bump github.com/golang-jwt/jwt to v5 (#25975)
Bumping `github.com/golang-jwt/jwt` from v4 to v5.

`github.com/golang-jwt/jwt` v5 is bringing some breaking changes:

- standard `Valid()` method on claims is removed. It's replaced by
`ClaimsValidator` interface implementing `Validator()` method instead,
which is called after standard validation. Gitea doesn't seem to be
using this logic.
- `jwt.Token` has a field `Valid`, so it's checked in `ParseToken`
function in `services/auth/source/oauth2/token.go`

---------

Co-authored-by: Giteabot <teabot@gitea.io>
2023-07-19 09:57:10 +00:00
..
alpine Add Alpine package registry (#23714) 2023-05-12 17:27:50 +00:00
cargo Implement Cargo HTTP index (#24452) 2023-05-03 16:58:43 -04:00
cleanup Add Debian package registry (#24426) 2023-05-02 12:31:35 -04:00
container Introduce path Clean/Join helper functions (#23495) 2023-03-21 16:02:49 -04:00
debian Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
rpm Add RPM registry (#23380) 2023-05-05 20:33:37 +00:00
auth.go Bump github.com/golang-jwt/jwt to v5 (#25975) 2023-07-19 09:57:10 +00:00
packages.go Replace `interface{}` with `any` (#25686) 2023-07-04 18:36:08 +00:00