diff --git a/.changeset/every-tips-shout.md b/.changeset/every-tips-shout.md deleted file mode 100644 index f423d4c96..000000000 --- a/.changeset/every-tips-shout.md +++ /dev/null @@ -1,24 +0,0 @@ ---- -"arkenv": minor ---- - -#### ArkType is now an optional peer dependency - -To achieve a true zero-dependency core, ArkType is now an optional peer dependency. - -- **Breaking Change**: The `type` export has been moved from the main `arkenv` entry point to `arkenv/arktype`. - -```ts -// ❌ Before -import { type } from "arkenv"; - -// ✅ After -import { type } from "arkenv/arktype"; -``` - -- **Explicit Validator Modes**: ArkEnv now supports an explicit `validator` option. - - - **`validator: "arktype"` (default)**: Uses ArkType for validation and coercion. Requires `arktype` to be installed. - - **`validator: "standard"`**: Uses Standard Schema validators directly (e.g., Zod, Valibot). Works without ArkType. - -Existing usage of `arkenv()` remains unchanged when ArkType is installed. Projects using ArkType features must now explicitly install `arktype` and import ArkType-land helpers from `arkenv/arktype`. diff --git a/.changeset/real-toes-heal.md b/.changeset/real-toes-heal.md deleted file mode 100644 index 00b4ce434..000000000 --- a/.changeset/real-toes-heal.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -"@repo/scope": patch -"arkenv": patch ---- - -#### Remove internal `@repo/keywords` package - -The internal `@repo/keywords` package, which was compiled into the `arkenv` package, has been removed. The keywords are now either defined directly in the `arkenv` package or changed to pure functions. - -This change was made to simplify the package structure for the validator mode. diff --git a/.changeset/tender-books-shout.md b/.changeset/tender-books-shout.md deleted file mode 100644 index 7b2470abf..000000000 --- a/.changeset/tender-books-shout.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@repo/types": patch ---- - -#### Added Standard Schema, helpers diff --git a/packages/arkenv/CHANGELOG.md b/packages/arkenv/CHANGELOG.md index f398e70e5..1b20ec2ea 100644 --- a/packages/arkenv/CHANGELOG.md +++ b/packages/arkenv/CHANGELOG.md @@ -1,5 +1,38 @@ # ArkEnv +## 0.9.0 + +### Minor Changes + +- #### ArkType is now an optional peer dependency _[`#723`](https://github.com/yamcodes/arkenv/pull/723) [`6bd0741`](https://github.com/yamcodes/arkenv/commit/6bd07410f97a8756366b9432be8504a8507d0876) [@yamcodes](https://github.com/yamcodes)_ + + To achieve a true zero-dependency core, ArkType is now an optional peer dependency. + + - **Breaking Change**: The `type` export has been moved from the main `arkenv` entry point to `arkenv/arktype`. + + ```ts + // ❌ Before + import { type } from "arkenv"; + + // ✅ After + import { type } from "arkenv/arktype"; + ``` + + - **Explicit Validator Modes**: ArkEnv now supports an explicit `validator` option. + + - **`validator: "arktype"` (default)**: Uses ArkType for validation and coercion. Requires `arktype` to be installed. + - **`validator: "standard"`**: Uses Standard Schema validators directly (e.g., Zod, Valibot). Works without ArkType. + + Existing usage of `arkenv()` remains unchanged when ArkType is installed. Projects using ArkType features must now explicitly install `arktype` and import ArkType-land helpers from `arkenv/arktype`. + +### Patch Changes + +- #### Remove internal `@repo/keywords` package _[`#726`](https://github.com/yamcodes/arkenv/pull/726) [`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa) [@yamcodes](https://github.com/yamcodes)_ + + The internal `@repo/keywords` package, which was compiled into the `arkenv` package, has been removed. The keywords are now either defined directly in the `arkenv` package or changed to pure functions. + + This change was made to simplify the package structure for the validator mode. + ## 0.8.3 ### Patch Changes diff --git a/packages/arkenv/package.json b/packages/arkenv/package.json index 700498a20..7212ebabb 100644 --- a/packages/arkenv/package.json +++ b/packages/arkenv/package.json @@ -1,7 +1,7 @@ { "name": "arkenv", "type": "module", - "version": "0.8.3", + "version": "0.9.0", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/bun-plugin/CHANGELOG.md b/packages/bun-plugin/CHANGELOG.md index 35bc9bccc..27c6b056a 100644 --- a/packages/bun-plugin/CHANGELOG.md +++ b/packages/bun-plugin/CHANGELOG.md @@ -1,5 +1,21 @@ # @arkenv/bun-plugin +## 0.0.9 + +### Patch Changes + +
Updated 1 dependency + + + +[`6bd0741`](https://github.com/yamcodes/arkenv/commit/6bd07410f97a8756366b9432be8504a8507d0876) [`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa) + + + +- `arkenv@0.9.0` + +
+ ## 0.0.8 ### Patch Changes diff --git a/packages/bun-plugin/package.json b/packages/bun-plugin/package.json index 5cb7c40a4..df40ca00f 100644 --- a/packages/bun-plugin/package.json +++ b/packages/bun-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@arkenv/bun-plugin", - "version": "0.0.8", + "version": "0.0.9", "author": "Yam Borodetsky ", "repository": { "type": "git", diff --git a/packages/internal/scope/CHANGELOG.md b/packages/internal/scope/CHANGELOG.md index 9ba533c8a..a16bd5277 100644 --- a/packages/internal/scope/CHANGELOG.md +++ b/packages/internal/scope/CHANGELOG.md @@ -1,5 +1,15 @@ # @repo/scope +## 0.1.3 + +### Patch Changes + +- #### Remove internal `@repo/keywords` package _[`#726`](https://github.com/yamcodes/arkenv/pull/726) [`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa) [@yamcodes](https://github.com/yamcodes)_ + + The internal `@repo/keywords` package, which was compiled into the `arkenv` package, has been removed. The keywords are now either defined directly in the `arkenv` package or changed to pure functions. + + This change was made to simplify the package structure for the validator mode. + ## 0.1.2 ### Patch Changes diff --git a/packages/internal/scope/package.json b/packages/internal/scope/package.json index 4ca29986d..6611a67ae 100644 --- a/packages/internal/scope/package.json +++ b/packages/internal/scope/package.json @@ -2,7 +2,7 @@ "name": "@repo/scope", "private": true, "type": "module", - "version": "0.1.2", + "version": "0.1.3", "main": "./dist/index.cjs", "module": "./dist/index.js", "types": "./dist/index.d.ts", diff --git a/packages/internal/types/CHANGELOG.md b/packages/internal/types/CHANGELOG.md index 3c6073bdf..e4a32ae59 100644 --- a/packages/internal/types/CHANGELOG.md +++ b/packages/internal/types/CHANGELOG.md @@ -1,5 +1,23 @@ # @repo/types +## 0.0.7 + +### Patch Changes + +- #### Added Standard Schema, helpers _[`#723`](https://github.com/yamcodes/arkenv/pull/723) [`6bd0741`](https://github.com/yamcodes/arkenv/commit/6bd07410f97a8756366b9432be8504a8507d0876) [@yamcodes](https://github.com/yamcodes)_ + +
Updated 1 dependency + + + +[`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa) + + + +- `@repo/scope@0.1.3` + +
+ ## 0.0.6 ### Patch Changes diff --git a/packages/internal/types/package.json b/packages/internal/types/package.json index bce1ae3cc..12cab0ab2 100644 --- a/packages/internal/types/package.json +++ b/packages/internal/types/package.json @@ -1,6 +1,6 @@ { "name": "@repo/types", - "version": "0.0.6", + "version": "0.0.7", "type": "module", "private": true, "description": "Internal TypeScript types shared across ArkEnv packages", diff --git a/packages/vite-plugin/CHANGELOG.md b/packages/vite-plugin/CHANGELOG.md index 56bf09b6b..bbd583ebd 100644 --- a/packages/vite-plugin/CHANGELOG.md +++ b/packages/vite-plugin/CHANGELOG.md @@ -1,5 +1,21 @@ # @arkenv/vite-plugin +## 0.0.27 + +### Patch Changes + +
Updated 1 dependency + + + +[`6bd0741`](https://github.com/yamcodes/arkenv/commit/6bd07410f97a8756366b9432be8504a8507d0876) [`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa) + + + +- `arkenv@0.9.0` + +
+ ## 0.0.26 ### Patch Changes diff --git a/packages/vite-plugin/package.json b/packages/vite-plugin/package.json index d2a9d899e..b0137e44e 100644 --- a/packages/vite-plugin/package.json +++ b/packages/vite-plugin/package.json @@ -1,6 +1,6 @@ { "name": "@arkenv/vite-plugin", - "version": "0.0.26", + "version": "0.0.27", "author": "Yam Borodetsky ", "repository": { "type": "git",