Update dependency @effect/language-service to ^0.45.0 #14

Merged
Thilawyn merged 1 commits from renovate/bun-minor-patch into next 2025-10-16 21:34:20 +02:00
Collaborator

This PR contains the following updates:

Package Change Age Confidence
@effect/language-service ^0.44.0 -> ^0.45.0 age confidence

Release Notes

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

v0.45.1

Compare Source

Patch Changes
  • #​423 70d8734 Thanks @​mattiamanzati! - Add code fix to rewrite Schema class constructor overrides as static 'new' methods

    When detecting constructor overrides in Schema classes, the diagnostic now provides a new code fix option that automatically rewrites the constructor as a static 'new' method. This preserves the custom initialization logic while maintaining Schema's decoding behavior.

    Example:

    // Before (with constructor override)
    class MyClass extends Schema.Class<MyClass>("MyClass")({ a: Schema.Number }) {
      b: number;
      constructor() {
        super({ a: 42 });
        this.b = 56;
      }
    }
    
    // After (using static 'new' method)
    class MyClass extends Schema.Class<MyClass>("MyClass")({ a: Schema.Number }) {
      b: number;
      public static new() {
        const _this = new this({ a: 42 });
        _this.b = 56;
        return _this;
      }
    }
    
  • #​421 8c455ed Thanks @​mattiamanzati! - Update dependencies to their latest versions including Effect 3.18.4, TypeScript 5.9.3, and various ESLint and build tooling packages

v0.45.0

Compare Source

Minor Changes
  • #​419 7cd7216 Thanks @​mattiamanzati! - Add support for custom APIs in deterministicKeys diagnostic using the @effect-identifier JSDoc tag.

    You can now enforce deterministic keys in custom APIs that follow an extends MyApi("identifier") pattern by:

    • Adding extendedKeyDetection: true to plugin options to enable detection
    • Marking the identifier parameter with /** @&#8203;effect-identifier */ JSDoc tag

    Example:

    export function Repository(/** @&#8203;effect-identifier */ identifier: string) {
      return Context.Tag("Repository/" + identifier);
    }
    
    export class UserRepo extends Repository("user-repo")<
      UserRepo,
      {
        /** ... */
      }
    >() {}
    

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 | Confidence | |---|---|---|---| | [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.44.0` -> `^0.45.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.44.1/0.45.1) | [![age](https://developer.mend.io/api/mc/badges/age/npm/@effect%2flanguage-service/0.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/@effect%2flanguage-service/0.44.1/0.45.1?slim=true)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes <details> <summary>Effect-TS/language-service (@&#8203;effect/language-service)</summary> ### [`v0.45.1`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0451) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.45.0...v0.45.1) ##### Patch Changes - [#&#8203;423](https://github.com/Effect-TS/language-service/pull/423) [`70d8734`](https://github.com/Effect-TS/language-service/commit/70d8734558c4ba3abfd69fafce785b7f58a70a52) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add code fix to rewrite Schema class constructor overrides as static 'new' methods When detecting constructor overrides in Schema classes, the diagnostic now provides a new code fix option that automatically rewrites the constructor as a static 'new' method. This preserves the custom initialization logic while maintaining Schema's decoding behavior. Example: ```typescript // Before (with constructor override) class MyClass extends Schema.Class<MyClass>("MyClass")({ a: Schema.Number }) { b: number; constructor() { super({ a: 42 }); this.b = 56; } } // After (using static 'new' method) class MyClass extends Schema.Class<MyClass>("MyClass")({ a: Schema.Number }) { b: number; public static new() { const _this = new this({ a: 42 }); _this.b = 56; return _this; } } ``` - [#&#8203;421](https://github.com/Effect-TS/language-service/pull/421) [`8c455ed`](https://github.com/Effect-TS/language-service/commit/8c455ed7a459665d26c30f1e5d90338e48794815) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Update dependencies to their latest versions including Effect 3.18.4, TypeScript 5.9.3, and various ESLint and build tooling packages ### [`v0.45.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0450) [Compare Source](https://github.com/Effect-TS/language-service/compare/v0.44.1...v0.45.0) ##### Minor Changes - [#&#8203;419](https://github.com/Effect-TS/language-service/pull/419) [`7cd7216`](https://github.com/Effect-TS/language-service/commit/7cd7216abc8e3057098acf1889c7494d17a869d6) Thanks [@&#8203;mattiamanzati](https://github.com/mattiamanzati)! - Add support for custom APIs in deterministicKeys diagnostic using the `@effect-identifier` JSDoc tag. You can now enforce deterministic keys in custom APIs that follow an `extends MyApi("identifier")` pattern by: - Adding `extendedKeyDetection: true` to plugin options to enable detection - Marking the identifier parameter with `/** @&#8203;effect-identifier */` JSDoc tag Example: ```ts export function Repository(/** @&#8203;effect-identifier */ identifier: string) { return Context.Tag("Repository/" + identifier); } export class UserRepo extends Repository("user-repo")< UserRepo, { /** ... */ } >() {} ``` </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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTAuMCIsInVwZGF0ZWRJblZlciI6IjQxLjE1MC4wIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->
renovate-bot added 1 commit 2025-10-16 14:01:20 +02:00
Update dependency @effect/language-service to ^0.45.0
All checks were successful
Lint / lint (push) Successful in 12s
Test build / test-build (pull_request) Successful in 17s
196741e7df
Thilawyn merged commit 8d55a67e75 into next 2025-10-16 21:34:20 +02:00
Thilawyn deleted branch renovate/bun-minor-patch 2025-10-16 21:34:20 +02: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#14