Update dependency @effect/language-service to ^0.59.0 #27

Merged
Thilawyn merged 1 commits from renovate/bun-minor-patch into next 2025-12-03 23:05:42 +01:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@effect/language-service ^0.58.0 -> ^0.59.0 age confidence

Release Notes

Effect-TS/language-service (@​effect/language-service)

v0.59.0

Compare Source

Minor Changes
  • #​518 660549d Thanks @​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:

    // 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 61f28ba Thanks @​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:

    // 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


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.

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 <details> <summary>Effect-TS/language-service (@&#8203;effect/language-service)</summary> ### [`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 - [#&#8203;518](https://github.com/Effect-TS/language-service/pull/518) [`660549d`](https://github.com/Effect-TS/language-service/commit/660549d2c07ecf9ccd59d9f022f5c97467f6fc17) Thanks [@&#8203;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 - [#&#8203;521](https://github.com/Effect-TS/language-service/pull/521) [`61f28ba`](https://github.com/Effect-TS/language-service/commit/61f28babbd909ef08be25fdcd684c81af683cd62) Thanks [@&#8203;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 [#&#8203;394](https://github.com/Effect-TS/language-service/issues/394) </details> --- ### 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. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- This PR has been generated by [Renovate Bot](https://github.com/renovatebot/renovate). <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi4zMi4xIiwidXBkYXRlZEluVmVyIjoiNDIuMzIuMSIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2025-12-03 13:01:22 +01:00
Update dependency @effect/language-service to ^0.59.0
All checks were successful
Lint / lint (push) Successful in 39s
Test build / test-build (pull_request) Successful in 18s
7e1d9530e9
Thilawyn merged commit 4772d02349 into next 2025-12-03 23:05:42 +01:00
Thilawyn deleted branch renovate/bun-minor-patch 2025-12-03 23:05:42 +01:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Thilawyn/effect-fc#27