Skip to content

Releases: sindresorhus/public-ip

v6.0.2

18 Mar 07:00
Compare
Choose a tag to compare
  • Don't throw CancelError if ipv6() resolves first (#70) 5490c81

v6.0.1...v6.0.2

v6.0.1

24 Jun 13:33
Compare
Choose a tag to compare

v6.0.0

13 Jun 12:07
Compare
Choose a tag to compare

Breaking

  • Use named exports instead of methods on a default export (#63) 4e1d895
    • import publicIp from 'public-ip'; publicIp.v6();import {publicIpv6} from 'public-ip'; publicIpv6();
  • Allow getting either IPv6 or IPv4 (#63) 4e1d895

v5.0.0...v6.0.0

v5.0.0

27 Dec 18:32
Compare
Choose a tag to compare

Breaking

Improvements

  • Throw a special error subclass when the public IP address could not be found d353d7c

v4.0.4...v5.0.0

v4.0.4

29 May 06:08
Compare
Choose a tag to compare

v4.0.3...v4.0.4

v4.0.3

07 Dec 03:58
Compare
Choose a tag to compare
  • Fix problem with calling the browser version concurrently (#53) f0a7f07

v4.0.2...v4.0.3

v4.0.2

10 Jul 13:06
Compare
Choose a tag to compare

v4.0.1...v4.0.2

v4.0.1

30 Mar 11:38
Compare
Choose a tag to compare
  • Make the promise.cancel() method actually work (#42) c4303d5

v4.0.0...v4.0.1

v4.0.0

22 Nov 07:24
Compare
Choose a tag to compare

Breaking

  • Rename the http option to onlyHttps.
    Previously, the default behavior was to use DNS, and if that failed, the request would fail. What's changed is that by default it will now try DNS, and if that fails, it will fall back to HTTPS. The option was renamed to better reflect that HTTPS is used even when {onlyHttps: false}.

Enhancements

v3.2.0...v4.0.0

v3.2.0

14 Aug 12:57
Compare
Choose a tag to compare
  • Add fallback service for the https option (#33) 3a4db72

v3.1.0...v3.2.0