588ab5832f
Update bun minor+patch updates ( #35 )
...
Lint / lint (push) Failing after 6s
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.75.0` → `^0.80.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.75.1/0.80.0 ) |  |  |
| [typescript](https://www.typescriptlang.org/ ) ([source](https://github.com/microsoft/TypeScript )) | [`~5.6.2` → `~5.9.0`](https://renovatebot.com/diffs/npm/typescript/5.6.3/5.9.3 ) |  |  |
---
### Release Notes
<details>
<summary>Effect-TS/language-service (@​effect/language-service)</summary>
### [`v0.80.0`](https://github.com/Effect-TS/language-service/releases/tag/%40effect/language-service%400.80.0 )
[Compare Source](https://github.com/Effect-TS/language-service/compare/@effect/language-service@0.79.0...@effect/language-service@0.80.0 )
##### Minor Changes
- [#​681](https://github.com/Effect-TS/language-service/pull/681 ) [`1017a54`](1017a5443b ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Generate a root `schema.json` for `tsconfig.json` plugin configuration, add typed Effect Language Service plugin options to that schema, and have `effect-language-service setup` add or remove the matching `$schema` entry automatically.
- [#​679](https://github.com/Effect-TS/language-service/pull/679 ) [`3664197`](3664197f27 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add inline `--lspconfig` support to the `effect-language-service diagnostics` CLI command so diagnostics runs can override the project plugin configuration without editing `tsconfig.json`.
### [`v0.79.0`](https://github.com/Effect-TS/language-service/releases/tag/%40effect/language-service%400.79.0 )
[Compare Source](https://github.com/Effect-TS/language-service/compare/@effect/language-service@0.78.0...@effect/language-service@0.79.0 )
##### Minor Changes
- [#​671](https://github.com/Effect-TS/language-service/pull/671 ) [`6b9c378`](6b9c378c4e ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add the `extendsNativeError` diagnostic to warn when classes directly extend the native `Error` constructor, including common local aliases such as `const E = Error`.
This helps steer users toward tagged errors that preserve stronger typing in the Effect failure channel.
- [#​678](https://github.com/Effect-TS/language-service/pull/678 ) [`0e9c11b`](0e9c11b4b3 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Generate the README diagnostics table from the diagnostic registry.
Each diagnostic now declares:
- whether it is fixable
- which Effect versions it supports
The generated table is checked in CI, and diagnostics tests verify that `fixable` matches the presence of non-suppression quick fixes.
- [#​676](https://github.com/Effect-TS/language-service/pull/676 ) [`2f982d6`](2f982d6954 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add the `nodeBuiltinImport` diagnostic to warn when importing Node.js built-in modules (`fs`, `path`, `child_process`) that have Effect-native counterparts in `@effect/platform`.
This diagnostic covers ES module imports and top-level `require()` calls, matching both bare and `node:`-prefixed specifiers as well as subpath variants like `fs/promises`, `path/posix`, and `path/win32`. It defaults to severity `off` and provides no code fixes.
- [#​673](https://github.com/Effect-TS/language-service/pull/673 ) [`f9e24df`](f9e24df5db ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add plugin options to better control patched `tsc` behavior.
`ignoreEffectErrorsInTscExitCode` allows Effect diagnostics reported as errors to be ignored for exit-code purposes, and `skipDisabledOptimiziation` keeps disabled diagnostics eligible for comment-based overrides when patch mode is active.
- [#​674](https://github.com/Effect-TS/language-service/pull/674 ) [`54e8c16`](54e8c16865 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add the `serviceNotAsClass` diagnostic to warn when `ServiceMap.Service` is used as a variable assignment instead of in a class declaration.
Includes an auto-fix that converts `const Config = ServiceMap.Service<Shape>("Config")` to `class Config extends ServiceMap.Service<Config, Shape>()("Config") {}`.
##### Patch Changes
- [#​675](https://github.com/Effect-TS/language-service/pull/675 ) [`d1f09c3`](d1f09c364b ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Rename the `skipDisabledOptimiziation` plugin option to `skipDisabledOptimization`.
Example:
```json
{
"compilerOptions": {
"plugins": [
{
"name": "@​effect/language-service",
"skipDisabledOptimization": true
}
]
}
}
```
### [`v0.78.0`](https://github.com/Effect-TS/language-service/releases/tag/%40effect/language-service%400.78.0 )
[Compare Source](https://github.com/Effect-TS/language-service/compare/@effect/language-service@0.77.0...@effect/language-service@0.78.0 )
##### Minor Changes
- [#​663](https://github.com/Effect-TS/language-service/pull/663 ) [`0e82d43`](0e82d437e9 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Improve `effectFnOpportunity` inferred span naming for service-layer methods and align examples for Effect v4.
The inferred span can now include service + method names (for example `MyService.log`) when the convertible function is a method inside a layer service object for strict supported patterns like:
- `Layer.succeed(Service)(...)`
- `Layer.sync(Service)(...)`
- `Layer.effect(Service)(Effect.gen(...))`
- `Layer.effect(Service, Effect.gen(...))`
Also add Effect v4 diagnostics fixtures for:
- `effectFnOpportunity_inferred.ts`
- `effectFnOpportunity_inferredLayer.ts`
- [#​669](https://github.com/Effect-TS/language-service/pull/669 ) [`a010a29`](a010a29d21 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add a new `effectInFailure` diagnostic that warns when an `Effect` computation appears in the failure channel (`E`) of another `Effect`.
The rule traverses Effect-typed expressions, unrolls union members of `E`, and reports when any member is itself a strict Effect type.
It prefers innermost matches for nested cases (for example nested `Effect.try` in `catch`) to avoid noisy parent reports.
##### Patch Changes
- [#​666](https://github.com/Effect-TS/language-service/pull/666 ) [`06b3a6c`](06b3a6ce41 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Fix `effectFnOpportunity` inferred span naming for `Layer.*(this, ...)` patterns in class static members.
When the inferred layer target is `this`, the diagnostic now uses the nearest enclosing class name (for example `MyService`) instead of the literal `this` token.
- [#​665](https://github.com/Effect-TS/language-service/pull/665 ) [`a95a679`](a95a6792e3 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Improve yield-based diagnostics and hover behavior by introducing `effectYieldableType` in `TypeParser` and using it in `missingReturnYieldStar`.
- In Effect v4, yieldable values are recognized through `asEffect()` and mapped to Effect `A/E/R`.
- In Effect v3, `effectYieldableType` falls back to standard `effectType` behavior.
- `missingReturnYieldStar` now correctly handles yieldable values such as `Option.none()`.
- Hover support for `yield*` was updated to use yieldable parsing paths.
- [#​664](https://github.com/Effect-TS/language-service/pull/664 ) [`934ef7e`](934ef7e0b5 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Improve `missingReturnYieldStar` safety by targeting only expression statements with top-level `yield*` expressions and validating the enclosing `Effect.gen` scope via `findEnclosingScopes`.
This avoids edge cases where nested or wrapped `yield*` expressions could be matched incorrectly.
- [#​661](https://github.com/Effect-TS/language-service/pull/661 ) [`0f92686`](0f92686ac8 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Update effect dependency to v4.0.0-beta.19 and fix compatibility issues:
- Fix `layerMagic` refactor producing `any` types in Layer channels by replacing `Array.partition` (which now uses the v4 `Filter.Filter` API) with a native loop for boolean partition logic
- Add v4 Layer type detection shortcut using `"~effect/Layer"` TypeId property, matching the pattern already used for Effect type detection
- Mark `Effect.filterMap` as unchanged in the outdated API migration database since it was re-added in v4
### [`v0.77.0`](https://github.com/Effect-TS/language-service/releases/tag/%40effect/language-service%400.77.0 )
[Compare Source](https://github.com/Effect-TS/language-service/compare/@effect/language-service@0.76.0...@effect/language-service@0.77.0 )
##### Minor Changes
- [#​655](https://github.com/Effect-TS/language-service/pull/655 ) [`c875de2`](c875de2c23 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add `outdatedApi` diagnostic that warns when using outdated Effect APIs in a project targeting a newer version of Effect.
##### Patch Changes
- [#​660](https://github.com/Effect-TS/language-service/pull/660 ) [`99a97a6`](99a97a6a4e ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Dispose TypeScript language services in tests to prevent resource leaks
Added `languageService.dispose()` calls via `try/finally` patterns to all test files that create language services through `createServicesWithMockedVFS()`. This ensures proper cleanup of TypeScript compiler resources after each test completes, preventing memory leaks during test runs.
- [#​658](https://github.com/Effect-TS/language-service/pull/658 ) [`0154667`](0154667a23 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Fix outdated API diagnostic for Effect v4 compatibility
- Fixed `TaggedError` completion to use `TaggedErrorClass` matching the v4 API
- Removed `Schema.RequestClass` examples that no longer exist in v4
- Updated Effect v4 harness to latest version
- [#​659](https://github.com/Effect-TS/language-service/pull/659 ) [`2699a80`](2699a80e3e ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add support for `Model.Class` from `effect/unstable/schema` in completions and diagnostics.
The `classSelfMismatch` diagnostic now detects mismatched Self type parameters in `Model.Class` declarations, and the autocomplete for Self type in classes now suggests `Model.Class` when typing after `Model.`.
```ts
import { Model } from "effect/unstable/schema";
// autocomplete triggers after `Model.`
export class MyDataModel extends Model.Class<MyDataModel>("MyDataModel")({
id: Schema.String,
}) {}
```
### [`v0.76.0`](https://github.com/Effect-TS/language-service/releases/tag/%40effect/language-service%400.76.0 )
[Compare Source](https://github.com/Effect-TS/language-service/compare/@effect/language-service@0.75.1...@effect/language-service@0.76.0 )
##### Minor Changes
- [#​651](https://github.com/Effect-TS/language-service/pull/651 ) [`aeab349`](aeab349b49 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Add refactor to convert `Effect.Service` to `Context.Tag` with a static `Layer` property.
Supports all combinator kinds (`effect`, `scoped`, `sync`, `succeed`) and `dependencies`. The refactor replaces the `Effect.Service` class declaration with a `Context.Tag` class that has a `static layer` property using the corresponding `Layer` combinator.
Before:
```ts
export class MyService extends Effect.Service<MyService>()("MyService", {
effect: Effect.gen(function* () {
return { value: "hello" };
}),
}) {}
```
After:
```ts
export class MyService extends Context.Tag("MyService")<
MyService,
{ value: string }
>() {
static layer = Layer.effect(
this,
Effect.gen(function* () {
return { value: "hello" };
})
);
}
```
- [#​654](https://github.com/Effect-TS/language-service/pull/654 ) [`2c93eab`](2c93eabfd7 ) Thanks [@​mattiamanzati](https://github.com/mattiamanzati )! - Migrate internal Effect dependency from v3 to v4. This updates all CLI and core modules to use the Effect v4 API while maintaining full backward compatibility with existing functionality.
</details>
<details>
<summary>microsoft/TypeScript (typescript)</summary>
### [`v5.9.3`](https://github.com/microsoft/TypeScript/releases/tag/v5.9.3 ): TypeScript 5.9.3
[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.9.2...v5.9.3 )
Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-9/ )
- [fixed issues query for Typescript 5.9.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.9.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.9.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.9.1%22+is%3Aclosed+ ).
- *No specific changes for TypeScript 5.9.2 (Stable)*
- [fixed issues query for Typescript 5.9.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.9.3%22+is%3Aclosed+ ).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript )
### [`v5.9.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.9.2 ): TypeScript 5.9
[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.8.3...v5.9.2 )
Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-9/ )
- [fixed issues query for Typescript 5.9.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.9.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.9.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.9.1%22+is%3Aclosed+ ).
- *No specific changes for TypeScript 5.9.2 (Stable)*
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript )
### [`v5.8.3`](https://github.com/microsoft/TypeScript/releases/tag/v5.8.3 ): TypeScript 5.8.3
[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.8.2...v5.8.3 )
Note: this tag was recreated to point at the correct commit. The npm package contained the correct content.
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/ ).
- [fixed issues query for Typescript 5.8.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.8.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.1%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.8.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.2%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.8.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.3%22+is%3Aclosed+ ).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript )
### [`v5.8.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.8.2 ): TypeScript 5.8
[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.7.3...v5.8.2 )
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-8/ ).
- [fixed issues query for Typescript 5.8.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.8.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.1%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.8.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.8.2%22+is%3Aclosed+ ).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript )
### [`v5.7.3`](https://github.com/microsoft/TypeScript/releases/tag/v5.7.3 ): TypeScript 5.7.3
[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.7.2...v5.7.3 )
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/ ).
- [fixed issues query for Typescript 5.7.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.3 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+ ).
Downloads are available on [npm](https://www.npmjs.com/package/typescript )
### [`v5.7.2`](https://github.com/microsoft/TypeScript/releases/tag/v5.7.2 ): TypeScript 5.7
[Compare Source](https://github.com/microsoft/TypeScript/compare/v5.6.3...v5.7.2 )
For release notes, check out the [release announcement](https://devblogs.microsoft.com/typescript/announcing-typescript-5-7/ ).
- [fixed issues query for Typescript 5.7.0 (Beta)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.0%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.1 (RC)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.1%22+is%3Aclosed+ ).
- [fixed issues query for Typescript 5.7.2 (Stable)](https://github.com/Microsoft/TypeScript/issues?utf8=%E2%9C%93\&q=milestone%3A%22TypeScript+5.7.2%22+is%3Aclosed+ ).
Downloads are available on:
- [npm](https://www.npmjs.com/package/typescript )
</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.
👻 **Immortal**: This PR will be recreated if closed unmerged. Get [config help](https://github.com/renovatebot/renovate/discussions ) if that's undesired.
---
- [ ] <!-- 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:eyJjcmVhdGVkSW5WZXIiOiI0My4zNi4yIiwidXBkYXRlZEluVmVyIjoiNDMuNzYuMiIsInRhcmdldEJyYW5jaCI6Im5leHQiLCJsYWJlbHMiOltdfQ==-->
Reviewed-on: #35
Co-authored-by: Renovate Bot <renovate-bot@valverde.cloud >
Co-committed-by: Renovate Bot <renovate-bot@valverde.cloud >
2026-03-16 01:05:35 +01:00