Skip to content

Releases: firebase/php-jwt

v5.5.0

04 Nov 16:28
cf81444
Compare
Choose a tag to compare

!!IMPORTANT!!

The recommended usage of this library has changed.
A Key object should now be used as the second argument to JWT::decode instead of using the
allowed_algs array. This will prevent key/algorithm type confusion:

// Previous way to call "decode"
Firebase\JWT\JWT::decode($jwt, $publicKey, ['RS256']);

// New (safer) way to call "decode"
$key = new Firebase\JWT\Key($publicKey, 'RS256');
Firebase\JWT\JWT::decode($jwt, $key);

Please see #351 for more information on the issue, and #365 for the merged changes.
The README has also been updated to reflect the new usage.

v5.4.0

23 Jun 19:04
d2113d9
Compare
Choose a tag to compare

Features

  • add Ed25519 support to JWT (#343)
  • make JWK::parseKey public (#337)

Bug Fixes

  • export-ignore github dir (#338)

v5.3.0

31 May 17:21
3c2d70f
Compare
Choose a tag to compare

Features

  • add ES384 support (#324)

Bug Fixes

  • allow for null d values in RSA JWK (#330)

v5.2.1

12 Feb 00:03
f42c911
Compare
Choose a tag to compare

Bug Fixes

  • fix: add missing use statement in JWK (#303)

v5.2.0

25 Mar 18:52
feb0e82
Compare
Choose a tag to compare

Features

  • JWK support (#273)

Bug Fixes

  • Backslashes for native function invocations (#284)

v5.1.0

24 Feb 23:51
4566062
Compare
Choose a tag to compare

Features

  • Support for ES256 (#239)

Bug Fixes

  • Remove unnecessary check for json_last_error (#263)

v5.0.0 / 2017-06-27

27 Jun 22:20
Compare
Choose a tag to compare

Changelog:

v1.0.0

28 Aug 17:22
Compare
Choose a tag to compare

Fixed, stable release for packagist