Update dependency @effect/language-service to ^0.58.0 #25

Merged
Thilawyn merged 1 commits from renovate/bun-minor-patch into next 2025-12-01 21:28:52 +01:00
Collaborator

This PR contains the following updates:

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

Release Notes

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

v0.58.0

Compare Source

Minor Changes
  • #​505 31cff49 Thanks @​clayroach! - Enhance diagnostics CLI command with new options for CI/CD integration and tooling:

    • --format: Output format selection (json, pretty, text, github-actions)

      • json: Machine-readable JSON output with structured diagnostics and summary
      • pretty: Colored output with context (default, original behavior)
      • text: Plain text output without colors
      • github-actions: GitHub Actions workflow commands for inline PR annotations
    • --strict: Treat warnings as errors (affects exit code)

    • --severity: Filter diagnostics by severity level (comma-separated: error, warning, message)

    • Exit codes: Returns exit code 1 when errors are found (or warnings in strict mode)

    Example usage:

    # JSON output for CI/CD pipelines
    effect-language-service diagnostics --project tsconfig.json --format json
    
    # GitHub Actions with inline annotations
    effect-language-service diagnostics --project tsconfig.json --format github-actions
    
    # Strict mode for CI (fail on warnings)
    effect-language-service diagnostics --project tsconfig.json --strict
    
    # Only show errors
    effect-language-service diagnostics --project tsconfig.json --severity error
    

    Closes Effect-TS/effect #​5180.

v0.57.1

Compare Source

Patch Changes
  • #​503 857e43e Thanks @​mattiamanzati! - Add codefix to runEffectInsideEffect diagnostic that automatically transforms Effect.run* calls to use Runtime.run* when inside nested Effect contexts. The codefix will extract or reuse an existing Effect runtime and replace the direct Effect run call with the appropriate Runtime method.

    Example:

    // Before
    Effect.gen(function* () {
      websocket.onmessage = (event) => {
        Effect.runPromise(check);
      };
    });
    
    // After applying codefix
    Effect.gen(function* () {
      const effectRuntime = yield* Effect.runtime<never>();
    
      websocket.onmessage = (event) => {
        Runtime.runPromise(effectRuntime, check);
      };
    });
    

v0.57.0

Compare Source

Minor Changes
  • #​500 acc2d43 Thanks @​mattiamanzati! - Add new annotate codegen that automatically adds type annotations to exported constants based on their initializer types. This codegen can be used by adding // @&#8203;effect-codegens annotate comments above variable declarations.

    Example:

    // @&#8203;effect-codegens annotate
    export const test = Effect.gen(function* () {
      if (Math.random() < 0.5) {
        return yield* Effect.fail("error");
      }
      return 1 as const;
    });
    // Becomes:
    // @&#8203;effect-codegens annotate:5fce15f7af06d924
    export const test: Effect.Effect<1, string, never> = Effect.gen(function* () {
      if (Math.random() < 0.5) {
        return yield* Effect.fail("error");
      }
      return 1 as const;
    });
    

    The codegen automatically detects the type from the initializer and adds the appropriate type annotation, making code more explicit and type-safe.

  • #​497 b188b74 Thanks @​mattiamanzati! - Add new diagnostic unnecessaryFailYieldableError that warns when using yield* Effect.fail() with yieldable error types. The diagnostic suggests yielding the error directly instead of wrapping it with Effect.fail(), as yieldable errors (like Data.TaggedError and Schema.TaggedError) can be yielded directly in Effect generators.

    Example:

    // ❌ Unnecessary Effect.fail wrapper
    yield * Effect.fail(new DataTaggedError());
    
    // ✅ Direct yield of yieldable error
    yield * new DataTaggedError();
    

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.56.0` -> `^0.58.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.56.0/0.58.0) | ![age](https://developer.mend.io/api/mc/badges/age/npm/@effect%2flanguage-service/0.58.0?slim=true) | ![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@effect%2flanguage-service/0.56.0/0.58.0?slim=true) | --- ### Release Notes <details> <summary>Effect-TS/language-service (@&#8203;effect/language-service)</summary> ### [`v0.58.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0580) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.57.1...v0.58.0) ##### Minor Changes - [#&#8203;505](https://github.com/Effect-TS/language-service/pull/505) [`31cff49`](https://github.com/Effect-TS/language-service/commit/31cff498b6a3207eabe5609f677b202245f53967) Thanks [@&#8203;clayroach](https://github.com/clayroach)! - Enhance `diagnostics` CLI command with new options for CI/CD integration and tooling: - **`--format`**: Output format selection (`json`, `pretty`, `text`, `github-actions`) - `json`: Machine-readable JSON output with structured diagnostics and summary - `pretty`: Colored output with context (default, original behavior) - `text`: Plain text output without colors - `github-actions`: GitHub Actions workflow commands for inline PR annotations - **`--strict`**: Treat warnings as errors (affects exit code) - **`--severity`**: Filter diagnostics by severity level (comma-separated: `error`, `warning`, `message`) - **Exit codes**: Returns exit code 1 when errors are found (or warnings in strict mode) Example usage: ```bash # JSON output for CI/CD pipelines effect-language-service diagnostics --project tsconfig.json --format json # GitHub Actions with inline annotations effect-language-service diagnostics --project tsconfig.json --format github-actions # Strict mode for CI (fail on warnings) effect-language-service diagnostics --project tsconfig.json --strict # Only show errors effect-language-service diagnostics --project tsconfig.json --severity error ``` Closes Effect-TS/effect [#&#8203;5180](https://github.com/Effect-TS/language-service/issues/5180). ### [`v0.57.1`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0571) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.57.0...v0.57.1) ##### Patch Changes - [#&#8203;503](https://github.com/Effect-TS/language-service/pull/503) [`857e43e`](https://github.com/Effect-TS/language-service/commit/857e43e2580312963681d867e4f5daa409e1da78) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add codefix to `runEffectInsideEffect` diagnostic that automatically transforms `Effect.run*` calls to use `Runtime.run*` when inside nested Effect contexts. The codefix will extract or reuse an existing Effect runtime and replace the direct Effect run call with the appropriate Runtime method. Example: ```typescript // Before Effect.gen(function* () { websocket.onmessage = (event) => { Effect.runPromise(check); }; }); // After applying codefix Effect.gen(function* () { const effectRuntime = yield* Effect.runtime<never>(); websocket.onmessage = (event) => { Runtime.runPromise(effectRuntime, check); }; }); ``` ### [`v0.57.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0570) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.56.0...v0.57.0) ##### Minor Changes - [#&#8203;500](https://github.com/Effect-TS/language-service/pull/500) [`acc2d43`](https://github.com/Effect-TS/language-service/commit/acc2d43d62df686a3cef13112ddd3653cf0181d0) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add new `annotate` codegen that automatically adds type annotations to exported constants based on their initializer types. This codegen can be used by adding `// @&#8203;effect-codegens annotate` comments above variable declarations. Example: ```typescript // @&#8203;effect-codegens annotate export const test = Effect.gen(function* () { if (Math.random() < 0.5) { return yield* Effect.fail("error"); } return 1 as const; }); // Becomes: // @&#8203;effect-codegens annotate:5fce15f7af06d924 export const test: Effect.Effect<1, string, never> = Effect.gen(function* () { if (Math.random() < 0.5) { return yield* Effect.fail("error"); } return 1 as const; }); ``` The codegen automatically detects the type from the initializer and adds the appropriate type annotation, making code more explicit and type-safe. - [#&#8203;497](https://github.com/Effect-TS/language-service/pull/497) [`b188b74`](https://github.com/Effect-TS/language-service/commit/b188b74204bfd81b64b2266dd59465a2c7d2d34f) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add new diagnostic `unnecessaryFailYieldableError` that warns when using `yield* Effect.fail()` with yieldable error types. The diagnostic suggests yielding the error directly instead of wrapping it with `Effect.fail()`, as yieldable errors (like `Data.TaggedError` and `Schema.TaggedError`) can be yielded directly in Effect generators. Example: ```typescript // ❌ Unnecessary Effect.fail wrapper yield * Effect.fail(new DataTaggedError()); // ✅ Direct yield of yieldable error yield * new DataTaggedError(); ``` </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:eyJjcmVhdGVkSW5WZXIiOiI0Mi4yNS4zIiwidXBkYXRlZEluVmVyIjoiNDIuMjcuNSIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->
renovate-bot added 1 commit 2025-11-27 13:01:27 +01:00
Update dependency @effect/language-service to ^0.57.0
All checks were successful
Lint / lint (push) Successful in 43s
Test build / test-build (pull_request) Successful in 21s
b80043a4ec
renovate-bot added 2 commits 2025-12-01 13:01:30 +01:00
Update dependency @effect/language-service to ^0.57.0
All checks were successful
Lint / lint (push) Successful in 43s
Test build / test-build (pull_request) Successful in 21s
b80043a4ec
Update dependency @effect/language-service to ^0.58.0
Some checks failed
Lint / lint (push) Failing after 42s
Test build / test-build (pull_request) Failing after 13s
ca0b4d7da5
renovate-bot changed title from Update dependency @effect/language-service to ^0.57.0 to Update dependency @effect/language-service to ^0.58.0 2025-12-01 13:01:34 +01:00
Thilawyn added 2 commits 2025-12-01 21:28:46 +01:00
Update dependency @effect/language-service to ^0.58.0
Some checks failed
Lint / lint (push) Failing after 42s
Test build / test-build (pull_request) Failing after 13s
ca0b4d7da5
Update dependency @effect/language-service to ^0.58.0
All checks were successful
Lint / lint (push) Successful in 12s
Test build / test-build (pull_request) Successful in 18s
e02b9bbfc0
Thilawyn merged commit 6adb7061f4 into next 2025-12-01 21:28:52 +01:00
Thilawyn deleted branch renovate/bun-minor-patch 2025-12-01 21:28:52 +01:00
Sign in to join this conversation.
No Reviewers
No Label
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Thilawyn/effect-fc#25