Releases: exah/ya-fetch
Releases · exah/ya-fetch
v2.1.5
v2.1.4
v2.1.3
v2.1.2
v2.1.1
v2.1.1-0
- ⬆️ 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.0.1
v2.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
options
from the second argument ofonResponse
,onSuccess
, andonFailure
- 💥 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