Skip to content

v4.2.4

Choose a tag to compare

@Nedomas Nedomas released this 23 Nov 19:34
068d5a9

latest moves from 4.2.3 to 4.2.4: a fix for Node 18. Nothing else changes.

Fixes

  • Streamable HTTP on Node 18 again. With 4.2.3, a fresh install picks up a dependency that needs Node 20, so on Node 18 every Streamable HTTP request, stateless or stateful, failed with 400 Parse error (crypto is not defined). SSE and WebSocket output, Node 20 and later, the Docker images and the executables were not affected. Supergateway still requires Node 20; on Node 18 it works again as 4.2.2 did (#385)

Noted late for 4.2.3

  • An answer with no body (the 202 to a notification, the 200 to a session DELETE) has had no Content-Type header since 4.2.3. It was text/plain before

Validation

CI now serves SSE and Streamable HTTP on Node 18 with the same dependencies a fresh install gets, and that check fails without the fix. The test suite now runs on the dependency versions a fresh install gets, not older locked ones. Against 4.1.0–4.2.2, the only differences are the empty-answer header above; the released versions' own tests pass as before.