Skip to content

Commit 436fa9c

Browse files
authored
chore: move changelog into separate file (#469)
1 parent b4998d7 commit 436fa9c

File tree

2 files changed

+84
-85
lines changed

2 files changed

+84
-85
lines changed

CHANGELOG.md

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,84 @@
1+
# Changelog
2+
3+
## 6.3.0 / 2022-07-15
4+
5+
- Added ES256 support to JWK parsing ([#399](https://github.com/firebase/php-jwt/pull/399))
6+
- Fixed potential caching error in `CachedKeySet` by caching jwks as strings ([#435](https://github.com/firebase/php-jwt/pull/435))
7+
8+
## 6.2.0 / 2022-05-14
9+
10+
- Added `CachedKeySet` ([#397](https://github.com/firebase/php-jwt/pull/397))
11+
- Added `$defaultAlg` parameter to `JWT::parseKey` and `JWT::parseKeySet` ([#426](https://github.com/firebase/php-jwt/pull/426)).
12+
13+
## 6.1.0 / 2022-03-23
14+
15+
- Drop support for PHP 5.3, 5.4, 5.5, 5.6, and 7.0
16+
- Add parameter typing and return types where possible
17+
18+
## 6.0.0 / 2022-01-24
19+
20+
- **Backwards-Compatibility Breaking Changes**: See the [Release Notes](https://github.com/firebase/php-jwt/releases/tag/v6.0.0) for more information.
21+
- New Key object to prevent key/algorithm type confusion (#365)
22+
- Add JWK support (#273)
23+
- Add ES256 support (#256)
24+
- Add ES384 support (#324)
25+
- Add Ed25519 support (#343)
26+
27+
## 5.0.0 / 2017-06-26
28+
- Support RS384 and RS512.
29+
See [#117](https://github.com/firebase/php-jwt/pull/117). Thanks [@joostfaassen](https://github.com/joostfaassen)!
30+
- Add an example for RS256 openssl.
31+
See [#125](https://github.com/firebase/php-jwt/pull/125). Thanks [@akeeman](https://github.com/akeeman)!
32+
- Detect invalid Base64 encoding in signature.
33+
See [#162](https://github.com/firebase/php-jwt/pull/162). Thanks [@psignoret](https://github.com/psignoret)!
34+
- Update `JWT::verify` to handle OpenSSL errors.
35+
See [#159](https://github.com/firebase/php-jwt/pull/159). Thanks [@bshaffer](https://github.com/bshaffer)!
36+
- Add `array` type hinting to `decode` method
37+
See [#101](https://github.com/firebase/php-jwt/pull/101). Thanks [@hywak](https://github.com/hywak)!
38+
- Add all JSON error types.
39+
See [#110](https://github.com/firebase/php-jwt/pull/110). Thanks [@gbalduzzi](https://github.com/gbalduzzi)!
40+
- Bugfix 'kid' not in given key list.
41+
See [#129](https://github.com/firebase/php-jwt/pull/129). Thanks [@stampycode](https://github.com/stampycode)!
42+
- Miscellaneous cleanup, documentation and test fixes.
43+
See [#107](https://github.com/firebase/php-jwt/pull/107), [#115](https://github.com/firebase/php-jwt/pull/115),
44+
[#160](https://github.com/firebase/php-jwt/pull/160), [#161](https://github.com/firebase/php-jwt/pull/161), and
45+
[#165](https://github.com/firebase/php-jwt/pull/165). Thanks [@akeeman](https://github.com/akeeman),
46+
[@chinedufn](https://github.com/chinedufn), and [@bshaffer](https://github.com/bshaffer)!
47+
48+
## 4.0.0 / 2016-07-17
49+
- 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)!
50+
- 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)!
51+
- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)!
52+
- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)!
53+
54+
## 3.0.0 / 2015-07-22
55+
- Minimum PHP version updated from `5.2.0` to `5.3.0`.
56+
- Add `\Firebase\JWT` namespace. See
57+
[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
58+
[@Dashron](https://github.com/Dashron)!
59+
- Require a non-empty key to decode and verify a JWT. See
60+
[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
61+
[@sjones608](https://github.com/sjones608)!
62+
- Cleaner documentation blocks in the code. See
63+
[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
64+
[@johanderuijter](https://github.com/johanderuijter)!
65+
66+
## 2.2.0 / 2015-06-22
67+
- Add support for adding custom, optional JWT headers to `JWT::encode()`. See
68+
[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
69+
[@mcocaro](https://github.com/mcocaro)!
70+
71+
## 2.1.0 / 2015-05-20
72+
- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
73+
between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
74+
- Add support for passing an object implementing the `ArrayAccess` interface for
75+
`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
76+
77+
## 2.0.0 / 2015-04-01
78+
- **Note**: It is strongly recommended that you update to > v2.0.0 to address
79+
known security vulnerabilities in prior versions when both symmetric and
80+
asymmetric keys are used together.
81+
- Update signature for `JWT::decode(...)` to require an array of supported
82+
algorithms to use when verifying token signatures.
83+
84+

README.md

Lines changed: 0 additions & 85 deletions
Original file line numberDiff line numberDiff line change
@@ -308,91 +308,6 @@ $decoded = JWT::decode($payload, $keys);
308308
$decoded = json_decode(json_encode($decoded), true);
309309
```
310310

311-
Changelog
312-
---------
313-
314-
#### 6.3.0 / 2022-07-15
315-
316-
- Added ES256 support to JWK parsing ([#399](https://github.com/firebase/php-jwt/pull/399))
317-
- Fixed potential caching error in `CachedKeySet` by caching jwks as strings ([#435](https://github.com/firebase/php-jwt/pull/435))
318-
319-
#### 6.2.0 / 2022-05-14
320-
321-
- Added `CachedKeySet` ([#397](https://github.com/firebase/php-jwt/pull/397))
322-
- Added `$defaultAlg` parameter to `JWT::parseKey` and `JWT::parseKeySet` ([#426](https://github.com/firebase/php-jwt/pull/426)).
323-
324-
#### 6.1.0 / 2022-03-23
325-
326-
- Drop support for PHP 5.3, 5.4, 5.5, 5.6, and 7.0
327-
- Add parameter typing and return types where possible
328-
329-
#### 6.0.0 / 2022-01-24
330-
331-
- **Backwards-Compatibility Breaking Changes**: See the [Release Notes](https://github.com/firebase/php-jwt/releases/tag/v6.0.0) for more information.
332-
- New Key object to prevent key/algorithm type confusion (#365)
333-
- Add JWK support (#273)
334-
- Add ES256 support (#256)
335-
- Add ES384 support (#324)
336-
- Add Ed25519 support (#343)
337-
338-
#### 5.0.0 / 2017-06-26
339-
- Support RS384 and RS512.
340-
See [#117](https://github.com/firebase/php-jwt/pull/117). Thanks [@joostfaassen](https://github.com/joostfaassen)!
341-
- Add an example for RS256 openssl.
342-
See [#125](https://github.com/firebase/php-jwt/pull/125). Thanks [@akeeman](https://github.com/akeeman)!
343-
- Detect invalid Base64 encoding in signature.
344-
See [#162](https://github.com/firebase/php-jwt/pull/162). Thanks [@psignoret](https://github.com/psignoret)!
345-
- Update `JWT::verify` to handle OpenSSL errors.
346-
See [#159](https://github.com/firebase/php-jwt/pull/159). Thanks [@bshaffer](https://github.com/bshaffer)!
347-
- Add `array` type hinting to `decode` method
348-
See [#101](https://github.com/firebase/php-jwt/pull/101). Thanks [@hywak](https://github.com/hywak)!
349-
- Add all JSON error types.
350-
See [#110](https://github.com/firebase/php-jwt/pull/110). Thanks [@gbalduzzi](https://github.com/gbalduzzi)!
351-
- Bugfix 'kid' not in given key list.
352-
See [#129](https://github.com/firebase/php-jwt/pull/129). Thanks [@stampycode](https://github.com/stampycode)!
353-
- Miscellaneous cleanup, documentation and test fixes.
354-
See [#107](https://github.com/firebase/php-jwt/pull/107), [#115](https://github.com/firebase/php-jwt/pull/115),
355-
[#160](https://github.com/firebase/php-jwt/pull/160), [#161](https://github.com/firebase/php-jwt/pull/161), and
356-
[#165](https://github.com/firebase/php-jwt/pull/165). Thanks [@akeeman](https://github.com/akeeman),
357-
[@chinedufn](https://github.com/chinedufn), and [@bshaffer](https://github.com/bshaffer)!
358-
359-
#### 4.0.0 / 2016-07-17
360-
- 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)!
361-
- 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)!
362-
- Fixes to exceptions classes. See [#81](https://github.com/firebase/php-jwt/pull/81) for details. Thanks to [@Maks3w](https://github.com/Maks3w)!
363-
- Fixes to PHPDoc. See [#76](https://github.com/firebase/php-jwt/pull/76) for details. Thanks to [@akeeman](https://github.com/akeeman)!
364-
365-
#### 3.0.0 / 2015-07-22
366-
- Minimum PHP version updated from `5.2.0` to `5.3.0`.
367-
- Add `\Firebase\JWT` namespace. See
368-
[#59](https://github.com/firebase/php-jwt/pull/59) for details. Thanks to
369-
[@Dashron](https://github.com/Dashron)!
370-
- Require a non-empty key to decode and verify a JWT. See
371-
[#60](https://github.com/firebase/php-jwt/pull/60) for details. Thanks to
372-
[@sjones608](https://github.com/sjones608)!
373-
- Cleaner documentation blocks in the code. See
374-
[#62](https://github.com/firebase/php-jwt/pull/62) for details. Thanks to
375-
[@johanderuijter](https://github.com/johanderuijter)!
376-
377-
#### 2.2.0 / 2015-06-22
378-
- Add support for adding custom, optional JWT headers to `JWT::encode()`. See
379-
[#53](https://github.com/firebase/php-jwt/pull/53/files) for details. Thanks to
380-
[@mcocaro](https://github.com/mcocaro)!
381-
382-
#### 2.1.0 / 2015-05-20
383-
- Add support for adding a leeway to `JWT:decode()` that accounts for clock skew
384-
between signing and verifying entities. Thanks to [@lcabral](https://github.com/lcabral)!
385-
- Add support for passing an object implementing the `ArrayAccess` interface for
386-
`$keys` argument in `JWT::decode()`. Thanks to [@aztech-dev](https://github.com/aztech-dev)!
387-
388-
#### 2.0.0 / 2015-04-01
389-
- **Note**: It is strongly recommended that you update to > v2.0.0 to address
390-
known security vulnerabilities in prior versions when both symmetric and
391-
asymmetric keys are used together.
392-
- Update signature for `JWT::decode(...)` to require an array of supported
393-
algorithms to use when verifying token signatures.
394-
395-
396311
Tests
397312
-----
398313
Run the tests using phpunit:

0 commit comments

Comments
 (0)