#4244bbfdb0 Thanks @mattiamanzati! - Add support to mark a service as "leakable" via JSDoc tag. Services marked with @effect-leakable-service will be excluded from the leaking requirements diagnostic, allowing requirements that are expected to be provided per method invocation (e.g. HttpServerRequest).
#428ebaa8e8 Thanks @mattiamanzati! - Add diagnostic to warn when @effect-diagnostics-next-line comments have no effect. This helps identify unused suppression comments that don't actually suppress any diagnostics, improving code cleanliness.
The new missingDiagnosticNextLine option controls the severity of this diagnostic (default: "warning"). Set to "off" to disable.
Example:
// This comment will trigger a warning because it doesn't suppress any diagnostic
// @​effect-diagnostics-next-line effect/floatingEffect:off
constx=1;// This comment is correctly suppressing a diagnostic
// @​effect-diagnostics-next-line effect/floatingEffect:off
Effect.succeed(1);
Patch Changes
#42622717bd Thanks @mattiamanzati! - Improve Layer Magic refactor with enhanced dependency sorting and cycle detection
The Layer Magic refactor now includes:
Better handling of complex layer composition scenarios
Support for detecting missing layer implementations with helpful error messages
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 contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
| [@effect/language-service](https://github.com/Effect-TS/language-service) | [`^0.45.0` -> `^0.46.0`](https://renovatebot.com/diffs/npm/@effect%2flanguage-service/0.45.1/0.46.0) | [](https://docs.renovatebot.com/merge-confidence/) | [](https://docs.renovatebot.com/merge-confidence/) |
---
### Release Notes
<details>
<summary>Effect-TS/language-service (@​effect/language-service)</summary>
### [`v0.46.0`](https://github.com/Effect-TS/language-service/blob/HEAD/CHANGELOG.md#0460)
[Compare Source](https://github.com/Effect-TS/language-service/compare/v0.45.1...v0.46.0)
##### Minor Changes
- [#​424](https://github.com/Effect-TS/language-service/pull/424) [`4bbfdb0`](https://github.com/Effect-TS/language-service/commit/4bbfdb0a4894ee442e93b0a6cfa845447a2a045f) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Add support to mark a service as "leakable" via JSDoc tag. Services marked with `@effect-leakable-service` will be excluded from the leaking requirements diagnostic, allowing requirements that are expected to be provided per method invocation (e.g. HttpServerRequest).
Example:
```ts
/**
* @​effect-leakable-service
*/
export class FileSystem extends Context.Tag("FileSystem")<
FileSystem,
{
writeFile: (content: string) => Effect.Effect<void>;
}
>() {}
```
- [#​428](https://github.com/Effect-TS/language-service/pull/428) [`ebaa8e8`](https://github.com/Effect-TS/language-service/commit/ebaa8e85d1c372fb3f584a49b6ea3600c467ac33) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Add diagnostic to warn when `@effect-diagnostics-next-line` comments have no effect. This helps identify unused suppression comments that don't actually suppress any diagnostics, improving code cleanliness.
The new `missingDiagnosticNextLine` option controls the severity of this diagnostic (default: "warning"). Set to "off" to disable.
Example:
```ts
// This comment will trigger a warning because it doesn't suppress any diagnostic
// @​effect-diagnostics-next-line effect/floatingEffect:off
const x = 1;
// This comment is correctly suppressing a diagnostic
// @​effect-diagnostics-next-line effect/floatingEffect:off
Effect.succeed(1);
```
##### Patch Changes
- [#​426](https://github.com/Effect-TS/language-service/pull/426) [`22717bd`](https://github.com/Effect-TS/language-service/commit/22717bda12a889f00bc4b78719a487e62da74bef) Thanks [@​mattiamanzati](https://github.com/mattiamanzati)! - Improve Layer Magic refactor with enhanced dependency sorting and cycle detection
The Layer Magic refactor now includes:
- Better handling of complex layer composition scenarios
- Support for detecting missing layer implementations with helpful error messages
</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:eyJjcmVhdGVkSW5WZXIiOiI0MS4xNTYuMSIsInVwZGF0ZWRJblZlciI6IjQxLjE1Ni4xIiwidGFyZ2V0QnJhbmNoIjoibmV4dCIsImxhYmVscyI6W119-->
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
This PR contains the following updates:
^0.45.0->^0.46.0Release Notes
Effect-TS/language-service (@effect/language-service)
v0.46.0Compare Source
Minor Changes
#424
4bbfdb0Thanks @mattiamanzati! - Add support to mark a service as "leakable" via JSDoc tag. Services marked with@effect-leakable-servicewill be excluded from the leaking requirements diagnostic, allowing requirements that are expected to be provided per method invocation (e.g. HttpServerRequest).Example:
#428
ebaa8e8Thanks @mattiamanzati! - Add diagnostic to warn when@effect-diagnostics-next-linecomments have no effect. This helps identify unused suppression comments that don't actually suppress any diagnostics, improving code cleanliness.The new
missingDiagnosticNextLineoption controls the severity of this diagnostic (default: "warning"). Set to "off" to disable.Example:
Patch Changes
#426
22717bdThanks @mattiamanzati! - Improve Layer Magic refactor with enhanced dependency sorting and cycle detectionThe Layer Magic refactor now includes:
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.
This PR has been generated by Renovate Bot.