All Versions
Latest Version
Avg Release Cycle
141 days
Latest Release
733 days ago

Changelog History
Page 1

  • v2.5.0 Changes

    June 18, 2022

    ๐Ÿ”„ Changed

    • ๐Ÿš€ Update release workflow (thanks @dolfinus)
    • Migrate GitHub Actions to erlef/setup-beam (thanks @kianmeng)
    • ๐Ÿ›  Fix typespecs (thanks @mustardnoise)
    • ๐Ÿ”จ small refactor of CI
    • raised Elixir version to 1.10
  • v2.4.1 Changes

    October 26, 2021

    ๐Ÿ”„ Changed

    • ๐Ÿ›  fix: readme refs (thanks to @danferreira)
    • Fix generate_and_sign examples in guides' documentation (thanks to @f-francine)
    • โœ‚ Remove no_return from methods that can return (thanks to @jsmestad)
    • ๐Ÿ›  Fix typos (thanks to @kianmeng)
  • v2.4.0 Changes

    August 15, 2021

    ๐Ÿ”„ Changed

    • ๐Ÿ“„ Major docs reviews and corrections (thanks to @kianmeng, @andreasknoepfle, Jon Forsyth, @fuelen)
    • ๐Ÿ”„ Change of CI pipeline (thanks to @dolfinus)
    • โœ… Now uses Elixir 1.8 as minimum (and actually test the minimum version on CI)

    ๐Ÿ›  Fixed

    • ๐Ÿ›  Fixed arity of Joken.Config.validate (thanks to @blagh)
    • โšก๏ธ Compatibility with OTP 24.0 with JOSE update to 1.11.2
  • v2.3.0 Changes

    September 27, 2020

    [2.3.0] - 2020-09-27

    ๐Ÿ”„ Changed

    ๐Ÿ›  Fixed

  • v2.2.0 Changes

    November 08, 2019

    โž• Added

    • ๐Ÿš€ (@bryanjos) Update .travis.yml to deploy to hex on tag (#232)
    • (@thefuture2029) Access current_time_adapter in runtime instead of compile time (#252)
    • (@victorolinasc) feat: add required claims hook (#250)

    ๐Ÿ”„ Changed

    • โฌ†๏ธ Bump benchee from 0.14.0 to 1.0.1
    • โฌ†๏ธ Bump stream_data from 0.4.2 to 0.4.3 (#227)
    • โฌ†๏ธ Bump ex_doc from 0.19.3 to 0.20.2 (#230)
    • โฌ†๏ธ Bump dialyxir from 1.0.0-rc.4 to 1.0.0-rc.6
    • โฌ†๏ธ Bump credo from 1.0.2 to 1.0.5
    • โฌ†๏ธ Bump excoveralls from 0.10.5 to 0.11.1 (#233)
    • โฌ†๏ธ Bump ex_doc from 0.20.2 to 0.21.1 (#240)
    • โฌ†๏ธ Bump ex_doc from 0.21.1 to 0.21.2 (#246)
    • โฌ†๏ธ Bump excoveralls from 0.11.1 to 0.11.2 (#243)
    • โฌ†๏ธ Bump junit_formatter from 3.0.0 to 3.0.1 (#238)
    • โฌ†๏ธ Bump dialyxir from 1.0.0-rc.6 to 1.0.0-rc.7 (#248)
    • โฌ†๏ธ Bump credo from 1.0.5 to 1.1.5 (#253)
    • โฌ†๏ธ Bump excoveralls from 0.11.2 to 0.12.0 (#254)

    ๐Ÿ›  Fixed

    • (@llxff) Fix small typo in "Asymmetric cryptography signers" guide (#235)
    • (@polvalente) fix: treat improper token properly (#237)
    • (@chulkilee) Use short identifier from SPDX License List (#255)
  • v2.1.0 Changes

    May 27, 2019

    [2.1.0] - 2019-05-27

    โž• Added

    • (@tgturner) Allow custom error messages on claim validation (#221)

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ (@sgtpepper43) Get default signer at runtime (#212)
    • โšก๏ธ (@balena) Update to JOSE 1.9 and remove Jason dependency (#216)
    • โšก๏ธ (@victorolinasc) chore: deps update, docs update, removed unused application (#219)

    ๐Ÿ›  Fixed

  • v2.0.1 Changes

    February 17, 2019

    ๐Ÿ”„ Changed

    • 0๏ธโƒฃ Get default signer at runtime (#212) @sgtpepper43
    • โšก๏ธ Update to JOSE 1.9 and remove Jason dependency (#216) @balena

    ๐Ÿ›  Fixed

    • ๐Ÿ—„ Plural time units are deprecated >= elixir1.8 (#213) @maartenvanvliet
    • ๐Ÿ›  Fixed documentation (#218) @oo6
  • v2.0.0 Changes

    November 21, 2018

    This is a re-write with a focus on making a clearer API surface with less ambiguity and more future proof without breaking backwards compatibility once again.

    For changes on versions 1.x look on the v1.5 branch.

    โœจ Enhancements

    • ๐Ÿ‘€ Ease of key configuration. We provide optional built-in support with Elixir's Mix.Config system. See our configuration guide for more details;
    • ๐Ÿ”ง Portable configuration using Joken.Claim;
    • Encapsulate your token logic in a module with Joken.Config;
    • ๐Ÿ‘ Better error handling. We provide a lot more context in error messages;
    • ๐Ÿ“š A good performance analysis for ensuring this hot-path in APIs won't be your bottleneck. Please see our performance documentation to check what we are talking about;
    • Hooks for extending Joken functionality. All core actions in Joken have a corresponding hook for extending its functionality;
    • Guides for common patterns;

    Backwards incompatible changes

    • ๐Ÿ‘ There is no Joken.Plug module anymore. Depending on requests we can bring that back, but we believe it is better to be on a different library;
    • The API surface changed a lot but you can still use Joken with the same token pattern as versions 1.x. Please see our migrating guide.
  • v2.0.0-rc3 Changes

    November 21, 2018

    This is meant to be the last RC but a wise man said not mention that. Well... it's done now...

    The plan is to let this go for a week at least and then tag it 2.0.0 (finally). After that the focus will be on bringing projects alongside Joken like joken-plug, joken-crypto and so on...

    ๐Ÿ†• New

    • ๐Ÿšš Project moved to joken-elixir organization as we plan to add other dependencies here related to joken;

    Backwards incompatible changes with previous RCs

    • Hooks were 100% re-implemented. The first shot of hooks was a complete mess. This excluded something around 180 source code lines but introduced different function signatures. To make it more consistent, they all follow a before_ or after_ signature. Please, refer to the docs of the Joken.Hooks module. Also the typespecs are now accurate.

    ๐Ÿ›  Fixed/Added

    • ๐Ÿ”จ Refactored typespecs to be consistent (should warn a lot less now and dialyzer passes 100% - initial contribution by @chulkilee);
    • ๐Ÿ›  Made order of arguments consistent now (a problem highlighted by @ajkeys and fixed by both of us);
  • v2.0.0-rc2 Changes

    October 05, 2018

    Previously rc was pushed to hex but not tagged, so here goes rc2:

    • โœ‚ Removed the override of base64url (does not work on releases @maartenvanvliet);
    • Catch all signature errors (thanks @davidvanleeuwen);
    • Skip generation with nil generators instead of crashing;