unstale

npm / @effect/language-service

@effect/language-service

What changed in @effect/language-service 0.45 to 0.87, from its official release notes, upgrade guides and advisories. Sources checked 2026-11-30.

9 breaking1 security27 new APIs and options4 performance11 behavior and defaults110 tooling53 fixes and other

See which of these apply to your code, ranked, in your agent:

npx @unstale/cli init

@unstale/cli on npm

@effect/language-service 0.8711 changes

Breaking changes 1

  • Effect v4 compatibility now uses the new package paths for CLI, HTTP, schema model, and encoding imports, updating examples and diagnostics.

    0.87.3release notes

Tooling 7

  • The v4 quick fix now inserts Effect.context<never>() instead of the removed Effect.services, and reuses an existing Effect.context() binding.

    0.87.5release notes

  • Calls inside an Effect are now reported, with a suggestion to use Effect.runPromiseExitWith in v4 or Runtime.runPromiseExit in v3.

    0.87.5release notes

  • Calls inside an Effect are now reported, like Effect.runSync, with a suggestion to use the appropriate v4 or v3 alternative.

    0.87.5release notes

  • The language service now allows Effect.provide at recognized application entry points.

    0.87.3release notes

  • Effect v4 compatibility is updated to 4.0.0-beta.104, including the renamed Schema.Error and Schema.TaggedError constructors.

    0.87.2release notes

  • Adds a style diagnostic suggesting Effect.map instead of Effect.flatMap followed by Effect.succeed.

    0.87.0release notes

  • Updates the setup command to configure VS Code with the unified js/ts TypeScript settings.

    0.87.0release notes

Fixes and other changes 3

  • Now checks calls used as method receivers and calls nested inside them.

    0.87.4release notes

  • Reports calls whose result is used as a method receiver, including calls nested inside them.

    0.87.4release notes

  • The diagnostic now ignores Effect v4 local Effect.provide(..., { local: true }) calls when reporting chained provides.

    0.87.1release notes

@effect/language-service 0.869 changes

Breaking changes 1

  • Unsupported TypeScript versions are rejected when loading or patching TypeScript; TypeScript 7 users are directed to @effect/tsgo.

    0.86.5release notes

Behavior and default changes 2

  • When TypeScript skipLibCheck is enabled, patched tsc runs skip Effect diagnostics for external library files.

    0.86.6release notes

  • The preferSchemaOverJson option is now off by default.

    0.86.2release notes

Tooling 3

  • The generated schema.json now includes the TypeScript 6.0 ES2025 target and lib entries.

    0.86.2release notes

  • Diagnostic guidance now recommends Effect v3 and v4 APIs based on whether the shape is known and whether code handles JSON strings or values.

    0.86.2release notes

  • Adds a diagnostic for Effect, Stream, and Layer assertions that unsafely narrow error or requirements channels; it skips channels originally typed as any and offers a quick fix that removes the assertion.

    0.86.0release notes

Fixes and other changes 3

  • The language service no longer suggests removing Effect.gen when a single return statement contains multiple yield* expressions, which would produce invalid code.

    0.86.4release notes

  • RpcClient → Rpc enrichment skips ancestor nodes whose type cannot be resolved, preserving the upstream go-to-definition result for JSX tag names.

    0.86.3release notes

  • Promise detection ignores any and unknown before checking assignability against the global Promise type, fixing false positives for Effect.sync thunks whose return type degrades to any.

    0.86.3release notes

@effect/language-service 0.8510 changes

Tooling 9

  • Adds an effect-native diagnostic reporting async function declarations and guiding developers toward Effect-based async control flow.

    0.85.0release notes

  • Adds a diagnostic discouraging crypto.randomUUID() in favor of the Effect Random module, which uses Effect-injected randomness.

    0.85.0release notes

  • Adds a style diagnostic for Effect.Do usage and suggests migrating to Effect.gen or Effect.fn.

    0.85.0release notes

  • Adds a style diagnostic for Effect.map(...) immediately followed by Effect.flatten in pipe flows.

    0.85.0release notes

  • Adds a diagnostic for Effect.sync(() => Promise...) patterns and suggests Effect.promise or Effect.tryPromise for async work.

    0.85.0release notes

  • Adds a diagnostic that detects yield* Effect.gen(...) inside an existing Effect generator context.

    0.85.0release notes

  • Adds an effect-native diagnostic reporting manual Promise construction and guiding developers toward Effect-based async control flow.

    0.85.0release notes

  • Adds a diagnostic guiding process.env reads toward Effect Config APIs.

    0.85.0release notes

  • Adds a style diagnostic for arrow functions whose block body only returns an expression.

    0.85.0release notes

Fixes and other changes 1

  • Type parsing is updated to match renamed Context APIs in the latest Effect v4 beta releases.

    0.85.1release notes

@effect/language-service 0.8415 changes

Tooling 12

  • Diagnostic messages use reviewed neutral wording while preserving version-specific API references.

    0.84.3release notes

  • Adds Effect v4 support so the diagnostic suggests and fixes Effect.run*With usage based on Effect.services.

    0.84.1release notes

  • Adds an opt-in diagnostic that flags console logging methods outside Effect generators and suggests Effect.log/Logger.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags console logging methods inside Effect generators and suggests Effect.log/Logger.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags Date.now() and new Date() usage outside Effect generators and suggests Clock/DateTime.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags Date.now() and new Date() usage inside Effect generators and suggests Clock/DateTime.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags global fetch() usage outside Effect generators and suggests HttpClient.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags global fetch() usage inside Effect generators and suggests HttpClient.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags Math.random() usage outside Effect generators and suggests the Random service.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags Math.random() usage inside Effect generators and suggests the Random service.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags setTimeout and setInterval usage outside Effect generators and suggests Effect.sleep/Schedule.

    0.84.0release notes

  • Adds an opt-in diagnostic that flags setTimeout and setInterval usage inside Effect generators and suggests Effect.sleep/Schedule.

    0.84.0release notes

Fixes and other changes 3

  • Floating Stream values are now reported in Effect projects for both v3 and v4.

    0.84.3release notes

  • Ignores type-only heritage expressions such as interface extensions, preventing bogus TS2689 diagnostics.

    0.84.2release notes

  • Prevents false positives when an Effect.fn or Effect.fnUntraced callback gets its contextual function type from a union member.

    0.84.1release notes

@effect/language-service 0.832 changes

New APIs and options 1

  • Adds a CLI command for updating diagnostic rule severities without rerunning the full setup flow.

    0.83.0release notes

Tooling 1

  • Adds setup CLI preset management for diagnostic severities, including preset metadata and preset-aware customization.

    0.83.0release notes

@effect/language-service 0.825 changes

Behavior and default changes 2

  • The command's diagnostics output now includes start and end.

    0.82.0release notes

  • A schema can now be referenced from a local installation.

    0.82.0release notes

Tooling 2

  • Use this comment on an enclosing declaration to suppress the leaking requirements diagnostic for specific leaked services.

    0.82.0release notes

  • Adds a diagnostic mirroring noImplicitAny for unannotated Effect.fn and Effect.fnUntraced callback parameters.

    0.82.0release notes

Fixes and other changes 1

  • The diagnostic now also reports invalid ServiceMap.Service self type parameters.

    0.82.0release notes

@effect/language-service 0.814 changes

Tooling 3

  • A new diagnostic flags global fetch usage and recommends the Effect HTTP client.

    0.81.0release notes

  • The node built-in import diagnostic now recommends the Effect HTTP client for http and https imports.

    0.81.0release notes

  • Setup diagnostics now use grouped preview-driven metadata and richer interactive prompt rendering.

    0.81.0release notes

Fixes and other changes 1

  • Setup diagnostics now support tsconfig files that do not contain compilerOptions.

    0.81.0release notes

@effect/language-service 0.803 changes

New APIs and options 1

  • The diagnostics command accepts inline --lspconfig to override project plugin configuration without editing tsconfig.json.

    0.80.0release notes

Tooling 2

  • A root schema.json is generated for tsconfig.json plugin configuration and includes typed Effect Language Service plugin options.

    0.80.0release notes

  • effect-language-service setup automatically adds or removes the matching $schema entry.

    0.80.0release notes

@effect/language-service 0.796 changes

Breaking changes 2

  • Renames the plugin option to skipDisabledOptimization; it keeps disabled diagnostics eligible for comment-based overrides when patch mode is active.

    0.79.0release notes

  • The misspelled plugin option is renamed to skipDisabledOptimization.

    0.79.0release notes

New APIs and options 1

  • Adds a plugin option that allows Effect diagnostics reported as errors to be ignored for patched tsc exit-code purposes.

    0.79.0release notes

Tooling 3

  • Adds a diagnostic warning when classes directly extend the native Error constructor, including common local aliases.

    0.79.0release notes

  • Adds an opt-in diagnostic warning about Node.js built-in module imports that have Effect-native counterparts in @effect/platform.

    0.79.0release notes

  • Adds a diagnostic warning when ServiceMap.Service is assigned to a variable instead of used in a class declaration, with an auto-fix.

    0.79.0release notes

@effect/language-service 0.785 changes

Behavior and default changes 1

  • Inferred span names can include service and method names for supported layer service methods; class static members using Layer.*(this, ...) use the enclosing class name instead of this.

    0.78.0release notes

Tooling 1

  • Adds a diagnostic warning when an Effect computation appears in the failure channel of another Effect, preferring innermost matches for nested cases.

    0.78.0release notes

Fixes and other changes 3

  • The refactor no longer produces any types in Layer channels after the Effect v4 API change.

    0.78.0release notes

  • Correctly handles yieldable values such as Option.none() and targets only expression statements with top-level yield* expressions in a validated enclosing Effect.gen scope.

    0.78.0release notes

  • Hover support now uses yieldable parsing paths.

    0.78.0release notes

@effect/language-service 0.773 changes

Tooling 2

  • Adds completion and diagnostic support for Model.Class from effect/unstable/schema, including detecting mismatched Self type parameters and suggesting Model.Class after Model.

    0.77.0release notes

  • Adds a diagnostic warning when a project targeting a newer Effect version uses outdated Effect APIs.

    0.77.0release notes

Fixes and other changes 1

  • Updates TaggedError completion to use TaggedErrorClass, matching the Effect v4 API.

    0.77.0release notes

@effect/language-service 0.761 changes

Tooling 1

  • Adds a refactor that converts Effect.Service classes to Context.Tag classes with a static layer property, supporting effect, scoped, sync, succeed, and dependencies.

    0.76.0release notes

@effect/language-service 0.757 changes

Breaking changes 2

  • Types with generic call signatures are skipped; signatures with type parameters are rejected instead of being treated as concrete types.

    0.75.1release notes

  • Removes RequestClass from Schema class completions for v4.

    0.75.0release notes

Tooling 4

  • Diagnostic quick fixes are exposed as refactoring actions to work around TypeScript's limited quick fix handling in some contexts.

    0.75.1release notes

  • Adds class completion for ServiceMap.Service for Effect v4.

    0.75.0release notes

  • Makes TaggedClass available in Schema class completions for v4.

    0.75.0release notes

  • Makes TaggedErrorClass available in Schema class completions for v4.

    0.75.0release notes

Fixes and other changes 1

  • Fixes the fully-qualified form of ErrorClass in Schema class completions for v4.

    0.75.0release notes

@effect/language-service 0.7410 changes

New APIs and options 1

  • Converts TypeScript interfaces and type aliases to Effect Schema classes.

    0.74.0release notes

Tooling 9

  • Extends the diagnostic to support ServiceMap.Service patterns in Effect v4.

    0.74.0release notes

  • Automatically composes and builds layers based on service dependencies for Effect v4.

    0.74.0release notes

  • Extends detection to cover leaking requirements in ServiceMap services.

    0.74.0release notes

  • Adds Effect v4 support for Codec, DecodingServices, and EncodingServices types.

    0.74.0release notes

  • For Effect v4, warns when multiple Effect.provide calls are chained and suggests consolidation.

    0.74.0release notes

  • Adds Effect v4 pipe transformations, including Effect.fn, nested pipes, and function call conversions.

    0.74.0release notes

  • Updates method mappings for Effect v4, including mapping decodeSync to decodeEffect.

    0.74.0release notes

  • Disables the diagnostic for Effect v4 because Schema.Union of multiple Schema.Literal calls is no longer applicable.

    0.74.0release notes

  • Extends the refactor to support Effect v4 schema patterns.

    0.74.0release notes

@effect/language-service 0.736 changes

New APIs and options 1

  • The wildcard rule name applies a severity override to all diagnostics; rule-specific overrides still take precedence.

    0.73.1release notes

Tooling 5

  • Disables v3-only completions when Effect v4 is detected, including Effect.Service, Effect.Tag, Schema.TaggedError, Schema.TaggedClass, Schema.TaggedRequest, Context.Tag self, Rpc.make classes, Schema.brand, and Model.Class.

    0.73.0release notes

  • The language service detects whether Effect v3 or v4 is installed and conditionally enables version-specific completions.

    0.73.0release notes

  • Adds completions for Schema.ErrorClass when Effect v4 is detected.

    0.73.0release notes

  • Adds completions for Schema.RequestClass when Effect v4 is detected.

    0.73.0release notes

  • Supports lowercase taggedEnum completions alongside TaggedEnum for Effect v4 API compatibility.

    0.73.0release notes

@effect/language-service 0.721 changes

Fixes and other changes 1

  • The refactor now converts Effect return types to Effect.fn.Return, producing code that compiles.

    0.72.1release notes

@effect/language-service 0.715 changes

New APIs and options 2

  • Controls whether Effect-related suggestions affect the TSC exit code; defaults to true, so suggestions do not cause tsc to return a non-zero exit code.

    0.71.1release notes

  • Allows Effect-related warnings to not affect the TSC exit code, so tsc can compile successfully when those warnings are emitted.

    0.71.1release notes

Tooling 2

  • Adds a diagnostic for Effect.succeed(undefined) and Effect.succeed(void 0), with a quick fix to replace them with Effect.void.

    0.71.0release notes

  • Makes the diagnostic message more concise and actionable, explaining that untagged errors lose type safety and suggesting tagged errors.

    0.71.0release notes

Fixes and other changes 1

  • CLI patching now targets emitFilesAndReportErrors and replaces the diagnostics property in the return statement's object literal.

    0.71.2release notes

@effect/language-service 0.702 changes

Tooling 2

  • The diagnostic detects global Error in any Effect failure channel, including Effect.gen, Effect.mapError, and Effect.flatMap, and reports at the new Error() location.

    0.70.0release notes

  • The diagnostic message now suggests the subject to use with .pipe(...), such as addOne(5).pipe(...).

    0.70.0release notes

@effect/language-service 0.696 changes

New APIs and options 1

  • Adds a configuration option to control which code fix variants are offered: "untraced", "span", "inferred-span", or "no-span"; it defaults to ["span"].

    0.69.2release notes

Tooling 4

  • For Effect.fn("traceName") used as an IIFE, the diagnostic suggests Effect.gen with Effect.withSpan("traceName") to maintain tracing spans; for Effect.fnUntraced, it suggests Effect.gen without a span.

    0.69.2release notes

  • The diagnostic now gives more specific messages showing the exact expected rewrite signature and distinguishes explicit traces from Effect.withSpan from inferred traces from function names.

    0.69.2release notes

  • The diagnostic message now mentions that quickfixes are available in the editor or via the CLI quickfixes command.

    0.69.1release notes

  • Adds a diagnostic warning when Effect.fn or Effect.fnUntraced is used as an IIFE, with a quick fix to convert it to Effect.gen.

    0.69.0release notes

Fixes and other changes 1

  • The diagnostic skips functions with return type annotations to avoid issues with recursive functions.

    0.69.2release notes

@effect/language-service 0.682 changes

Tooling 2

  • Adds a diagnostic suggesting Schema.is instead of instanceof for Effect Schema types. It is disabled by default and can be enabled with instanceOfSchema:suggestion or instanceOfSchema:warning.

    0.68.0release notes

  • Improves the diagnostic message for clarity.

    0.68.0release notes

@effect/language-service 0.672 changes

New APIs and options 1

  • Adds a command that displays diagnostics with available quick fixes and previews proposed code changes for a file or project.

    0.67.0release notes

Tooling 1

  • Suggests Effect.fn for regular functions only when they have a block body with more than 5 statements; functions using Effect.gen are still always suggested.

    0.67.0release notes

@effect/language-service 0.661 changes

Tooling 1

  • The diagnostic message now notes that Effect.fn accepts piped transformations as additional arguments when detected transformations would be absorbed by Effect.fn.

    0.66.1release notes

@effect/language-service 0.6510 changes

Breaking changes 2

  • Renames reportSuggestionsAsWarningsInTsc and defaults to true, so suggestion-severity diagnostics are included in TSC output when using the patch feature.

    0.65.0release notes

  • The configuration option is renamed to includeSuggestionsInTsc.

    0.65.0release notes

New APIs and options 3

  • Adds a CLI command that reports an exported layer's details and suggests composition order; it supports selecting output types with --outputs.

    0.65.0release notes

  • Adds an overview option, defaulting to 3, to control how deeply nested symbol properties are traversed.

    0.65.0release notes

  • Lets layerinfo select which output types to include in the suggested composition.

    0.65.0release notes

Tooling 5

  • The piping flows parser recognizes transformations passed as additional arguments to Effect.fn, Effect.fn("traced"), and Effect.fnUntraced, enabling supported diagnostics to work with these patterns.

    0.65.0release notes

  • Adds a diagnostic suggesting conversion of functions returning Effect.gen to Effect.fn or Effect.fnUntraced, with code fixes for supported function patterns.

    0.65.0release notes

  • Adds a diagnostic suggesting Effect.asVoid instead of mapping an effect to void 0, undefined, or an empty object.

    0.65.0release notes

  • Adds a diagnostic suggesting removal of redundant identifier arguments in Schema.TaggedClass, Schema.TaggedError, and Schema.TaggedRequest; completions also omit those arguments.

    0.65.0release notes

  • The setup command now adds or updates Effect Language Service documentation in AGENTS.md and CLAUDE.md when installing, and removes it when uninstalling.

    0.65.0release notes

@effect/language-service 0.6412 changes

Behavior and default changes 1

  • The refactor's layer ordering heuristic now considers both provided and required service counts, improving composition order in complex dependency graphs.

    0.64.0release notes

Tooling 9

  • Adds a diagnostic with a quick fix that suggests Effect.mapError when Effect.catchAll only wraps an error with Effect.fail.

    0.64.0release notes

  • Adds a CLI command that reports exported yieldable errors, services, and layers, including their types, file locations, and JSDoc descriptions.

    0.64.0release notes

  • Adds a diagnostic warning when catch callbacks in Effect.tryPromise, Effect.try, Effect.tryMap, or Effect.tryMapPromise return the global Error type instead of typed errors.

    0.64.0release notes

  • Diagnostic guidance now uses the more generic term “tagged errors” instead of “tagged errors (Data.TaggedError)”.

    0.64.0release notes

  • CLI commands now have descriptions shown in help output when using --help.

    0.64.0release notes

  • Adds a diagnostic warning when Layer.mergeAll layers have interdependencies that cannot be satisfied because the layers are created in parallel.

    0.64.0release notes

  • The diagnostic message now adds guidance on how services should be collected in the layer creation body.

    0.64.0release notes

  • Adds an Effect v4 diagnostic that detects missing Layer context requirements.

    0.64.0release notesrelease notes

  • When triggered on an Effect.Tag class, the diagnostic now suggests using Context.Tag because Effect.Tag does not allow disabling accessors.

    0.64.0release notes

Fixes and other changes 2

  • Fixes auto-import generation for namespace import packages when the identifier is at the beginning of the file, preventing malformed import statements.

    0.64.1release notes

  • Fixes the diagnostic and refactor for namespace imports from effect/Function, including Function.pipe() and Fn.pipe().

    0.64.0release notes

@effect/language-service 0.636 changes

Behavior and default changes 1

  • The CLI now resolves TypeScript from the current working directory first, so it uses the same version as the project being analyzed.

    0.63.1release notes

Tooling 4

  • Extends the diagnostic to detect when Model.Class<Self> uses a Self type parameter that does not match the actual class name.

    0.63.0release notes

  • Adds an interactive wizard that guides installation and configuration of the Effect Language Service, including package setup, TypeScript plugin configuration, diagnostic severity, and optional editor settings.

    0.63.0release notes

  • Adds completion support for @effect/sql Model.Class that auto-completes the Self type parameter when extending Model.Class.

    0.63.0release notes

  • Adds a diagnostic warning when Effect.fail is called with the global Error type, which can merge failure types and make them harder to distinguish.

    0.63.0release notes

Fixes and other changes 1

  • Path resolution in CLI setup now uses the current working directory explicitly and resolves the selected tsconfig path to an absolute path before validation.

    0.63.2release notes

@effect/language-service 0.627 changes

Behavior and default changes 1

  • The refactor prioritizes layers that provide more services, placing telemetry and tracing layers later in the composition chain for more intuitive and correct ordering.

    0.62.4release notes

Tooling 1

  • Adds a codegen that generates Effect Schema classes from TypeScript types, reuses existing schema definitions, supports type aliases and interfaces, and warns when source types change.

    0.62.0release notes

Fixes and other changes 5

  • Effect.**, Option.**, and Either.__ completions are no longer incorrectly suggested inside import statements.

    0.62.5release notes

  • Fixes counter increment timing so the first conflicting schema is named User_1 instead of User_0.

    0.62.3release notes

  • Fixes duplicate schema identifiers generated when types have conflicting names by properly incrementing the usage counter for unique suffixes.

    0.62.2release notes

  • Generated schemas now preserve the distinction between mutable Array<T> and read-only arrays, avoiding compatibility issues with APIs that expect mutable arrays.

    0.62.1release notes

  • Generates Schema.optionalWith(Schema.String, { exact: true }) for optional properties when exactOptionalPropertyTypes is enabled, maintaining compatibility with external library types.

    0.62.0release notes

@effect/language-service 0.611 changes

Tooling 1

  • Adds a refactor that converts TypeScript interfaces and type aliases to Effect Schema classes, reusing existing schemas for referenced types.

    0.61.0release notes

@effect/language-service 0.601 changes

New APIs and options 1

  • Adds a configurable Mermaid diagram provider, supporting mermaidchart.com, mermaid.live, or a custom URL.

    0.60.0release notes

@effect/language-service 0.592 changes

Tooling 1

  • Adds a diagnostic and quick fix that converts Schema.Struct with a _tag Schema.Literal field to Schema.TaggedStruct, making the tag optional in the constructor.

    0.59.0release notes

Fixes and other changes 1

  • Fixes completions for directly imported Effect APIs, including APIs from effect/Effect, effect/Schema, effect/Data, and effect/Context.

    0.59.0release notes

@effect/language-service 0.589 changes

Breaking changes 1

  • Returns exit code 1 when errors are found, or when warnings are found in strict mode.

    0.58.0release notes

New APIs and options 3

  • Select JSON, pretty, plain-text, or GitHub Actions output for diagnostics.

    0.58.0release notes

  • Filter diagnostics by comma-separated severity levels: error, warning, or message.

    0.58.0release notes

  • Treat warnings as errors, affecting the command's exit code.

    0.58.0release notes

Fixes and other changes 5

  • Symbol resolution now correctly handles symbols exported from a module with an alias, improving type analysis for Effect modules.

    0.58.4release notes

  • The toggle type annotation and toggle return type annotation refactors now handle types that have errors, are unnamed, or contain unresolved references.

    0.58.4release notes

  • Toggle refactors for type annotations and return type annotations now use the enclosing declaration node as context, improving type resolution and preventing type parameter scope issues.

    0.58.3release notes

  • The diagnostic now checks Effect and Layer types for any or unknown in their error and requirements channels, while skipping explicit Layer type annotations to avoid false positives.

    0.58.2release notes

  • The diagnostic excludes JSX elements, preventing false positives on tag names, self-closing elements, opening and closing elements, and attribute names.

    0.58.1release notes

@effect/language-service 0.573 changes

Tooling 3

  • Adds a codefix that replaces Effect.run* calls inside nested Effect contexts with Runtime.run* calls, extracting or reusing an Effect runtime.

    0.57.1release notes

  • Adds a codegen that infers initializer types and adds type annotations to exported constants.

    0.57.0release notes

  • Adds a diagnostic warning when Effect.fail() wraps a yieldable error, suggesting yielding the error directly.

    0.57.0release notes

@effect/language-service 0.564 changes

New APIs and options 3

  • Adds --file to update a specific file.

    0.56.0release notes

  • Adds --project to update all files in a project using a tsconfig.json path.

    0.56.0release notes

  • Adds --verbose to show detailed output during processing.

    0.56.0release notes

Tooling 1

  • Adds a CLI command that scans TypeScript files containing @effect-codegens directives and applies the necessary code transformations.

    0.56.0release notes

@effect/language-service 0.5510 changes

Performance 1

  • Reduces unnecessary type lookup calls on non-expression nodes, improving performance; type checking is performed only on expression nodes.

    0.55.4release notes

Tooling 2

  • Adds a diagnostic warning when Effect.runSync, Effect.runPromise, Effect.runFork, or Effect.runCallback is used inside an Effect context.

    0.55.0release notes

  • Adds a diagnostic suggesting that multiple Schema.Literal calls in Schema.Union be simplified to a single Schema.Literal call.

    0.55.0release notes

Fixes and other changes 7

  • Fixed duplicate edges that could occur when multiple type assignments matched between layer nodes.

    0.55.5release notes

  • The comment directive now suppresses diagnostics for property assignments in the middle of object literals.

    0.55.3release notes

  • Quick info now properly displays Effect type parameters, including Success, Failure, and Requirements types, in previously affected contexts.

    0.55.3release notes

  • The Schema constructor can be overridden when its parameters are only redirected.

    0.55.3release notes

  • Excludes pipe function calls from chain detection, preventing valid code patterns from being incorrectly flagged.

    0.55.2release notes

  • Ignores chains where the function returns a callable type, avoiding false positives for higher-order functions.

    0.55.2release notes

  • Correctly detects nested function call chains that can be converted to pipeable style, avoiding false positives.

    0.55.1release notes

@effect/language-service 0.542 changes

Tooling 1

  • Adds a diagnostic warning when catch callbacks in Effect.tryPromise, Effect.tryMap, or Effect.tryMapPromise return unknown or any, encouraging properly typed errors.

    0.54.0release notes

Fixes and other changes 1

  • This option now affects only the TSC module, so suggestions are no longer incorrectly reported in non-TSC TypeScript contexts.

    0.54.0release notes

@effect/language-service 0.538 changes

New APIs and options 2

  • Adds an option to report suggestion- and message-severity diagnostics as warnings in TypeScript compiler output, with a [suggestion] prefix.

    0.53.2release notes

  • Adds a configuration option to control how deeply Layer Graph visualization follows symbol references; the default is 0.

    0.53.0release notes

Performance 1

  • CLI diagnostics now dispose of the previous language service when a new instance is created, preventing memory accumulation during batch processing of large codebases.

    0.53.3release notes

Behavior and default changes 2

  • In TSC patching mode, diagnosticsName is now automatically enabled so diagnostic rule names are included in the output.

    0.53.3release notes

  • When enabled, suggestion-level diagnostics are converted to Message category instead of Warning category with a prefix.

    0.53.3release notes

Tooling 1

  • The CLI displays diagnostic rule names as effect(ruleName): instead of TS<code>: and disables diagnosticsName internally to prevent duplicate rule names in message text.

    0.53.3release notes

Fixes and other changes 2

  • Layer graphs now render newlines in Mermaid diagrams with <br/> tags and display variable declaration names instead of full expressions when available, improving readability.

    0.53.1release notes

  • Fixes Layer Graph visualization for expression nodes that do not return layers directly.

    0.53.0release notes

@effect/language-service 0.522 changes

Behavior and default changes 1

  • Patching is skipped by default; provide --force to patch again.

    0.52.1release notes

Tooling 1

  • Adds a diagnostic warning when catch functions are applied to effects with a never error type.

    0.52.0release notes

@effect/language-service 0.513 changes

Tooling 1

Fixes and other changes 2

  • The layer graph now correctly identifies and displays dependencies when they reference themselves, including with type assignment compatibility.

    0.51.1release notes

  • Fixes a bug in the missedPipeableOpportunity diagnostic.

    0.51.0release notes

@effect/language-service 0.501 changes

Tooling 1

  • Adds a diagnostic that detects nested function calls that could be converted to Effect’s pipeable style for improved readability.

    0.50.0release notes

@effect/language-service 0.491 changes

Fixes and other changes 1

  • Special characters, including parentheses, braces, and quotes, are now properly escaped as HTML entities to ensure correct rendering.

    0.49.0release notes

@effect/language-service 0.484 changes

Security 1

  • A new key pattern hashes the resulting string for deterministic service and error keys without exposing service names in builds.

    0.48.0release notes

Fixes and other changes 3

  • The refactor no longer encounters infinite recursion when processing variable and property declarations.

    0.48.0release notes

  • The refactor now properly unifies boolean types instead of expanding them to true | false.

    0.48.0release notes

  • The try/catch message now ignores try/finally blocks.

    0.48.0release notes

@effect/language-service 0.477 changes

New APIs and options 2

  • Adds an option to get diagnostics for a specific file.

    0.47.0release notes

  • Adds an option to check an entire project using a tsconfig file.

    0.47.0release notes

Performance 2

  • Older cached members are properly evicted to improve memory usage.

    0.47.2release notes

  • Processes files in batches to improve memory usage and prevent leaks.

    0.47.1release notes

Tooling 1

  • Adds a CLI command for getting Effect-specific diagnostics without patching the TypeScript installation.

    0.47.0release notes

Fixes and other changes 2

  • Refactors now skip type parameters that match the function default in some cases.

    0.47.3release notes

  • Correctly resolves relative paths for nested project references by using absolute paths when parsing tsconfig files and resolving the project-reference base directory.

    0.47.1release notes

@effect/language-service 0.463 changes

New APIs and options 2

  • Mark a service as leakable so it is excluded from the leaking requirements diagnostic, allowing requirements expected to be provided per method invocation.

    0.46.0release notes

  • Controls the severity of a diagnostic for @effect-diagnostics-next-line comments that have no effect; defaults to "warning" and can be set to "off".

    0.46.0release notes

Fixes and other changes 1

  • The refactor improves dependency sorting and cycle detection, handles complex layer composition scenarios, and detects missing layer implementations with helpful error messages.

    0.46.0release notes

@effect/language-service 0.453 changes

New APIs and options 2

  • Mark a custom API's identifier parameter with this JSDoc tag so deterministicKeys can enforce deterministic keys for that API.

    0.45.0release notes

  • Add this plugin option to enable detection of custom APIs that follow an extends MyApi("identifier") pattern.

    0.45.0release notes

Tooling 1

  • A new code fix rewrites Schema class constructor overrides as static new methods, preserving custom initialization logic while maintaining Schema decoding behavior.

    0.45.1release notes