Skip to content

Releases: joken-elixir/joken

1.0.0

07 Dec 22:36
Compare
Choose a tag to compare
  • Enhancements
    • The none algorithm can be used if and only if allow_none_algorithm exists as an application variable
      on the joken app and is set to true. Otherwise an error is thrown
    • Joken
      • Added peek/2, get_data/1, with_header_arg/3, with_header_args/2, none/1
  • Bug fixes
    • Ensures Plug is loading before loading Joken.Plug

0.16.0

14 Sep 14:34
Compare
Choose a tag to compare
  • Enhancements
    • Updated API to allow for more flexibility for signing and verifying tokens
    • Joken.Plug has been added.
    • Small fixes to make sure Joken works with Elixir 1.1
    • Added support for the following signing algorithms:
      • ES256
      • ES384
      • ES512
      • PS256
      • PS384
      • PS512
      • RS256
      • RS384
      • RS512
  • Breaking

Release for Hex

14 Jul 18:29
Compare
Choose a tag to compare
  • Enhancements
    • Add options parameter to Joken.Config.validate_claim
    • Moved validation helpers functions to Joken.Helpers

Release for Hex

23 Jun 13:33
Compare
Choose a tag to compare

v0.14.1

  • Enhancements
    • Using the Dict Protocol for accessing data

Release for Hex

22 Jun 22:15
Compare
Choose a tag to compare
  • Enhancements
    • The Joken.Config behaviour handles the configuration of the secret_key, algorithm, encode and decode functions, as well as functions for adding and validating claims
    • Add options parameter to Joken.Token.decode
    • Add options parameter to Joken.decode
    • Removed :none algorithm completely
  • Breaking
    • Joken.Codec is replaced by Joken.Config.
    • json_module in config is replaced by config_module.
    • algorithm and secret_key in config is replaced by implementing the algorithm and secret_key functions on Joken.Config.
    • Joken.Token.encode now has a signature of (joken_config, payload) since the algorithm and secret key are defined inside of the passed in joken_config module.
    • Joken.Token.decode now has a signature of (joken_config, jwt, options \\ []) since the algorithm and secret key are defined inside of the passed in joken_config module.

Release for Hex

14 May 13:15
Compare
Choose a tag to compare
Merge pull request #28 from bryanjos/none_algorithm

Fixed issue where verify_signature verified tokens without a signature

Release for Hex

12 Apr 20:10
Compare
Choose a tag to compare
v0.13.0

Removed -dev from 0.13.0

Release for Hex

10 Apr 00:20
Compare
Choose a tag to compare
v0.12.0

Updated changelog