Skip to content

Releases: peerigon/parse-domain

v6.0.0

23 Jan 19:09
Compare
Choose a tag to compare

6.0.0 (2022-01-23)

  • Migrate package to ECMAScript modules (42f54e8)

BREAKING CHANGES

  • parse-domain will now be released as native ECMAScript module. There's no CommonJS build anymore. If you're still using CommonJS, you need to import it asynchronously using await import("parse-domain"). If you're still using Node 12, you may need to update it to the latest 12.x version.

v5.0.0

23 Jan 12:51
Compare
Choose a tag to compare

5.0.0 (2022-01-23)

Bug Fixes

  • Type errors with is-ip module (8ea728c)

Features

BREAKING CHANGES

  • Introduces a dependency on the global TextEncoder constructor which should be available in all modern engines
    (see https://developer.mozilla.org/en-US/docs/Web/API/TextEncoder). The strict validation mode (which is the default) will also be a little bit more strict since it will now also check for hyphens at the beginning or end of a domain label. It also requires top-level domain names not to be all-numeric.

v4.1.0

03 Sep 11:10
Compare
Choose a tag to compare

4.1.0 (2021-09-03)

Features

v4.0.0

02 Sep 18:24
Compare
Choose a tag to compare

4.0.0 (2021-09-02)

chore

  • Change supported Node versions (202ff9f)

BREAKING CHANGES

  • Node versions below 12 are not officially supported anymore.

v3.0.4

02 Sep 16:02
Compare
Choose a tag to compare

3.0.4 (2021-09-02)

Bug Fixes

v3.0.3

20 Oct 12:21
Compare
Choose a tag to compare

3.0.3 (2020-10-20)

Bug Fixes

  • Add check for global URL constructor in fromUrl() (#119) (4e32480)

v3.0.2

06 May 21:48
Compare
Choose a tag to compare

3.0.2 (2020-05-06)

Bug Fixes

v3.0.1

24 Apr 17:38
Compare
Choose a tag to compare

3.0.1 (2020-04-24)

Bug Fixes

v3.0.0

23 Apr 18:06
Compare
Choose a tag to compare

3.0.0 (2020-04-23)

Features

  • Complete rewrite in TypeScript and several bug fixes and improvements (9f38492)

BREAKING CHANGES

  • This release is a complete rewrite in TypeScript. It fixes some long outstanding bugs and comes with improvements we were planning for quite some time. The major changes are: 1. parseDomain does not accept whole URLs anymore. Only the hostname section of a URL is allowed now. 2. We removed the options object. Custom TLDs are returned as "valid but not listed". The parse result contains both the result with private TLDs and without private TLDs. 3. Dropped Node 6 support. We recommend reading the README since the public API as changed quite a lot.

v3.0.0-beta.10

23 Apr 17:10
Compare
Choose a tag to compare
v3.0.0-beta.10 Pre-release
Pre-release

3.0.0-beta.10 (2020-04-23)

Features

  • Trigger beta release for next major version (5443240)