fetch-http2
follows Semantic Versioning
- Add support for
keepAlive: false
which will not cache client instances and close them on each request - Expose
res.close()
to close the underlying request/response - Expose
res.destroy()
the destroy the underlying request/response and the underlying http client
- New strongly typed timeout error
- Properly implement request timeouts
- Convert lint to Biome
- Fix potential race condition when sending a request
- Convert test suite to vitest
- Fix types on node.js v20
- Return
statusText
- Support Node.js 16.x
- Default keepAlive of 20s
- Fix logic when passing
keepAlive: false
- Default keepAlive of 5s
- Fix type of response headers
- Initial Release