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
7 changes: 0 additions & 7 deletions .changeset/better-crews-pump.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/few-hands-hunt.md

This file was deleted.

18 changes: 0 additions & 18 deletions .changeset/mighty-radios-walk.md

This file was deleted.

8 changes: 8 additions & 0 deletions packages/arkenv/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# ArkEnv

## 0.9.1

### Patch Changes

- #### Fix Standard Schema type inference _[`#758`](https://github.com/yamcodes/arkenv/pull/758) [`3b747b0`](https://github.com/yamcodes/arkenv/commit/3b747b07660e035fda4a40ca90c630e283d6ba1c) [@yamcodes](https://github.com/yamcodes)_

Fixed type inference when using `validator: "standard"` mode. The `env` object now correctly infers types from Standard Schema validators like Zod or Valibot.

## 0.9.0

### Minor 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.9.0",
"version": "0.9.1",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
34 changes: 34 additions & 0 deletions packages/bun-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @arkenv/bun-plugin

## 0.1.1

### Patch Changes

- #### Support configuration _[`#763`](https://github.com/yamcodes/arkenv/pull/763) [`06de0ef`](https://github.com/yamcodes/arkenv/commit/06de0ef3febbfc685213043ad5454f6b9e8ab564) [@yamcodes](https://github.com/yamcodes)_

Add support for an optional configuration object as the second argument. This allows you to set the `validator` mode to `"standard"`, enabling support for libraries like Zod or Valibot without an ArkType dependency.

```ts
import { z } from "zod";
import arkenv from "@arkenv/bun-plugin";

arkenv(
{
BUN_PUBLIC_API_URL: z.string().url(),
},
{
validator: "standard",
}
);
```

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

<small>

[`3b747b0`](https://github.com/yamcodes/arkenv/commit/3b747b07660e035fda4a40ca90c630e283d6ba1c)

</small>

- `arkenv@0.9.1`

</details>

## 0.1.0

### Minor 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.1.0",
"version": "0.1.1",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
34 changes: 34 additions & 0 deletions packages/vite-plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# @arkenv/vite-plugin

## 0.0.28

### Patch Changes

- #### Support configuration _[`bb832b1`](https://github.com/yamcodes/arkenv/commit/bb832b11a0d4d627cd7b04c7e7007c0a8e96ce30) [@yamcodes](https://github.com/yamcodes)_

Add support for an optional configuration object as the second argument. This allows you to set the `validator` mode to `"standard"`, enabling support for libraries like Zod or Valibot without an ArkType dependency.

```ts
import { z } from "zod";
import arkenvVitePlugin from "@arkenv/vite-plugin";

arkenvVitePlugin(
{
VITE_API_URL: z.string().url(),
},
{
validator: "standard",
}
);
```

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

<small>

[`3b747b0`](https://github.com/yamcodes/arkenv/commit/3b747b07660e035fda4a40ca90c630e283d6ba1c)

</small>

- `arkenv@0.9.1`

</details>

## 0.0.27

### 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.27",
"version": "0.0.28",
"author": "Yam Borodetsky <yam@yam.codes>",
"repository": {
"type": "git",
Expand Down
Loading