Releases: Effect-TS/language-service
Release list
@effect/language-service@0.87.1
Patch Changes
- #765
6b9dab5Thanks @mattiamanzati! - Ignore Effect v4 localEffect.provide(..., { local: true })calls when reporting chained provides with themultipleEffectProvidediagnostic.
@effect/language-service@0.87.0
Minor Changes
- #760
f1fca78Thanks @mattiamanzati! - Add theflatMapToMapstyle diagnostic, which suggests replacingEffect.flatMap((value) => Effect.succeed(f(value)))withEffect.map((value) => f(value)).
Patch Changes
-
#762
5e71871Thanks @mattiamanzati! - EnableskipLibCheckin the diagnostics test harness to reduce test runtime and memory usage. -
#763
0dc8034Thanks @mattiamanzati! - Update the setup command to configure VS Code with the unifiedjs/tsTypeScript settings. -
#742
939a049Thanks @RezaOwliaei! - Update README to replace deprecated VSCode TypeScript settings (typescript.tsdkandtypescript.enablePromptUseWorkspaceTsdk) with the current recommended configuration.
@effect/language-service@0.86.6
Patch Changes
- #758
6ef9a46Thanks @mattiamanzati! - Skip Effect diagnostics for external library files in patched tsc runs when TypeScriptskipLibCheckis enabled.
@effect/language-service@0.86.5
Patch Changes
-
#751
8d0b85aThanks @mattiamanzati! - Reject unsupported TypeScript versions when loading or patching TypeScript, directing TypeScript 7 users to @effect/tsgo. -
#754
1dce66bThanks @mattiamanzati! - Update the Effect v4 harness and language-service development dependencies to Effect 4.0.0-beta.94, including compatibility updates for the latest Effect API and Schema type output.
@effect/language-service@0.86.4
Patch Changes
- #746
5da9914Thanks @mattiamanzati! - Avoid suggesting removal ofEffect.genwhen a single return statement contains multipleyield*expressions, which would produce invalid code.
@effect/language-service@0.86.3
Patch Changes
-
#744
1707983Thanks @mattiamanzati! - FixlazyPromiseInEffectSyncfalse positives forEffect.syncthunks whose return type degrades toany. Promise detection now ignoresanyandunknownbefore falling back to assignability against the globalPromisetype. -
#740
df50dfcThanks @jbmusso! - FixeffectRpcDefinitionwiping the upstream go-to-definition result when the user clicks on a JSX<Namespace.Component />tag name. The plugin's RpcClient → Rpc enrichment now skips ancestor nodes whose type cannot be resolved (such as JSX tag-name nodes) instead of returningundefinedfor the entire request.
@effect/language-service@0.86.2
Patch Changes
-
#739
2a21b07Thanks @mattiamanzati! - Update the generatedschema.jsonto include the TypeScript 6.0ES2025target and lib entries. -
#738
ec42fd6Thanks @mattiamanzati! - UpdatepreferSchemaOverJsonto be off by default.Improve the diagnostic guidance for JSON parsing and stringifying:
- in Effect v3, suggest
Schema.parseJson(Schema.Unknown)for unknown shapes andSchema.parseJson(schema)for known ones - in Effect v4, suggest
Schema.UnknownFromJsonString,Schema.fromJsonString(schema), andSchema.toCodecJson(schema)depending on whether the target shape is known and whether the code is working with JSON strings or JSON values
- in Effect v3, suggest
-
#736
4bf81c4Thanks @mattiamanzati! - Update the Effect v4 beta dependencies to 4.0.0-beta.68.
@effect/language-service@0.86.1
Patch Changes
- #732
0674371Thanks @mattiamanzati! - Update the Effect v4 test harness and language service development dependencies to Effect 4.0.0 beta 66, including fixture updates for the latest Context service API.
@effect/language-service@0.86.0
Minor Changes
-
#728
a5b0e47Thanks @mattiamanzati! - Add theunsafeEffectTypeAssertiondiagnostic to catchas Effect<...>,as Stream<...>, andas Layer<...>assertions that unsafely narrow the error or requirements channels.The rule skips channels whose original type is
anyand offers a quick fix that removes the assertion while preserving the original expression.
@effect/language-service@0.85.1
Patch Changes
-
#726
fd4a8daThanks @mattiamanzati! - Update the Effect v4 beta examples and type parsing to match the renamed Context APIs in the latest 4.0.0-beta releases. -
#724
14d5798Thanks @mattiamanzati! - Refactor Effect context tracking to use cached node context flags and direct generator lookups.This aligns the TypeScript implementation more closely with the TSGo version and simplifies diagnostics that need to detect whether code is inside an Effect generator.