Skip to content

v6.0.0

Compare
Choose a tag to compare
@zellwk zellwk released this 12 Jul 10:53
· 16 commits to master since this release

v5.0.1...v6.0.0

Breaking Change

We have removed node-fetch as a dependency in v.6.0.0 because Node v17 includes Fetch by default.

What this means is:

  • If you're using Node v17 and above, you can continue using zlFetch normally. There will be no breaking change for you.
  • If you're using Node v16 and below, you need to include node-fetch before you call zlFetch. You only need to include it once in your project since node-fetch creates a global fetch object.
import 'node-fetch'
import zlFetch from 'zl-fetch'