diff --git a/.changeset/native-effect-duplicates.md b/.changeset/native-effect-duplicates.md deleted file mode 100644 index 5261cbe49..000000000 --- a/.changeset/native-effect-duplicates.md +++ /dev/null @@ -1,16 +0,0 @@ ---- -"effect-app": patch -"@effect-app/infra": patch -"@effect-app/vue": patch -"@effect-app/vue-components": patch ---- - -Remove effect-app helpers that Effect already provides, and add `migrateEffectAppSource` to rewrite call sites. - -Deleted aliases and wrappers now live in Effect: `String.capitalize` / `uncapitalize`, `Struct.keys`, `Record.values`, `absurd`, `Tuple.make`, `Option.isSome`, `Option.liftPredicate` for non-empty arrays, `Array.chunksOf`, `Chunk.findFirst` / `findLast` / `partition` / `containsWith`, `Array.dedupeWith`, `Effect.annotateLogsScoped`, `Deferred.await`, `Effect.fromOption`, `Result.fromOption`, and `DateTime.add` / `subtract`. `Schema.DateValid` was an alias of `Schema.Date`. The date-fns calendar wrappers and the `date-fns` dependency are gone. - -`effect-app/migration/nativeEffect` exports the replacement table and `migrateEffectAppSource(source)`, which rewrites those imports in one file. `dropUndefined` and `fromBool` stay, along with `groupByT` (any key, entry list), `randomElement`, `findFirstMap`, and the schema constructors that add construction defaults. - -`effect-app/DateTime` adds `makeZonedLocal` and `pipeZonedLocal`. `makeZonedLocal` attaches the process timezone to a `Date` without moving the instant. `pipeZonedLocal` runs the functions passed to it and returns that instant with `DateTime.toDateUtc`. `DateAdd*` and `DateSub*` migrate to `pipeZonedLocal(date, DateTime.add({ days }))`, which keeps the local calendar. - -`Chunk.containsWith` calls the equivalence as `(needle, element)`. The old `elem` called it as `(element, needle)`, so only a symmetric equivalence is unchanged. `Record.values` expects one value type, so a mapped type whose value depends on its key should use `Object.values`. diff --git a/.changeset/pin-workspace-cli.md b/.changeset/pin-workspace-cli.md deleted file mode 100644 index 0130e63cb..000000000 --- a/.changeset/pin-workspace-cli.md +++ /dev/null @@ -1,5 +0,0 @@ ---- - ---- - -Pin the root devDependency on `@effect-app/cli` to the workspace package, and run that package from TypeScript source so the monorepo does not have to compile it first. diff --git a/packages/e2e/CHANGELOG.md b/packages/e2e/CHANGELOG.md index b21f4c452..181bd43ec 100644 --- a/packages/e2e/CHANGELOG.md +++ b/packages/e2e/CHANGELOG.md @@ -1,5 +1,14 @@ # @effect-app/e2e +## 4.0.1 + +### Patch Changes + +- Updated dependencies [222e619] + - effect-app@4.0.1 + - @effect-app/infra@4.0.1 + - @effect-app/vue@4.0.1 + ## 4.0.0 ### Patch Changes diff --git a/packages/e2e/package.json b/packages/e2e/package.json index 59035e517..ff4f4032a 100644 --- a/packages/e2e/package.json +++ b/packages/e2e/package.json @@ -1,6 +1,6 @@ { "name": "@effect-app/e2e", - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "type": "module", "private": true, diff --git a/packages/effect-app/CHANGELOG.md b/packages/effect-app/CHANGELOG.md index d3950465d..80bcb6947 100644 --- a/packages/effect-app/CHANGELOG.md +++ b/packages/effect-app/CHANGELOG.md @@ -1,5 +1,19 @@ # @effect-app/prelude +## 4.0.1 + +### Patch Changes + +- 222e619: Remove effect-app helpers that Effect already provides, and add `migrateEffectAppSource` to rewrite call sites. + + Deleted aliases and wrappers now live in Effect: `String.capitalize` / `uncapitalize`, `Struct.keys`, `Record.values`, `absurd`, `Tuple.make`, `Option.isSome`, `Option.liftPredicate` for non-empty arrays, `Array.chunksOf`, `Chunk.findFirst` / `findLast` / `partition` / `containsWith`, `Array.dedupeWith`, `Effect.annotateLogsScoped`, `Deferred.await`, `Effect.fromOption`, `Result.fromOption`, and `DateTime.add` / `subtract`. `Schema.DateValid` was an alias of `Schema.Date`. The date-fns calendar wrappers and the `date-fns` dependency are gone. + + `effect-app/migration/nativeEffect` exports the replacement table and `migrateEffectAppSource(source)`, which rewrites those imports in one file. `dropUndefined` and `fromBool` stay, along with `groupByT` (any key, entry list), `randomElement`, `findFirstMap`, and the schema constructors that add construction defaults. + + `effect-app/DateTime` adds `makeZonedLocal` and `pipeZonedLocal`. `makeZonedLocal` attaches the process timezone to a `Date` without moving the instant. `pipeZonedLocal` runs the functions passed to it and returns that instant with `DateTime.toDateUtc`. `DateAdd*` and `DateSub*` migrate to `pipeZonedLocal(date, DateTime.add({ days }))`, which keeps the local calendar. + + `Chunk.containsWith` calls the equivalence as `(needle, element)`. The old `elem` called it as `(element, needle)`, so only a symmetric equivalence is unchanged. `Record.values` expects one value type, so a mapped type whose value depends on its key should use `Object.values`. + ## 4.0.0 ### Major Changes diff --git a/packages/effect-app/package.json b/packages/effect-app/package.json index 1a902a0aa..73da9cd39 100644 --- a/packages/effect-app/package.json +++ b/packages/effect-app/package.json @@ -1,6 +1,6 @@ { "name": "effect-app", - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "type": "module", "repository": { diff --git a/packages/infra/CHANGELOG.md b/packages/infra/CHANGELOG.md index bc053b6b9..9ff423f33 100644 --- a/packages/infra/CHANGELOG.md +++ b/packages/infra/CHANGELOG.md @@ -1,5 +1,22 @@ # @effect-app/infra +## 4.0.1 + +### Patch Changes + +- 222e619: Remove effect-app helpers that Effect already provides, and add `migrateEffectAppSource` to rewrite call sites. + + Deleted aliases and wrappers now live in Effect: `String.capitalize` / `uncapitalize`, `Struct.keys`, `Record.values`, `absurd`, `Tuple.make`, `Option.isSome`, `Option.liftPredicate` for non-empty arrays, `Array.chunksOf`, `Chunk.findFirst` / `findLast` / `partition` / `containsWith`, `Array.dedupeWith`, `Effect.annotateLogsScoped`, `Deferred.await`, `Effect.fromOption`, `Result.fromOption`, and `DateTime.add` / `subtract`. `Schema.DateValid` was an alias of `Schema.Date`. The date-fns calendar wrappers and the `date-fns` dependency are gone. + + `effect-app/migration/nativeEffect` exports the replacement table and `migrateEffectAppSource(source)`, which rewrites those imports in one file. `dropUndefined` and `fromBool` stay, along with `groupByT` (any key, entry list), `randomElement`, `findFirstMap`, and the schema constructors that add construction defaults. + + `effect-app/DateTime` adds `makeZonedLocal` and `pipeZonedLocal`. `makeZonedLocal` attaches the process timezone to a `Date` without moving the instant. `pipeZonedLocal` runs the functions passed to it and returns that instant with `DateTime.toDateUtc`. `DateAdd*` and `DateSub*` migrate to `pipeZonedLocal(date, DateTime.add({ days }))`, which keeps the local calendar. + + `Chunk.containsWith` calls the equivalence as `(needle, element)`. The old `elem` called it as `(element, needle)`, so only a symmetric equivalence is unchanged. `Record.values` expects one value type, so a mapped type whose value depends on its key should use `Object.values`. + +- Updated dependencies [222e619] + - effect-app@4.0.1 + ## 4.0.0 ### Major Changes diff --git a/packages/infra/package.json b/packages/infra/package.json index 9e3870fe8..d04e150a5 100644 --- a/packages/infra/package.json +++ b/packages/infra/package.json @@ -1,6 +1,6 @@ { "name": "@effect-app/infra", - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "type": "module", "repository": { diff --git a/packages/vue-components/CHANGELOG.md b/packages/vue-components/CHANGELOG.md index e8196d4d3..3a9d699d2 100644 --- a/packages/vue-components/CHANGELOG.md +++ b/packages/vue-components/CHANGELOG.md @@ -1,5 +1,23 @@ # @effect-app/vue-components +## 4.0.1 + +### Patch Changes + +- 222e619: Remove effect-app helpers that Effect already provides, and add `migrateEffectAppSource` to rewrite call sites. + + Deleted aliases and wrappers now live in Effect: `String.capitalize` / `uncapitalize`, `Struct.keys`, `Record.values`, `absurd`, `Tuple.make`, `Option.isSome`, `Option.liftPredicate` for non-empty arrays, `Array.chunksOf`, `Chunk.findFirst` / `findLast` / `partition` / `containsWith`, `Array.dedupeWith`, `Effect.annotateLogsScoped`, `Deferred.await`, `Effect.fromOption`, `Result.fromOption`, and `DateTime.add` / `subtract`. `Schema.DateValid` was an alias of `Schema.Date`. The date-fns calendar wrappers and the `date-fns` dependency are gone. + + `effect-app/migration/nativeEffect` exports the replacement table and `migrateEffectAppSource(source)`, which rewrites those imports in one file. `dropUndefined` and `fromBool` stay, along with `groupByT` (any key, entry list), `randomElement`, `findFirstMap`, and the schema constructors that add construction defaults. + + `effect-app/DateTime` adds `makeZonedLocal` and `pipeZonedLocal`. `makeZonedLocal` attaches the process timezone to a `Date` without moving the instant. `pipeZonedLocal` runs the functions passed to it and returns that instant with `DateTime.toDateUtc`. `DateAdd*` and `DateSub*` migrate to `pipeZonedLocal(date, DateTime.add({ days }))`, which keeps the local calendar. + + `Chunk.containsWith` calls the equivalence as `(needle, element)`. The old `elem` called it as `(element, needle)`, so only a symmetric equivalence is unchanged. `Record.values` expects one value type, so a mapped type whose value depends on its key should use `Object.values`. + +- Updated dependencies [222e619] + - effect-app@4.0.1 + - @effect-app/vue@4.0.1 + ## 4.0.0 ### Major Changes diff --git a/packages/vue-components/package.json b/packages/vue-components/package.json index 18c837d47..95da8b66d 100644 --- a/packages/vue-components/package.json +++ b/packages/vue-components/package.json @@ -1,6 +1,6 @@ { "name": "@effect-app/vue-components", - "version": "4.0.0", + "version": "4.0.1", "repository": { "type": "git", "url": "https://github.com/effect-app/libs.git", diff --git a/packages/vue/CHANGELOG.md b/packages/vue/CHANGELOG.md index c3652f7b0..6e2fc6c97 100644 --- a/packages/vue/CHANGELOG.md +++ b/packages/vue/CHANGELOG.md @@ -1,5 +1,22 @@ # @effect-app/vue +## 4.0.1 + +### Patch Changes + +- 222e619: Remove effect-app helpers that Effect already provides, and add `migrateEffectAppSource` to rewrite call sites. + + Deleted aliases and wrappers now live in Effect: `String.capitalize` / `uncapitalize`, `Struct.keys`, `Record.values`, `absurd`, `Tuple.make`, `Option.isSome`, `Option.liftPredicate` for non-empty arrays, `Array.chunksOf`, `Chunk.findFirst` / `findLast` / `partition` / `containsWith`, `Array.dedupeWith`, `Effect.annotateLogsScoped`, `Deferred.await`, `Effect.fromOption`, `Result.fromOption`, and `DateTime.add` / `subtract`. `Schema.DateValid` was an alias of `Schema.Date`. The date-fns calendar wrappers and the `date-fns` dependency are gone. + + `effect-app/migration/nativeEffect` exports the replacement table and `migrateEffectAppSource(source)`, which rewrites those imports in one file. `dropUndefined` and `fromBool` stay, along with `groupByT` (any key, entry list), `randomElement`, `findFirstMap`, and the schema constructors that add construction defaults. + + `effect-app/DateTime` adds `makeZonedLocal` and `pipeZonedLocal`. `makeZonedLocal` attaches the process timezone to a `Date` without moving the instant. `pipeZonedLocal` runs the functions passed to it and returns that instant with `DateTime.toDateUtc`. `DateAdd*` and `DateSub*` migrate to `pipeZonedLocal(date, DateTime.add({ days }))`, which keeps the local calendar. + + `Chunk.containsWith` calls the equivalence as `(needle, element)`. The old `elem` called it as `(element, needle)`, so only a symmetric equivalence is unchanged. `Record.values` expects one value type, so a mapped type whose value depends on its key should use `Object.values`. + +- Updated dependencies [222e619] + - effect-app@4.0.1 + ## 4.0.0 ### Major Changes diff --git a/packages/vue/package.json b/packages/vue/package.json index 2625f3ca5..3dc2fb642 100644 --- a/packages/vue/package.json +++ b/packages/vue/package.json @@ -1,6 +1,6 @@ { "name": "@effect-app/vue", - "version": "4.0.0", + "version": "4.0.1", "license": "MIT", "type": "module", "repository": {