Skip to content

Releases: joken-elixir/joken

Release v2.6.1 - 2024-04-11

11 Apr 14:04
Compare
Choose a tag to compare

[2.6.1] - 2024-04-11

Added

Fixed

Release v2.6.0 - 2023-01-29

19 May 10:51
6aa9d2a
Compare
Choose a tag to compare

Changed

  • Allow EdDSA keys (thanks @Tarang)
  • Bump JOSE to 1.11.5
  • Fix after_sign spec
  • handle non binary hmac sha key error (thanks @alecostard)
  • Fixes typ header claim not being over writable
  • doc fixes all over
  • raised Elixir version to 1.13 (JOSE raised it too so we follow)

Release v2.5.0 - 2022-06-18

19 Jun 00:08
Compare
Choose a tag to compare

[2.5.0] - 2022-06-18

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

Release [2.4.1] - 2021-10-26

17 Nov 19:02
Compare
Choose a tag to compare

[2.4.1] - 2021-10-26

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)

Release v2.4.0

16 Aug 02:04
Compare
Choose a tag to compare

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 mininum 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

Release [2.3.0] - 2020-09-27

27 Sep 16:31
f527c4d
Compare
Choose a tag to compare

[2.3.0] - 2020-09-27

Changed

Fixed

Release [2.2.0] - 2019-11-08

09 Nov 02:17
Compare
Choose a tag to compare

[2.2.0] - 2019-11-08

Added

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

Changed

  • Several deps updates by dependabot =)

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)

Release [2.1.0] - 2019-05-27

27 May 14:51
Compare
Choose a tag to compare

[2.1.0] - 2019-05-27

Added

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

Changed

Fixed

Release v2.0.0-rc3

21 Nov 22:42
5efccb1
Compare
Choose a tag to compare
Release v2.0.0-rc3 Pre-release
Pre-release

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

05 Oct 19:06
Compare
Choose a tag to compare
v2.0.0-rc2 Pre-release
Pre-release

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;