2014-05-28 01:23:32 +04:00
|
|
|
## `jwt-go` Version History
|
|
|
|
|
2014-08-27 00:58:07 +04:00
|
|
|
#### 2.0.0
|
|
|
|
|
2014-08-27 01:12:21 +04:00
|
|
|
* **Compatibility Breaking Changes**
|
|
|
|
* `SigningMethodHS256` is now `*SigningMethodHMAC` instead of `type struct`
|
|
|
|
* `SigningMethodRS256` is now `*SigningMethodRSA` instead of `type struct`
|
2014-08-27 01:18:59 +04:00
|
|
|
* `KeyFunc` now returns `interface{}` instead of `[]byte`
|
|
|
|
* `SigningMethod.Sign` now takes `interface{}` instead of `[]byte` for the key
|
|
|
|
* `SigningMethod.Verify` now takes `interface{}` instead of `[]byte` for the key
|
2014-08-27 00:58:07 +04:00
|
|
|
* Renamed type `SigningMethodHS256` to `SigningMethodHMAC`. Specific sizes are now just instances of this type.
|
|
|
|
* Added public package global `SigningMethodHS256`
|
|
|
|
* Added public package global `SigningMethodHS384`
|
|
|
|
* Added public package global `SigningMethodHS512`
|
|
|
|
* Renamed type `SigningMethodRS256` to `SigningMethodRSA`. Specific sizes are now just instances of this type.
|
|
|
|
* Added public package global `SigningMethodRS256`
|
|
|
|
* Added public package global `SigningMethodRS384`
|
|
|
|
* Added public package global `SigningMethodRS512`
|
|
|
|
* Moved sample private key for HMAC tests from an inline value to a file on disk. Value is unchanged.
|
2014-08-27 01:12:21 +04:00
|
|
|
* Refactored the RSA implementation to be easier to read
|
2014-08-27 00:58:07 +04:00
|
|
|
|
2014-08-27 00:51:41 +04:00
|
|
|
#### 1.0.2
|
|
|
|
|
|
|
|
* Fixed bug in parsing public keys from certificates
|
|
|
|
* Added more tests around the parsing of keys for RS256
|
|
|
|
* Code refactoring in RS256 implementation. No functional changes
|
|
|
|
|
2014-07-06 00:05:22 +04:00
|
|
|
#### 1.0.1
|
|
|
|
|
|
|
|
* Fixed panic if RS256 signing method was passed an invalid key
|
|
|
|
|
2014-05-28 01:23:32 +04:00
|
|
|
#### 1.0.0
|
|
|
|
|
|
|
|
* First versioned release
|
|
|
|
* API stabilized
|
|
|
|
* Supports creating, signing, parsing, and validating JWT tokens
|
|
|
|
* Supports RS256 and HS256 signing methods
|