|
1 | 1 | ChangeLog
|
2 | 2 | =========
|
3 | 3 |
|
4 |
| -2.0.0 (????-??-??) |
| 4 | +2.0.0 (2024-10-02) |
5 | 5 | ------------------
|
6 | 6 |
|
7 |
| -* #66: We now convert from/to ArrayBuffer instead of a custom ByteSequence |
| 7 | +The "Structured Field Values" was updated in [RFC9651][rfc9651]. This new |
| 8 | +specification added the ['Date'][9] and ['Display String'][10] field types. |
| 9 | +The former encodes unix timestamp, the latter a Unicode string. |
| 10 | + |
| 11 | +Perfect time to update this package as well! This new major release supports |
| 12 | +the new standard. |
| 13 | + |
| 14 | +* #66: We now convert from/to `ArrayBuffer` instead of a custom ByteSequence |
8 | 15 | object. This is a breaking change.
|
9 |
| -* Bundling CommonJS for backwards compat. |
| 16 | +* Add support for `Date` and `DisplayString` from RFC9651. |
| 17 | +* Switched to ESM, but we're still bundling a CommonJS build. |
| 18 | +* No longer shipping a minified build. |
| 19 | +* Dropped Chai and now using `node:assert`. |
| 20 | +* Dropped Mocha and now using `node:test`. |
10 | 21 |
|
11 | 22 |
|
12 | 23 | 2.0.0-alpha.1 (2024-02-23)
|
@@ -63,7 +74,7 @@ ChangeLog
|
63 | 74 | 0.4.0 (2021-05-15)
|
64 | 75 | ------------------
|
65 | 76 |
|
66 |
| -* Fully up to date with [RFC8941][5]. |
| 77 | +* Fully up to date with [RFC8941][rfc8941]. |
67 | 78 | * This is a complete rewrite, all APIs have changed and return the structures
|
68 | 79 | that are recommended by the actual RFC document.
|
69 | 80 | * Passing almost all tests from the [HTTP WG test suite][6]. See the readme for
|
@@ -125,6 +136,9 @@ ChangeLog
|
125 | 136 | [2]: https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09
|
126 | 137 | [3]: https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-10
|
127 | 138 | [4]: https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-13
|
128 |
| -[5]: https://datatracker.ietf.org/doc/html/rfc8941 |
129 | 139 | [6]: https://github.com/httpwg/structured-field-tests
|
130 | 140 | [7]: https://www.ietf.org/archive/id/draft-ietf-httpbis-sfbis-05.html
|
| 141 | +[9]: https://www.rfc-editor.org/rfc/rfc9651.html#name-dates |
| 142 | +[10]: https://www.rfc-editor.org/rfc/rfc9651.html#name-display-strings |
| 143 | +[rfc8941]: https://datatracker.ietf.org/doc/html/rfc8941 |
| 144 | +[rfc9651]: https://datatracker.ietf.org/doc/html/rfc9651 |
0 commit comments