diff --git a/.changeset/fair-rats-hammer.md b/.changeset/fair-rats-hammer.md deleted file mode 100644 index 21de0bf0..00000000 --- a/.changeset/fair-rats-hammer.md +++ /dev/null @@ -1,15 +0,0 @@ ---- -"@t3-oss/env-nextjs": minor -"@t3-oss/env-core": minor -"@t3-oss/env-nuxt": minor ---- - -feat!: support standard schema - -Validators can now be any validator that supports [Standard Schema](https://github.com/standard-schema/standard-schema), -for example Zod & Valibot. - -This feature comes with some breaking changes: - -- If using Zod, the minimum required version is now 3.24. -- `onValidationError` now gets `StandardSchemaV1.Issue[]` instead of `ZodError` diff --git a/.changeset/good-rabbits-exercise.md b/.changeset/good-rabbits-exercise.md deleted file mode 100644 index 0964a26d..00000000 --- a/.changeset/good-rabbits-exercise.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@t3-oss/env-core": patch ---- - -add netlify preset diff --git a/.changeset/quick-elephants-confess.md b/.changeset/quick-elephants-confess.md deleted file mode 100644 index e16ec7d4..00000000 --- a/.changeset/quick-elephants-confess.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"@t3-oss/env-nextjs": minor -"@t3-oss/env-core": minor -"@t3-oss/env-nuxt": minor ---- - -feat!: add valibot presets - -Presets using Valibot are now available using the `/presets-valibot` entrypoint. - -This feature comes with some breaking changes: - -- Zod presets have now been moved to `/presets-zod`. diff --git a/.changeset/tough-schools-drum.md b/.changeset/tough-schools-drum.md deleted file mode 100644 index 32bee013..00000000 --- a/.changeset/tough-schools-drum.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@t3-oss/env-core": minor ---- - -update uploadthing preset to v7. add `uploadthingV6` for legacy config diff --git a/.changeset/yellow-carrots-joke.md b/.changeset/yellow-carrots-joke.md deleted file mode 100644 index de8e5b87..00000000 --- a/.changeset/yellow-carrots-joke.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@t3-oss/env-core": patch ---- - -add neonVercel preset diff --git a/bun.lockb b/bun.lockb new file mode 100755 index 00000000..610bc3eb Binary files /dev/null and b/bun.lockb differ diff --git a/packages/core/CHANGELOG.md b/packages/core/CHANGELOG.md index d1a09232..dd5a6687 100644 --- a/packages/core/CHANGELOG.md +++ b/packages/core/CHANGELOG.md @@ -1,5 +1,35 @@ # @t3-oss/env-core +## 0.12.0 + +### Minor Changes + +- [#299](https://github.com/t3-oss/t3-env/pull/299) [`b13d46b`](https://github.com/t3-oss/t3-env/commit/b13d46b84cdeed816b0b7b28a1c50b953064f7d6) Thanks [@EskiMojo14](https://github.com/EskiMojo14)! - feat!: support standard schema + + Validators can now be any validator that supports [Standard Schema](https://github.com/standard-schema/standard-schema), + for example Zod & Valibot. + + This feature comes with some breaking changes: + + - If using Zod, the minimum required version is now 3.24. + - `onValidationError` now gets `StandardSchemaV1.Issue[]` instead of `ZodError` + +- [#310](https://github.com/t3-oss/t3-env/pull/310) [`eb37304`](https://github.com/t3-oss/t3-env/commit/eb373046ed9f11f71df8acf3ddc2b8671faee95a) Thanks [@EskiMojo14](https://github.com/EskiMojo14)! - feat!: add valibot presets + + Presets using Valibot are now available using the `/presets-valibot` entrypoint. + + This feature comes with some breaking changes: + + - Zod presets have now been moved to `/presets-zod`. + +- [`bb80923`](https://github.com/t3-oss/t3-env/commit/bb809231d07a089391ed2949e5f1161caf1b3a30) Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - update uploadthing preset to v7. add `uploadthingV6` for legacy config + +### Patch Changes + +- [#279](https://github.com/t3-oss/t3-env/pull/279) [`7c09bc3`](https://github.com/t3-oss/t3-env/commit/7c09bc36592c79cf2776fb57d04884b61de8ab89) Thanks [@thevisioner](https://github.com/thevisioner)! - add netlify preset + +- [`bb80923`](https://github.com/t3-oss/t3-env/commit/bb809231d07a089391ed2949e5f1161caf1b3a30) Thanks [@juliusmarminge](https://github.com/juliusmarminge)! - add neonVercel preset + ## 0.11.1 ### Patch Changes diff --git a/packages/core/package.json b/packages/core/package.json index 04847223..8ed56c0f 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@t3-oss/env-core", - "version": "0.11.1", + "version": "0.12.0", "type": "module", "keywords": ["create-t3-app", "environment variables", "zod"], "author": "Julius Marminge", diff --git a/packages/nextjs/CHANGELOG.md b/packages/nextjs/CHANGELOG.md index fd5425a0..5c5d5ea5 100644 --- a/packages/nextjs/CHANGELOG.md +++ b/packages/nextjs/CHANGELOG.md @@ -1,5 +1,32 @@ # @t3-oss/env-nextjs +## 0.12.0 + +### Minor Changes + +- [#299](https://github.com/t3-oss/t3-env/pull/299) [`b13d46b`](https://github.com/t3-oss/t3-env/commit/b13d46b84cdeed816b0b7b28a1c50b953064f7d6) Thanks [@EskiMojo14](https://github.com/EskiMojo14)! - feat!: support standard schema + + Validators can now be any validator that supports [Standard Schema](https://github.com/standard-schema/standard-schema), + for example Zod & Valibot. + + This feature comes with some breaking changes: + + - If using Zod, the minimum required version is now 3.24. + - `onValidationError` now gets `StandardSchemaV1.Issue[]` instead of `ZodError` + +- [#310](https://github.com/t3-oss/t3-env/pull/310) [`eb37304`](https://github.com/t3-oss/t3-env/commit/eb373046ed9f11f71df8acf3ddc2b8671faee95a) Thanks [@EskiMojo14](https://github.com/EskiMojo14)! - feat!: add valibot presets + + Presets using Valibot are now available using the `/presets-valibot` entrypoint. + + This feature comes with some breaking changes: + + - Zod presets have now been moved to `/presets-zod`. + +### Patch Changes + +- Updated dependencies [[`b13d46b`](https://github.com/t3-oss/t3-env/commit/b13d46b84cdeed816b0b7b28a1c50b953064f7d6), [`7c09bc3`](https://github.com/t3-oss/t3-env/commit/7c09bc36592c79cf2776fb57d04884b61de8ab89), [`eb37304`](https://github.com/t3-oss/t3-env/commit/eb373046ed9f11f71df8acf3ddc2b8671faee95a), [`bb80923`](https://github.com/t3-oss/t3-env/commit/bb809231d07a089391ed2949e5f1161caf1b3a30), [`bb80923`](https://github.com/t3-oss/t3-env/commit/bb809231d07a089391ed2949e5f1161caf1b3a30)]: + - @t3-oss/env-core@0.12.0 + ## 0.11.1 ### Patch Changes diff --git a/packages/nextjs/package.json b/packages/nextjs/package.json index 2ee42ce1..6079a653 100644 --- a/packages/nextjs/package.json +++ b/packages/nextjs/package.json @@ -1,6 +1,6 @@ { "name": "@t3-oss/env-nextjs", - "version": "0.11.1", + "version": "0.12.0", "type": "module", "keywords": ["create-t3-app", "environment variables", "zod", "nextjs"], "author": "Julius Marminge", diff --git a/packages/nuxt/CHANGELOG.md b/packages/nuxt/CHANGELOG.md index fc5c2621..7846260e 100644 --- a/packages/nuxt/CHANGELOG.md +++ b/packages/nuxt/CHANGELOG.md @@ -1,5 +1,32 @@ # @t3-oss/env-nuxt +## 0.12.0 + +### Minor Changes + +- [#299](https://github.com/t3-oss/t3-env/pull/299) [`b13d46b`](https://github.com/t3-oss/t3-env/commit/b13d46b84cdeed816b0b7b28a1c50b953064f7d6) Thanks [@EskiMojo14](https://github.com/EskiMojo14)! - feat!: support standard schema + + Validators can now be any validator that supports [Standard Schema](https://github.com/standard-schema/standard-schema), + for example Zod & Valibot. + + This feature comes with some breaking changes: + + - If using Zod, the minimum required version is now 3.24. + - `onValidationError` now gets `StandardSchemaV1.Issue[]` instead of `ZodError` + +- [#310](https://github.com/t3-oss/t3-env/pull/310) [`eb37304`](https://github.com/t3-oss/t3-env/commit/eb373046ed9f11f71df8acf3ddc2b8671faee95a) Thanks [@EskiMojo14](https://github.com/EskiMojo14)! - feat!: add valibot presets + + Presets using Valibot are now available using the `/presets-valibot` entrypoint. + + This feature comes with some breaking changes: + + - Zod presets have now been moved to `/presets-zod`. + +### Patch Changes + +- Updated dependencies [[`b13d46b`](https://github.com/t3-oss/t3-env/commit/b13d46b84cdeed816b0b7b28a1c50b953064f7d6), [`7c09bc3`](https://github.com/t3-oss/t3-env/commit/7c09bc36592c79cf2776fb57d04884b61de8ab89), [`eb37304`](https://github.com/t3-oss/t3-env/commit/eb373046ed9f11f71df8acf3ddc2b8671faee95a), [`bb80923`](https://github.com/t3-oss/t3-env/commit/bb809231d07a089391ed2949e5f1161caf1b3a30), [`bb80923`](https://github.com/t3-oss/t3-env/commit/bb809231d07a089391ed2949e5f1161caf1b3a30)]: + - @t3-oss/env-core@0.12.0 + ## 0.11.1 ### Patch Changes diff --git a/packages/nuxt/package.json b/packages/nuxt/package.json index da3c857b..a273a50e 100644 --- a/packages/nuxt/package.json +++ b/packages/nuxt/package.json @@ -1,6 +1,6 @@ { "name": "@t3-oss/env-nuxt", - "version": "0.11.1", + "version": "0.12.0", "type": "module", "keywords": ["create-t3-app", "environment variables", "zod", "nuxt", "vue"], "author": "Julius Marminge",