diff --git a/.changeset/slimy-years-exist.md b/.changeset/slimy-years-exist.md deleted file mode 100644 index 1e42993..0000000 --- a/.changeset/slimy-years-exist.md +++ /dev/null @@ -1,19 +0,0 @@ ---- -"@effect/codemod": patch ---- - -Add effect-3.0.4 mod to remove gen adapter - -NOTE: some edge cases are uncovered like: - -```ts -yield* $([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()) -``` - -that needs to be convered to: - -```ts -yield* pipe([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()) -``` - -Unfortunately not having type information in the mod tool renders impossible to decide if the `pipe` function is present or not. diff --git a/CHANGELOG.md b/CHANGELOG.md index 95bffb6..e5d5309 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,26 @@ # @effect/codemod +## 0.0.14 + +### Patch Changes + +- [#34](https://github.com/Effect-TS/codemod/pull/34) [`bfc890c`](https://github.com/Effect-TS/codemod/commit/bfc890c7b45837c566dc8de482fe1b0806c290e0) Thanks [@mikearnaldi](https://github.com/mikearnaldi)! - Add effect-3.0.4 mod to remove gen adapter + + NOTE: some edge cases are uncovered like: + + ```ts + yield * $([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()); + ``` + + that needs to be convered to: + + ```ts + yield * + pipe([Effect.succeed(0), Effect.succeed(1)] as const, Effect.allWith()); + ``` + + Unfortunately not having type information in the mod tool renders impossible to decide if the `pipe` function is present or not. + ## 0.0.13 ### Patch Changes diff --git a/package.json b/package.json index 1e8e1cb..40ad359 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@effect/codemod", - "version": "0.0.13", + "version": "0.0.14", "publishConfig": { "access": "public", "directory": "dist"