Add support for late static binding. See #88 for details. Thanks to @chappy84!
Use static $timestamp instead of time() to improve unit testing. See #93 for details. Thanks to @josephmcdermott!
Fixes to exceptions classes. See #81 for details. Thanks to @Maks3w!
Fixes to PHPDoc. See #76 for details. Thanks to @akeeman!
3.0.0 / 2015-07-22
Minimum PHP version updated from 5.2.0 to 5.3.0.
Add \Firebase\JWT namespace. See
#59 for details. Thanks to
@Dashron!
Require a non-empty key to decode and verify a JWT. See
#60 for details. Thanks to
@sjones608!
Cleaner documentation blocks in the code. See
#62 for details. Thanks to
@johanderuijter!
2.2.0 / 2015-06-22
Add support for adding custom, optional JWT headers to JWT::encode(). See
#53 for details. Thanks to
@mcocaro!
2.1.0 / 2015-05-20
Add support for adding a leeway to JWT:decode() that accounts for clock skew
between signing and verifying entities. Thanks to @lcabral!
Add support for passing an object implementing the ArrayAccess interface for
$keys argument in JWT::decode(). Thanks to @aztech-dev!
2.0.0 / 2015-04-01
Note: It is strongly recommended that you update to > v2.0.0 to address
known security vulnerabilities in prior versions when both symmetric and
asymmetric keys are used together.
Update signature for JWT::decode(...) to require an array of supported
algorithms to use when verifying token signatures.