Skip to content

2.0.0 - 2018-09-14

Compare
Choose a tag to compare
@gbrlsnchs gbrlsnchs released this 14 Sep 18:27
· 334 commits to master since this release

Added

  • Parse and ParseBytes functions.
  • Marshal and Unmarshal functions.
  • Marshaler interface.
  • Unmarshaler interface.
  • Content type header parameter.

Changed

  • Modify Signer signature.
  • Add claims directly to JWT struct.
  • Embed header to JWT.
  • Add README texts, examples and usage.
  • Rename const.go to methods.go.
  • Add prefix New to signing methods constructors.
  • Run vgo for testing (this enables testing the package against Go 1.10);

Removed

  • Sign and Verify functions.
  • Base64 encoding and deconding functions.
  • Options struct.
  • Claims struct.
  • Functions that extract JWT from contexts and requests.