All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
- Remove undefined
method
andquery
/params
from fetch options (#451) - Use
response._bodyInit
as fallback for react-native and qq (#398)
- Fix typo (#448)
- Joshua Sosso (@joshmossas)
- Pooya Parsa (@pi0)
- @beer (@iiio2)
- Cooper Roper [email protected]
- Support
retryDelay
with callback function (#372) - Add better message and code for timeout error (#351)
- Allow custom global options for
$fetch.create
(#401) - Support interceptors arrays (#353)
- Always clone and normalize
options.headers
andoptions.query
(#436)
- Add docs for using undici dispatcher (#389)
- Add
agent
anddispatcher
options (node-specific) (#308)
- release: V1.3.4 (5cc16a0)
- Remove extra space (#384)
- Update deps (509a037)
- Update to eslint v9 (e63c598)
- Apply automated fixes (f8f5413)
- Add back spoiler (dba1915)
- Add experimental for
Too Early
status (#426) - Update dependencies (b5fe505)
- Update deps (20f67b9)
- Add additional tests for hook errors (7ff4d11)
- Pooya Parsa (@pi0)
- Antoine Rey [email protected]
- Cafu Chino [email protected]
- Marco Solazzi [email protected]
- @beer (@iiio2)
- Daniel Roe (@danielroe)
- Arlo [email protected]
- Alexander Topalo [email protected]
- Sam Blowes [email protected]
- Kongmoumou (@kongmoumou)
- Clear abort timeout after response was received (#369)
- Remove extra line (#374)
- Add initial examples (#288)
- Add top level
react-native
field (03680dd)
- release: V1.3.3 (31c61c1)
- Update dependencies (308f03f)
- Ignore conflicting ts error for now (3a73165)
- Improve docs (173d5b9)
- Remove lagon (#346)
- Update lockfile (4b6d1ba)
- Fix build error (472c4d9)
- Update node-fetch-native (fa2cc07)
- Pooya Parsa (@pi0)
- Alex Liu (@Mini-ghost)
- Danila Rodichkin (@daniluk4000)
- Maxime Pauvert (@maximepvrt)
- Estéban (@Barbapapazes)
- Saman [email protected]
- Augment
FetchError
type to includeIFetchError
(#279)
- Johann Schopplich (@johannschopplich)
- Hide getters from console and pass
cause
(905244a)
- Pooya Parsa (@pi0)
- Update dependencies (c72976f)
- Pooya Parsa (@pi0)
- Support customizable
retryStatusCodes
(#109) - Add
options
field and improve formatting of errors (#270) - Automatically enable duplex to stream request body (#275)
- Avoid binding
.native
to$fetch
(#272) - Skip reading body with
204
responses andHEAD
requests (#171, #84) - Improve response body check for node 16 compatibility (64d3aed)
- Avoid serializing buffer body (#273)
- Move body handling out of request block (15a28fb)
- Remove unused
response?: boolean
option (#223) - Pass all fetch context to the error (b70e6b0)
- error: Factory pattern for getters (6139785)
- Improve explanation about
body
option (#276)
- Pooya Parsa (@pi0)
- Nozomu Ikuta
- Daniil Bezuglov
- Add missing
node
export condition (4081170)
- Update dependencies (d18584d)
- Speedup with background close (567fb35)
- Pooya Parsa (@pi0)
- Always uppercase
method
option (#259) - pkg: Fix ts type resolution for
/node
subpath (#256) - Make all
createFetch
options optional (#266)
- Update dev dependencies (8fc7d96)
- release: V1.1.1 (41c3b56)
- Update dependencies (db2434c)
- Add autofix ci (a953a33)
- Apply automated fixes (bbdfb9c)
- Update tests (db2ad50)
- Daniil Bezuglov
- Pooya Parsa (@pi0)
- Sébastien Chopin (@Atinux)
- Tmk (@tmkx)
- Murisceman [email protected]
- Heb (@Hebilicious)
- Update dev dependencies (8fc7d96)
- Pooya Parsa (@pi0)
- Pass empty object to headers initializer to prevent crash on chrome 49 (#235)
- Export
ResponseMap
type to allow composition ofofetch
(#232) - Fix issues with native node fetch (#245)
- pkg: Add
./package.json
subpath (253707a) - Deep merge fetch options (#243)
- readme: Use
_data
rather thandata
for raw requests (#239) - Mention
DELETE
is no-retry be default (#241)
- readme: Small improvements (65921a1)
- Enable tests against node
16
,18
and20
(351fc80)
- Dennis Meuwissen
- Pooya Parsa (@pi0)
- Alex Korytskyi (@alex-key)
- Arunanshu Biswas
- Jonathan Bakebwa [email protected]
- Ilya Semenov (@IlyaSemenov)
- _lmmmmmm [email protected]
- Jonas Thelemann (@dargmuesli)
- Sébastien Chopin [email protected]
- Improve error message for request errors (#199)
- Fix small typos (#200)
- Fix typo (#175)
- Add agent option usage (#173)
- Add note about http agent (#202)
- Use standalone commonjs dist (#211)
- Update lockfile (67a7fa4)
- Remove build badge (9a878b6)
- Update ufo (3776210)
- Update release script (50a58ab)
- Format with prettier (aabfb9a)
- Pooya Parsa [email protected]
- Daniel West [email protected]
- Sébastien Chopin [email protected]
- Nozomu Ikuta
- Yuyin
- Kricsleo
- 0xflotus [email protected]
1.0.0 (2022-11-15)
- drop undici support
0.4.21 (2022-11-03)
0.4.20 (2022-10-17)
- add backwards-compatible subpath declarations (#144) (3a48c21)
- types: allow synchronous interceptors to be passed (#128) (46e8f3c)
0.4.19 (2022-09-19)
0.4.18 (2022-05-20)
0.4.17 (2022-05-11)
- use
node-fetch-native
(a881acb)
0.4.16 (2022-04-29)
0.4.15 (2022-01-18)
0.4.14 (2021-12-22)
- avoid calling
fetch
withglobalOptions
context (8ea2d2b)
0.4.13 (2021-12-21)
0.4.12 (2021-12-21)
- avoid overriding headers (4b74e45), closes #40 #41
- only retry on known response codes (resolves #31) (f7fff24)
0.4.11 (2021-12-17)
0.4.10 (2021-12-14)
- avoid optional chaining (931d12d)
0.4.9 (2021-12-14)
0.4.8 (2021-11-22)
0.4.7 (2021-11-18)
0.4.6 (2021-11-10)
- add check for using
Error.captureStackTrace
(#27) (0c55e1e) - remove baseurl append on retry (#25) (7e1b54d)
0.4.5 (2021-11-05)
- improve error handling for non-user errors (6b965a5)
0.4.4 (2021-11-04)
- allow
retry: false
(ce8e4d3)
0.4.3 (2021-11-04)
- experimental undici support (dfa0b55)
- node: pick
globalThis.fetch
when available overnode-fetch
(54b779b) - node: support http agent with
keepAlive
(#22) (18a952a) - support retry and default to
1
(ec83366)
- remove
at raw
from stack (82351a8)
0.4.2 (2021-10-22)
- cjs: provide
fetch
and$fetch.raw
exports (529af1c)
0.4.1 (2021-10-22)
- avoid optional chaining for sake of webpack4 (38a75fe)
0.4.0 (2021-10-22)
- upgrade to node-fetch 3.x
- upgrade to node-fetch 3.x (ec51edf)
0.3.2 (2021-10-22)
0.3.1 (2021-08-26)
0.3.0 (2021-08-25)
- use export condition to automatically use node-fetch
- direct export fetch implementation (65b27dd)
- use export condition to automatically use node-fetch (b81082b)
0.2.0 (2021-04-06)
- don't inline dependencies
- don't inline dependencies (cf3578b)
0.1.8 (2021-02-22)
- pkg: add top level node.d.ts (dcc1358)
0.1.7 (2021-02-19)
0.1.6 (2021-01-12)
0.1.5 (2021-01-04)
- pkg: use same export names for incompatible tools (7fc450a)
0.1.4 (2020-12-16)
- update ufo to 0.5 (reducing bundle size) (837707d)
0.1.3 (2020-12-16)
- ufo 0.3.1 (e56e73e)
0.1.2 (2020-12-16)
- update ufo to 0.3 (52d84e7)
0.1.1 (2020-12-12)
- preserve params when using baseURL (c3a63e2)
0.0.7 (2020-12-12)
0.0.6 (2020-12-12)
- pkg: fix top level named exports (0b51462)
0.0.5 (2020-12-12)
- pkg: fix ./node in exports (c6b27b7)
0.0.4 (2020-12-12)
- support params (e6a56ff)
0.0.3 (2020-12-12)
- bundle ufo and destr for easier bundler integration (8f5ba88)
- support
$fetch.raw
and improve docs (f9f70a5)
0.0.2 (2020-12-09)
- pkg: add top level dist (6da17ca)
- universal + isomorphic builds (a873702)