diff --git a/.changeset/calm-tags-catch.md b/.changeset/calm-tags-catch.md deleted file mode 100644 index 611bd0ae..00000000 --- a/.changeset/calm-tags-catch.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/tsgo": minor ---- - -Add the `catchIfTagToCatchTag` diagnostic and quick fix for replacing direct `_tag` equality predicates in `Effect.catchIf` with `Effect.catchTag`. diff --git a/.changeset/catch-refail-tap-error.md b/.changeset/catch-refail-tap-error.md deleted file mode 100644 index 757c7cfd..00000000 --- a/.changeset/catch-refail-tap-error.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/tsgo": minor ---- - -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. diff --git a/.changeset/expand-oxlint-coverage.md b/.changeset/expand-oxlint-coverage.md deleted file mode 100644 index aaf27487..00000000 --- a/.changeset/expand-oxlint-coverage.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@effect/tsgo": minor ---- - -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. diff --git a/.changeset/flat-map-ignored-and-then.md b/.changeset/flat-map-ignored-and-then.md deleted file mode 100644 index 99e9e54f..00000000 --- a/.changeset/flat-map-ignored-and-then.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/tsgo": minor ---- - -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. diff --git a/.changeset/strict-diagnostic-preset.md b/.changeset/strict-diagnostic-preset.md deleted file mode 100644 index 4aa5167f..00000000 --- a/.changeset/strict-diagnostic-preset.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/tsgo": minor ---- - -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. diff --git a/.changeset/unknown-diagnostic-rule.md b/.changeset/unknown-diagnostic-rule.md deleted file mode 100644 index a8135d4e..00000000 --- a/.changeset/unknown-diagnostic-rule.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -"@effect/tsgo": minor ---- - -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. diff --git a/.changeset/update-upstreams.md b/.changeset/update-upstreams.md deleted file mode 100644 index 5db621de..00000000 --- a/.changeset/update-upstreams.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@effect/tsgo": patch ---- - -Update the TypeScript next tag to [`typescript@next`](https://www.npmjs.com/package/typescript/v/7.1.0-dev.20260916.1), which ships [`typescript-go`](https://github.com/microsoft/typescript-go/commit/d2b20b35034bd902bdda5974f522ff00352895e9) commit `d2b20b35034bd902bdda5974f522ff00352895e9`, and update the TypeScript latest tag to [`typescript@latest`](https://www.npmjs.com/package/typescript/v/7.0.2). diff --git a/README.md b/README.md index 658c6bcd..1e7c0f30 100644 --- a/README.md +++ b/README.md @@ -38,12 +38,12 @@ When running in dedicated diagnostics mode, the Effect diagnostics can be emitte ## Supported Package Versions -The following target package versions are supported by `@effect/tsgo@0.45.0`: +The following target package versions are supported by `@effect/tsgo@0.46.0`: | Component | Supported versions | |---|---| -| TypeScript | `7.0.2`, `7.1.0-dev.20260909.1` | -| Oxlint | `1.81.0`, `1.82.0` | +| TypeScript | `7.0.2`, `7.1.0-dev.20260916.1` | +| Oxlint | `1.79.0`, `1.81.0`, `1.82.0`, `1.83.0` | | oxlint-tsgolint | `7.0.2001` | diff --git a/_packages/tsgo-darwin-arm64/CHANGELOG.md b/_packages/tsgo-darwin-arm64/CHANGELOG.md index 5866c07d..1dc30710 100644 --- a/_packages/tsgo-darwin-arm64/CHANGELOG.md +++ b/_packages/tsgo-darwin-arm64/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-darwin-arm64 +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-darwin-arm64/package.json b/_packages/tsgo-darwin-arm64/package.json index e7d57d13..82a41c1d 100644 --- a/_packages/tsgo-darwin-arm64/package.json +++ b/_packages/tsgo-darwin-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-darwin-arm64", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo-darwin-x64/CHANGELOG.md b/_packages/tsgo-darwin-x64/CHANGELOG.md index 575fcb5e..73ebbcaa 100644 --- a/_packages/tsgo-darwin-x64/CHANGELOG.md +++ b/_packages/tsgo-darwin-x64/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-darwin-x64 +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-darwin-x64/package.json b/_packages/tsgo-darwin-x64/package.json index 8672a06b..107bce43 100644 --- a/_packages/tsgo-darwin-x64/package.json +++ b/_packages/tsgo-darwin-x64/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-darwin-x64", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo-linux-arm/CHANGELOG.md b/_packages/tsgo-linux-arm/CHANGELOG.md index 07ef794a..bba3c03d 100644 --- a/_packages/tsgo-linux-arm/CHANGELOG.md +++ b/_packages/tsgo-linux-arm/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-linux-arm +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-linux-arm/package.json b/_packages/tsgo-linux-arm/package.json index dc831939..1a22d73b 100644 --- a/_packages/tsgo-linux-arm/package.json +++ b/_packages/tsgo-linux-arm/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-linux-arm", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo-linux-arm64/CHANGELOG.md b/_packages/tsgo-linux-arm64/CHANGELOG.md index a35f4847..b29fb9a0 100644 --- a/_packages/tsgo-linux-arm64/CHANGELOG.md +++ b/_packages/tsgo-linux-arm64/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-linux-arm64 +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-linux-arm64/package.json b/_packages/tsgo-linux-arm64/package.json index ffc8ba3d..094272e0 100644 --- a/_packages/tsgo-linux-arm64/package.json +++ b/_packages/tsgo-linux-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-linux-arm64", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo-linux-x64/CHANGELOG.md b/_packages/tsgo-linux-x64/CHANGELOG.md index 0966b045..1a25b586 100644 --- a/_packages/tsgo-linux-x64/CHANGELOG.md +++ b/_packages/tsgo-linux-x64/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-linux-x64 +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-linux-x64/package.json b/_packages/tsgo-linux-x64/package.json index 8809e1d6..6a2698ae 100644 --- a/_packages/tsgo-linux-x64/package.json +++ b/_packages/tsgo-linux-x64/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-linux-x64", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo-win32-arm64/CHANGELOG.md b/_packages/tsgo-win32-arm64/CHANGELOG.md index 94ed5dc2..9be4b23f 100644 --- a/_packages/tsgo-win32-arm64/CHANGELOG.md +++ b/_packages/tsgo-win32-arm64/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-win32-arm64 +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-win32-arm64/package.json b/_packages/tsgo-win32-arm64/package.json index 9eed5116..50f0b4c6 100644 --- a/_packages/tsgo-win32-arm64/package.json +++ b/_packages/tsgo-win32-arm64/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-win32-arm64", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo-win32-x64/CHANGELOG.md b/_packages/tsgo-win32-x64/CHANGELOG.md index 07f83d9c..5be9d64e 100644 --- a/_packages/tsgo-win32-x64/CHANGELOG.md +++ b/_packages/tsgo-win32-x64/CHANGELOG.md @@ -1,5 +1,7 @@ # @effect/tsgo-win32-x64 +## 0.46.0 + ## 0.45.0 ## 0.44.0 diff --git a/_packages/tsgo-win32-x64/package.json b/_packages/tsgo-win32-x64/package.json index fafa3753..9e70cc59 100644 --- a/_packages/tsgo-win32-x64/package.json +++ b/_packages/tsgo-win32-x64/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo-win32-x64", - "version": "0.45.0", + "version": "0.46.0", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", "repository": { diff --git a/_packages/tsgo/CHANGELOG.md b/_packages/tsgo/CHANGELOG.md index 5c87652a..220f141c 100644 --- a/_packages/tsgo/CHANGELOG.md +++ b/_packages/tsgo/CHANGELOG.md @@ -1,5 +1,24 @@ # @effect/tsgo +## 0.46.0 + +### 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 + +- 7c0ddbc: Update the TypeScript next tag to [`typescript@next`](https://www.npmjs.com/package/typescript/v/7.1.0-dev.20260916.1), which ships [`typescript-go`](https://github.com/microsoft/typescript-go/commit/d2b20b35034bd902bdda5974f522ff00352895e9) commit `d2b20b35034bd902bdda5974f522ff00352895e9`, and update the TypeScript latest tag to [`typescript@latest`](https://www.npmjs.com/package/typescript/v/7.0.2). + ## 0.45.0 ### Minor Changes diff --git a/_packages/tsgo/package.json b/_packages/tsgo/package.json index 4087c027..5f1d1cd3 100644 --- a/_packages/tsgo/package.json +++ b/_packages/tsgo/package.json @@ -1,6 +1,6 @@ { "name": "@effect/tsgo", - "version": "0.45.0", + "version": "0.46.0", "type": "module", "description": "Effect Language Service for TypeScript-Go — Effect-specific diagnostics and hover features.", "license": "MIT", diff --git a/etscore/version_generated.go b/etscore/version_generated.go index 08578667..081ff2ff 100644 --- a/etscore/version_generated.go +++ b/etscore/version_generated.go @@ -2,4 +2,4 @@ package etscore -const EffectVersion = "0.45.0" +const EffectVersion = "0.46.0"