Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 0 additions & 24 deletions .changeset/every-tips-shout.md

This file was deleted.

10 changes: 0 additions & 10 deletions .changeset/real-toes-heal.md

This file was deleted.

5 changes: 0 additions & 5 deletions .changeset/tender-books-shout.md

This file was deleted.

33 changes: 33 additions & 0 deletions packages/arkenv/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/arkenv/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
16 changes: 16 additions & 0 deletions packages/bun-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @arkenv/bun-plugin

## 0.0.9

### Patch Changes

<details><summary>Updated 1 dependency</summary>

<small>

[`6bd0741`](https://github.com/yamcodes/arkenv/commit/6bd07410f97a8756366b9432be8504a8507d0876) [`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa)

</small>

- `arkenv@0.9.0`

</details>

## 0.0.8

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/bun-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkenv/bun-plugin",
"version": "0.0.8",
"version": "0.0.9",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
10 changes: 10 additions & 0 deletions packages/internal/scope/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/scope/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
18 changes: 18 additions & 0 deletions packages/internal/types/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)_

<details><summary>Updated 1 dependency</summary>

<small>

[`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa)

</small>

- `@repo/scope@0.1.3`

</details>

## 0.0.6

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/internal/types/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
16 changes: 16 additions & 0 deletions packages/vite-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,21 @@
# @arkenv/vite-plugin

## 0.0.27

### Patch Changes

<details><summary>Updated 1 dependency</summary>

<small>

[`6bd0741`](https://github.com/yamcodes/arkenv/commit/6bd07410f97a8756366b9432be8504a8507d0876) [`926ef9b`](https://github.com/yamcodes/arkenv/commit/926ef9b5a322187feef7fce3a842b04d5ec197fa)

</small>

- `arkenv@0.9.0`

</details>

## 0.0.26

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/vite-plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@arkenv/vite-plugin",
"version": "0.0.26",
"version": "0.0.27",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
Loading