Releases: jsdom/tr46
Version 5.0.0
Raises the Node.js minimum version to v18.x.
Updates to Unicode 15.1.0.
Updates to follow TR 46 revision 31 (spec changelog):
- Changes
processingOption
from being a string-valued option to a booleantransitionalProcessing
option. - Adds the
ignoreInvalidPunycode
option. - A few other algorithm changes.
Version 4.1.1
This version fixes empty label handling, e.g. in inputs such as xn--4-0bd15808a.
which consist of one label "xn--4-0bd15808a"
followed by another label ""
.
Published specifications are ambiguous on this; TR 46 calls RFC 5893's "The Bidi Rule", which assumes all labels are nonempty. Previously, tr46
operations would fail on such inputs. Now, they behave like browsers do, and pass through the empty labels. This feedback has been given to the TR 46 authors as part of whatwg/url#744.
Version 4.1.0
This properly updates several Unicode tables to Unicode 15.0.0. (It turns out the upgrades in previous releases were incomplete, and those tables, unlike other parts of the package, were stuck on Unicode 12.1.0!)
Version 4.0.0
Raise Node.js minimum version to v14.x.
This version brings support for Unicode 15.0.0.
This version ensures we're using the actual punycode
npm package, instead of Node.js's built-in version. The latter is deprecated and hasn't seen the latest bug fixes.
Version 3.0.0
Raise Node.js minimum version to v12.x.
This version brings support for Unicode 14.0.0.
Version 2.1.0
This version brings support for Unicode 13.0.0.
Version 2.0.2
Compared to version 2.0.0, the package bundle size is now much smaller thanks to work by @kraynel. (#24)
This version was published immediately after 2.0.1 to fix a packaging issue.
Version 2.0.1
This release is buggy; use version 2.0.2 instead.
Version 2.0.0
Breaking changes:
- Raise Node.js minimum version to v8.x. We are now also advertising the supported Node.js version in the
engines
field inpackage.json
. (#16, #21, @breeeew)
Other fixes:
- Make transitional processing available for
toUnicode
, as required by UTS #46 11.0.0 (rev 21). - Update code point tables to Unicode 12.1.0.
Version 1.0.1
In this release, a few small bugs have been fixed around the area of host validation, when useSTD3ASCIIRules
or checkBidi
options are used. Testing infrastructure has been fixed to ignore buggy cases in the official test suite.