Skip to content

Version Packages#672

Merged
mattiamanzati merged 1 commit intomainfrom
changeset-release/main
Mar 7, 2026
Merged

Version Packages#672
mattiamanzati merged 1 commit intomainfrom
changeset-release/main

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Mar 6, 2026

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@effect/language-service@0.79.0

Minor Changes

  • #671 6b9c378 Thanks @mattiamanzati! - Add the extendsNativeError diagnostic to warn when classes directly extend the native Error constructor, including common local aliases such as const E = Error.

    This helps steer users toward tagged errors that preserve stronger typing in the Effect failure channel.

  • #678 0e9c11b Thanks @mattiamanzati! - Generate the README diagnostics table from the diagnostic registry.

    Each diagnostic now declares:

    • whether it is fixable
    • which Effect versions it supports

    The generated table is checked in CI, and diagnostics tests verify that fixable matches the presence of non-suppression quick fixes.

  • #676 2f982d6 Thanks @mattiamanzati! - Add the nodeBuiltinImport diagnostic to warn when importing Node.js built-in modules (fs, path, child_process) that have Effect-native counterparts in @effect/platform.

    This diagnostic covers ES module imports and top-level require() calls, matching both bare and node:-prefixed specifiers as well as subpath variants like fs/promises, path/posix, and path/win32. It defaults to severity off and provides no code fixes.

  • #673 f9e24df Thanks @mattiamanzati! - Add plugin options to better control patched tsc behavior.

    ignoreEffectErrorsInTscExitCode allows Effect diagnostics reported as errors to be ignored for exit-code purposes, and skipDisabledOptimiziation keeps disabled diagnostics eligible for comment-based overrides when patch mode is active.

  • #674 54e8c16 Thanks @mattiamanzati! - Add the serviceNotAsClass diagnostic to warn when ServiceMap.Service is used as a variable assignment instead of in a class declaration.

    Includes an auto-fix that converts const Config = ServiceMap.Service<Shape>("Config") to class Config extends ServiceMap.Service<Config, Shape>()("Config") {}.

Patch Changes

  • #675 d1f09c3 Thanks @mattiamanzati! - Rename the skipDisabledOptimiziation plugin option to skipDisabledOptimization.

    Example:

    {
      "compilerOptions": {
        "plugins": [
          {
            "name": "@effect/language-service",
            "skipDisabledOptimization": true
          }
        ]
      }
    }

@github-actions github-actions bot force-pushed the changeset-release/main branch 4 times, most recently from 65341f8 to 930594c Compare March 7, 2026 10:56
@github-actions github-actions bot force-pushed the changeset-release/main branch from 930594c to a4daa09 Compare March 7, 2026 15:39
@mattiamanzati mattiamanzati merged commit dcff8c7 into main Mar 7, 2026
@mattiamanzati mattiamanzati deleted the changeset-release/main branch March 7, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant