Skip to content

Releases: nodejs/undici

v1.2.0

14 Jul 12:33
Compare
Choose a tag to compare
  • 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 InformationalError for 'disconnect' event for when a disconnect was expected.
  • Refactoring.

v1.1.0 - Native HTTP Parser

06 Jul 07:11
Compare
Choose a tag to compare
  • Uses Node native HTTP parser. Improves performance and security. Removes dependency on http-parser-js.
  • Added headersTimeout option.
  • Fixed an assertion when using client.pipeline and the server does not consume the entire request body.
  • Replace client.full with client.busy property.
  • Improved support for legacy streams.
  • Added support for IPC (e.g. unix sockets) through socketPath option.
  • Refactoring and simplification.
  • Throw not supported error for CONNECT method.