Skip to content

Releases: zellwk/zl-fetch

v4.0.2

20 Sep 19:44
Compare
Choose a tag to compare

v4.0.1...v4.0.2

v4.0.1

20 Sep 10:10
Compare
Choose a tag to compare
  • Bind windows to fetch so it works on Browsers d5983f7
  • Added exports to package.json to let it work with Node environments

v4.0.0...v4.0.1

v4.0.0

20 Sep 08:20
Compare
Choose a tag to compare

Usage related changelog:

  • Breaking change: This library no longer works with CJS. It is ESM only.
  • Removed logRequestOptions. Replaced it with debug instead.
  • Added returnError option.

Dev related changelog:

  • Rewrote all tests in Vitest
  • Tests are now all robust and no need for manual testing!
  • Removed need for btoa dependency
  • Removed need for cross-fetch dependency
  • Now uses node-fetch underneath the hood for Node

v3.4.0...v4.0.0

v3.4.0

24 Dec 05:31
Compare
Choose a tag to compare
  • Add support to receive x-www-form-urlencoded response d5d526a

v3.3.0...v3.4.0

3.3.0

21 Dec 11:27
Compare
Choose a tag to compare

Removed automatic response cloning because Node has a small internal buffer size. Cloning the response can cause the Fetch request to hang indefinitely, which results in no response.

We have provided you with another method to clone a response if you need it

  • Remove support for cloning ea3b619
  • Removes clone from handling responses 519f3ed
  • Update tests and packages 60fdecc

v3.2.4...v3.3.0

v3.2.4

14 Jul 07:44
Compare
Choose a tag to compare

v3.2.3...v3.2.4

v3.2.3

30 Jun 05:49
Compare
Choose a tag to compare
  • change file names aff4a9f
    • browser file should now be index.js instead of index-life.js
    • CJS file should now be index-cjs.js instead of index.js
  • remove source maps b7f1ce8

v3.2.2...v3.2.3

v3.2.1

23 Feb 05:29
Compare
Choose a tag to compare
  • Patch 48b16e2: Fixed bug where `btoa' was required on frontend

v3.2.0...v3.2.1

Switched Package Bundler to Rollup

23 Feb 05:19
Compare
Choose a tag to compare

v3.0.2

23 Oct 03:43
Compare
Choose a tag to compare
  • Formats all error objects into zlFetch error objects