- Support for a
:signal
key, to hook up anAbortController
- Passed in query-params now get merged into query parameters on the URL, rather than replacing them.
- Added support for all options that
js/fetch
understands. Option values can be supplied as keyword or string.:headers
is expected to be a Clojure map from string to string::headers
,:redirect
,:mode
,:cache
,:credentials
,:referrer-policy
- There is now encoding implemented for
:content-type :form-encoded
- Supplying a body as a string will not encode it, but use the string unchanged as the body
- Added optional EDN support. Require the
lambdaisland.fetch.edn
namespace, this will register the necessary multimethods.
- Fix query-params encoding issue and path/query-params normalization (@den1k)
- Dependency version bumps: lambdaisland/uri, js-interop, transit-cljs
- Remove direct dependency on Clojure/ClojureScript, people will generally bring them themselves
- Replaced
kitchen-async
dependency withmhuebert/kitchen-async
, which is the same lib with a fixed version on Clojars