What Effect-TS/effect shipped
Written by FoxPlug from public releases; not affiliated with Effect. An automatic summary of the public release, pull request and commit data of github.com/Effect-TS/effect. Effect did not write it and does not use or endorse FoxPlug. Every line links to the public change it describes.
Get a weekly update like this for your product, free
Week of September 21, 2026
What shipped
- Fixed PubSub and Stream.broadcast with infinite capacity that previously threw RangeError instead of working unbounded. Pull request #8540
- Fixed Queue.takeN and Queue.takeBetween hanging after queue termination when buffered data was smaller than the minimum requested. Pull request #8569
- Fixed SQL PostgreSQL transactions to properly fail when PostgreSQL rolls back at COMMIT instead of silently succeeding. Pull request #8558
- Fixed SQLite transactions left open after failed commits due to deferred foreign-key constraint violations. Pull request #8529
- Fixed HttpRouter to own its own router instance so multiple servers no longer interfere with each other's routes. Pull request #8477
- Fixed PostgreSQL shard lease lock deadlocks by ensuring consistent row-lock ordering during acquisition and refresh. Pull request #8502
- Fixed HttpApi ParseOptions breaking endpoints with declared headers by allowing per-slot annotations with fallback. Pull request #8572
- Added Schedule.once for immediate recurrence with void output. Pull request #8519
- Fixed OpenAPI to preserve text literals and string patterns in asText body schemas instead of emitting generic strings. Pull request #8551
- Fixed JSON Schema export of built-in checks to emit constraints matching their Effect check semantics. Pull request #8482
Why it matters
This week addresses multiple correctness issues across streams, queues, SQL transactions, HTTP routing, and distributed systems. The fixes ensure data reliability, prevent resource leaks, and correct behavioral contracts in critical infrastructure code. Several API generation improvements also ensure documentation matches implementation.
Changelog entry
- PubSub and Stream.broadcast now accept Infinity capacity as unbounded instead of throwing RangeError Pull request #8540
- HttpApi.ParseOptions annotations can now be set per-slot with fallback behavior for headers and responses Pull request #8572
- Queue.takeN and Queue.takeBetween no longer hang after queue termination with buffered remainder smaller than minimum Pull request #8569
- PostgreSQL transactions now properly fail when database rolls back at COMMIT instead of silently succeeding Pull request #8558
- Atom.fn writes during AtomRegistry.batch commit are no longer dropped by batch rebuild listeners Pull request #8556
- RPC servers continue answering requests after malformed client lines instead of becoming unresponsive Pull request #8541
- Sharding runners with MessageStorage.layerNoop no longer leak request IDs in memory after entities hibernate Pull request #8542
- Queue offer cancellations after entering Closing state are now properly withdrawn Pull request #8568
- PostgreSQL pool sessions are retired before fatal-error notification to prevent reuse of dead connections Pull request #8570
- Unencrypted event-log sessions now require identity policy authorization before binding Pull request #8534
- FindMyWay route params are now built without new Function to work with CSP restrictions Pull request #8535
- OpenAPI emits text body schemas with literals and patterns preserved instead of generic strings Pull request #8551
- Schema construction performance improved by lazy initialization and shared rebuild implementation Pull request #8536
- OpenAPI correctly marks Schema parameters with decoding defaults as optional when appropriate Pull request #8545
- Effect.repeat now preserves result types with bounded options like times or schedule Pull request #8533
- SQLite transactions are properly cleaned up after failed commits due to deferred constraints Pull request #8529
- SQLite file URIs on Linux now work correctly with SQLITE_OPEN_URI flag handling Pull request #8532
- ManagedRuntime disposal now closes runtime fibers before releasing layer resources Pull request #8528
- JSON Schema export of built-in checks now matches Effect check semantics including UTF-16 lengths Pull request #8482
- OtlpExporter now reads response bodies to prevent FinalizationRegistry leaks Pull request #8522
Effect shipped fixes for infinite capacity streams, queued batches, SQL transactions, HTTP routing, and PostgreSQL deadlocks. Plus OpenAPI schema accuracy improvements and Schedule.once.
Effect's latest release addresses critical correctness issues: PubSub now handles infinite capacity properly, queue termination hangs are fixed, SQL transactions fail correctly when rolled back, and HTTP routing no longer interferes between servers. PostgreSQL deadlocks from shard locks are resolved, and OpenAPI schema generation is more accurate. These fixes span data structures, SQL, HTTP, and distributed systems—core reliability concerns for production applications.
Week of September 14, 2026
What shipped
- Effect 4.0.0-rc.117 released with fixes for local entity registration waits that now fail promptly instead of waiting indefinitely. Release
- Schema interpreter performance improved with experimental JIT and AOT compilers added behind SchemaParser APIs. Pull request #7908
- Effect and Stream module APIs aligned with Stream type signature fixes for runIntoPubSub, cross, and other operations. Pull request #8256
- PostgreSQL connections now retire sessions whose CancelRequest may be in flight to prevent cancel requests hitting subsequent statements. Pull request #8330
- SQL prepared statement name collisions fixed by adding a 64-bit cryptographically random namespace to each prepared statement cache. Pull request #8327
- HTTP QUERY method support added to clients, routers, HttpApi endpoints, and AI request metadata with configurable CORS. Pull request #8261
- DecisionModel and Decision added to effect/unstable/ai for structured decisions over a single input with classify, rate, and probability operations. Pull request #8287
- YAML parsing fixed for indentless block sequences and multiline scalars with proper whitespace and comment handling. Pull request #8270
- Closing fiber interruption now preserved in finalizers to prevent masked interrupted acquirers from failing uninterrupted scope closure. Pull request #8271
- HttpApi.ParseOptions exposed for schema decoding and encoding at API, group, and endpoint levels with cascading precedence. Pull request #8269
Why it matters
This week brings significant performance improvements to Schema handling through experimental compilation, critical fixes to distributed entity registration and database statement management, and expansion of HTTP protocol support with QUERY method and new AI decision modeling capabilities. Stream and Effect API alignment resolves longstanding type inconsistencies affecting users working with both modules.
Changelog entry
- Bound local sends that wait for an unregistered cluster entity type now fail with Entity type not registered defect at the registration deadline instead of waiting indefinitely. Release
- PgConnection.query and PgConnection.stream now retire sessions whose CancelRequest may be in flight to prevent delayed cancellations hitting subsequent statements. Pull request #8330
- SQL prepared statement caches now use a 64-bit cryptographically random namespace per connection to prevent name collisions across cross-connection usage. Pull request #8327
- Schema interpreter performance improved with experimental JIT and AOT compilers available through existing SchemaParser APIs alongside interpreted decoders. Pull request #7908
- HttpApi.ParseOptions exposed for schema decoding and encoding configuration at API, group, and endpoint levels with cascading precedence. Pull request #8269
- YAML parser fixed for indentless block sequences and multiline scalars with proper handling of paragraph folding, escaped line breaks, and comment boundaries. Pull request #8270
- HTTP QUERY method support added to clients, routers, and HttpApi endpoints with configurable CORS and OpenAPI 3.1 output. Pull request #8261
- Stream.runIntoPubSub, Stream.cross, and other operations fixed to match Effect API signatures with corrected type parameters. Pull request #8256
effect@4.0.0-rc.117: Schema JIT/AOT compilers, Entity registration timeouts, PostgreSQL CancelRequest fixes, SQL statement collisions resolved, HTTP QUERY support, and Stream/Effect API alignment.
effect@4.0.0-rc.117 shipped this week with performance gains across Schema processing through experimental JIT and AOT compilation, critical reliability fixes for distributed entity registration and PostgreSQL connection handling, SQL prepared statement collision prevention, HTTP QUERY method support, and comprehensive alignment of Effect and Stream module APIs with type signature corrections.