Skip to content

Update dependency @effect/tsgo to v0.43.0 - #667

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/effect-tsgo-0.x
Open

Update dependency @effect/tsgo to v0.43.0#667
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/effect-tsgo-0.x

Conversation

@renovate

@renovate renovate Bot commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@effect/tsgo (source) 0.39.10.43.0 age confidence

Release Notes

Effect-TS/tsgo (@​effect/tsgo)

v0.43.0

Compare Source

Minor Changes
  • 956b8d6: Extend nodeBuiltinImport to recommend Effect-native alternatives for console, timers, timers/promises, stream, stream/promises, and stream/web, including their node: forms.

    For Effect v4, also flag crypto and node:crypto imports and recommend Crypto from effect. For example, import { randomUUID } from "node:crypto" is now diagnosed; use the Crypto service's randomUUIDv4 effect instead. Effect v3 crypto imports remain allowed because that version has no corresponding Crypto service.

    Correct the Effect v4 child_process recommendation to point to effect/unstable/process. The rule remains disabled by default; configure nodeBuiltinImport with error severity to prohibit covered imports.

v0.42.0

Compare Source

Minor Changes
  • 7565750: Add the matchEffectToMapBoth style diagnostic and quick fix for replacing Effect.matchEffect handlers that return Effect.fail and Effect.succeed with Effect.mapBoth.

  • a09feae: Add the catchAllTagDispatchToCatchTag style diagnostic and quick fix for replacing manual tagged-error dispatch with Effect.catchTag or Effect.catchTags.

  • 2d501a2: Add the provideLayerSucceedToProvideService diagnostic and quick fix for replacing inline Layer.succeed and Layer.effect provision with direct service provision.

  • 46c6e68: Add the matchEffectToMatch style diagnostic and quick fix for replacing Effect.matchEffect or Effect.matchCauseEffect whose handlers only return Effect.succeed with their non-effectful counterparts.

    Make lazy-expression parsing synchronous and non-generator by default, with flags for callers that explicitly accept thunks, async functions, or generators.

  • 59c5fff: Adopt the piping flow parser in more diagnostics.

    • promiseInEffectSuccess: an explicit promise-success annotation (type arguments on Effect.succeed/as/map/zipWith) now suppresses the diagnostic from any position in the surrounding pipe, not only the last argument. base.pipe(Effect.as<Promise<number>>(promiseValue), Effect.as(promiseValue)) no longer reports, matching the reversed order that was already accepted.
    • allOfMapToForEach: now also detects the data-last form expressed through piping flows, e.g. pipe(values.map(effectful), Effect.all) and pipe(values.map(effectful), Effect.all, Effect.asVoid), which were previously invisible to the call-expression walk. These matches are diagnostic-only: the existing quick fix remains limited to the standalone Effect.all(xs.map(f), options?) call it can safely rewrite.
    • The piping flow parser now keeps the type arguments of parenthesized pipe arguments, e.g. pipe(x, (Effect.as<...>(v))).
    • The piping flow parser now normalizes curried pipeable applications, so Effect.catch(handler)(effect) has effect as its subject, Effect.catch as its callee, and handler as its transformation argument. The normalization is limited to calls whose signatures verify that they are the pipeable counterpart of a data-first overload of the same combinator, leaving unrelated curried APIs such as Effect.fn("name")(body) unchanged.
  • db28a74: Add the runOfExitToRunExit diagnostic, which replaces Effect.runPromise applied to Effect.exit with the dedicated Effect.runPromiseExit runner.

Patch Changes
  • 348021d: Update TypeScript next to 7.1.0-dev.20260906.1 and adapt diagnostics snapshot cleanup to its new API while preserving compatibility with stable TypeScript.
  • 928506b: Update the TypeScript next tag to typescript@next, which ships typescript-go commit 1f70213d4922b434345f639b441681e470c7cfc1, and update the TypeScript latest tag to typescript@latest. Refresh the Oxlint configuration schema from the selected package.

v0.41.0

Compare Source

Minor Changes
  • d095234: Normalize piping-flow transformations around their callee, arguments, and explicit type arguments without exposing a representation-dependent transformation node. Add shared rewriter operations for replacing transformations and flow prefixes while preserving data-first, data-last, pipe(...), and .pipe(...) source forms.
  • d3efa70: Remove the AST location parameter from type-only TypeParser operations. Effect, Layer, Stream, Schema, service, Context.Tag, Scope, and related type predicates now derive instantiated property types directly from the supplied checker type.
Patch Changes

v0.40.0

Compare Source

Minor Changes
  • 815273c: Add the Effect v4 raceFirstWithSleepToTimeout style diagnostic, which suggests Effect.timeoutOrElse when a first-completion race has exactly one Effect.sleep- or Effect.delay-based timer arm.

    Reclassify acquireReleaseDisposable as style and unsafeEffectTypeAssertion as correctness.

Patch Changes
  • c1ac8e5: Avoid reporting the schemaNumber diagnostic when Schema.Number is refined with the built-in isFinite or isInt checks, including pipe-style refinements.
  • 0fba9d1: Update the TypeScript next tag to typescript@next, which ships typescript-go commit 43a90f4c105bc9db7cb7aa299beddafbabe1d23e, and update the TypeScript latest tag to typescript@latest.

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update 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 Upgrade or downgrade of project dependencies. label Sep 3, 2026
@renovate
renovate Bot force-pushed the renovate/effect-tsgo-0.x branch from 7a6e680 to 4f4aa7e Compare September 4, 2026 10:22
@renovate renovate Bot changed the title Update dependency @effect/tsgo to v0.40.0 Update dependency @effect/tsgo to v0.41.0 Sep 4, 2026
@renovate renovate Bot changed the title Update dependency @effect/tsgo to v0.41.0 Update dependency @effect/tsgo to v0.42.0 Sep 8, 2026
@renovate
renovate Bot force-pushed the renovate/effect-tsgo-0.x branch from 4f4aa7e to 085785e Compare September 8, 2026 08:07
@renovate
renovate Bot force-pushed the renovate/effect-tsgo-0.x branch from 085785e to d671089 Compare September 8, 2026 12:07
@renovate renovate Bot changed the title Update dependency @effect/tsgo to v0.42.0 Update dependency @effect/tsgo to v0.43.0 Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Upgrade or downgrade of project dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants