Repository navigation
Releases
@effect/[email protected]
Patch Changes
-
#781
dae2015Thanks @mattiamanzati! - Update Effect v4 support to 4.0.5 and fixrunEffectInsideEffect.Effect.runPromiseExitandEffect.runSyncExitcalled inside an Effect are now reported, likeEffect.runPromiseandEffect.runSync:export const program = Effect.gen(function* () { yield* Effect.void; setTimeout(() => { Effect.runPromiseExit(child); // ^- now suggests Effect.runPromiseExitWith (v4) or Runtime.runPromiseExit (v3) }, 0); });
The v4 quick fix now inserts
yield* Effect.context<never>()instead of the removedEffect.services, and reuses an existingyield* Effect.context()binding:export const program = Effect.gen(function* () { const context = yield* Effect.context<never>(); const run = () => Effect.runSyncWith(context)(Effect.succeed(1)); return [context, run()] as const; });
@effect/[email protected]
Patch Changes
-
#777
4478eecThanks @CasperEngl! -missedPipeableOpportunitynow reports calls whose result is used as a method receiver, and the calls nested inside them. These were skipped before:// now reported: `Inner.pipe(...)` export const B = Schema.NullishOr(Inner).annotations({ identifier: "B" }); // now reported, including the nested `Schema.Array(Inner)` export const C = Schema.NullishOr( Schema.Struct({ x: Schema.Array(Inner) }) ).annotations({ identifier: "C" });
Other diagnostics built on the same piping analysis, such as
flatMapToMapandstrictEffectProvide, now also check calls in these positions.
@effect/[email protected]
Patch Changes
-
#770
5e4d380Thanks @mattiamanzati! - Update Effect v4 compatibility to 4.0.0-beta.107. -
#774
8e9cb21Thanks @mattiamanzati! - Update Effect v4 compatibility to 4.0.0-rc.115 and allowEffect.provideat recognized application entry points. -
#775
de7f7beThanks @mattiamanzati! - Update Effect v4 compatibility to 4.0.0-rc.118. Migrate CLI, HTTP, schema model, and encoding imports to the new package paths, including the v4 examples and diagnostics.
@effect/[email protected]
Patch Changes
- #768
15fb3c3Thanks @mattiamanzati! - Update Effect v4 compatibility to 4.0.0-beta.104, including the renamedSchema.ErrorandSchema.TaggedErrorconstructors.
@effect/[email protected]
Patch Changes
- #765
6b9dab5Thanks @mattiamanzati! - Ignore Effect v4 localEffect.provide(..., { local: true })calls when reporting chained provides with themultipleEffectProvidediagnostic.
@effect/[email protected]
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/[email protected]
Patch Changes
- #758
6ef9a46Thanks @mattiamanzati! - Skip Effect diagnostics for external library files in patched tsc runs when TypeScriptskipLibCheckis enabled.
@effect/[email protected]
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/[email protected]
Patch Changes
- #746
5da9914Thanks @mattiamanzati! - Avoid suggesting removal ofEffect.genwhen a single return statement contains multipleyield*expressions, which would produce invalid code.
@effect/[email protected]
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.