Releases: krutoo/fetch-tools
Releases · krutoo/fetch-tools
0.1.1
BREAKING CHANGES
middleware/defaultHeaders
: default strategy now isset
(#20)
Minor changes
middleware/defaultHeaders
: newstrategy
variants (#20)middleware/defaultHeaders
: optionwhen
added to filter requests to set default headers (#22)middleware/jwt
: optionformat
added, now middleware can be used with different formats, for example Telegram Mini App formattma <rawData>
(#21)
Full Changelog: 0.1.0...0.1.1
0.1.0
BREAKING changes
- entrypoint now exports only fetch utils and types (
configureFetch, applyMiddleware
) (#17) dump, json, html
moved to/response
(#17)router, route
moved to/server
(#17)
Minor changes
middleware/retry
: now retries by default when response is not ok (#18)middleware/retry
: loop conditions can be specified via config (#18)middleware/retry
: when response is received and it is not ok, it will be dumped (potential memory leaks) (#18)
Full Changelog: 0.0.21...0.1.0