Download Latest Version v6.4.1 source code.zip (1.3 MB) Google Add to Preferred Sources
Home / v6.4.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2026-10-13 1.8 kB
v6.4.0 source code.tar.gz 2026-10-13 1.3 MB
v6.4.0 source code.zip 2026-10-13 1.3 MB
Totals: 3 Items   2.5 MB 0

Minor Changes

  • #696 83be052 Thanks @niukanen1! - Add an isProd option to the ws, uWebSockets.js and @fastify/websocket use-server helpers, matching the existing crossws option. It controls whether internal error messages are masked with Internal server error before reaching the client, defaulting to the NODE_ENV === 'production' check as before. This lets apps running in production keep reporting onConnect error messages to the client by opting out, or mask eagerly in non-production environments.

Patch Changes

  • #700 d8aeda6 Thanks @kratam! - Fix the client closing an in-use socket when many subscriptions complete at once and a new one subscribes within the lazyCloseTimeout

    Every completing subscription scheduled its own lazy close timeout, but only the last one got cleared on the next connect. The client now keeps a single lazy close timeout and checks for active subscriptions before closing.

  • #702 1e05c8c Thanks @Meemaw! - Avoid an unhandled rejection when a subscription is disposed before the connection is acknowledged and the socket closes before the subscription releases its connection lock (for example, when the client is disposed while connecting and the WebSocket implementation delivers the close event on a microtask).

Source: README.md, updated 2026-10-13