Version Packages (alpha) - #1435
Merged
Merged
Conversation
arkenv
@arkenv/build
@arkenv/bun-plugin
@arkenv/core
@arkenv/fumadocs-ui
@arkenv/nextjs
@arkenv/nuxt
@arkenv/standard
@arkenv/vite-plugin
commit: |
arkenv-bot
Bot
force-pushed
the
changeset-release/v1
branch
from
July 21, 2026 19:31
01c81a8 to
233c7bd
Compare
arkenv-bot
Bot
force-pushed
the
changeset-release/v1
branch
3 times, most recently
from
July 21, 2026 20:00
bf656cf to
7006a33
Compare
Owner
|
keeping this open for a bit until we merge more of that epic, so we can sharpen the changeset. also wanna play with it a bit |
arkenv-bot
Bot
force-pushed
the
changeset-release/v1
branch
2 times, most recently
from
July 21, 2026 20:26
d5e5277 to
830e3e2
Compare
arkenv-bot
Bot
force-pushed
the
changeset-release/v1
branch
from
July 22, 2026 19:00
277dd18 to
c9ea2d9
Compare
arkenv-bot
Bot
force-pushed
the
changeset-release/v1
branch
6 times, most recently
from
July 22, 2026 19:52
52be5a9 to
56fd8b8
Compare
arkenv-bot
Bot
force-pushed
the
changeset-release/v1
branch
from
July 22, 2026 20:04
cfd4ab3 to
cf61941
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to v1, this PR will be updated.
v1is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exitonv1.Releases
@arkenv/nuxt@1.0.0-alpha.10
Major Changes
Throw when the Nuxt module cannot resolve an env schema
#14730763a92@yamcodesBREAKING CHANGE: The
@arkenv/nuxtmodule now throws when no schema file is found (auto-discovery orschemaPath), instead of warning and skipping setup. Create anenv.ts(orsrc/env.ts) schema, or setarkenv.schemaPathinnuxt.config.ts.Minor Changes
Auto-extend shared schema in Nuxt strict-layout client entry
#1422b1d8bad@yamcodes@arkenv/nuxt: When the module runs in strict layout, omittingextendsinenv/client.tsauto-mergesSharedSchemafromenv/internal/shared.tsvia#arkenv/shared-schema. Applies to both@arkenv/nuxt/clientand@arkenv/nuxt/standard/client. The server entry continues to auto-merge the composed client env.arkenv(CLI): The Nuxt strict scaffold now emits that simplified client template (no manualSharedSchemaimport orextendsblock). Next.js scaffolds remain unchanged.Usage:
Auto-merge only runs when the
extendskey is omitted. Any explicitextends- includingextends: []or a custom list - is used as-is and opts out of auto-merge. Strict layout still requiresenv/internal/shared.tswith aSharedSchemaexport — that schema may be empty (type({})) when you have no shared variables. A missing file or unusable export fails with a clear diagnostic (rather than silently treating shared as empty).Patch Changes
Coerce Nuxt public env overrides instead of leaving them as strings
#14583667b7e@yamcodesBug: With a numeric (or boolean) public schema key, setting a deploy-time override made Nitro put a string into
runtimeConfig.public. That string won, soenvlied about the type on server and client.// env.ts export const env = arkenv({ NUXT_PUBLIC_PORT: "number", }); // Deploy / Nitro boot: NUXT_PUBLIC_PORT=4000 - env.NUXT_PUBLIC_PORT; // "4000" (string) — schema said number + env.NUXT_PUBLIC_PORT; // 4000 (number) — coerced after the overrideSame import surface. As a side effect,
@arkenv/nuxt/@arkenv/nuxt/clientno longer ship the validator into the browser bundle.Skip all Nuxt module setup (including boot-gate hooks) when no schema file is found, matching the warn-and-bail contract.
#1165882c0ce@yamcodesDrop embedded env.ts starters and warn when the Nuxt module finds no schema
#14680150e73@yamcodesKeep missing-schema guidance short and host-parity consistent: Bun no longer embeds ArkType/Zod starters in the hybrid discovery error (prefer
arkenv init/ docs). When the Nuxt module is registered but no schema file is found, log a build warning and skip setup instead of failing silently.arkenv@1.0.0-alpha.10
Minor Changes
Add hosting presets for Cloudflare, Railway, Render, and Fly.io
#1469a64bd57@yamcodesAdd hosting presets for Cloudflare, Railway, Render, and Fly.io to the interactive prompt selections in both
arkenv initandarkenv add host.Usage:
or
Support
arkenv add hostfor strict multi-file layouts#1434a3d93be@yamcodesSupport
arkenv add host [provider]in projects with strict multi-file layouts (client.tsandserver.ts). Automatically partition preset variables into client-prefixed keys forclient.tsand server-only keys forserver.ts. Align help text and docs soadd hostis not described as flat-env.ts-only.Usage:
Auto-extend shared schema in Nuxt strict-layout client entry
#1422b1d8bad@yamcodes@arkenv/nuxt: When the module runs in strict layout, omittingextendsinenv/client.tsauto-mergesSharedSchemafromenv/internal/shared.tsvia#arkenv/shared-schema. Applies to both@arkenv/nuxt/clientand@arkenv/nuxt/standard/client. The server entry continues to auto-merge the composed client env.arkenv(CLI): The Nuxt strict scaffold now emits that simplified client template (no manualSharedSchemaimport orextendsblock). Next.js scaffolds remain unchanged.Usage:
Auto-merge only runs when the
extendskey is omitted. Any explicitextends- includingextends: []or a custom list - is used as-is and opts out of auto-merge. Strict layout still requiresenv/internal/shared.tswith aSharedSchemaexport — that schema may be empty (type({})) when you have no shared variables. A missing file or unusable export fails with a clear diagnostic (rather than silently treating shared as empty).@arkenv/bun-plugin@1.0.0-alpha.7
Minor Changes
Add
env.tstransform for Bun fullstack apps#14595fc1c6a@yamcodesLet the Bun plugin discover your
env.tsand expose a sharedenvobject that works in both client and server code. On the client (Bun.build/[serve.static]), public (BUN_PUBLIC_*) values are inlined at build time and server-only keys throw if read; on the server (bun run/Bun.serve),env.tsstill runs normally and validates against the real environment at boot. The plugin does not rewrite yourenv.tsfile on disk.Works with
@arkenv/bun-pluginand@arkenv/bun-plugin/standard.Usage:
Passing a schema to
arkenv(schema)(the previousprocess.envrewrite API) continues to work unchanged as SPA mode.Patch Changes
Clarify Standard Mode missing-schema guidance with a Zod example
#14576cca0cf@yamcodesWhen
@arkenv/bun-plugin/standardcannot findenv.ts, show an illustrative Zod starter (any Standard Schema validator works — Zod is just the most common):Drop embedded env.ts starters and warn when the Nuxt module finds no schema
#14680150e73@yamcodesKeep missing-schema guidance short and host-parity consistent: Bun no longer embeds ArkType/Zod starters in the hybrid discovery error (prefer
arkenv init/ docs). When the Nuxt module is registered but no schema file is found, log a build warning and skip setup instead of failing silently.@arkenv/vite-plugin@1.0.0-alpha.7
Minor Changes
Add
env.tstransform for Vite fullstack apps#1423e1cf6db@yamcodesLet the Vite plugin discover your
env.tsand expose a sharedenvobject that works in both client and server code. On the client, public (VITE_*) values are inlined at build time and server-only keys throw if read; on the server/SSR,env.tsstill runs normally and validates against the real environment at boot. The plugin does not rewrite yourenv.tsfile on disk.Works with
@arkenv/vite-pluginand@arkenv/vite-plugin/standard.Usage:
Passing a schema to
arkenv(schema)(the previousimport.meta.envdefine API) continues to work unchanged.