Skip to content

v7.0.0

Compare
Choose a tag to compare
@github-actions github-actions released this 23 Jan 19:59
· 12 commits to main since this release

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