Skip to content

Commit 7c28f9e

Browse files
committed
Releasing v2
1 parent acac73a commit 7c28f9e

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

changelog.md

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,20 @@ ChangeLog
44
2.0.0 (????-??-??)
55
------------------
66

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
815
object. This is a breaking change.
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`.
921

1022

1123
2.0.0-alpha.1 (2024-02-23)
@@ -62,7 +74,7 @@ ChangeLog
6274
0.4.0 (2021-05-15)
6375
------------------
6476

65-
* Fully up to date with [RFC8941][5].
77+
* Fully up to date with [RFC8941][rfc8941].
6678
* This is a complete rewrite, all APIs have changed and return the structures
6779
that are recommended by the actual RFC document.
6880
* Passing almost all tests from the [HTTP WG test suite][6]. See the readme for
@@ -124,6 +136,9 @@ ChangeLog
124136
[2]: https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-09
125137
[3]: https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-10
126138
[4]: https://tools.ietf.org/html/draft-ietf-httpbis-header-structure-13
127-
[5]: https://datatracker.ietf.org/doc/html/rfc8941
128139
[6]: https://github.com/httpwg/structured-field-tests
129140
[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

Comments
 (0)