@effect/platform-node breaking changes
Updated December 4, 2026
On this page
Latest version 4.2.0, released December 2, 2026. Source repository
Its 4.1.0 release requires Node.js 22.19.0 or later. Node.js end of life dates.
@effect/platform-node 4.1.5 breaking changes
- Signature changed
NodeHttpServer.makeUpgradeHandler
Was const makeUpgradeHandler: <R, E, App extends Effect.Effect<HttpServerResponse, any, any> = Effect.Effect<HttpServerResponse, E, R>>(lazyWss: Effect.Effect<NodeWS.WebSocketServer>, httpEffect: Effect.Effect<HttpServerResponse, E, R>... npmjs.com - Signature changed
NodeHttpServer.Options.websocket
Was readonly websocket?: Omit<NodeWS.ServerOptions, "noServer" | "server" | "host" | "port" | "path"> | undefined; now readonly websocket?: (Omit<NodeWS.ServerOptions, "noServer" | "server" | "host" | "port" | "path"> & {readonly... npmjs.com
@effect/platform-node 4.1.3 breaking changes
- Behavior changed
NodeHttpServer
Shutdown closes WebSockets with code 1001 as soon as it starts and destroys still-open upgraded connections after gracefulShutdownTimeout instead of waiting for the closing handshake. github.com
@effect/platform-node 4.1.1 breaking changes
- Behavior changed
NodeRedis
When the scope closes, the shared NodeRedis client is destroyed right away, failing in-flight commands and aborting pending connection attempts. Code that relied on those operations completing or waiting before scope close must be adjusted. github.com - Configuration changed
The redis peer dependency minimum is now 5.1.0, so projects using redis 5.0.x must upgrade redis to keep using this package. github.com
@effect/platform-node 4.1.0 breaking changes
- Removed
BunSocket.NodeWS
Import NodeWS from @effect/platform-node or @effect/platform-node-shared; on Bun, import ws directly. github.com - Removed
NodeCrypto.layer
NodeCrypto.layer was removed in @effect/platform-node 4.1.0 npmjs.com - Removed
NodeSocket.layerWebSocketConstructorWS
Use NodeWS.layerWebSocketConstructor instead. npmjs.com - Removed
NodeSocket.NodeWS
Import NodeWS from @effect/platform-node and use NodeWS.WebSocket in place of NodeSocket.NodeWS.default. github.com - Behavior changed
NodeSocket.WebSocket clients
Clients with handshake headers now use the global WebSocket; reads cannot be paused, errors are generic, and ws-only methods no longer apply. github.com - Configuration changed
Node.js 22.19.0 is now the minimum for the package, up from 18. github.com - Signature changed
NodeServices.NodeServices
Was type NodeServices = ChildProcessSpawner | Crypto | FileSystem | Path | Stdio | Terminal; now type NodeServices = ChildProcessSpawner | FileSystem | Path | Stdio | Terminal. npmjs.com
@effect/platform-node 4.0.7 breaking changes
- Signature changed
HttpApiSchema.Upgrade
Handlers of HttpApiSchema.Upgrade endpoints receive an upgrade function instead of socket: call upgrade(), or upgrade({ headers }) when headers are declared. github.com - Signature changed
HttpServerRequest
HttpServerRequest gains upgradeWith({ headers }), and upgrade is upgradeWith({}). Third-party HttpServerRequest implementations must add it. github.com - Signature changed
NodeRedis.layer
Was const layer: (options?: NodeRedisClientOptions | undefined) => Layer.Layer<Redis.Redis | NodeRedis, Redis.RedisError>; now const layer: (options?: NodeRedisOptions | undefined) => Layer.Layer<Redis.Redis | NodeRedis, Redis.RedisError>. npmjs.com - Signature changed
NodeRedis.layerConfig
Was const layerConfig: (options: Config.Wrap<NodeRedisClientOptions>) => Layer.Layer<Redis.Redis | NodeRedis, Redis.RedisError | Config.ConfigError>; now const layerConfig: (options: Config.Wrap<NodeRedisOptions>) =>... npmjs.com - Signature changed
Redis.make
Redis.make now requires a connect option, and hand-written Redis services need a reserve member. github.com
@effect/platform-node 4.0.6 breaking changes
- Behavior changed
Buffered or decompressed request bodies over their size limit now get a 413 response instead of 400. Other parse failures still return 400. github.com - Behavior changed
HttpServerRequest.toURL
HttpServerRequest.toURL now uses request.protocol, set by the trusted proxy middleware, before the transport scheme. Code relying on the raw x-forwarded-proto header must change. github.com - Behavior changed
NodeHttpServer
When a handler returns a status outside 200-599, the server now responds with 500. Previously 1xx statuses left no final response and statuses above 599 were sent as is. github.com - Behavior changed
originalUrl
Node server requests now set originalUrl to an absolute URL when a Host header exists. Read the path from url instead of originalUrl. github.com - Signature changed
HttpClientResponse
Custom HttpClientResponse implementations must now provide an upgrade member. Existing custom implementations will not compile until they add it. github.com - Signature changed
HttpMiddleware.xForwardedHeaders
HttpMiddleware.xForwardedHeaders now takes { trustedProxies } and only applies X-Forwarded-* headers from trusted peers. Callers must pass a trusted proxy list. github.com - Signature changed
NodeHttpServer.layer
Was const layer: (evaluate: LazyArg<Http.Server>, options: Options) => Layer.Layer<HttpServer.HttpServer | NodeServices.NodeServices | HttpPlatform.HttpPlatform | Etag.Generator, ServeError>; now const layer: (evaluate: LazyArg<Http.Server... npmjs.com - Signature changed
NodeHttpServer.layerConfig
Was const layerConfig: (evaluate: LazyArg<Http.Server>, options: Config.Wrap<Options>) => Layer.Layer<HttpServer.HttpServer | NodeServices.NodeServices | HttpPlatform.HttpPlatform | Etag.Generator, ServeError | Config.ConfigError>; now... npmjs.com - Signature changed
NodeHttpServer.layerServer
Was const layerServer: (evaluate: LazyArg<Http.Server<typeof Http.IncomingMessage, typeof Http.ServerResponse>>, options: Options) => Layer.Layer<HttpServer.HttpServer, ServeError>; now const layerServer: (evaluate: LazyArg<Http.Server |... npmjs.com - Signature changed
NodeHttpServer.make
Was const make: (evaluate: LazyArg<Http.Server<typeof Http.IncomingMessage, typeof Http.ServerResponse>>, options: Options) => Effect.Effect<{readonly serve: {<E, R>(effect: Effect.Effect<HttpServerResponse, E, R>): Effect.Effect<void... npmjs.com
And 3 more in this version. Sign up to see every change
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
@effect/platform-node 4.0.5 breaking changes
- Behavior changed
Sensitive query values and URL credentials are now redacted in HTTP spans, request inspection and error messages. Request URLs sent over the wire are unchanged. github.com - Behavior changed
UrlParams.CurrentRedactedNames
Redaction of sensitive query values and URL credentials now applies to HTTP spans, request inspection and error messages. Headers.CurrentRedactedNames no longer holds AWSAccessKeyId, Signature, sig and X-Goog-Signature; a custom list... github.com
And 2 more in this version.
@effect/platform-node 4.0.3 breaking changes
- Behavior changed
Terminal.make
Pressing Esc now ends terminal key input and cancels CLI prompts with Terminal.QuitError. To keep Esc non-cancelling, pass a shouldQuit predicate to make. github.com - Signature changed
NodeSocket.layerWebSocket
Was const layerWebSocket: (url: string | Effect.Effect<string>, options?: {readonly openTimeout?: Duration.Input | undefined; readonly protocols?: string | Array<string> | undefined; readonly highWaterMark?: number | undefined;} |... npmjs.com
@effect/platform-node 4.0.2 breaking changes
- Behavior changed
HttpMiddleware.logger
Successful WebSocket upgrades are now reported to server middleware with the 101 status instead of the handler's discarded response status. Code that reads the status in logging middleware may see different values. github.com - Behavior changed
HttpMiddleware.tracer
Successful WebSocket upgrades are now reported to server middleware with the 101 status instead of the handler's discarded response status. Code that reads the status in tracing middleware may see different values. github.com
And 1 more in this version.
@effect/platform-node 4.0.0 breaking changes
- Removed
@effect.platform
Packages such as @effect/platform, @effect/rpc and @effect/cluster are merged into effect. Import their APIs from effect and use matching v4 versions of all packages. github.com - Removed
index:NodeClusterHttp.layer
NodeClusterHttp.layer was removed in @effect/platform-node 4.0.0 npmjs.com
And 136 more in this version.
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.