Skip to content

v4.0.0

Choose a tag to compare

@sindresorhus sindresorhus released this 22 Nov 07:24

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