Skip to content

chore(deps): bump the effect-minor-patch group with 2 updates - #146

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/effect-minor-patch-38110c1415
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/effect-minor-patch-38110c1415

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 16, 2026

Copy link
Copy Markdown
Contributor

Bumps the effect-minor-patch group with 2 updates: @effect/tsgo and effect.

Updates @effect/tsgo from 0.64.1 to 0.68.1

Release notes

Sourced from @​effect/tsgo's releases.

@​effect/tsgo@​0.68.1

Patch Changes

  • e2593ac: Fix the catchToOrElseSucceed and flatMapToMap quick fixes emitting code that does not parse when Effect.succeed receives an object literal inside a concise arrow body. The value is now parenthesized, including when the object literal is followed by as const or satisfies T:

    // before
    Effect.catch(() => Effect.succeed({ ok: false } as const))
    Effect.flatMap((n) => Effect.succeed({ value: n }))
    // after the fix (previously () => { ok: false } as const and (n) => { value: n })
    Effect.orElseSucceed(() => ({ ok: false } as const))
    Effect.map((n) => ({ value: n }))

  • 732dd03: Stop --tsrs-lint ... --type-check from reporting Effect suggestions as errors (#1025).

    Oxlint showed every type-check diagnostic as an error, so suggestion-level Effect diagnostics such as schemaClassMissingBrand made the lint fail even though effect-tsgo tsrs --noEmit passed. tsrs-lint now forwards only errors and warnings to --type-check. This backports oxc-project/tsrs#959 as a tsrs patch until it lands upstream.

    # before: suggestions reported as errors, exit 1
    # after: exits 0, like `effect-tsgo tsrs --noEmit`
    effect-tsgo --tsrs-lint vp lint --type-aware --type-check

@​effect/tsgo-linux-arm@​0.68.1

No release notes provided.

@​effect/tsgo@​0.68.0

Minor Changes

  • a764f17: Add onExitFailureToOnError style suggestion: it reports an Effect.onExit callback that only acts on failure (Exit.isFailure, Exit.isSuccess, exit._tag checks, in a conditional, if or switch, with Effect.void on the other side) and recommends Effect.onError, which expresses the same intent more directly.

    program.pipe(
      Effect.onExit((exit) =>
        Exit.isFailure(exit) ? Effect.logError("failed", { cause: exit.cause }) : Effect.void
      )
    )
    // can be written as
    program.pipe(Effect.onError((cause) => Effect.logError("failed", { cause })))

Patch Changes

  • ec499f2: Move fix-only work out of rule analysis into the quick fixes, so it runs only when the editor asks for code actions instead of on every check. This covers 27 rules, among them yieldInCallArgument, failCauseToConstructor, suspendFailToFailSync, catchTagToCatchReason, mapMapErrorToMapBoth and unnecessaryEffectGen. Their diagnostics are unchanged.

    Three rules now report explicitly typed calls that they used to skip, because those calls can still be rewritten by hand. They get no quick fix:

    • provideLayerSucceedToProvideService: Effect.provide(Layer.succeed<I, S>(Service, implementation)) (rewrite: Effect.provideService<I, S>(Service, implementation)), and the same for Layer.effect<…>
    • provideMergeAllToArray: Effect.provide<…>(Layer.mergeAll(...)) and Effect.provide(Layer.mergeAll<…>(...))

... (truncated)

Changelog

Sourced from @​effect/tsgo's changelog.

0.68.1

Patch Changes

  • e2593ac: Fix the catchToOrElseSucceed and flatMapToMap quick fixes emitting code that does not parse when Effect.succeed receives an object literal inside a concise arrow body. The value is now parenthesized, including when the object literal is followed by as const or satisfies T:

    // before
    Effect.catch(() => Effect.succeed({ ok: false } as const))
    Effect.flatMap((n) => Effect.succeed({ value: n }))
    // after the fix (previously () =&gt; { ok: false } as const and (n) =&gt; { value: n })
    Effect.orElseSucceed(() => ({ ok: false } as const))
    Effect.map((n) => ({ value: n }))

  • 732dd03: Stop --tsrs-lint ... --type-check from reporting Effect suggestions as errors (#1025).

    Oxlint showed every type-check diagnostic as an error, so suggestion-level Effect diagnostics such as schemaClassMissingBrand made the lint fail even though effect-tsgo tsrs --noEmit passed. tsrs-lint now forwards only errors and warnings to --type-check. This backports oxc-project/tsrs#959 as a tsrs patch until it lands upstream.

    # before: suggestions reported as errors, exit 1
    # after: exits 0, like `effect-tsgo tsrs --noEmit`
    effect-tsgo --tsrs-lint vp lint --type-aware --type-check

0.68.0

Minor Changes

  • a764f17: Add onExitFailureToOnError style suggestion: it reports an Effect.onExit callback that only acts on failure (Exit.isFailure, Exit.isSuccess, exit._tag checks, in a conditional, if or switch, with Effect.void on the other side) and recommends Effect.onError, which expresses the same intent more directly.

    program.pipe(
      Effect.onExit((exit) =>
        Exit.isFailure(exit) ? Effect.logError("failed", { cause: exit.cause }) : Effect.void
      )
    )
    // can be written as
    program.pipe(Effect.onError((cause) => Effect.logError("failed", { cause })))

Patch Changes

  • ec499f2: Move fix-only work out of rule analysis into the quick fixes, so it runs only when the editor asks for code actions instead of on every check. This covers 27 rules, among them yieldInCallArgument, failCauseToConstructor, suspendFailToFailSync, catchTagToCatchReason, mapMapErrorToMapBoth and unnecessaryEffectGen. Their diagnostics are unchanged.

    Three rules now report explicitly typed calls that they used to skip, because those calls can still be rewritten by hand. They get no quick fix:

    • provideLayerSucceedToProvideService: Effect.provide(Layer.succeed<I, S>(Service, implementation)) (rewrite: Effect.provideService<I, S>(Service, implementation)), and the same for Layer.effect<…>
    • provideMergeAllToArray: Effect.provide<…>(Layer.mergeAll(...)) and Effect.provide(Layer.mergeAll<…>(...))
    • timeoutCatchTagToTimeoutOrElse: explicit type arguments on the Effect.timeout step

... (truncated)

Commits

Updates effect from 4.1.2 to 4.1.4

Release notes

Sourced from effect's releases.

effect@4.1.4

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.

effect@4.1.3

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

... (truncated)

Changelog

Sourced from effect's changelog.

4.1.4

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.

4.1.3

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)

... (truncated)

Commits
  • 289a53f Version Packages (#10531)
  • 9116189 Expose buffered response encoding and declared header schemas (#10537)
  • ee5550a Fix CLI wizard repeating flags and arguments typed before --wizard (#10529)
  • 3a65e9e Restore MCP Skills support on legacy protocol revisions (#10540)
  • 2b23262 Add workload identity federation to @​effect/ai-openrouter (#10482)
  • 8176cdb Add allowEmpty to generateObject to accept response with no text content ...
  • 7fce132 Add HttpApi.RedactedNames for span redaction of query and header names (#9995)
  • 72c3fb4 Emit a single null branch for optional structured-output properties that alre...
  • f527f90 Add provider-local workload identity federation for Anthropic and OpenAI (#10...
  • fdd319e Fix unsupported object annotations in schema code generation (#10532)
  • Additional commits viewable in compare view

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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the effect-minor-patch group with 2 updates: [@effect/tsgo](https://github.com/Effect-TS/tsgo/tree/HEAD/_packages/tsgo) and [effect](https://github.com/Effect-TS/effect/tree/HEAD/packages/effect).


Updates `@effect/tsgo` from 0.64.1 to 0.68.1
- [Release notes](https://github.com/Effect-TS/tsgo/releases)
- [Changelog](https://github.com/Effect-TS/tsgo/blob/main/_packages/tsgo/CHANGELOG.md)
- [Commits](https://github.com/Effect-TS/tsgo/commits/@effect/tsgo@0.68.1/_packages/tsgo)

Updates `effect` from 4.1.2 to 4.1.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.1.4/packages/effect)

---
updated-dependencies:
- dependency-name: "@effect/tsgo"
  dependency-version: 0.68.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: effect-minor-patch
- dependency-name: effect
  dependency-version: 4.1.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: effect-minor-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Nov 16, 2026

This branch has not been deployed

No deployments
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