Skip to content

Releases: exah/ya-fetch

v2.0.0-0

13 Nov 13:18
Compare
Choose a tag to compare
v2.0.0-0 Pre-release
Pre-release

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 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-0

v1.7.2

05 Oct 10:48
Compare
Choose a tag to compare
  • πŸš‘ Fix void request header e2bf550

v1.7.1...v1.7.2

v1.7.1

03 Oct 16:16
Compare
Choose a tag to compare
  • πŸš‘ Incompatible params type 2373554

v1.7.0...v1.7.1

v1.7.0

03 Oct 16:10
Compare
Choose a tag to compare
  • ⬆️ Update deps
  • ✨ .void() method
  • 🏷 Export Intance and Options types

v1.6.0...v1.7.0

v1.6.0

28 Oct 09:39
Compare
Choose a tag to compare
  • 🚨 Fix eslint warning 633f1d2
  • 🏷 Update types a507630
  • βœ… Add test case for returning new Response inside onFailure 497d9dc
  • πŸ“ Update onFailure description c13dc8f
  • 🏷 Allow returning Response inside onFailure (#24) 6b4f64b
  • ✨ Add highWaterMark option and node.js docs (#23) 6d192a9
  • ✨ pass in url and options to getHeader function (#19) cd5ba80
  • πŸ‘· Add GitHub Actions config (#20) 49b8459

v1.5.1...v1.6.0

v1.5.1

19 Jun 22:55
Compare
Choose a tag to compare
  • πŸ’¬ Typo f8d07c8
  • πŸ“ Update README 2b21e8e
  • ♻️ Handle errors in rejected getHeaders function 8cf8499
  • Bump normalize-url from 4.5.0 to 4.5.1 (#18) e008faf
  • ⚑ Shrink size of module 959 B β†’ 931 B e1b5076
  • ⬆️ Update dev dependecies 659de95

v1.5.0...v1.5.1

v1.5.0

10 Jun 17:59
Compare
Choose a tag to compare
  • πŸ”§ Skip lib check in TS config 326deb5
  • ⬆️ Update dev dependecies 08be210
  • ✨ Add header getter function (#16) 2d013d6

v1.4.1...v1.5.0

v1.4.1

16 Sep 11:01
Compare
Choose a tag to compare

v1.4.0...v1.4.1

v1.4.0

30 Jul 10:08
Compare
Choose a tag to compare
  • ✨ Allow modifying options on instance f4841d6

v1.3.0...v1.4.0

v1.3.0

04 Mar 17:17
Compare
Choose a tag to compare
  • ✨ Add options as second argument to onSuccess and onFailure a0e1047

v1.2.0...v1.3.0