Upgrading github.com/dgrijalva/jwt-go 1 to 2
Unknownv1.0.2 → v2.7.0+incompatible
Fetching 8 releases from GitHub…0 / 8
UnknownUpgrade verdict
DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.
In plain terms
- DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
- This page updates as the notes come in.
Must act Still reading release notes
DepDelta is still reading the release notes in this range. This updates as they come in.
API changes
Generated by DepDelta from published Go source. Not mixed with prose notes.
- removed:
method SigningMethodHS256.Alg() string - removed:
method SigningMethodHS256.Sign(string, []byte) (string, error) - removed:
method SigningMethodHS256.Verify(string, string, []byte) (error) - removed:
method SigningMethodRS256.Alg() string - removed:
method SigningMethodRS256.Sign(string, []byte) (string, error) - removed:
method SigningMethodRS256.Verify(string, string, []byte) error - removed:
type SigningMethodHS256: struct - removed:
type SigningMethodRS256: struct - changed:
method SigningMethod.Sign(string, []byte) (string, error) → method SigningMethod.Sign(string, interface{}) (string, error) - changed:
method SigningMethod.Verify(string, string, []byte) error → method SigningMethod.Verify(string, string, interface{}) error - changed:
method Token.SignedString([]byte) (string, error) → method Token.SignedString(interface{}) (string, error) - changed:
type Keyfunc: func(*Token) ([]byte, error) → type Keyfunc: func(*Token) (interface{}, error) - added:
const UnsafeAllowNoneSignatureType: unsafeNoneMagicConstant - added:
field Parser.UseJSONNumber: bool - added:
field Parser.ValidMethods: []string - added:
field SigningMethodECDSA.CurveBits: int - added:
field SigningMethodECDSA.Hash: crypto.Hash - added:
field SigningMethodECDSA.KeySize: int - added:
field SigningMethodECDSA.Name: string - added:
field SigningMethodHMAC.Hash: crypto.Hash - added:
field SigningMethodHMAC.Name: string - added:
field SigningMethodRSA.Hash: crypto.Hash - added:
field SigningMethodRSA.Name: string - added:
field SigningMethodRSAPSS.Options: *rsa.PSSOptions - added:
field SigningMethodRSAPSS.SigningMethodRSA: embedded *SigningMethodRSA - added:
field ValidationError.Inner: error - added:
func NewValidationError(string, uint32) *ValidationError - added:
func ParseECPrivateKeyFromPEM([]byte) (*ecdsa.PrivateKey, error) - added:
func ParseECPublicKeyFromPEM([]byte) (*ecdsa.PublicKey, error) - added:
func ParseRSAPrivateKeyFromPEM([]byte) (*rsa.PrivateKey, error) - added:
func ParseRSAPublicKeyFromPEM([]byte) (*rsa.PublicKey, error) - added:
method Parser.Parse(string, Keyfunc) (*Token, error) - added:
method SigningMethodECDSA.Alg() string - added:
method SigningMethodECDSA.Sign(string, interface{}) (string, error) - added:
method SigningMethodECDSA.Verify(string, string, interface{}) error - added:
method SigningMethodHMAC.Alg() string - added:
method SigningMethodHMAC.Sign(string, interface{}) (string, error) - added:
method SigningMethodHMAC.Verify(string, string, interface{}) error - added:
method SigningMethodRSA.Alg() string - added:
method SigningMethodRSA.Sign(string, interface{}) (string, error) - added:
method SigningMethodRSA.Verify(string, string, interface{}) error - added:
method SigningMethodRSAPSS.Sign(string, interface{}) (string, error) - added:
method SigningMethodRSAPSS.Verify(string, string, interface{}) error - added:
type Parser: struct - added:
type SigningMethodECDSA: struct - added:
type SigningMethodHMAC: struct - added:
type SigningMethodRSA: struct - added:
type SigningMethodRSAPSS: struct - added:
var ErrECDSAVerification - added:
var ErrHashUnavailable - added:
var ErrInvalidKey - added:
var ErrKeyMustBePEMEncoded - added:
var ErrNoTokenInRequest - added:
var ErrNotECPrivateKey - added:
var ErrNotECPublicKey - added:
var ErrNotRSAPrivateKey - added:
var ErrNotRSAPublicKey - added:
var ErrSignatureInvalid - added:
var NoneSignatureTypeDisallowedError: error - added:
var SigningMethodES256: *SigningMethodECDSA - added:
var SigningMethodES384: *SigningMethodECDSA - added:
var SigningMethodES512: *SigningMethodECDSA - added:
var SigningMethodHS256: *SigningMethodHMAC - added:
var SigningMethodHS384: *SigningMethodHMAC - added:
var SigningMethodHS512: *SigningMethodHMAC - added:
var SigningMethodNone: *signingMethodNone - added:
var SigningMethodPS256: *SigningMethodRSAPSS - added:
var SigningMethodPS384: *SigningMethodRSAPSS - added:
var SigningMethodPS512: *SigningMethodRSAPSS - added:
var SigningMethodRS256: *SigningMethodRSA - added:
var SigningMethodRS384: *SigningMethodRSA - added:
var SigningMethodRS512: *SigningMethodRSA