Open rhamzeh opened 1 year ago
I can definitely recommend ky
. It's fetch with an excellent interface.
The replacement should also support Cloudflare Workers like environments (https://github.com/openfga/js-sdk/issues/72)
Hi, Considering support for http corporate proxy with self signed certificate maybe ? ( see https://github.com/orgs/openfga/discussions/310 )
Just as an FYI - we are planning on starting work on this within the next two months.
We are leaning heavily towards undici, mostly for performance & current maintenance reasons. Ensuring compatibility w/ fetch in environments where undici is not available (Cloudflare Workers, Vercel, Browser, etc..) is part of this work
I think got would be a great alternative, though I think anything but axios would be fine
Summary
axios
v1 has brought a few breaking changes, so now's the time to reconsider whether it still is the best solution we have.Motivation(s)
Downsides
Alternatives to consider
v1.x.x
+ version (no http2 support yet)Criteria for success
State (as of June 2024)
We're currently favouring undici and planning on starting work on this soon