| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,205 @@ |
| 1 |
+# Changelog |
|
| 2 |
+ |
|
| 3 |
+## [6.11.1](https://github.com/firebase/php-jwt/compare/v6.11.0...v6.11.1) (2025-04-09) |
|
| 4 |
+ |
|
| 5 |
+ |
|
| 6 |
+### Bug Fixes |
|
| 7 |
+ |
|
| 8 |
+* update error text for consistency ([#528](https://github.com/firebase/php-jwt/issues/528)) ([c11113a](https://github.com/firebase/php-jwt/commit/c11113afa13265e016a669e75494b9203b8a7775)) |
|
| 9 |
+ |
|
| 10 |
+## [6.11.0](https://github.com/firebase/php-jwt/compare/v6.10.2...v6.11.0) (2025-01-23) |
|
| 11 |
+ |
|
| 12 |
+ |
|
| 13 |
+### Features |
|
| 14 |
+ |
|
| 15 |
+* support octet typed JWK ([#587](https://github.com/firebase/php-jwt/issues/587)) ([7cb8a26](https://github.com/firebase/php-jwt/commit/7cb8a265fa81edf2fa6ef8098f5bc5ae573c33ad)) |
|
| 16 |
+ |
|
| 17 |
+ |
|
| 18 |
+### Bug Fixes |
|
| 19 |
+ |
|
| 20 |
+* refactor constructor Key to use PHP 8.0 syntax ([#577](https://github.com/firebase/php-jwt/issues/577)) ([29fa2ce](https://github.com/firebase/php-jwt/commit/29fa2ce9e0582cd397711eec1e80c05ce20fabca)) |
|
| 21 |
+ |
|
| 22 |
+## [6.10.2](https://github.com/firebase/php-jwt/compare/v6.10.1...v6.10.2) (2024-11-24) |
|
| 23 |
+ |
|
| 24 |
+ |
|
| 25 |
+### Bug Fixes |
|
| 26 |
+ |
|
| 27 |
+* Mitigate PHP8.4 deprecation warnings ([#570](https://github.com/firebase/php-jwt/issues/570)) ([76808fa](https://github.com/firebase/php-jwt/commit/76808fa227f3811aa5cdb3bf81233714b799a5b5)) |
|
| 28 |
+* support php 8.4 ([#583](https://github.com/firebase/php-jwt/issues/583)) ([e3d68b0](https://github.com/firebase/php-jwt/commit/e3d68b044421339443c74199edd020e03fb1887e)) |
|
| 29 |
+ |
|
| 30 |
+## [6.10.1](https://github.com/firebase/php-jwt/compare/v6.10.0...v6.10.1) (2024-05-18) |
|
| 31 |
+ |
|
| 32 |
+ |
|
| 33 |
+### Bug Fixes |
|
| 34 |
+ |
|
| 35 |
+* ensure ratelimit expiry is set every time ([#556](https://github.com/firebase/php-jwt/issues/556)) ([09cb208](https://github.com/firebase/php-jwt/commit/09cb2081c2c3bc0f61e2f2a5fbea5741f7498648)) |
|
| 36 |
+* ratelimit cache expiration ([#550](https://github.com/firebase/php-jwt/issues/550)) ([dda7250](https://github.com/firebase/php-jwt/commit/dda725033585ece30ff8cae8937320d7e9f18bae)) |
|
| 37 |
+ |
|
| 38 |
+## [6.10.0](https://github.com/firebase/php-jwt/compare/v6.9.0...v6.10.0) (2023-11-28) |
|
| 39 |
+ |
|
| 40 |
+ |
|
| 41 |
+### Features |
|
| 42 |
+ |
|
| 43 |
+* allow typ header override ([#546](https://github.com/firebase/php-jwt/issues/546)) ([79cb30b](https://github.com/firebase/php-jwt/commit/79cb30b729a22931b2fbd6b53f20629a83031ba9)) |
|
| 44 |
+ |
|
| 45 |
+## [6.9.0](https://github.com/firebase/php-jwt/compare/v6.8.1...v6.9.0) (2023-10-04) |
|
| 46 |
+ |
|
| 47 |
+ |
|
| 48 |
+### Features |
|
| 49 |
+ |
|
| 50 |
+* add payload to jwt exception ([#521](https://github.com/firebase/php-jwt/issues/521)) ([175edf9](https://github.com/firebase/php-jwt/commit/175edf958bb61922ec135b2333acf5622f2238a2)) |
|
| 51 |
+ |
|
| 52 |
+## [6.8.1](https://github.com/firebase/php-jwt/compare/v6.8.0...v6.8.1) (2023-07-14) |
|
| 53 |
+ |
|
| 54 |
+ |
|
| 55 |
+### Bug Fixes |
|
| 56 |
+ |
|
| 57 |
+* accept float claims but round down to ignore them ([#492](https://github.com/firebase/php-jwt/issues/492)) ([3936842](https://github.com/firebase/php-jwt/commit/39368423beeaacb3002afa7dcb75baebf204fe7e)) |
|
| 58 |
+* different BeforeValidException messages for nbf and iat ([#526](https://github.com/firebase/php-jwt/issues/526)) ([0a53cf2](https://github.com/firebase/php-jwt/commit/0a53cf2986e45c2bcbf1a269f313ebf56a154ee4)) |
|
| 59 |
+ |
|
| 60 |
+## [6.8.0](https://github.com/firebase/php-jwt/compare/v6.7.0...v6.8.0) (2023-06-14) |
|
| 61 |
+ |
|
| 62 |
+ |
|
| 63 |
+### Features |
|
| 64 |
+ |
|
| 65 |
+* add support for P-384 curve ([#515](https://github.com/firebase/php-jwt/issues/515)) ([5de4323](https://github.com/firebase/php-jwt/commit/5de4323f4baf4d70bca8663bd87682a69c656c3d)) |
|
| 66 |
+ |
|
| 67 |
+ |
|
| 68 |
+### Bug Fixes |
|
| 69 |
+ |
|
| 70 |
+* handle invalid http responses ([#508](https://github.com/firebase/php-jwt/issues/508)) ([91c39c7](https://github.com/firebase/php-jwt/commit/91c39c72b22fc3e1191e574089552c1f2041c718)) |
|
| 71 |
+ |
|
| 72 |
+## [6.7.0](https://github.com/firebase/php-jwt/compare/v6.6.0...v6.7.0) (2023-06-14) |
|
| 73 |
+ |
|
| 74 |
+ |
|
| 75 |
+### Features |
|
| 76 |
+ |
|
| 77 |
+* add ed25519 support to JWK (public keys) ([#452](https://github.com/firebase/php-jwt/issues/452)) ([e53979a](https://github.com/firebase/php-jwt/commit/e53979abae927de916a75b9d239cfda8ce32be2a)) |
|
| 78 |
+ |
|
| 79 |
+## [6.6.0](https://github.com/firebase/php-jwt/compare/v6.5.0...v6.6.0) (2023-06-13) |
|
| 80 |
+ |
|
| 81 |
+ |
|
| 82 |
+### Features |
|
| 83 |
+ |
|
| 84 |
+* allow get headers when decoding token ([#442](https://github.com/firebase/php-jwt/issues/442)) ([fb85f47](https://github.com/firebase/php-jwt/commit/fb85f47cfaeffdd94faf8defdf07164abcdad6c3)) |
|
| 85 |
+ |
|
| 86 |
+ |
|
| 87 |
+### Bug Fixes |
|
| 88 |
+ |
|
| 89 |
+* only check iat if nbf is not used ([#493](https://github.com/firebase/php-jwt/issues/493)) ([398ccd2](https://github.com/firebase/php-jwt/commit/398ccd25ea12fa84b9e4f1085d5ff448c21ec797)) |
|
| 90 |
+ |
|
| 91 |
+## [6.5.0](https://github.com/firebase/php-jwt/compare/v6.4.0...v6.5.0) (2023-05-12) |
|
| 92 |
+ |
|
| 93 |
+ |
|
| 94 |
+### Bug Fixes |
|
| 95 |
+ |
|
| 96 |
+* allow KID of '0' ([#505](https://github.com/firebase/php-jwt/issues/505)) ([9dc46a9](https://github.com/firebase/php-jwt/commit/9dc46a9c3e5801294249cfd2554c5363c9f9326a)) |
|
| 97 |
+ |
|
| 98 |
+ |
|
| 99 |
+### Miscellaneous Chores |
|
| 100 |
+ |
|
| 101 |
+* drop support for PHP 7.3 ([#495](https://github.com/firebase/php-jwt/issues/495)) |
|
| 102 |
+ |
|
| 103 |
+## [6.4.0](https://github.com/firebase/php-jwt/compare/v6.3.2...v6.4.0) (2023-02-08) |
|
| 104 |
+ |
|
| 105 |
+ |
|
| 106 |
+### Features |
|
| 107 |
+ |
|
| 108 |
+* add support for W3C ES256K ([#462](https://github.com/firebase/php-jwt/issues/462)) ([213924f](https://github.com/firebase/php-jwt/commit/213924f51936291fbbca99158b11bd4ae56c2c95)) |
|
| 109 |
+* improve caching by only decoding jwks when necessary ([#486](https://github.com/firebase/php-jwt/issues/486)) ([78d3ed1](https://github.com/firebase/php-jwt/commit/78d3ed1073553f7d0bbffa6c2010009a0d483d5c)) |
|
| 110 |
+ |
|
| 111 |
+## [6.3.2](https://github.com/firebase/php-jwt/compare/v6.3.1...v6.3.2) (2022-11-01) |
|
| 112 |
+ |
|
| 113 |
+ |
|
| 114 |
+### Bug Fixes |
|
| 115 |
+ |
|
| 116 |
+* check kid before using as array index ([bad1b04](https://github.com/firebase/php-jwt/commit/bad1b040d0c736bbf86814c6b5ae614f517cf7bd)) |
|
| 117 |
+ |
|
| 118 |
+## [6.3.1](https://github.com/firebase/php-jwt/compare/v6.3.0...v6.3.1) (2022-11-01) |
|
| 119 |
+ |
|
| 120 |
+ |
|
| 121 |
+### Bug Fixes |
|
| 122 |
+ |
|
| 123 |
+* casing of GET for PSR compat ([#451](https://github.com/firebase/php-jwt/issues/451)) ([60b52b7](https://github.com/firebase/php-jwt/commit/60b52b71978790eafcf3b95cfbd83db0439e8d22)) |
|
| 124 |
+* string interpolation format for php 8.2 ([#446](https://github.com/firebase/php-jwt/issues/446)) ([2e07d8a](https://github.com/firebase/php-jwt/commit/2e07d8a1524d12b69b110ad649f17461d068b8f2)) |
|
| 125 |
+ |
|
| 126 |
+## 6.3.0 / 2022-07-15 |
|
| 127 |
+ |
|
| 128 |
+ - Added ES256 support to JWK parsing ([#399](https://github.com/firebase/php-jwt/pull/399)) |
|
| 129 |
+ - Fixed potential caching error in `CachedKeySet` by caching jwks as strings ([#435](https://github.com/firebase/php-jwt/pull/435)) |
|
| 130 |
+ |
|
| 131 |
+## 6.2.0 / 2022-05-14 |
|
| 132 |
+ |
|
| 133 |
+ - Added `CachedKeySet` ([#397](https://github.com/firebase/php-jwt/pull/397)) |
|
| 134 |
+ - Added `$defaultAlg` parameter to `JWT::parseKey` and `JWT::parseKeySet` ([#426](https://github.com/firebase/php-jwt/pull/426)). |
|
| 135 |
+ |
|
| 136 |
+## 6.1.0 / 2022-03-23 |
|
| 137 |
+ |
|
| 138 |
+ - Drop support for PHP 5.3, 5.4, 5.5, 5.6, and 7.0 |
|
| 139 |
+ - Add parameter typing and return types where possible |
|
| 140 |
+ |
|
| 141 |
+## 6.0.0 / 2022-01-24 |
|
| 142 |
+ |
|
| 143 |
+ - **Backwards-Compatibility Breaking Changes**: See the [Release Notes](https://github.com/firebase/php-jwt/releases/tag/v6.0.0) for more information. |
|
| 144 |
+ - New Key object to prevent key/algorithm type confusion (#365) |
|
| 145 |
+ - Add JWK support (#273) |
|
| 146 |
+ - Add ES256 support (#256) |
|
| 147 |
+ - Add ES384 support (#324) |
|
| 148 |
+ - Add Ed25519 support (#343) |
|
| 149 |
+ |
|
| 150 |
+## 5.0.0 / 2017-06-26 |
|
| 151 |
+- Support RS384 and RS512. |
|
| 152 |
+ See [#117](https://github.com/firebase/php-jwt/pull/117). Thanks [@joostfaassen](https://github.com/joostfaassen)! |
|
| 153 |
+- Add an example for RS256 openssl. |
|
| 154 |
+ See [#125](https://github.com/firebase/php-jwt/pull/125). Thanks [@akeeman](https://github.com/akeeman)! |
|
| 155 |
+- Detect invalid Base64 encoding in signature. |
|
| 156 |
+ See [#162](https://github.com/firebase/php-jwt/pull/162). Thanks [@psignoret](https://github.com/psignoret)! |
|
| 157 |
+- Update `JWT::verify` to handle OpenSSL errors. |
|
| 158 |
+ See [#159](https://github.com/firebase/php-jwt/pull/159). Thanks [@bshaffer](https://github.com/bshaffer)! |
|
| 159 |
+- Add `array` type hinting to `decode` method |
|
| 160 |
+ See [#101](https://github.com/firebase/php-jwt/pull/101). Thanks [@hywak](https://github.com/hywak)! |
|
| 161 |
+- Add all JSON error types. |
|
| 162 |
+ See [#110](https://github.com/firebase/php-jwt/pull/110). Thanks [@gbalduzzi](https://github.com/gbalduzzi)! |
|
| 163 |
+- Bugfix 'kid' not in given key list. |
|
| 164 |
+ See [#129](https://github.com/firebase/php-jwt/pull/129). Thanks [@stampycode](https://github.com/stampycode)! |
|
| 165 |
+- Miscellaneous cleanup, documentation and test fixes. |
|
| 166 |
+ See [#107](https://github.com/firebase/php-jwt/pull/107), [#115](https://github.com/firebase/php-jwt/pull/115), |
|
| 167 |
+ [#160](https://github.com/firebase/php-jwt/pull/160), [#161](https://github.com/firebase/php-jwt/pull/161), and |
|
| 168 |
+ [#165](https://github.com/firebase/php-jwt/pull/165). Thanks [@akeeman](https://github.com/akeeman), |
|
| 169 |
+ [@chinedufn](https://github.com/chinedufn), and [@bshaffer](https://github.com/bshaffer)! |
|
| 170 |
+ |
|
| 171 |
+## 4.0.0 / 2016-07-17 |
|
| 172 |
+- Add support for late static binding. See [#88](https://github.com/firebase/php-jwt/pull/88) for details. Thanks to [@chappy84](https://github.com/chappy84)! |
|
| 173 |
+- Use static `$timestamp` instead of `time()` to improve unit testing. See [#93](https://github.com/firebase/php-jwt/pull/93) for details. Thanks to [@josephmcdermott](https://github.com/josephmcdermott)! |
|
| 174 |
+- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)! |
|
| 175 |
+- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)! |
|
| 176 |
+ |
|
| 177 |
+## 3.0.0 / 2015-07-22 |
|
| 178 |
+- Minimum PHP version updated from `5.2.0` to `5.3.0`. |
|
| 179 |
+- Add `\Firebase\JWT` namespace. See |
|
| 180 |
+[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to |
|
| 181 |
+[@Dashron](https://github.com/Dashron)! |
|
| 182 |
+- Require a non-empty key to decode and verify a JWT. See |
|
| 183 |
+[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to |
|
| 184 |
+[@sjones608](https://github.com/sjones608)! |
|
| 185 |
+- Cleaner documentation blocks in the code. See |
|
| 186 |
+[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to |
|
| 187 |
+[@johanderuijter](https://github.com/johanderuijter)! |
|
| 188 |
+ |
|
| 189 |
+## 2.2.0 / 2015-06-22 |
|
| 190 |
+- Add support for adding custom, optional JWT headers to `JWT::encode()`. See |
|
| 191 |
+[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to |
|
| 192 |
+[@mcocaro](https://github.com/mcocaro)! |
|
| 193 |
+ |
|
| 194 |
+## 2.1.0 / 2015-05-20 |
|
| 195 |
+- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew |
|
| 196 |
+between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)! |
|
| 197 |
+- Add support for passing an object implementing the `ArrayAccess` interface for |
|
| 198 |
+`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)! |
|
| 199 |
+ |
|
| 200 |
+## 2.0.0 / 2015-04-01 |
|
| 201 |
+- **Note**: It is strongly recommended that you update to > v2.0.0 to address |
|
| 202 |
+ known security vulnerabilities in prior versions when both symmetric and |
|
| 203 |
+ asymmetric keys are used together. |
|
| 204 |
+- Update signature for `JWT::decode(...)` to require an array of supported |
|
| 205 |
+ algorithms to use when verifying token signatures. |