Skip to content

Releases: exah/ya-fetch

v2.1.5

22 Nov 16:20
Compare
Choose a tag to compare
  • 🔧 Use isolated module and update target ES version 13aec3f
  • ♻️ Update object.entries types internally abe9163
  • 🔧 Increase size limit 99dde11
  • 🚑 Restrict requests with numbers 443d56e
  • ♻️ Use explicit error message for ResponseError 98bf109

v2.1.4...v2.1.5

v2.1.4

02 Nov 15:26
Compare
Choose a tag to compare
  • 🔧 Add engines.node to package.json f9452f4
  • ⬆️ Update dependencies (#44) e35cbe8
  • 🚑 Fix serialization of null & undefined (#43) 87e425a

v2.1.3...v2.1.4

v2.1.3

29 Oct 20:16
Compare
Choose a tag to compare
  • 🚑 Restore fallback for older module format c91607c

v2.1.2...v2.1.3

v2.1.2

18 Oct 14:26
Compare
Choose a tag to compare
  • 🚑 Fix exports field for Next.js ac0045e

v2.1.1...v2.1.2

v2.1.1

16 Oct 18:27
Compare
Choose a tag to compare
2.1.1

v2.1.1-0

16 Oct 18:07
Compare
Choose a tag to compare
v2.1.1-0 Pre-release
Pre-release
  • ⬆️ Update np b3fb728
  • 🚑 Type export for modern TS a494d40
  • ⬆️ Bump json5 from 1.0.1 to 1.0.2 (#41) aa61e14
  • ⬆️ Bump decode-uri-component from 0.2.0 to 0.2.2 (#40) 355e65a
  • ⬆️ Bump minimist from 1.2.5 to 1.2.7 (#38) dd0bc8c
  • ⬆️ Bump shell-quote from 1.7.2 to 1.7.4 (#37) d44c9a4
  • ♻️ Remove omit from RequestOptions types d513a83
  • 🔧 Add removeComments option bf7e90a

v2.1.0...v2.1.1-0

v2.1.0

14 Nov 22:06
Compare
Choose a tag to compare
  • ✅ Add base test & update README (#36) 01a3626
  • ✨ Add 'base' option, fix 'null' origin 897c8b5
  • 📝 Update options description 4880369
  • 🚑 Typo in Serialize interface name c2c6fa2
  • 📝 Update README d721489

v2.0.1...v2.1.0

v2.0.1

14 Nov 10:45
Compare
Choose a tag to compare
  • 📝 Update README a08ceaf
  • ➖ Remove requirement for abort-controller package in node.js 0dfc5c9
  • ⚡️ Build minified version aabed5f

v2.0.0...v2.0.1

v2.0.0

13 Nov 14:33
Compare
Choose a tag to compare

Breaking changes

  • 💥 Drop support for CJS module format
  • 💥 Extend custom errors from Error class
  • 💥 Convert YF to namespace export
  • 💥 Rename prefixUrl -> resource
  • 💥 Remove getHeaders (use onRequest)
  • 💥 Remove options from the second argument of onResponse, onSuccess, and onFailure
  • 💥 Remove isResponseError, isTimeoutError, isTimeoutError
  • 💥 Target es6 (use v1 if you need older browser support)

Improvements

  • ✨ Default search params serialisation can handle arrays
  • ✨ Better extend behaviour: merge resource strings, headers and params
  • ✨ Modify any option before the request using onRequest option
  • 📖 Improve documentation with better examples and detailed explaination

v1.7.2...v2.0.0

v2.0.0-1

13 Nov 14:26
Compare
Choose a tag to compare
v2.0.0-1 Pre-release
Pre-release
  • 🚑 Resource is not valid URL 9774203
  • 🚑 Loosen search params types 8368817
  • 🚑 Package types exports 09ee5a7
  • ⬆️ Update deps, remove jest types and eslint plugin fe7361e
  • 💥 v2 (#30) 0b2b35b

v1.7.2...v2.0.0-1