Skip to content

Releases: jsdom/tr46

Version 5.0.0

05 Nov 04:57
Compare
Choose a tag to compare

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 boolean transitionalProcessing option.
  • Adds the ignoreInvalidPunycode option.
  • A few other algorithm changes.

Version 4.1.1

08 Mar 07:00
Compare
Choose a tag to compare

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

25 Jan 02:22
Compare
Choose a tag to compare

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

23 Jan 03:17
Compare
Choose a tag to compare

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

03 Oct 23:04
Compare
Choose a tag to compare

Raise Node.js minimum version to v12.x.

This version brings support for Unicode 14.0.0.

Version 2.1.0

22 May 10:08
43a5136
Compare
Choose a tag to compare

This version brings support for Unicode 13.0.0.

Version 2.0.2

20 Feb 04:42
bce3043
Compare
Choose a tag to compare

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

20 Feb 04:39
96e0365
Compare
Choose a tag to compare
Version 2.0.1 Pre-release
Pre-release

This release is buggy; use version 2.0.2 instead.

Version 2.0.0

02 Jan 06:13
b2847d2
Compare
Choose a tag to compare

Breaking changes:

  • Raise Node.js minimum version to v8.x. We are now also advertising the supported Node.js version in the engines field in package.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

02 Jan 06:00
Compare
Choose a tag to compare

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.