chore(deps): update dependency @effect/language-service to ^0.85.1#98
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency @effect/language-service to ^0.85.1#98renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
2695414 to
7fb109c
Compare
7fb109c to
e59a7d4
Compare
e59a7d4 to
cf62128
Compare
cf62128 to
b880fa6
Compare
b880fa6 to
b0e8f4a
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^0.80.0→^0.85.1Release Notes
Effect-TS/language-service (@effect/language-service)
v0.85.1Compare Source
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.
v0.85.0Compare Source
Minor Changes
#720
4229bb9Thanks @mattiamanzati! - Add thenestedEffectGenYielddiagnostic to detectyield* Effect.gen(...)inside an existing Effect generator context.Example:
#723
da9cc4bThanks @mattiamanzati! - Add theeffectMapFlattenstyle diagnostic forEffect.map(...)immediately followed byEffect.flattenin pipe flows.Example:
#718
0af7c0fThanks @mattiamanzati! - Add thelazyPromiseInEffectSyncdiagnostic to catchEffect.sync(() => Promise...)patterns and suggest usingEffect.promiseorEffect.tryPromisefor async work.Example:
#714
32985b2Thanks @mattiamanzati! - AddprocessEnvandprocessEnvInEffectdiagnostics to guideprocess.env.*reads toward EffectConfigAPIs.Examples:
process.env.PORTprocess.env["API_KEY"]#721
f05ae89Thanks @mattiamanzati! - Add theunnecessaryArrowBlockstyle diagnostic for arrow functions whose block body only returns an expression.Example:
#717
b77848aThanks @mattiamanzati! - AddnewPromiseandasyncFunctioneffect-native diagnostics to report manualPromiseconstruction and async function declarations, with guidance toward Effect-based async control flow.#722
6f19858Thanks @mattiamanzati! - Add theeffectDoNotationstyle diagnostic forEffect.Dousage and suggest migrating toEffect.genorEffect.fn.Example:
#716
c3f67b0Thanks @mattiamanzati! - AddcryptoRandomUUIDandcryptoRandomUUIDInEffectdiagnostics for Effect v4 to discouragecrypto.randomUUID()in favor of the EffectRandommodule, which uses Effect-injected randomness instead of the global crypto implementation.Patch Changes
d23980aThanks @mattiamanzati! - Update the Effect v4 beta dependencies to4.0.0-beta.43for the language service and v4 harness packages.v0.84.3Compare Source
Patch Changes
#711
892984fThanks @mattiamanzati! - Report floatingStreamvalues in Effect projects by parsingStreamtypes in the diagnostic type parser and checking them infloatingEffectfor both v3 and v4 harnesses.#709
0372f58Thanks @mattiamanzati! - Fix the Effect v4 completion harness to coverServiceMapself-in-classes examples instead of the v3-onlyContext.Tagvariants.#712
b7554dfThanks @mattiamanzati! - Align Effect diagnostic messages with the reviewed neutral wording, preserving the existing version-specific API references while updating both v3 and v4 snapshot fixtures.v0.84.2Compare Source
Patch Changes
3c0bea6Thanks @mattiamanzati! - FixgetTypeAtLocationto ignore type-only heritage expressions likeinterface X extends Effect.Effect<...>so the language service no longer triggers bogus TS2689 diagnostics.v0.84.1Compare Source
Patch Changes
#703
dea43b8Thanks @mattiamanzati! - FixeffectFnImplicitAnyso it does not report false positives when anEffect.fnorEffect.fnUntracedcallback gets its contextual function type from a union member.For example, nested
HttpRouter.add(...)handlers now correctly recognize the inferredrequesttype and produce no diagnostics when the parameter is not actually implicitany.#702
0af9b98Thanks @mattiamanzati! - Add Effect v4 support for therunEffectInsideEffectdiagnostic so it suggests and fixesEffect.run*Withusage based onEffect.services.Update the generated metadata, schema, README entry, and v4 harness examples/snapshots to document and verify the new behavior.
v0.84.0Compare Source
Minor Changes
#696
78e78d5Thanks @cevr! - Add paired globalDate/globalDateInEffect, globalConsole/globalConsoleInEffect, globalFetch/globalFetchInEffect, globalRandom/globalRandomInEffect, and globalTimers/globalTimersInEffect diagnosticsTen new opt-in diagnostics that flag global/DOM APIs both outside and inside Effect generators:
globalFetch/globalFetchInEffect—fetch()→ HttpClientglobalDate/globalDateInEffect—Date.now(),new Date()→ Clock/DateTimeglobalConsole/globalConsoleInEffect—console.log/warn/error/info/debug/trace→ Effect.log/LoggerglobalRandom/globalRandomInEffect—Math.random()→ Random serviceglobalTimers/globalTimersInEffect—setTimeout/setInterval→ Effect.sleep/ScheduleAll default to
off. Enable both variants for full coverage inside and outside Effect generators. Shadow-safe (e.g.const console = yield* Consolewon't false-positive).v0.83.1Compare Source
Patch Changes
b11c184Thanks @mattiamanzati! - Update the Effect v4 workspace dependencies to4.0.0-beta.38.v0.83.0Compare Source
Minor Changes
#695
f057090Thanks @mattiamanzati! - Add aconfigCLI command for updating diagnostic rule severities without rerunning the full setup flow.#693
b5054e3Thanks @mattiamanzati! - Add setup CLI preset management for diagnostic severities, including preset metadata, preset-aware customization, and a dedicatedconfigcommand for adjusting rule severities without rerunning full setup.v0.82.0Compare Source
Minor Changes
#689
aed2074Thanks @f15u! - Adds ability to reference$schemafrom local installation#692
57fcf35Thanks @mattiamanzati! - Add theeffectFnImplicitAnydiagnostic to mirrornoImplicitAnyfor unannotatedEffect.fnandEffect.fnUntracedcallback parameters, and support// @​strictin diagnostic example files so test fixtures can enable strict compiler options.Patch Changes
#687
72827c0Thanks @mattiamanzati! - Allow the leaking requirements diagnostic to suppress specific leaked services with@effect-expect-leakingcomments on the enclosing declaration.#690
77906a9Thanks @mattiamanzati! - Fix the class self mismatch diagnostic so it also reports invalidServiceMap.Serviceself type parameters.#691
0e16db0Thanks @mattiamanzati! - Include start and end in json diagnostics commandv0.81.0Compare Source
Minor Changes
#684
d8d472eThanks @mattiamanzati! - Improve setup diagnostic configuration with grouped preview-driven metadata, richer interactive prompt rendering, and support for tsconfig files without compilerOptions.#685
d94f4adThanks @mattiamanzati! - Add a diagnostic for globalfetchusage that recommends the Effect HTTP client and include preview fixtures covering both direct and shadowed fetch calls.Patch Changes
#686
5f76175Thanks @mattiamanzati! - Extend the node built-in import diagnostic to also recommend the Effect HTTP client forhttpandhttpsimports.#682
75e1cbeThanks @mattiamanzati! - Add diagnostic groups to rule metadata and render the README diagnostics table grouped by those sections.Configuration
📅 Schedule: (UTC)
* 0-3 * * 1)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.