Skip to content

Releases: peerigon/parse-domain

v8.0.2

04 Mar 22:57
Compare
Choose a tag to compare

8.0.2 (2024-03-04)

Bug Fixes

  • Add ParseResultIp to main.js exports (#157) (b5b0177)

v8.0.1

27 Oct 16:22
Compare
Choose a tag to compare

8.0.1 (2023-10-27)

Bug Fixes

v8.0.0

27 Oct 15:27
Compare
Choose a tag to compare

8.0.0 (2023-10-27)

chore

BREAKING CHANGES

  • Dropped official support for Node 12, 14 and 16. There wasn't any actual breaking change we know of but use at your own risk :)

v7.0.1

30 Jun 14:54
Compare
Choose a tag to compare

7.0.1 (2022-06-30)

Bug Fixes

  • Parse error with : when using fromUrl() (09071e6), closes #140

v7.0.0

23 Jan 19:59
Compare
Choose a tag to compare

7.0.0 (2022-01-23)

Bug Fixes

  • Add support for invalid ipv6 URLs (b32d16c), closes #114
  • Remove auto-trimming of input (4ea86a1)

BREAKING CHANGES

  • parseDomain won't .trim() the given input. The input is interpreted as it is. If you want to trim the input, you need to call .trim() before passing it to parseDomain. Auto-trimming the input changes the domain and might not be desired if any character (such as whitespace) is allowed (e.g. when using lax validation).

v6.0.1

23 Jan 19:15
Compare
Choose a tag to compare

6.0.1 (2022-01-23)

Bug Fixes

  • Wrong package exports 🤦‍♀️ (45c5e0c)

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.