Skip to content

Releases

@arkenv/vite-plugin@1.0.0-rc.5

Choose a tag to compare

@arkenv-bot arkenv-bot released this 10 Oct 04:56
1a430ca

Patch Changes

  • Include 1.0.0 prereleases in framework plugin core peers #2069 222d8e9 @yamcodes

    Optional @arkenv/core and @arkenv/standard peers 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.4 and @arkenv/standard@1.0.0-rc.4
    resolves on npm 11. The peers stay optional. The range matches 1.0.0
    prereleases and stable 1.x below 2.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

Choose a tag to compare

@arkenv-bot arkenv-bot released this 10 Oct 04:56
1a430ca

Patch Changes

  • Include 1.0.0 prereleases in framework plugin core peers #2069 222d8e9 @yamcodes

    Optional @arkenv/core and @arkenv/standard peers 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.4 and @arkenv/standard@1.0.0-rc.4
    resolves on npm 11. The peers stay optional. The range matches 1.0.0
    prereleases and stable 1.x below 2.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

Choose a tag to compare

@arkenv-bot arkenv-bot released this 10 Oct 04:56
1a430ca

Patch Changes

  • Include 1.0.0 prereleases in framework plugin core peers #2069 222d8e9 @yamcodes

    Optional @arkenv/core and @arkenv/standard peers 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.4 and @arkenv/standard@1.0.0-rc.4
    resolves on npm 11. The peers stay optional. The range matches 1.0.0
    prereleases and stable 1.x below 2.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 #2073 f882c42 @yamcodes

    Production startup and prerender now validate the schema compiled into the server bundle. A copied .output directory no longer reads the build-machine env.ts and no longer needs jiti. Live NUXT_* and NUXT_PUBLIC_* overrides, including empty strings, still win over values baked at build time.

  • Fix Nuxt 4.6 nitro:config hook types #2040 17ff351 @renovate

    @arkenv/nuxt typechecks again with Nuxt 4.6. The module no longer redeclares the nitro:config hook, which now uses Nuxt's NitroConfig type, and still registers the server boot alias on that hook.

@arkenv/nextjs@1.0.0-rc.5

Choose a tag to compare

@arkenv-bot arkenv-bot released this 10 Oct 04:56
1a430ca

Patch Changes

  • Include 1.0.0 prereleases in framework plugin core peers #2069 222d8e9 @yamcodes

    Optional @arkenv/core and @arkenv/standard peers 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.4 and @arkenv/standard@1.0.0-rc.4
    resolves on npm 11. The peers stay optional. The range matches 1.0.0
    prereleases and stable 1.x below 2.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

Choose a tag to compare

@arkenv-bot arkenv-bot released this 10 Oct 04:56
1a430ca

Patch Changes

  • Include 1.0.0 prereleases in framework plugin core peers #2069 222d8e9 @yamcodes

    Optional @arkenv/core and @arkenv/standard peers 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.4 and @arkenv/standard@1.0.0-rc.4
    resolves on npm 11. The peers stay optional. The range matches 1.0.0
    prereleases and stable 1.x below 2.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

Choose a tag to compare

@arkenv-bot arkenv-bot released this 25 Sep 20:55
1adc334

Minor Changes

  • Stop installing the agent skill during init #1984 2c1dd0f @yamcodes

    arkenv init no 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 prints npx skills add yamcodes/arkenv. @arkenv/agent-plugin already includes the skill.

  • Scaffold arkenvPlugin in Vite and Rsbuild configs #2015 7417dd7 @yamcodes

    arkenv init now writes arkenvPlugin into new Vite and Rsbuild config entries. Vite binds the default import as arkenvPlugin. Rsbuild imports the named arkenvPlugin.

     import arkenvPlugin from "@arkenv/vite-plugin";
     
     export default defineConfig({
       plugins: [arkenvPlugin()],
     });

Patch Changes

  • Scaffold Zod and Valibot init on standard mode #2020 a3815e6 @yamcodes

    arkenv init no longer installs arktype when you choose Zod or Valibot. Next.js, Nuxt, Vite, Rsbuild, and Bun now scaffold the /standard integration 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/module switches to @arkenv/nuxt/standard/module when 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 arktype and uses the ArkType integration entry.

@arkenv/vite-plugin@1.0.0-rc.4

Choose a tag to compare

@arkenv-bot arkenv-bot released this 25 Sep 22:15
55f11dd

Patch Changes

Updated 3 dependencies

6370d28 3a7b92f

  • @arkenv/build@1.0.0-rc.4
  • @arkenv/standard@1.0.0-rc.4
  • @arkenv/core@1.0.0-rc.4

@arkenv/vite-plugin@1.0.0-rc.3

Choose a tag to compare

@arkenv-bot arkenv-bot released this 25 Sep 20:55
1adc334

Major Changes

  • Export only arkenvPlugin from the Vite plugin #2015 7417dd7 @yamcodes

    @arkenv/vite-plugin and @arkenv/vite-plugin/standard now export arkenvPlugin as the default and the only named export. The arkenvVitePlugin alias has been removed.

     import arkenvPlugin from "@arkenv/vite-plugin";
     
     export default defineConfig({
       plugins: [arkenvPlugin()],
     });

    BREAKING CHANGE: arkenvVitePlugin is no longer exported. Import arkenvPlugin instead.

  • Reject runtime options on bundler plugins #2012 87f3743 @yamcodes

    Vite, Bun, and Rsbuild plugins now accept only schemaPath, clientPrefix, logger, and logLevel. The build validates the environment loaded for that compile. Variables already set on process.env win over env files.

     import { arkenvPlugin } from "@arkenv/vite-plugin";
     
     export default {
       plugins: [arkenvPlugin({ schemaPath: "src/env.ts" })],
     };

    Set env, coerce, onUndeclaredKey, arrayFormat, emptyAsUndefined, debugSecrets, and toJsonSchema on arkenv() in env.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, including env. Passing them now throws.

     - arkenvPlugin({ env: { PORT: "3000" }, coerce: true })
     + arkenvPlugin({ schemaPath: "src/env.ts" })

Patch Changes

Updated 3 dependencies

87f3743 9483c3c 089ef43

  • @arkenv/build@1.0.0-rc.3
  • @arkenv/core@1.0.0-rc.3
  • @arkenv/standard@1.0.0-rc.3

@arkenv/tanstack-addon@1.0.0-rc.2

Choose a tag to compare

@arkenv-bot arkenv-bot released this 25 Sep 20:55
1adc334

Patch Changes

  • Scaffold arkenvPlugin in the TanStack add-on #2015 7417dd7 @yamcodes

    The 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 #1978 888e6c2 @yamcodes

    Scaffolded TanStack Start apps now install @arkenv/core, @arkenv/standard, and @arkenv/vite-plugin at ^1.0.0-rc.2, which matches the versions on npm latest and still accepts 1.0.0 when 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

Choose a tag to compare

@arkenv-bot arkenv-bot released this 25 Sep 22:15
55f11dd

Major Changes

  • Move standard issue helpers to /issues #2014 3a7b92f @yamcodes

    formatIssues, getSchemaKeys, and the EnvIssue types now live on
    @arkenv/standard/issues, the same entry @arkenv/core already uses.
    arkenv, ArkEnvError, and SafeArkEnvResult stay on the package root.
    /valibot and /zod-mini no 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";