1
0
mirror of https://github.com/kubernetes-sigs/descheduler.git synced 2026-01-26 05:14:13 +01:00
Files
descheduler/vendor/github.com/golang-jwt/jwt/v4/MIGRATION_GUIDE.md
Amir Alavi e8fae9a3b7 remove pod security policy; additional policy/v1beta1 cleanup; use informers for descheduler unit tests
update go to 1.19 and helm kubernetes cluster to 1.25
bump -rc.0 to 1.25 GA
bump k8s utils library
bump golang-ci
use go 1.19 for helm github action
upgrade kubectl from 0.20 to 0.25

Signed-off-by: Amir Alavi <amiralavi7@gmail.com>
2022-09-04 10:30:40 -04:00

865 B

Migration Guide (v4.0.0)

Starting from v4.0.0, the import path will be:

"github.com/golang-jwt/jwt/v4"

The /v4 version will be backwards compatible with existing v3.x.y tags in this repo, as well as github.com/dgrijalva/jwt-go. For most users this should be a drop-in replacement, if you're having troubles migrating, please open an issue.

You can replace all occurrences of github.com/dgrijalva/jwt-go or github.com/golang-jwt/jwt with github.com/golang-jwt/jwt/v4, either manually or by using tools such as sed or gofmt.

And then you'd typically run:

go get github.com/golang-jwt/jwt/v4
go mod tidy

Older releases (before v3.2.0)

The original migration guide for older releases can be found at https://github.com/dgrijalva/jwt-go/blob/master/MIGRATION_GUIDE.md.