Skip to content

Commit a3e3f38

Browse files
Version Packages (#383)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8580bed commit a3e3f38

File tree

5 files changed

+24
-26
lines changed

5 files changed

+24
-26
lines changed

.changeset/effect-gen-uses-adapter-diagnostic.md

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

.changeset/grumpy-kings-invent.md

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

.changeset/salty-turkeys-vanish.md

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

CHANGELOG.md

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

3+
## 0.40.0
4+
5+
### Minor Changes
6+
7+
- [#384](https://github.com/Effect-TS/language-service/pull/384) [`62b9829`](https://github.com/Effect-TS/language-service/commit/62b98290c043dc3457d116a92d91aaf57bde60fc) Thanks [@mattiamanzati](https://github.com/mattiamanzati)! - Add new diagnostic: `effectGenUsesAdapter` - warns when using `Effect.gen` with the generator adapter pattern (function\*(\_)) instead of using `pipe()`
8+
9+
The generator adapter pattern `function*(_)` is an old pattern. Users should use `pipe()` for composing effects or `Effect.gen(function*())` without the adapter for generator-based code.
10+
11+
Example that will trigger the warning:
12+
13+
```ts
14+
const example = Effect.gen(function* (_) {
15+
const result = yield* _(Effect.succeed(42));
16+
return result;
17+
});
18+
```
19+
20+
### Patch Changes
21+
22+
- [#382](https://github.com/Effect-TS/language-service/pull/382) [`2f318b6`](https://github.com/Effect-TS/language-service/commit/2f318b6af86bb9e81fcc806f180bf149712e027d) Thanks [@mattiamanzati](https://github.com/mattiamanzati)! - Add noExternal option
23+
24+
- [#385](https://github.com/Effect-TS/language-service/pull/385) [`8580bed`](https://github.com/Effect-TS/language-service/commit/8580bed2ee39b92c410a95c6651812519bd3d3bb) Thanks [@mattiamanzati](https://github.com/mattiamanzati)! - Fix false positive regarding Schema.Class
25+
326
## 0.39.0
427

528
### Minor 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.39.0",
3+
"version": "0.40.0",
44
"packageManager": "[email protected]",
55
"publishConfig": {
66
"access": "public",

0 commit comments

Comments
 (0)