Skip to content

v0.5.0

Compare
Choose a tag to compare
@mtripg6666tdr mtripg6666tdr released this 25 Jan 14:11
· 272 commits to main since this release
0bcb4db

Features

  • (BREAKING) Use fetch API instead of http/https module (experimental)(#46)
    • the request and response properties in the result are now deprecated and typed as unknown.
    • this feature is disabled in default. Set fetch option to true or to an object including your favorite custom fetch API implementation to enable it.
    • See the repo's README for more info.

Bug fixes

  • Ensure destroying the request when the request body was a stream and emitted an error.

Changes

  • Changed the default HTTP request headers.
  • Changed the way to normalize HTTP header keys. (for instance, content-type will be normalized into Content-Type)

Misc

  • Improve on CI execution

What's Changed

Full Changelog: v0.4.4...v0.5.0