Skip to content

chore(deps): bump effect from 3.21.0 to 4.0.1 - #1931

Open
dependabot[bot] wants to merge 1 commit into
nextfrom
dependabot/npm_and_yarn/next/effect-4.0.1
Open

dependabot[bot] wants to merge 1 commit into
nextfrom
dependabot/npm_and_yarn/next/effect-4.0.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 8, 2026

Copy link
Copy Markdown
Contributor

Bumps effect from 3.21.0 to 4.0.1.

Release notes

Sourced from effect's releases.

effect@4.0.1

Patch Changes

  • #8603 ed2cc2f Thanks @​danieljvdm! - Preserve all Anthropic system instructions and support configurable mid-conversation system messages. Add optional LanguageModel.supportsSystemMessagesInHistory to query support with scoped overrides.

  • #8680 58a2ee8 Thanks @​danieljvdm! - Cache per-tool response schemas and parameter-mode copies to reduce schema construction in LanguageModel.generateText and LanguageModel.streamText. The schema cache also applies to direct calls to Response.Part, Response.StreamPart and Response.AllParts.

  • #8719 bc44526 Thanks @​tim-smart! - Treat interruption as abandonment in Effect.cached, Effect.cachedWithTTL, Effect.cachedInvalidateWithTTL, Cache, ScopedCache, RcRef, RcMap and the cluster ResourceMap. Concurrent callers share one computation that is interrupted only after every caller has been interrupted, interrupted results are never cached, and a call made while an abandoned computation is still finalizing starts a fresh one.

  • #8734 073bb47 Thanks @​pawelblaszczyk5! - Adjust Effect.cachedInvalidateWithTTL types to accept callbacks that select a TTL from the computation's Exit, including piped calls.

  • #8659 2ec021e Thanks @​samueleguino97! - Prevent entity registration when shard ownership is lost during construction. Pending requests retry on the new owner.

  • #8662 cad1118 Thanks @​tim-smart! - Avoid replaying suspended cluster workflows for unawaited deferred checkpoints while preserving interrupt wakes.

  • #8637 1672d9c Thanks @​tim-smart! - Fix cluster defect recovery to replay unfinished requests without duplicating requests awaiting their first dispatch. Stop replay and interrupt waiting requests on shutdown, and prevent superseded rebuilds from publishing stale handlers or SQL lock connections.

  • #8741 a81e4e6 Thanks @​tim-smart! - Prevent PostgreSQL deadlocks between cluster message claims and shard or address resets by locking reset rows in message order.

  • #8707 f5c2a91 Thanks @​tim-smart! - Fix zoned DateTime conversion on runtimes that omit Intl fractional seconds, preserving milliseconds for pre-epoch timestamps.

  • #8629 498e72b Thanks @​tim-smart! - Preserve a fiber's AsyncLocalStorage context when another fiber wakes or interrupts it. Run Effect.tryPromise error handlers in the resumed fiber's context.

  • #8675 cabf123 Thanks @​IMax153! - Fix HashRing.getShards returning different shard assignments for the same nodes and weights after different add/remove histories. Sum weights in node-key order and break hash ties by node key. Assignments may change for fractional weights or hash ties.

  • #8706 a5b1d4e Thanks @​tim-smart! - Prevent HttpApiSchemaError from being reported as a server failure for invalid requests.

  • #8737 878cb33 Thanks @​tim-smart! - Log client-abort-only HTTP request causes as "Sent HTTP response" rather than an interrupt error, while preserving response status annotations and logging other causes.

  • #8685 5e6f756 Thanks @​tim-smart! - Fix HttpTraceContext decoding of B3 debug and legacy sampling values, and reject all-zero W3C trace and parent IDs.

  • #8652 18dfb98 Thanks @​mikearnaldi! - Preserve pending interruptions when an uninterruptible effect fails. Drop typed failures when interruption skips recovery handlers, but keep defects.

  • #8657 04706ef Thanks @​schickling-assistant! - Fix JSON Schema pattern importing for valid expressions whose RegExp source is canonicalized, including slashes, empty patterns, and literal line terminators.

  • #8723 f157482 Thanks @​serhii-indyrct! - Fix encoding optional MCP fields whose schemas decode to classes, such as Implementation.icons.

  • #8644 b5a2d4c Thanks @​sbking! - Prevent shard lock refreshes from releasing shards acquired while the refresh is in flight.

  • #8660 1c18c68 Thanks @​tim-smart! - Prevent singleton shard reassignment from durably cancelling outstanding RPC requests.

  • #8705 43416c4 Thanks @​tim-smart! - Honor If-Range in HttpStaticServer, returning the full file when the entity-tag is stale or weak instead of serving a partial response. Reject date validators because filesystem metadata cannot establish their strength.

  • #8704 d6ac8f9 Thanks @​tim-smart! - Fix Stream.scan to emit its initial state for empty streams.

  • #8698 1d9fb8c Thanks @​bishil06! - Fix accumulated rate drift in Stream.throttle with the "shape" strategy by retaining token debt after early wake-ups. Use monotonic time so wall clock changes do not affect throttling.

  • #8664 20dcd50 Thanks @​lloydrichards! - Preserve server and client extension capabilities in stateful MCP protocols.

  • #8653 42e5750 Thanks @​lloydrichards! - Keep idle MCP HTTP subscriptions open on Cloudflare Workers with SSE keepalives.

... (truncated)

Changelog

Sourced from effect's changelog.

4.0.1

Patch Changes

  • #8603 ed2cc2f Thanks @​danieljvdm! - Preserve all Anthropic system instructions and support configurable mid-conversation system messages. Add optional LanguageModel.supportsSystemMessagesInHistory to query support with scoped overrides.

  • #8680 58a2ee8 Thanks @​danieljvdm! - Cache per-tool response schemas and parameter-mode copies to reduce schema construction in LanguageModel.generateText and LanguageModel.streamText. The schema cache also applies to direct calls to Response.Part, Response.StreamPart and Response.AllParts.

  • #8719 bc44526 Thanks @​tim-smart! - Treat interruption as abandonment in Effect.cached, Effect.cachedWithTTL, Effect.cachedInvalidateWithTTL, Cache, ScopedCache, RcRef, RcMap and the cluster ResourceMap. Concurrent callers share one computation that is interrupted only after every caller has been interrupted, interrupted results are never cached, and a call made while an abandoned computation is still finalizing starts a fresh one.

  • #8734 073bb47 Thanks @​pawelblaszczyk5! - Adjust Effect.cachedInvalidateWithTTL types to accept callbacks that select a TTL from the computation's Exit, including piped calls.

  • #8659 2ec021e Thanks @​samueleguino97! - Prevent entity registration when shard ownership is lost during construction. Pending requests retry on the new owner.

  • #8662 cad1118 Thanks @​tim-smart! - Avoid replaying suspended cluster workflows for unawaited deferred checkpoints while preserving interrupt wakes.

  • #8637 1672d9c Thanks @​tim-smart! - Fix cluster defect recovery to replay unfinished requests without duplicating requests awaiting their first dispatch. Stop replay and interrupt waiting requests on shutdown, and prevent superseded rebuilds from publishing stale handlers or SQL lock connections.

  • #8741 a81e4e6 Thanks @​tim-smart! - Prevent PostgreSQL deadlocks between cluster message claims and shard or address resets by locking reset rows in message order.

  • #8707 f5c2a91 Thanks @​tim-smart! - Fix zoned DateTime conversion on runtimes that omit Intl fractional seconds, preserving milliseconds for pre-epoch timestamps.

  • #8629 498e72b Thanks @​tim-smart! - Preserve a fiber's AsyncLocalStorage context when another fiber wakes or interrupts it. Run Effect.tryPromise error handlers in the resumed fiber's context.

  • #8675 cabf123 Thanks @​IMax153! - Fix HashRing.getShards returning different shard assignments for the same nodes and weights after different add/remove histories. Sum weights in node-key order and break hash ties by node key. Assignments may change for fractional weights or hash ties.

  • #8706 a5b1d4e Thanks @​tim-smart! - Prevent HttpApiSchemaError from being reported as a server failure for invalid requests.

  • #8737 878cb33 Thanks @​tim-smart! - Log client-abort-only HTTP request causes as "Sent HTTP response" rather than an interrupt error, while preserving response status annotations and logging other causes.

  • #8685 5e6f756 Thanks @​tim-smart! - Fix HttpTraceContext decoding of B3 debug and legacy sampling values, and reject all-zero W3C trace and parent IDs.

  • #8652 18dfb98 Thanks @​mikearnaldi! - Preserve pending interruptions when an uninterruptible effect fails. Drop typed failures when interruption skips recovery handlers, but keep defects.

  • #8657 04706ef Thanks @​schickling-assistant! - Fix JSON Schema pattern importing for valid expressions whose RegExp source is canonicalized, including slashes, empty patterns, and literal line terminators.

  • #8723 f157482 Thanks @​serhii-indyrct! - Fix encoding optional MCP fields whose schemas decode to classes, such as Implementation.icons.

  • #8644 b5a2d4c Thanks @​sbking! - Prevent shard lock refreshes from releasing shards acquired while the refresh is in flight.

  • #8660 1c18c68 Thanks @​tim-smart! - Prevent singleton shard reassignment from durably cancelling outstanding RPC requests.

  • #8705 43416c4 Thanks @​tim-smart! - Honor If-Range in HttpStaticServer, returning the full file when the entity-tag is stale or weak instead of serving a partial response. Reject date validators because filesystem metadata cannot establish their strength.

  • #8704 d6ac8f9 Thanks @​tim-smart! - Fix Stream.scan to emit its initial state for empty streams.

  • #8698 1d9fb8c Thanks @​bishil06! - Fix accumulated rate drift in Stream.throttle with the "shape" strategy by retaining token debt after early wake-ups. Use monotonic time so wall clock changes do not affect throttling.

  • #8664 20dcd50 Thanks @​lloydrichards! - Preserve server and client extension capabilities in stateful MCP protocols.

... (truncated)

Commits
  • 460272d Version Packages (#8647)
  • f157482 fix(ai): encode McpSchema.optional fields whose schema decodes to a class (#8...
  • 43fdcdc Fix RPC stdio response draining after stdin EOF (#8714)
  • 878cb33 Fix HTTP logger output for client aborts (#8737)
  • a81e4e6 Fix PostgreSQL lock ordering for cluster message resets (#8741)
  • 073bb47 Support TTL callbacks in Effect.cachedInvalidateWithTTL (#8734)
  • bc44526 fix(effect): treat interruption as abandonment in Effect.cached* and Cache (#...
  • e1a521a fix(Stream): do not step aggregateWithin schedules while idle (#8718)
  • ed2cc2f fix(ai-anthropic): support mid-conversation system messages (#8603)
  • 43416c4 Fix HttpStaticServer If-Range validation (#8705)
  • Additional commits viewable in compare view

Most Recent Ignore Conditions Applied to This Pull Request
Dependency Name Ignore Conditions
effect [>= 3.19.a, < 3.20]

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect) from 3.21.0 to 4.0.1.
- [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.1/packages/effect)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from a team as a code owner October 8, 2026 21:04
@dependabot dependabot Bot added affects:dependencies PRs: Updates a dependency file priority:p2 Issues and PRs: Medium priority status:confirmed Issues and PRs: Confirmed bug, or enhancement is confirmed to be added status:tested PRs: Tested and working with no issues type:enhancement PRs: Related to adding or improving something labels Oct 8, 2026
@coderabbitai

coderabbitai Bot commented Oct 8, 2026

Copy link
Copy Markdown

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration
  • Configuration used: Repository: ZPTXDev/Quaver/.coderabbit.yaml
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 663de009-4daa-47da-b2a8-bbf50f2b3f51

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
  • Autopilot · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@zptx-bot
zptx-bot enabled auto-merge (squash) October 8, 2026 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

affects:dependencies PRs: Updates a dependency file priority:p2 Issues and PRs: Medium priority status:confirmed Issues and PRs: Confirmed bug, or enhancement is confirmed to be added status:tested PRs: Tested and working with no issues type:enhancement PRs: Related to adding or improving something

Development

Successfully merging this pull request may close these issues.

0 participants