Skip to content

build(deps): bump effect from 3.22.2 to 4.0.5 - #1256

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/effect-4.0.5
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/effect-4.0.5

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps effect from 3.22.2 to 4.0.5.

Release notes

Sourced from effect's releases.

effect@3.22.4

Patch Changes

  • #6469 23e019c Thanks @​coyaSONG! - Serialize Cause.Fail under error instead of failure, matching its error property.

    This changes the output of toJSON, JSON.stringify and Node inspection for causes, including nested Sequential / Parallel causes and Exit.Failure, as well as log messages that contain a Cause or Exit value. The cause field of built-in loggers is rendered with Cause.pretty and is unaffected. Code that reads failure from serialized causes should read error instead.

  • #6316 c2ea45c Thanks @​xianjianlf2! - Allow interrupting Effect.cachedWithTTL and Effect.cachedInvalidateWithTTL while the cached effect is running. Interrupting the caller now interrupts that run and leaves nothing cached, so the next call runs the effect again.

  • #6270 3120364 Thanks @​chatman-media! - Fix Duration.decode and Duration.times throwing on fractional values.

    Duration.decode threw on fractional nanos and micros inputs such as "1.5 micros", and Duration.times threw when a nanosecond-backed Duration was multiplied by a non-integer. Both now round to whole nanoseconds, so Duration.decode("1.5 micros") is 1500 nanos and Duration.times(Duration.nanos(2n), 2.5) is 5 nanos.

  • #6254 358ac3f Thanks @​markgdawson! - Support Effect.fn bodies whose generators were transpiled into functions that return an iterator, such as babel-preset-expo output.

  • #6279 53f93db Thanks @​bweis! - Avoid throwing when Error.stackTraceLimit is non-writable (frozen intrinsics / SES / deterministic sandboxes such as Temporal).

  • #4888 19f6f3d Thanks @​paolopiaggio! - Logger.jsonLogger now includes name and message when logging an Error, instead of {}.

  • #9658 8c46c75 Thanks @​effect-bot! - Remove the AbortSignal listener added by Effect.runPromise / Runtime.runPromiseExit once the fiber completes, fixing MaxListenersExceededWarning when a signal is reused across runs (e.g. it.effect.prop).

  • #6264 9895b61 Thanks @​Hoishin! - Return self from BigDecimal.normalize for already-normalized values

Changelog

Sourced from effect's changelog.

4.0.5

Patch Changes

  • #9055 f665607 Thanks @​Tyagiquamar! - Pass a NonEmptyArray to the onNonEmpty callback of Array.match when the input is a mutable array.

  • #9110 dbf442b Thanks @​petar-omni! - Fix AsyncResult.all failures carrying a single input's previousSuccess instead of the combined record or tuple.

  • #9105 74d1930 Thanks @​tim-smart! - Fix infinite atom rebuilds caused by late reads of uninitialized dependencies.

  • #9145 a03afb6 Thanks @​jayhemnani9910! - Add Flag.withOptionalValue for GNU-style flags with an optional value, like --color[=WHEN]. A bare flag uses the given value; an explicit value must be attached with =.

  • #9131 f159284 Thanks @​tim-smart! - Fix lost deferred callback wakes in cluster workflows when an activity suspends while a parallel activity is still running.

  • #9094 5d301cc Thanks @​okxint! - Name cluster entity RPC server spans by entity type only (e.g. WorkflowEntity.Run) so span names stay low-cardinality. The entity ID is still recorded in the entity.id span attribute.

  • #9176 cd74ea2 Thanks @​effect-bot! - Recover persisted local cluster replies from storage to prevent requests hanging when replies arrive before handler registration. Retain local reply notifications as storage-reader wakeups for low-latency streaming.

    Defer terminal in-memory reply publication until the successful outer transaction completes, preserving the commit boundary for reply readers.

  • #9095 925cf64 Thanks @​jayhemnani9910! - Fix ConfigProvider.fromDotEnv and fromDotEnvContents rescanning expanded values when expandVariables is enabled. Self and circular references no longer overflow the stack, escaped \$NAME stays literal, and defaults apply when a reference expands to an empty value.

  • #9109 54c51d9 Thanks @​devangpratap! - Fix Duration conversions throwing for very large millisecond values, and make those durations equal to their nanosecond equivalents.

  • #9161 995c104 Thanks @​devangpratap! - Fix Duration conversions losing nanosecond precision for large integer millisecond values.

  • #9112 816575e Thanks @​effect-bot! - Use bigint for 64-bit FileSystem.File.Info metadata. dev is now a bigint, and ino, rdev, nlink, and blocks are Option<bigint>, so file stats no longer fail or drop values outside the safe integer range. Node and Bun read dev, ino, rdev, and nlink as unsigned 64-bit integers. Deno reports these fields as numbers, so values above Number.MAX_SAFE_INTEGER are rounded by Deno before conversion.

  • #9150 0df6e06 Thanks @​tim-smart! - Support per-request URLs in GraphQLProtocol.layerHttp and makeHttp, as a function of the context and operation or as an Effect<string>. GraphQLResolver batches lookups by URL.

  • #9137 52a7d3c Thanks @​tim-smart! - Add HttpClientRequest.compressBody for gzip and deflate request body compression.

  • #9160 ec831c3 Thanks @​fubhy! - Accept Redacted values as URL parameters in UrlParams and HttpClientRequest.

  • #9138 3abc63e Thanks @​tim-smart! - Add HttpMiddleware.decompression, which decompresses gzip and deflate request bodies, limits the decompressed size, and rejects other codings with 415.

  • #9113 a841b8b Thanks @​effect-bot! - Fix interruption calling Math.random and hashing defects, which made deterministic hosts that forbid randomness loop forever or overflow the stack.

  • #9098 91efea7 Thanks @​armancharan! - Narrow only the matched prefix when a Match tuple pattern is applied to an array or variadic tuple, so the remaining elements keep their original type.

  • #9151 e271997 Thanks @​tim-smart! - Fix McpServer types to require schema services for resource templates and encoding services for prompt parameters with completion handlers. Missing services are now caught at compile time.

  • #9117 7719bda Thanks @​jayhemnani9910! - Pad 64-bit trace ids to 128 bits in OTLP exports and traceparent headers.

  • #9139 563397f Thanks @​tim-smart! - Add opt-in gzip compression to built-in OTLP JSON and protobuf exporters via the compression option or OTEL_EXPORTER_OTLP_COMPRESSION and per-signal environment variables. Compress batches once before retries using HttpClientRequest.compressBody, retaining its default 1KB threshold and uncompressed defaults.

  • #9127 65b04f8 Thanks @​effect-bot! - Add Path.resolveWithin(root, input), which resolves a relative path beneath a root and returns Option.none() for traversal escapes and rooted inputs, using the platform's path rules.

  • #9143 c2859bf Thanks @​danieljvdm! - Collect tool approvals once per LanguageModel request instead of twice.

... (truncated)

Commits
  • 7f524e2 Version Packages (#9099)
  • 3ad9a0c Fix premature RPC socket ping timeouts (#9187)
  • f665607 fix(Array): make Array.match expose NonEmptyArray for mutable arrays (#9055)
  • 0df6e06 GraphQL: per-request url function for layerHttp with URL-aware resolver batch...
  • 7422b9b test(cluster): allow residency cap checks headroom on Deno (#9185)
  • bc454a3 Make String snake_case conversions total and skip empty noCase words (#9183)
  • 3b87d1d Reduce clock polling in shard-release teardown test (#9184)
  • ec831c3 Accept Redacted values as HTTP URL params (#9160)
  • cd74ea2 Fix lost replies for persisted local cluster requests (#9176)
  • 2a8ec8b perf(schema): keep successful decoding defaults resolved (#9166)
  • 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 29, 2026
Bumps [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect) from 3.22.2 to 4.0.5.
- [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.5/packages/effect)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot force-pushed the dependabot/npm_and_yarn/effect-4.0.5 branch from 1496dd3 to 8f70730 Compare October 30, 2026 17:08
@dependabot @github

dependabot Bot commented on behalf of github Nov 6, 2026

Copy link
Copy Markdown
Contributor Author

Superseded by #1279.

@dependabot dependabot Bot closed this Nov 6, 2026
@dependabot
dependabot Bot deleted the dependabot/npm_and_yarn/effect-4.0.5 branch November 6, 2026 02:24
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