chore(deps): update dependency @effect/language-service to ^0.80.0#298
Open
renovate[bot] wants to merge 1 commit intomainfrom
Open
chore(deps): update dependency @effect/language-service to ^0.80.0#298renovate[bot] wants to merge 1 commit intomainfrom
renovate[bot] wants to merge 1 commit intomainfrom
Conversation
|
215c598 to
5c7c5d6
Compare
5c7c5d6 to
83fbbde
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.77.0→^0.80.0Release Notes
Effect-TS/language-service (@effect/language-service)
v0.80.0Compare Source
Minor Changes
#681
1017a54Thanks @mattiamanzati! - Generate a rootschema.jsonfortsconfig.jsonplugin configuration, add typed Effect Language Service plugin options to that schema, and haveeffect-language-service setupadd or remove the matching$schemaentry automatically.#679
3664197Thanks @mattiamanzati! - Add inline--lspconfigsupport to theeffect-language-service diagnosticsCLI command so diagnostics runs can override the project plugin configuration without editingtsconfig.json.v0.79.0Compare Source
Minor Changes
#671
6b9c378Thanks @mattiamanzati! - Add theextendsNativeErrordiagnostic to warn when classes directly extend the nativeErrorconstructor, including common local aliases such asconst E = Error.This helps steer users toward tagged errors that preserve stronger typing in the Effect failure channel.
#678
0e9c11bThanks @mattiamanzati! - Generate the README diagnostics table from the diagnostic registry.Each diagnostic now declares:
The generated table is checked in CI, and diagnostics tests verify that
fixablematches the presence of non-suppression quick fixes.#676
2f982d6Thanks @mattiamanzati! - Add thenodeBuiltinImportdiagnostic 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 andnode:-prefixed specifiers as well as subpath variants likefs/promises,path/posix, andpath/win32. It defaults to severityoffand provides no code fixes.#673
f9e24dfThanks @mattiamanzati! - Add plugin options to better control patchedtscbehavior.ignoreEffectErrorsInTscExitCodeallows Effect diagnostics reported as errors to be ignored for exit-code purposes, andskipDisabledOptimiziationkeeps disabled diagnostics eligible for comment-based overrides when patch mode is active.#674
54e8c16Thanks @mattiamanzati! - Add theserviceNotAsClassdiagnostic to warn whenServiceMap.Serviceis used as a variable assignment instead of in a class declaration.Includes an auto-fix that converts
const Config = ServiceMap.Service<Shape>("Config")toclass Config extends ServiceMap.Service<Config, Shape>()("Config") {}.Patch Changes
#675
d1f09c3Thanks @mattiamanzati! - Rename theskipDisabledOptimiziationplugin option toskipDisabledOptimization.Example:
{ "compilerOptions": { "plugins": [ { "name": "@​effect/language-service", "skipDisabledOptimization": true } ] } }v0.78.0Compare Source
Minor Changes
#663
0e82d43Thanks @mattiamanzati! - ImproveeffectFnOpportunityinferred span naming for service-layer methods and align examples for Effect v4.The inferred span can now include service + method names (for example
MyService.log) when the convertible function is a method inside a layer service object for strict supported patterns like:Layer.succeed(Service)(...)Layer.sync(Service)(...)Layer.effect(Service)(Effect.gen(...))Layer.effect(Service, Effect.gen(...))Also add Effect v4 diagnostics fixtures for:
effectFnOpportunity_inferred.tseffectFnOpportunity_inferredLayer.ts#669
a010a29Thanks @mattiamanzati! - Add a neweffectInFailurediagnostic that warns when anEffectcomputation appears in the failure channel (E) of anotherEffect.The rule traverses Effect-typed expressions, unrolls union members of
E, and reports when any member is itself a strict Effect type.It prefers innermost matches for nested cases (for example nested
Effect.tryincatch) to avoid noisy parent reports.Patch Changes
#666
06b3a6cThanks @mattiamanzati! - FixeffectFnOpportunityinferred span naming forLayer.*(this, ...)patterns in class static members.When the inferred layer target is
this, the diagnostic now uses the nearest enclosing class name (for exampleMyService) instead of the literalthistoken.#665
a95a679Thanks @mattiamanzati! - Improve yield-based diagnostics and hover behavior by introducingeffectYieldableTypeinTypeParserand using it inmissingReturnYieldStar.asEffect()and mapped to EffectA/E/R.effectYieldableTypefalls back to standardeffectTypebehavior.missingReturnYieldStarnow correctly handles yieldable values such asOption.none().yield*was updated to use yieldable parsing paths.#664
934ef7eThanks @mattiamanzati! - ImprovemissingReturnYieldStarsafety by targeting only expression statements with top-levelyield*expressions and validating the enclosingEffect.genscope viafindEnclosingScopes.This avoids edge cases where nested or wrapped
yield*expressions could be matched incorrectly.#661
0f92686Thanks @mattiamanzati! - Update effect dependency to v4.0.0-beta.19 and fix compatibility issues:layerMagicrefactor producinganytypes in Layer channels by replacingArray.partition(which now uses the v4Filter.FilterAPI) with a native loop for boolean partition logic"~effect/Layer"TypeId property, matching the pattern already used for Effect type detectionEffect.filterMapas unchanged in the outdated API migration database since it was re-added in v4Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, 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.