Skip to content

Releases: sindresorhus/normalize-url

v9.0.1

Choose a tag to compare

@sindresorhus sindresorhus released this 20 May 06:14
  • Fix removeExplicitPort option not working for localhost ef8df19

v9.0.0...v9.0.1

v9.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 19 Feb 21:07

Breaking

Improvements


v8.1.1...v9.0.0

v8.1.1

Choose a tag to compare

@sindresorhus sindresorhus released this 01 Jan 20:02
  • Fix removeDirectoryIndex option to handle trailing slashes consistently 320d9b3

v8.1.0...v8.1.1

v8.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 10 Sep 08:46

v8.0.2...v8.1.0

v8.0.2

Choose a tag to compare

@sindresorhus sindresorhus released this 09 Jun 10:32
  • Fix handling of encoded backslash (#192) 07c9a7b

v8.0.1...v8.0.2

v8.0.1

Choose a tag to compare

@sindresorhus sindresorhus released this 10 Mar 05:51
  • Fix handling of protocol-less URLs with a port dec5dc6

v8.0.0...v8.0.1

v8.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 04 Nov 08:23

Breaking

  • Require Node.js 14 52f2290
  • Ignore URLs with custom protocols and just pass them through (#178) 882cb84
    • By default, these protocols are supported: https, http, file, data.
    • If you need support for a custom protocol that behaves like a HTTP URL, see #179.
  • ftp protocol is no longer normalized. It's just passed through.
  • Human-friendly URLs with basic auth is no longer handled as it conflicts with custom protocols
    • Example: user:password@sindresorhus.com

Improvements

  • Make defaultProtocol option accept protocol without colon c7fd781
    • You can still pass in a protocol with colon. However, if you use TypeScript, it enforces it without.

v7.2.0...v8.0.0

v7.2.0

Choose a tag to compare

@sindresorhus sindresorhus released this 27 Sep 09:52

v7.1.0

Choose a tag to compare

@sindresorhus sindresorhus released this 01 Sep 11:18

v7.0.3

Choose a tag to compare

@sindresorhus sindresorhus released this 18 Jan 12:37
  • Fix encoding consistency with sorted and non-sorted URL parameters (#158) c42f53b

v7.0.2...v7.0.3