Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Dec 3, 2025

Bumps @effect/language-service from 0.58.2 to 0.59.0.

Release notes

Sourced from @​effect/language-service's releases.

v0.59.0

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

v0.58.4

... (truncated)

Changelog

Sourced from @​effect/language-service's changelog.

0.59.0

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

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [@effect/language-service](https://github.com/Effect-TS/language-service) from 0.58.2 to 0.59.0.
- [Release notes](https://github.com/Effect-TS/language-service/releases)
- [Changelog](https://github.com/Effect-TS/language-service/blob/main/CHANGELOG.md)
- [Commits](Effect-TS/language-service@v0.58.2...v0.59.0)

---
updated-dependencies:
- dependency-name: "@effect/language-service"
  dependency-version: 0.59.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code labels Dec 3, 2025
@socket-security
Copy link

Review the following changes in direct dependencies. Learn more about Socket for GitHub.

Diff Package Supply Chain
Security
Vulnerability Quality Maintenance License
Updated@​effect/​language-service@​0.58.2 ⏵ 0.59.096 -4100100 +198 +1100

View full report

@github-actions github-actions bot merged commit aa4b9a2 into Current Dec 3, 2025
6 of 9 checks passed
@github-actions github-actions bot deleted the dependabot/npm_and_yarn/effect/language-service-0.59.0 branch December 3, 2025 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file javascript Pull requests that update Javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants