Skip to content

Releases: sindresorhus/normalize-url

v8.0.1

10 Mar 05:51
Compare
Choose a tag to compare
  • Fix handling of protocol-less URLs with a port dec5dc6

v8.0.0...v8.0.1

v8.0.0

04 Nov 08:23
Compare
Choose a tag to compare

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

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

27 Sep 09:52
Compare
Choose a tag to compare

v7.1.0

01 Sep 11:18
Compare
Choose a tag to compare

v7.0.3

18 Jan 12:37
Compare
Choose a tag to compare
  • Fix encoding consistency with sorted and non-sorted URL parameters (#158) c42f53b

v7.0.2...v7.0.3

v7.0.2

10 Sep 06:37
Compare
Choose a tag to compare
  • Fix the removeDirectoryIndex option TypeScript type 4d35ea1

v7.0.1...v7.0.2

v7.0.1

11 Aug 13:37
Compare
Choose a tag to compare

v7.0.0...v7.0.1

v7.0.0

09 Jul 10:31
Compare
Choose a tag to compare

Breaking

v6.1.0...v7.0.0

v6.1.0

22 Jun 09:24
Compare
Choose a tag to compare
  • Accept a boolean for the removeQueryParameters option (#136) 6216336

v6.0.1...v6.1.0

v6.0.1

24 May 13:07
Compare
Choose a tag to compare

Also fixed for v5 in 5.3.1 and for v4 in 4.5.1. Versions below 4.3.0 are not affected by this.

v6.0.0...v6.0.1