Skip to content

Bump effect from 3.22.1 to 4.0.4 - #243

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/effect-4.0.0
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/bun/effect-4.0.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 7, 2026 •

Copy link
Copy Markdown

Bumps effect from 3.22.1 to 4.0.4.

Release notes

Sourced from effect's releases.

effect@4.0.4

Patch Changes

  • #9030 7547a99 Thanks @​effect-bot! - Bound sparse array indices in SchemaGetter.makeTreeRecord, used by Schema.fromURLSearchParams and Schema.fromFormData. An indexed container with more than 20 holes is now returned as an object keyed by its index strings instead of a sparse array, and appending after the maximum array index no longer throws.

  • #9083 711719d Thanks @​effect-bot! - Bound import-time stack detection probes to the frames they inspect, restoring the caller's stack trace limit afterward.

  • #9041 8f1ea52 Thanks @​tim-smart! - Stop grouped RequestResolvers from retaining batch keys for the lifetime of the resolver. Equal keys are now matched by the pending batch map, so a key is dropped as soon as its batch stops pending, including after interruption.

  • #9010 c93485e Thanks @​effect-bot! - Support an explicit client servername for TLS socket upgrades without changing hostname behavior when omitted.

  • #8990 37e088f Thanks @​bastiankistner! - Use decoded response aliases in generated HTTP clients. Render bare numbers with a standard leading finite check as Schema.Finite, preserving annotations and other checks.

  • #8998 9314666 Thanks @​gchen0002! - Optimize Context.pick for zero or one service.

  • #9048 a0a26b7 Thanks @​jayhemnani9910! - Fix zoned DateTime.add and DateTime.subtract to apply hours, minutes, seconds and milliseconds as elapsed time across DST transitions.

  • #9008 cc843ea Thanks @​effect-bot! - Add toolCallValidation: "deferred" for callers using disableToolCallResolution: true. Model-generated tool calls return with unknown parameters, including invalid parameters and undeclared tool names, even without a toolkit. Supported by the Anthropic, OpenAI, and OpenAI-compatible providers. Strict validation remains the default; provider-executed calls remain validated.

  • #8979 ab90be9 Thanks @​tim-smart! - Add experimental effect/graphql with typed operations, middleware, HTTP and subscription transports, partial results, serializable errors and cursor pagination.

  • #9052 a59b971 Thanks @​Tarekkharsa! - Fix HttpClient.withRateLimiter reading a Retry-After HTTP date as a number of seconds.

  • #9031 fccf660 Thanks @​effect-bot! - Add McpServer.layerHttpRequestScoped for serverless hosts such as Cloudflare Workers. Each POST is served by an MCP server owned by that request, so no fiber or timer outlives the request. The new layer accepts only sessionless protocol adapters such as v2026_07_28, with no subscription or session termination options. McpServer.layerHttp retains its long-lived server behavior.

  • #9081 1bfd8fd Thanks @​hsyntax! - Tighten colliding bounds in place when exporting JSON Schema, instead of moving them into allOf. This applies to numeric, length, item-count and property-count bounds, and an inclusive or exclusive bound implied by the other on the same side is dropped. For example, Schema.Natural now exports minimum: 0, and Schema.Int.check(Schema.isGreaterThan(0)) exports exclusiveMinimum: 0 without the safe-integer minimum.

  • #9013 78e4c43 Thanks @​jayhemnani9910! - Fix Multipart.toPersisted failing for uploads named . or .. and for long multi-byte file names.

  • #8991 fde67a1 Thanks @​fubhy! - Add NetAddress.loopbackAddresses.

  • #8992 118deef Thanks @​fubhy! - Add Host.toFullyQualified, Host.toRelative, and Host.parseHostsFile.

  • #9046 cea74c9 Thanks @​effect-bot! - Persist outgoing cluster messages while the locally assigned shard is waiting for its lock.

  • #9056 b7c1ac6 Thanks @​tim-smart! - Prompt.fromResponseParts now keeps streamed text and reasoning in stream order, and keeps partial text from unended text blocks.

  • #8997 f837966 Thanks @​effect-bot! - Release the durable waits of losing DurableDeferred.raceAll branches once the race settles, so a late completion such as a losing DurableClock.sleep no longer preempts and replays the continuing workflow

  • #9053 09738f4 Thanks @​Tarekkharsa! - Honor Retry-After in HttpClient.retryTransient.

  • #9019 22e7129 Thanks @​effect-bot! - Allow configuring Scalar's preferred authentication security scheme through HttpApiScalar without a TypeScript cast.

  • #9069 fdcb47e Thanks @​effect-bot! - Fix cluster Sharding startup accessing storage-loop state before initialization, preventing a scheduler-dependent ReferenceError and delayed initial storage reads.

  • #9049 fc349a1 Thanks @​jayhemnani9910! - Fix Sink.takeUntil and Sink.takeUntilEffect dropping the element after a match. They now stop at the match and return the remaining input as leftovers.

  • #8979 ab90be9 Thanks @​tim-smart! - Add dispatchEmptyNamedEvents to Sse decode options. It also dispatches an event that sets an event: name but has no data: line, which protocols such as graphql-sse use for complete.

  • #9065 892d14d Thanks @​Abdullah1738! - Fix quadratic parsing time in Sse.makeParser and Sse.decode for long lines split across many chunks.

... (truncated)

Changelog

Sourced from effect's changelog.

4.0.4

Patch Changes

  • #9030 7547a99 Thanks @​effect-bot! - Bound sparse array indices in SchemaGetter.makeTreeRecord, used by Schema.fromURLSearchParams and Schema.fromFormData. An indexed container with more than 20 holes is now returned as an object keyed by its index strings instead of a sparse array, and appending after the maximum array index no longer throws.

  • #9083 711719d Thanks @​effect-bot! - Bound import-time stack detection probes to the frames they inspect, restoring the caller's stack trace limit afterward.

  • #9041 8f1ea52 Thanks @​tim-smart! - Stop grouped RequestResolvers from retaining batch keys for the lifetime of the resolver. Equal keys are now matched by the pending batch map, so a key is dropped as soon as its batch stops pending, including after interruption.

  • #9010 c93485e Thanks @​effect-bot! - Support an explicit client servername for TLS socket upgrades without changing hostname behavior when omitted.

  • #8990 37e088f Thanks @​bastiankistner! - Use decoded response aliases in generated HTTP clients. Render bare numbers with a standard leading finite check as Schema.Finite, preserving annotations and other checks.

  • #8998 9314666 Thanks @​gchen0002! - Optimize Context.pick for zero or one service.

  • #9048 a0a26b7 Thanks @​jayhemnani9910! - Fix zoned DateTime.add and DateTime.subtract to apply hours, minutes, seconds and milliseconds as elapsed time across DST transitions.

  • #9008 cc843ea Thanks @​effect-bot! - Add toolCallValidation: "deferred" for callers using disableToolCallResolution: true. Model-generated tool calls return with unknown parameters, including invalid parameters and undeclared tool names, even without a toolkit. Supported by the Anthropic, OpenAI, and OpenAI-compatible providers. Strict validation remains the default; provider-executed calls remain validated.

  • #8979 ab90be9 Thanks @​tim-smart! - Add experimental effect/graphql with typed operations, middleware, HTTP and subscription transports, partial results, serializable errors and cursor pagination.

  • #9052 a59b971 Thanks @​Tarekkharsa! - Fix HttpClient.withRateLimiter reading a Retry-After HTTP date as a number of seconds.

  • #9031 fccf660 Thanks @​effect-bot! - Add McpServer.layerHttpRequestScoped for serverless hosts such as Cloudflare Workers. Each POST is served by an MCP server owned by that request, so no fiber or timer outlives the request. The new layer accepts only sessionless protocol adapters such as v2026_07_28, with no subscription or session termination options. McpServer.layerHttp retains its long-lived server behavior.

  • #9081 1bfd8fd Thanks @​hsyntax! - Tighten colliding bounds in place when exporting JSON Schema, instead of moving them into allOf. This applies to numeric, length, item-count and property-count bounds, and an inclusive or exclusive bound implied by the other on the same side is dropped. For example, Schema.Natural now exports minimum: 0, and Schema.Int.check(Schema.isGreaterThan(0)) exports exclusiveMinimum: 0 without the safe-integer minimum.

  • #9013 78e4c43 Thanks @​jayhemnani9910! - Fix Multipart.toPersisted failing for uploads named . or .. and for long multi-byte file names.

  • #8991 fde67a1 Thanks @​fubhy! - Add NetAddress.loopbackAddresses.

  • #8992 118deef Thanks @​fubhy! - Add Host.toFullyQualified, Host.toRelative, and Host.parseHostsFile.

  • #9046 cea74c9 Thanks @​effect-bot! - Persist outgoing cluster messages while the locally assigned shard is waiting for its lock.

  • #9056 b7c1ac6 Thanks @​tim-smart! - Prompt.fromResponseParts now keeps streamed text and reasoning in stream order, and keeps partial text from unended text blocks.

  • #8997 f837966 Thanks @​effect-bot! - Release the durable waits of losing DurableDeferred.raceAll branches once the race settles, so a late completion such as a losing DurableClock.sleep no longer preempts and replays the continuing workflow

  • #9053 09738f4 Thanks @​Tarekkharsa! - Honor Retry-After in HttpClient.retryTransient.

  • #9019 22e7129 Thanks @​effect-bot! - Allow configuring Scalar's preferred authentication security scheme through HttpApiScalar without a TypeScript cast.

  • #9069 fdcb47e Thanks @​effect-bot! - Fix cluster Sharding startup accessing storage-loop state before initialization, preventing a scheduler-dependent ReferenceError and delayed initial storage reads.

  • #9049 fc349a1 Thanks @​jayhemnani9910! - Fix Sink.takeUntil and Sink.takeUntilEffect dropping the element after a match. They now stop at the match and return the remaining input as leftovers.

  • #8979 ab90be9 Thanks @​tim-smart! - Add dispatchEmptyNamedEvents to Sse decode options. It also dispatches an event that sets an event: name but has no data: line, which protocols such as graphql-sse use for complete.

... (truncated)

Commits
  • e17ecdb Version Packages (#8993)
  • ab90be9 feat: GraphQL client and generator (#8979)
  • 1bfd8fd fix(Schema): merge colliding bounds in JSON Schema export instead of emitting...
  • 711719d Bound import-time stack detection probes (#9083)
  • e875169 Revert "Expand Crypto with hashing, encryption, signing, and key management" ...
  • 09738f4 Honor Retry-After in HttpClient.retryTransient (#9053)
  • 797696a Merge outer headers into a raw Response with immutable headers in HttpServerR...
  • 892d14d perf(Sse): stop re-copying long lines split across chunks (#9065)
  • fdcb47e Fix Sharding storage-loop initialization order (#9069)
  • 077c557 Preserve HTTP server spans during runtime shutdown (#9066)
  • Additional commits viewable in compare view

@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Oct 7, 2026
@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
wordcell Ready Ready Preview Oct 16, 2026 2:44pm UTC

Request Review

Bumps [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect) from 3.22.1 to 4.0.4.
- [Release notes](https://github.com/Effect-TS/effect/releases)
- [Changelog](https://github.com/Effect-TS/effect/blob/main/packages/effect/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/effect/commits/effect@4.0.4/packages/effect)

---
updated-dependencies:
- dependency-name: effect
  dependency-version: 4.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot changed the title Bump effect from 3.22.1 to 4.0.0 Bump effect from 3.22.1 to 4.0.4 Oct 16, 2026
@dependabot
dependabot Bot force-pushed the dependabot/bun/effect-4.0.0 branch from 40ec7bc to 3298694 Compare October 16, 2026 14:43

This branch was successfully deployed

1 active deployment
Preview — 32986943 Deployed Oct 16, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants