Skip to content

Latest commit

 

History

History
360 lines (171 loc) · 15.4 KB

CHANGELOG.md

File metadata and controls

360 lines (171 loc) · 15.4 KB

8.0.1 (2023-10-27)

Bug Fixes

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 :)

7.0.1 (2022-06-30)

Bug Fixes

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

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).

6.0.1 (2022-01-23)

Bug Fixes

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

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.

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.

4.1.0 (2021-09-03)

Features

4.0.0 (2021-09-02)

chore

  • Change supported Node versions (202ff9f)

BREAKING CHANGES

  • Node versions below 12 are not officially supported anymore.

3.0.4 (2021-09-02)

Bug Fixes

3.0.3 (2020-10-20)

Bug Fixes

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

3.0.2 (2020-05-06)

Bug Fixes

3.0.1 (2020-04-24)

Bug Fixes

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.

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

Features

  • Trigger beta release for next major version (5443240)

3.0.0-beta.9 (2020-04-20)

Bug Fixes

3.0.0-beta.8 (2020-04-20)

Bug Fixes

  • Cache in GitHub actions (28761fc)

3.0.0-beta.7 (2020-04-20)

Bug Fixes

Features

3.0.0-beta.6 (2020-04-20)

Bug Fixes

3.0.0-beta.5 (2020-04-20)

Features

3.0.0-beta.4 (2020-04-19)

Bug Fixes

  • ESM and CJS exports for Node 13 (33eb612)

3.0.0-beta.3 (2020-04-19)

Features

  • Trigger beta release for next major version (ee785de)

3.0.0-beta.2 (2020-03-15)

Bug Fixes

  • Add missing files in package (7a770cb)

3.0.0-beta.1 (2020-03-14)

Features

  • Trigger beta release for next major version (13287a6)

BREAKING CHANGES

  • This is a complete rewrite with a changed API

2.4.0-beta.1 (2020-03-14)

Features

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

2.3.4 (2019-11-02)

2.3.3 (2019-11-02)

2.3.2 (2019-08-10)

Bug Fixes

2.3.1 (2019-06-14)

Bug Fixes

  • TypeScript definition not available on npm module (2f4684c), closes #73
  • updatedAt timestamp breaks bundle caching (#75, #60) (27199d5)

2.3.0 (2019-05-29)

Features

2.2.1 (2019-05-28)

Bug Fixes

  • Fix 'run-s: command not found' on postinstall (ce42e2e), closes #72
  • Fix problem where malformed URLs threw an error (#70) (28d7e4b)

2.2.0 (2019-05-27)

Features

  • Remove runtime dependency on npm (ad6ced2)

2.1.8 (2019-05-27)

Bug Fixes

  • Add timeout to download public suffix list (#56) (1fbd49c)
  • Fix error where a lot of domains were not detected (fc80789), closes #64
  • Fix sanity check during npm run build:tries (a3c1eeb)
  • Fix thrown error with input that only contains whitespaces (1d1a24a), closes #32 #61

2.1.7 (2018-11-27)

  • Update dependencies #57. Removes malicious code which has been introduced by event-stream (more information).

2.1.6 (2018-10-19)

Bug Fixes

  • Broken published version (f36d76e)

2.1.5 (2018-10-19)

Bug Fixes

  • Compatibility problems with older JavaScript engines (#51) (d9d782b)

2.1.4 (2018-10-19)

Bug Fixes

  • Wrong entry in package.json files (50fe635)

2.1.3 (2018-10-19)

Bug Fixes

  • Do not write in the file system on postinstall if it's forbidden (#39) (9aee180)
  • Re-add missing prepare script after (e5d6362)

2.1.2 (2018-06-13)

Bug Fixes

  • Add .babelrc for create-react-app apps (#37) (d2d3728)

2.1.1 (2018-05-30)

Bug Fixes

  • Support url which has no protocol (#28) (74dec41)

2.1.0 (2018-05-30)

Features

  • Use trie data structure to decrease file size (#33) (59f951b)

2.0.0 (2017-12-03)

Code Refactoring

Features

BREAKING CHANGES

  • node 4 or newer is required

1.2.0 (2017-12-03)

Changelog

1.1.0

  • Fix parsing of URLs that have an @ character in the path #13
  • Update tlds a27a2c83102c563978b831bd161f1fb5409376bd

1.0.0

  • Removed private tlds from the default regexp #4 #6
  • Introduced privateTlds boolean flag to include private tlds
  • Reached stable state :)