Skip to content

deps: update effect to v4.1.4 - #128

Merged
renovate[bot] merged 1 commit into
mainfrom
renovate/effect
Nov 13, 2026
Merged

renovate[bot] merged 1 commit into
mainfrom
renovate/effect

Conversation

@renovate

@renovate renovate Bot commented Nov 13, 2026

Copy link
Copy Markdown
Contributor

Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@effect/platform-node (source) 4.1.2 → 4.1.4 age confidence
@effect/platform-node-shared (source) 4.1.2 → 4.1.4 age confidence
@effect/vitest (source) 4.1.2 → 4.1.4 age confidence
effect (source) 4.1.2 → 4.1.4 age confidence

Release Notes

Effect-TS/effect (@​effect/platform-node)

v4.1.4

Compare Source

Patch Changes

v4.1.3

Compare Source

Patch Changes
Effect-TS/effect (@​effect/platform-node-shared)

v4.1.4

Compare Source

Patch Changes

v4.1.3

Compare Source

Patch Changes
Effect-TS/effect (@​effect/vitest)

v4.1.4

Compare Source

Patch Changes

v4.1.3

Compare Source

Patch Changes
Effect-TS/effect (effect)

v4.1.4

Compare Source

Patch Changes
  • #​10512 f527f90 Thanks @​effect-bot! - Add WorkloadIdentity helpers for Anthropic and OpenAI authentication, and report OpenAI WebSocket client-transform failures as AiError instead of defects.

  • #​10529 ee5550a Thanks @​only21mil! - Fix CLI --wizard generating a command that fails to parse when flags or arguments were already typed for the selected command.

  • #​9995 7fce132 Thanks @​tim-smart! - Add the HttpApi.RedactedNames annotation for declaring query parameter and header names of an API, group or endpoint to redact in the URL and header attributes of HttpApiClient and HttpApiBuilder spans, for values that are only sometimes secret. addHttpApi treats it like any other annotation, and user_agent.original is recorded as is.

  • #​10537 9116189 Thanks @​effect-bot! - Expose HttpApiSchema.getResponseEncodingSchema and getEncodeToWithHeadersParts for inspecting buffered response encodings and declared body/header schemas.

  • #​10521 edb2eaa Thanks @​gcanti! - Add experimental closeObjects, fix JSON Schema composition and examples, and regenerate a smaller OpenRouter client with a boolean workspace-deletion confirmation flag.

Breaking changes

The generated OpenRouter schemas follow the current upstream specification. Some intermediate schema exports are removed; derive their types from the corresponding request or response schema instead. Hand-built generation statistics must now include workspace_id, and activity entries must include cached_tokens. Tool parameter and structured-output schemas accept JSON-valued records.

Fixtures and stored responses must also include these newly required fields:

  • Model: endpoints.

  • BYOKKey: declared_region, declared_zdr, is_byok_only, and is_required.

  • PublicEndpoint: native_tools, service_tier, supports_diarization, and supports_tool_choice.

  • Guardrail: include_byok_in_budgets.

  • VideoModel: creativity and upscale_factor.

  • GenerationContentData: error.

  • FusionCallAnalysisInProgressEvent: analyst_model.

  • All Observability*Destination schemas: regions, broadcast_generation_cost, broadcast_generation_cost_allocation, broadcast_generation_identity, and broadcast_generation_request_context.

  • #​10527 8176cdb Thanks @​matheuspuel! - Add allowEmpty to LanguageModel.generateObject and Chat.generateObject, and preserve Anthropic tool-call finish reasons with native structured output.

  • #​10540 3a65e9e Thanks @​effect-bot! - Restore Skills discovery, retrieval, and directory browsing in McpClient and McpServer on supported MCP protocol revisions before 2026-07-28.

  • #​10532 fdd319e Thanks @​gcanti! - Fix SchemaRepresentation.toCodeDocument to omit annotations containing unsupported objects instead of emitting incorrect object literals.

  • #​10522 72c3fb4 Thanks @​imranbarbhuiya! - Avoid duplicate null branches for optional properties in OpenAiStructuredOutput.toCodecOpenAI and AnthropicStructuredOutput.toCodecAnthropic.

  • #​10520 9c41784 Thanks @​tim-smart! - Fix TestClock interrupting an uninterruptible finalizer on its first sleep and skipping subsequent cleanup.

v4.1.3

Compare Source

Patch Changes
  • #​9990 56bbd6f Thanks @​effect-bot! - Add Rational, an exact fraction type alongside BigDecimal, with Schema.Rational and Schema.RationalFromString.

    import { BigDecimal, Rational } from "effect"
    
    const third = Rational.makeUnsafe(1n, 3n)
    
    Rational.equals(Rational.multiply(third, Rational.fromBigInt(3n)), Rational.fromBigInt(1n)) // true
    Rational.toBigDecimal(third, { scale: 3 }) // BigDecimal 0.333
  • #​9842 7150ea1 Thanks @​tim-smart! - Add experimental AG-UI protocol support to effect/ai through the new AgUiSchema, AgUi, and AgUiServer modules, and a keepAlive option to HttpApiSchema.StreamSse.

  • #​10377 da85361 Thanks @​effect-bot! - Add CommandSpec, a lossless projection of an effect/cli command path for documentation tooling, plus Flag.annotate / Argument.annotate / Param.annotate for attaching custom metadata to parameters.

    import { Config, Context, Option } from "effect"
    import { Command, CommandSpec, Flag } from "effect/cli"
    
    const EnvVar = Context.Service<never, string>("app/EnvVar")
    
    const push = Command.make("push", {
      dbUrl: Flag.String("db-url").pipe(
        Flag.withFallbackConfig(Config.String("DB_URL")),
        Flag.annotate(EnvVar, "DB_URL")
      )
    })
    const cli = Command.make("app").pipe(Command.withSubcommands([push]))
    
    const spec = Option.getOrThrow(CommandSpec.resolve(cli, ["app", "push"]))
    for (const flag of spec.flags) {
      // flag.scope, flag.required, flag.fallbacks, Context.getOption(flag.annotations, EnvVar), ...
    }
  • #​10417 95b01bb Thanks @​effect-bot! - Fix Bash and Zsh CLI completions for subcommand names containing :, such as test:unit.

  • #​10375 b09e7a8 Thanks @​effect-bot! - Fix CLI completion descriptors marking variadic arguments without a positive minimum as required.

  • #​10428 91386c0 Thanks @​devangpratap! - Shell completions keep suggesting repeatable flags, such as Flag.atLeast and Flag.KeyValuePair, after their first use.

  • #​10376 a2b1be0 Thanks @​effect-bot! - Allow Command.validate to fail with your own errors, which Command.run reports like handler failures instead of showing help.

    Command.withHandler now keeps the command's existing error type, so errors from earlier validations are not lost. When it replaces a handler, the old handler's errors also stay in the type. Code that annotates such a command with a narrower error type must widen the annotation, or pass the final handler to Command.make instead.

  • #​7322 1a2c5a6 Thanks @​tim-smart! - Add experimental Cloudflare Cluster support with durable entities, workflows, queues, singletons, and optional Alchemy deployment, plus Effect hooks for keep-alive, durable clocks, and dead-letter detection.

  • #​10311 2a9d989 Thanks @​effect-bot! - Fix ClusterWorkflowEngine turning transient storage failures while starting a child workflow into a parent workflow defect; they are now retried.

  • #​10356 66cbcca Thanks @​Marve10s! - Fix transient storage read errors permanently failing ClusterWorkflowEngine workflows that await a DurableDeferred.

  • #​10267 da52437 Thanks @​effect-bot! - Add MessageRetention.make to delete a persisted entity's old completed requests, and fix @effect/sql-mysql2 not starting a transaction for a SET TRANSACTION BeginTransaction.

    • Custom MessageStorage implementations must add deleteProcessed.
    • SQL message storage on MySQL needs MySQL 8.0.1+ or MariaDB 10.6+, and binlog_format ROW or MIXED.
  • #​10294 7e8f3fb Thanks @​effect-bot! - Fix HttpMiddleware.cors calling the allowedOrigins predicate with undefined for requests without an Origin header.

  • #​10456 1de4308 Thanks @​Marve10s! - Fix Csv.decode and Csv.decodeString dropping records completed before a CsvError in the same input chunk.

  • #​10439 cb36ec7 Thanks @​jayhemnani9910! - Preserve the supplied time zone identifier in DateTime named zones, including aliases such as Europe/Kyiv or Etc/UTC, instead of the identifier Intl resolves them to (Europe/Kiev, UTC).

  • #​10506 693259d Thanks @​effect-bot! - Fix HttpServerRequest.stream failing on requests with no body; return an empty stream instead.

  • #​10448 0daaa95 Thanks @​effect-bot! - Speed up Base64.decode, Base64Url and Hex by using the native Uint8Array Base64 and hex methods when the runtime provides them. Base64Url.encode is also faster on runtimes without them.

  • #​10350 f548e59 Thanks @​asssslay! - Keep a leading U+FEFF when decoding strings with Base64, Base64Url, Hex, and their Schema.StringFrom* codecs, including HttpApiSecurity.basic usernames.

  • #​10413 005d096 Thanks @​effect-bot! - Fix Equal.equals and Hash.hash treating otherwise identical Error values as different on Bun when they were constructed at different source locations.

  • #​10472 [188c2b0](http

[!IMPORTANT]
✂ PR body was truncated to here.


Configuration

📅 Schedule: (in timezone Europe/Istanbul)

  • Branch creation
    • Between 12:00 AM and 05:59 AM (* 0-5 * * *)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Nov 13, 2026
@renovate
renovate Bot merged commit f04eaa5 into main Nov 13, 2026
1 check passed
@renovate
renovate Bot deleted the renovate/effect branch November 13, 2026 22:56
@putio-ci

putio-ci Bot commented Nov 17, 2026

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@putio-ci putio-ci Bot added the released label Nov 17, 2026
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 released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants