Skip to content

Version Packages#1205

Merged
yamcodes merged 2 commits into
devfrom
changeset-release/dev
Jun 15, 2026
Merged

Version Packages#1205
yamcodes merged 2 commits into
devfrom
changeset-release/dev

Conversation

@arkenv-bot

@arkenv-bot arkenv-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor

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 dev, this PR will be updated.

Releases

@arkenv/nextjs@0.1.0

Minor Changes

  • Enforce strict intersection typing on runtimeEnv and reject legacy configs #1206 12ed4f3 @yamcodes

    Restored strict intersection types (Record<RequiredKeys, unknown> & Record<string, unknown>) on the Next.js createEnv adapter to guarantee compile-time enforcement of required schema keys. Additionally, narrowed the accepted runtimeEnv record value type to string | undefined to actively reject invalid configurations.

    BREAKING CHANGE: If you were using the legacy Next.js env object configuration (e.g., passing a nested object to runtimeEnv), or if you were failing to explicitly map all required keys into runtimeEnv, your build will now fail with a TypeScript error. You must explicitly map all variables referenced in your schema as string | undefined.

    Usage:

    import { createEnv } from "@arkenv/nextjs";
    
    export const env = createEnv({
      client: { NEXT_PUBLIC_API: "string" },
      runtimeEnv: {
        // TypeScript will error if NEXT_PUBLIC_API is missing,
        // and will also error if you try to pass an object or array.
        NEXT_PUBLIC_API: process.env.NEXT_PUBLIC_API,
      },
    });

Patch Changes

Updated 1 dependency

a3e32db 12ed4f3 12ed4f3

  • arkenv@0.12.2
## arkenv@0.12.2

Patch Changes

  • Expose getSchemaKeys helper #1191 a3e32db @yamcodes

    Expose getSchemaKeys helper and widen RuntimeEnvironment type to support typed framework runtime configurations.

  • Handle pre-parsed primitives gracefully in coercion logic #1206 12ed4f3 @yamcodes

    Updated the core coercion logic to defensively skip values that are not strings. This ensures ArkEnv won't crash or behave unpredictably when passed configuration objects that have already been parsed into numbers, booleans, or complex objects by other systems (such as Nuxt's runtimeConfig).

  • Fix coercion to prevent in-place mutation of environment config objects #1206 12ed4f3 @yamcodes

    Refactor applyCoercion to perform non-mutating updates on environment configuration data. Clone objects and arrays along the validation path instead of modifying them in-place, preventing runtime crashes on frozen configuration objects (e.g., framework runtime configurations) and avoiding side-effects on reusable config objects.

    Usage:

    import { createEnv } from "arkenv";
    
    const env = createEnv(
      { DATABASE: { port: "number" } },
      { env: { DATABASE: Object.freeze({ port: "3000" }) } } // Frozen object is now safely parsed without crashes!
    );

@arkenv/build@0.0.1

Patch Changes

  • Introduce Nuxt support #1191 a3e32db @yamcodes

    Introduce @arkenv/nuxt integration package providing a Nuxt module for automatic environment variable validation and runtimeConfig mapping, and add Nuxt support to the CLI scaffold wizard. The Nuxt adapter elegantly embraces Nuxt's native configuration exposure by automatically reading from window.__NUXT__.config.public, eliminating the need for developers to manually pass a runtimeEnv or useRuntimeConfig() map.

@arkenv/bun-plugin@0.1.10

Patch Changes

Updated 1 dependency

a3e32db 12ed4f3 12ed4f3

  • arkenv@0.12.2
## @arkenv/cli@0.2.11

Patch Changes

  • Introduce Nuxt support #1191 a3e32db @yamcodes

    Introduce @arkenv/nuxt integration package providing a Nuxt module for automatic environment variable validation and runtimeConfig mapping, and add Nuxt support to the CLI scaffold wizard. The Nuxt adapter elegantly embraces Nuxt's native configuration exposure by automatically reading from window.__NUXT__.config.public, eliminating the need for developers to manually pass a runtimeEnv or useRuntimeConfig() map.

@arkenv/nuxt@0.0.1

Patch Changes

  • Introduce Nuxt support #1191 a3e32db @yamcodes

    Introduce @arkenv/nuxt integration package providing a Nuxt module for automatic environment variable validation and runtimeConfig mapping, and add Nuxt support to the CLI scaffold wizard. The Nuxt adapter elegantly embraces Nuxt's native configuration exposure by automatically reading from window.__NUXT__.config.public, eliminating the need for developers to manually pass a runtimeEnv or useRuntimeConfig() map.

Updated 2 dependencies

a3e32db 12ed4f3 12ed4f3 a3e32db

  • arkenv@0.12.2
  • @arkenv/build@0.0.1
## @arkenv/vite-plugin@0.1.4

Patch Changes

Updated 1 dependency

a3e32db 12ed4f3 12ed4f3

  • arkenv@0.12.2

@github-actions github-actions Bot added docs Adds or changes documentation, or acts as documentation in and of itself arkenv Changes to the `arkenv` npm package. @arkenv/vite-plugin Issues or Pull Requests involving the Vite plugin for ArkEnv @arkenv/bun-plugin Issues or Pull Requests involving the Bun plugin for ArkEnv @arkenv/cli Issues or Pull Requests involving the ArkEnv CLI @arkenv/nextjs Issues or Pull Requests involving the Next.js integration for ArkEnv @arkenv/nuxt Issues or Pull Requests involving the Nuxt integration for ArkEnv labels Jun 14, 2026
@pkg-pr-new

pkg-pr-new Bot commented Jun 14, 2026

Copy link
Copy Markdown

Open in StackBlitz

arkenv

npm i https://pkg.pr.new/yamcodes/arkenv@1205

@arkenv/build

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/build@1205

@arkenv/bun-plugin

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/bun-plugin@1205

@arkenv/cli

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/cli@1205

@arkenv/fumadocs-ui

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/fumadocs-ui@1205

@arkenv/nextjs

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/nextjs@1205

@arkenv/nuxt

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/nuxt@1205

@arkenv/vite-plugin

npm i https://pkg.pr.new/yamcodes/arkenv/@arkenv/vite-plugin@1205

commit: 8231ec0

@arkenv-bot

arkenv-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (Asia/Almaty)
arkenv Ready Ready Preview, Comment Jun 15 2026, 10:35 AM (Asia/Almaty)

@arkenv-bot

arkenv-bot Bot commented Jun 14, 2026

Copy link
Copy Markdown
Contributor Author

📦 Bundle Size Report

Package Size Limit Diff Status
@arkenv/bun-plugin 2.48 kB 2.54 kB 0.0%
arkenv 2.02 kB 2.05 kB 0.0%
arkenv/standard 2.19 kB 2.25 kB 0.0%
arkenv/core 441 B 500 B 0.0%
@arkenv/vite-plugin 1.98 kB 2.93 kB 0.0%
@arkenv/nextjs 1002 B 2.93 kB 0.0%
@arkenv/nextjs/shared 1018 B 1.46 kB 0.0%
@arkenv/nextjs/server 1.05 kB 1.95 kB 0.0%
@arkenv/nextjs/client 1.04 kB 1.95 kB 0.0%
@arkenv/nextjs/config 2.42 kB 2.93 kB 0.0%

All size limits passed!

@arkenv-bot
arkenv-bot Bot force-pushed the changeset-release/dev branch 7 times, most recently from 957e527 to 7149f4c Compare June 15, 2026 05:25
@arkenv-bot
arkenv-bot Bot force-pushed the changeset-release/dev branch from 1303dcf to e47b3fe Compare June 15, 2026 05:30
@yamcodes
yamcodes enabled auto-merge (squash) June 15, 2026 05:33
@yamcodes
yamcodes merged commit 388f01b into dev Jun 15, 2026
22 checks passed
@yamcodes
yamcodes deleted the changeset-release/dev branch June 15, 2026 05:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

@arkenv/bun-plugin Issues or Pull Requests involving the Bun plugin for ArkEnv @arkenv/cli Issues or Pull Requests involving the ArkEnv CLI @arkenv/nextjs Issues or Pull Requests involving the Next.js integration for ArkEnv @arkenv/nuxt Issues or Pull Requests involving the Nuxt integration for ArkEnv @arkenv/vite-plugin Issues or Pull Requests involving the Vite plugin for ArkEnv arkenv Changes to the `arkenv` npm package. docs Adds or changes documentation, or acts as documentation in and of itself

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant