Skip to content

6.0.0

Compare
Choose a tag to compare
@erunion erunion released this 25 Jan 19:28
· 222 commits to main since this release

BREAKING CHANGE

With this release we no longer support the form-data package as it's handling of multipart/form-data is non-compliant with the browser FormData API. Please use formdata-node or formdata-polyfill instead.

Additionally the optional userAgent option has been reworked into a new options object that also supports a new files mapping array for augmenting binaries or file uploads within a HAR with a file buffers or the File API. See the readme for documentation.

What's Changed

  • fix: handling of multipart/form-data requests and how we interact with FormData by @erunion in #237
  • chore(deps-dev): bumping node-fetch by @erunion in #240
  • fix: improper handling of query strings by @erunion in #239
  • feat: extending the new files option to allow overriding raw binary payloads by @erunion in #238

Full Changelog: 5.0.5...6.0.0