Releases: exah/ya-fetch
Releases Β· exah/ya-fetch
v2.0.0-0
Breaking changes
- π₯ Drop support for CJS module format
- π₯ Extend custom errors from Error class
- π₯ Convert YF to namespace export
- π₯ Rename
prefixUrl
->resource
- π₯ Remove
getHeaders
(useonRequest
) - π₯ 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: mergeresource
strings,headers
andparams
- β¨ Modify any option before the request using
onRequest
option - π Improve documentation with better examples and detailed explaination
v1.7.2
v1.7.1
v1.7.0
- β¬οΈ Update deps
- β¨
.void()
method - π· Export
Intance
andOptions
types
v1.6.0
- π¨ Fix eslint warning 633f1d2
- π· Update types a507630
- β
Add test case for returning new
Response
insideonFailure
497d9dc - π Update
onFailure
description c13dc8f - π· Allow returning
Response
insideonFailure
(#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