Skip to content

Commit 9d12f1b

Browse files
Version Packages (#397)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 744de40 commit 9d12f1b

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

.changeset/add-non-object-effect-service-type-diagnostic.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# @effect/language-service
22

3+
## 0.41.0
4+
5+
### Minor Changes
6+
7+
- [#396](https://github.com/Effect-TS/language-service/pull/396) [`744de40`](https://github.com/Effect-TS/language-service/commit/744de4072f713e31157cd082a7fef8695bb8c7c0) Thanks [@mattiamanzati](https://github.com/mattiamanzati)! - Add new diagnostic to warn when `Effect.Service` is used with a primitive type instead of an object type. This diagnostic helps prevent common mistakes where developers try to use primitive values (strings, numbers, etc.) as service types, which is not supported by `Effect.Service`. The diagnostic suggests wrapping the value in an object or manually using `Context.Tag` or `Effect.Tag` for primitive types.
8+
39
## 0.40.1
410

511
### Patch Changes

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@effect/language-service",
3-
"version": "0.40.1",
3+
"version": "0.41.0",
44
"packageManager": "[email protected]",
55
"publishConfig": {
66
"access": "public",

0 commit comments

Comments
 (0)