github Effect-TS/tsgo @effect/tsgo@0.46.0

latest releases: @effect/tsgo@0.68.1, @effect/tsgo-win32-x64@0.68.1, @effect/tsgo-win32-arm64@0.68.1...
one month ago

Minor Changes

  • 6db6fa6: Add the catchIfTagToCatchTag diagnostic and quick fix for replacing direct _tag equality predicates in Effect.catchIf with Effect.catchTag.

  • ae1ed02: Add the v4-only catchRefailToTapError diagnostic. It suggests Effect.tapError when an Effect.catch handler sequences an effect with Effect.andThen or a zero-argument Effect.flatMap callback and then fails with the original, unmodified error. Generator handlers and selective catches are excluded.

  • 437b17e: Retain the latest three stable Oxlint releases and the Oxlint runtimes required by the latest three stable Vite+ releases, including their compiler dependencies. Add versioned compatibility profiles so CI tests every distinct retained runtime pair.

    The refreshed upstream metadata supports Oxlint 1.77.0, 1.79.0, 1.80.0, 1.81.0, and 1.82.0, covering Vite+ 0.2.9, 0.3.0, and 0.3.1, and advances TypeScript next to 7.1.0-dev.20260911.1.

  • 223f9fa: Add the flatMapIgnoredParamToAndThen diagnostic and quick fix for replacing zero-parameter Effect.flatMap callbacks that return an existing constant Effect value with Effect.andThen. Existing diagnostics now also recognize Effect APIs referenced through constant aliases, and their quick fixes rebuild the replacement API from the source file's imported module name without modifying the shared alias.

  • 7173762: Add a strict diagnostic preset that promotes every default-enabled diagnostic to an error. Expose the complete preset catalog consistently through TypeScript setup and the generated Oxlint presets.

  • 9652243: Warn when diagnosticSeverity contains an unknown Effect rule name, including in overrides and inherited configurations. For example, "floatingEfect": "error" now reports effect(unknownRuleName) instead of being silently ignored.

    The check uses the fully merged configuration. Set "unknownRuleName": "off" to disable it or "unknownRuleName": "error" to raise its severity. Local keys are underlined in tsconfig; inherited keys without local syntax produce a diagnostic without a source location.

Patch Changes

  • f110e11: Restore compatibility with TypeScript 7.1.0-dev.20260924.1 by updating diagnostic generation and plugin parsing patches, adapting single-file diagnostic requests to the upstream snapshot API, and regenerating compiler shims and Nix inputs.
  • 7c0ddbc: Update the TypeScript next tag to typescript@next, which ships TypeScript commit f29aeb9f825d96feea27841f3f7342dbf0df68a8, and update the repository toolchain to Go 1.27.

Don't miss a new tsgo release

NewReleases is sending notifications on new releases.