From 4772d02349f310219cf05e869545612960054a32 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 3 Dec 2025 23:05:41 +0100 Subject: [PATCH] Update dependency @effect/language-service to ^0.59.0 (#27) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This PR contains the following updates: | Package | Change | [Age](https://docs.renovatebot.com/merge-confidence/) | [Confidence](https://docs.renovatebot.com/merge-confidence/) | |---|---|---|---| | [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.58.0` -> `^0.59.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.58.4/0.59.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@effect%2flanguage-service/0.59.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@effect%2flanguage-service/0.58.4/0.59.0?slim=true) | --- ### Release Notes
Effect-TS/language-service (@​effect/language-service) ### [`v0.59.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0590) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.58.4...v0.59.0) ##### Minor Changes - [#​518](https://github.com/Effect-TS/language-service/pull/518) [`660549d`](https://github.com/Effect-TS/language-service/commit/660549d2c07ecf9ccd59d9f022f5c97467f6fc17) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Add new `schemaStructWithTag` diagnostic that suggests using `Schema.TaggedStruct` instead of `Schema.Struct` when a `_tag` field with `Schema.Literal` is present. This makes the tag optional in the constructor, improving the developer experience. Example: ```typescript // Before (triggers diagnostic) export const User = Schema.Struct({ _tag: Schema.Literal("User"), name: Schema.String, age: Schema.Number, }); // After (applying quick fix) export const User = Schema.TaggedStruct("User", { name: Schema.String, age: Schema.Number, }); ``` The diagnostic includes a quick fix that automatically converts the `Schema.Struct` call to `Schema.TaggedStruct`, extracting the tag value and removing the `_tag` property from the fields. ##### Patch Changes - [#​521](https://github.com/Effect-TS/language-service/pull/521) [`61f28ba`](https://github.com/Effect-TS/language-service/commit/61f28babbd909ef08be25fdcd684c81af683cd62) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Fix auto-completion for directly imported Effect APIs. Completions now work when using direct imports like `import { Service } from "effect/Effect"` instead of only working with fully qualified names like `Effect.Service`. This fix applies to: - `Effect.Service` and `Effect.Tag` from `effect/Effect` - `Schema.Class`, `Schema.TaggedError`, `Schema.TaggedClass`, and `Schema.TaggedRequest` from `effect/Schema` - `Data.TaggedError` and `Data.TaggedClass` from `effect/Data` - `Context.Tag` from `effect/Context` Example: ```typescript // Now works with direct imports import { Service } from "effect/Effect" export class MyService extends Service // ✓ Completion available // Still works with fully qualified names import * as Effect from "effect/Effect" export class MyService extends Effect.Service // ✓ Completion available ``` Fixes [#​394](https://github.com/Effect-TS/language-service/issues/394)
--- ### Configuration 📅 **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 becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). Reviewed-on: https://git.valverde.cloud/Thilawyn/effect-fc/pulls/27 Co-authored-by: Renovate Bot Co-committed-by: Renovate Bot --- bun.lock | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bun.lock b/bun.lock index dc7f8ff..3dd0abb 100644 --- a/bun.lock +++ b/bun.lock @@ -6,7 +6,7 @@ "name": "@effect-fc/monorepo", "devDependencies": { "@biomejs/biome": "^2.3.8", - "@effect/language-service": "^0.58.0", + "@effect/language-service": "^0.59.0", "@types/bun": "^1.3.3", "npm-check-updates": "^19.1.2", "npm-sort": "^0.0.4", @@ -131,7 +131,7 @@ "@effect-fc/example": ["@effect-fc/example@workspace:packages/example"], - "@effect/language-service": ["@effect/language-service@0.58.0", "", { "bin": { "effect-language-service": "cli.js" } }, "sha512-M5T9zEEu6sLuzXOIp+bQ8B1pMcX3A9gyahTTWlv9idr+b2SlZOfydomwgXkod4vlXw7mYhLLcXgCsnHcBUz9rw=="], + "@effect/language-service": ["@effect/language-service@0.59.0", "", { "bin": { "effect-language-service": "cli.js" } }, "sha512-jFl5oqxPrWNoKL6u8m8i1xbJ9hT9YeuPY25tMiuB7YU1GjIHJHXwBbVspMsQ8JdDrP+vdXJj+yX/Tk6J2bbvuw=="], "@effect/platform": ["@effect/platform@0.93.6", "", { "dependencies": { "find-my-way-ts": "^0.1.6", "msgpackr": "^1.11.4", "multipasta": "^0.2.7" }, "peerDependencies": { "effect": "^3.19.8" } }, "sha512-I5lBGQWzWXP4zlIdPs7z7WHmEFVBQhn+74emr/h16GZX96EEJ6I1rjGaKyZF7mtukbMuo9wEckDPssM8vskZ/w=="], diff --git a/package.json b/package.json index f44cdba..b8b1de3 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ }, "devDependencies": { "@biomejs/biome": "^2.3.8", - "@effect/language-service": "^0.58.0", + "@effect/language-service": "^0.59.0", "@types/bun": "^1.3.3", "npm-check-updates": "^19.1.2", "npm-sort": "^0.0.4",