Repository navigation
Releases
@arkenv/vite-plugin@1.0.0-rc.5
Patch Changes
-
Include 1.0.0 prereleases in framework plugin core peers
#2069222d8e9@yamcodesOptional
@arkenv/coreand@arkenv/standardpeers on the Next.js, Nuxt,
Vite, Bun, and Rsbuild plugins now use^1.0.0-0. Installing a plugin
together with@arkenv/core@1.0.0-rc.4and@arkenv/standard@1.0.0-rc.4
resolves on npm 11. The peers stay optional. The range matches1.0.0
prereleases and stable 1.x below2.0.0.npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4 @arkenv/standard@1.0.0-rc.4
{ "peerDependencies": { "@arkenv/core": "^1.0.0-0", "@arkenv/standard": "^1.0.0-0" }, "peerDependenciesMeta": { "@arkenv/core": { "optional": true }, "@arkenv/standard": { "optional": true } } }
@arkenv/rsbuild-plugin@1.0.0-rc.5
Patch Changes
-
Include 1.0.0 prereleases in framework plugin core peers
#2069222d8e9@yamcodesOptional
@arkenv/coreand@arkenv/standardpeers on the Next.js, Nuxt,
Vite, Bun, and Rsbuild plugins now use^1.0.0-0. Installing a plugin
together with@arkenv/core@1.0.0-rc.4and@arkenv/standard@1.0.0-rc.4
resolves on npm 11. The peers stay optional. The range matches1.0.0
prereleases and stable 1.x below2.0.0.npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4 @arkenv/standard@1.0.0-rc.4
{ "peerDependencies": { "@arkenv/core": "^1.0.0-0", "@arkenv/standard": "^1.0.0-0" }, "peerDependenciesMeta": { "@arkenv/core": { "optional": true }, "@arkenv/standard": { "optional": true } } }
@arkenv/nuxt@1.0.0-rc.5
Patch Changes
-
Include 1.0.0 prereleases in framework plugin core peers
#2069222d8e9@yamcodesOptional
@arkenv/coreand@arkenv/standardpeers on the Next.js, Nuxt,
Vite, Bun, and Rsbuild plugins now use^1.0.0-0. Installing a plugin
together with@arkenv/core@1.0.0-rc.4and@arkenv/standard@1.0.0-rc.4
resolves on npm 11. The peers stay optional. The range matches1.0.0
prereleases and stable 1.x below2.0.0.npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4 @arkenv/standard@1.0.0-rc.4
{ "peerDependencies": { "@arkenv/core": "^1.0.0-0", "@arkenv/standard": "^1.0.0-0" }, "peerDependenciesMeta": { "@arkenv/core": { "optional": true }, "@arkenv/standard": { "optional": true } } } -
Compile the Nuxt schema into the Nitro server bundle
#2073f882c42@yamcodesProduction startup and prerender now validate the schema compiled into the server bundle. A copied
.outputdirectory no longer reads the build-machineenv.tsand no longer needsjiti. LiveNUXT_*andNUXT_PUBLIC_*overrides, including empty strings, still win over values baked at build time. -
Fix Nuxt 4.6
nitro:confighook types#204017ff351@renovate@arkenv/nuxttypechecks again with Nuxt 4.6. The module no longer redeclares thenitro:confighook, which now uses Nuxt'sNitroConfigtype, and still registers the server boot alias on that hook.
@arkenv/nextjs@1.0.0-rc.5
Patch Changes
-
Include 1.0.0 prereleases in framework plugin core peers
#2069222d8e9@yamcodesOptional
@arkenv/coreand@arkenv/standardpeers on the Next.js, Nuxt,
Vite, Bun, and Rsbuild plugins now use^1.0.0-0. Installing a plugin
together with@arkenv/core@1.0.0-rc.4and@arkenv/standard@1.0.0-rc.4
resolves on npm 11. The peers stay optional. The range matches1.0.0
prereleases and stable 1.x below2.0.0.npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4 @arkenv/standard@1.0.0-rc.4
{ "peerDependencies": { "@arkenv/core": "^1.0.0-0", "@arkenv/standard": "^1.0.0-0" }, "peerDependenciesMeta": { "@arkenv/core": { "optional": true }, "@arkenv/standard": { "optional": true } } }
@arkenv/bun-plugin@1.0.0-rc.5
Patch Changes
-
Include 1.0.0 prereleases in framework plugin core peers
#2069222d8e9@yamcodesOptional
@arkenv/coreand@arkenv/standardpeers on the Next.js, Nuxt,
Vite, Bun, and Rsbuild plugins now use^1.0.0-0. Installing a plugin
together with@arkenv/core@1.0.0-rc.4and@arkenv/standard@1.0.0-rc.4
resolves on npm 11. The peers stay optional. The range matches1.0.0
prereleases and stable 1.x below2.0.0.npm install @arkenv/nuxt @arkenv/core@1.0.0-rc.4 @arkenv/standard@1.0.0-rc.4
{ "peerDependencies": { "@arkenv/core": "^1.0.0-0", "@arkenv/standard": "^1.0.0-0" }, "peerDependenciesMeta": { "@arkenv/core": { "optional": true }, "@arkenv/standard": { "optional": true } } }
arkenv@1.0.0-rc.3
Minor Changes
-
Stop installing the agent skill during init
#19842c1dd0f@yamcodesarkenv initno longer prompts for or installs the ArkEnv agent skill, including under--yes. When the skill is not already in the project, the next-steps note still printsnpx skills add yamcodes/arkenv.@arkenv/agent-pluginalready includes the skill. -
Scaffold
arkenvPluginin Vite and Rsbuild configs#20157417dd7@yamcodesarkenv initnow writesarkenvPlugininto new Vite and Rsbuild config entries. Vite binds the default import asarkenvPlugin. Rsbuild imports the namedarkenvPlugin.import arkenvPlugin from "@arkenv/vite-plugin"; export default defineConfig({ plugins: [arkenvPlugin()], });
Patch Changes
-
Scaffold Zod and Valibot init on standard mode
#2020a3815e6@yamcodesarkenv initno longer installsarktypewhen you choose Zod or Valibot. Next.js, Nuxt, Vite, Rsbuild, and Bun now scaffold the/standardintegration entry, and Next.js and Nuxt also install@arkenv/standard.import arkenv from "@arkenv/nuxt/standard"; import * as z from "zod"; export const env = arkenv({ DATABASE_URL: z.url(), });
Re-running init replaces the other engine's entry. A Nuxt app that still registers
@arkenv/nuxt/moduleswitches to@arkenv/nuxt/standard/modulewhen you choose Zod or Valibot, and the same replacement applies to the Next.js, Vite, and Rsbuild imports. Choosing ArkType switches those entries back.ArkType init is unchanged: it still installs
arktypeand uses the ArkType integration entry.
@arkenv/vite-plugin@1.0.0-rc.4
@arkenv/vite-plugin@1.0.0-rc.3
Major Changes
-
Export only
arkenvPluginfrom the Vite plugin#20157417dd7@yamcodes@arkenv/vite-pluginand@arkenv/vite-plugin/standardnow exportarkenvPluginas the default and the only named export. ThearkenvVitePluginalias has been removed.import arkenvPlugin from "@arkenv/vite-plugin"; export default defineConfig({ plugins: [arkenvPlugin()], });
BREAKING CHANGE:
arkenvVitePluginis no longer exported. ImportarkenvPlugininstead. -
Reject runtime options on bundler plugins
#201287f3743@yamcodesVite, Bun, and Rsbuild plugins now accept only
schemaPath,clientPrefix,logger, andlogLevel. The build validates the environment loaded for that compile. Variables already set onprocess.envwin over env files.import { arkenvPlugin } from "@arkenv/vite-plugin"; export default { plugins: [arkenvPlugin({ schemaPath: "src/env.ts" })], };
Set
env,coerce,onUndeclaredKey,arrayFormat,emptyAsUndefined,debugSecrets, andtoJsonSchemaonarkenv()inenv.ts. The plugin rejects those keys.import arkenv from "@arkenv/core"; export const env = arkenv( { PORT: "number" }, { coerce: true, onUndeclaredKey: "reject" }, );
BREAKING CHANGE: Plugin option types no longer include runtime
arkenv()fields, includingenv. Passing them now throws.- arkenvPlugin({ env: { PORT: "3000" }, coerce: true }) + arkenvPlugin({ schemaPath: "src/env.ts" })
Patch Changes
@arkenv/tanstack-addon@1.0.0-rc.2
Patch Changes
-
Scaffold
arkenvPluginin the TanStack add-on#20157417dd7@yamcodesThe TanStack CLI add-on now registers the Vite plugin as
arkenvPlugin.import arkenvPlugin from "@arkenv/vite-plugin"; export default defineConfig({ plugins: [arkenvPlugin()], });
-
Point TanStack add-on dependencies at the current release
#1978888e6c2@yamcodesScaffolded TanStack Start apps now install
@arkenv/core,@arkenv/standard, and@arkenv/vite-pluginat^1.0.0-rc.2, which matches the versions on npmlatestand still accepts1.0.0when it publishes.Usage:
npx @tanstack/cli create my-app --add-ons https://arkenv.js.org/tanstack/info.json
@arkenv/standard@1.0.0-rc.4
Major Changes
-
Move standard issue helpers to
/issues#20143a7b92f@yamcodesformatIssues,getSchemaKeys, and theEnvIssuetypes now live on
@arkenv/standard/issues, the same entry@arkenv/corealready uses.
arkenv,ArkEnvError, andSafeArkEnvResultstay on the package root.
/valibotand/zod-minino longer re-export the helpers.import arkenv from "@arkenv/standard/safe"; import { formatIssues } from "@arkenv/standard/issues"; import * as z from "zod"; const result = arkenv( { PORT: z.coerce.number() }, { env: { PORT: "invalid" } }, ); if (!result.success) { console.error(formatIssues(result.issues)); }
BREAKING CHANGE: Issue helpers moved off
@arkenv/standard,
@arkenv/standard/valibot, and@arkenv/standard/zod-mini.- import arkenv, { formatIssues } from "@arkenv/standard"; + import arkenv from "@arkenv/standard"; + import { formatIssues } from "@arkenv/standard/issues";