Releases: nodejs/undici
Releases · nodejs/undici
v1.2.0
- Improved stream compat.
- Reset connection after requests with body where the method does not expect a payload.
- Validate user provided content-length and transfer-encoding headers.
- Error if content-length header and body length does not match.
- Avoid chunked transfer if request body stream is ended in same tick.
- Added
InformationalErrorfor'disconnect'event for when a disconnect was expected. - Refactoring.
v1.1.0 - Native HTTP Parser
- Uses Node native HTTP parser. Improves performance and security. Removes dependency on
http-parser-js. - Added
headersTimeoutoption. - Fixed an assertion when using
client.pipelineand the server does not consume the entire request body. - Replace
client.fullwithclient.busyproperty. - Improved support for legacy streams.
- Added support for IPC (e.g. unix sockets) through
socketPathoption. - Refactoring and simplification.
- Throw not supported error for
CONNECTmethod.