@t3-oss/env-nextjs breaking changes
@t3-oss/env-nextjs 0.13.0 (April 23, 2025) is its newest release with breaking changes, 2 of them. The first: Signature changed createEnv. Every breaking API change we have recorded in @t3-oss/env-nextjs on npm: 14 breaking changes in 8 versions. Below, its 8 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.13.11, released March 22, 2026.
Packages on npm run on Node.js. Node.js end of life dates.
@t3-oss/env-nextjs 0.13.0 breaking changes
- Signature changed
createEnv
Was function createEnv<TServer extends Record<string, StandardSchemaV1> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, StandardSchemaV1> = NonNullable<unknown>, TShared extends Record<string, StandardSchemaV1> =... npmjs.com - Signature changed
CreateEnv
CreateEnv now takes CreateEnv<TFinalSchema, TExtends> instead of CreateEnv<TServer, TClient, TShared, TExtends>. Code that relied on these internal types must pass DefaultCombinedSchema<TServer, TClient, TShared> as TFinalSchema to keep... github.com
@t3-oss/env-nextjs 0.12.0 breaking changes
- Renamed
Zod presets are now imported from /presets-zod. Update imports that used the old presets path. github.com - Configuration changed
Validators can now be any Standard Schema validator, such as Zod or Valibot. If you use Zod, upgrade it to version 3.24 or later. github.com - Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>, TShared extends Record<string, ZodType> = NonNullable<unknown>... npmjs.com - Signature changed
onValidationError
The onValidationError callback now receives StandardSchemaV1.Issue[] instead of ZodError. Update any code that reads ZodError properties in this callback. github.com
@t3-oss/env-nextjs 0.10.0 breaking changes
- Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>, TShared extends Record<string, ZodType> = NonNullable<unknown>... npmjs.com
@t3-oss/env-nextjs 0.9.0 breaking changes
- Removed
The package no longer ships a CJS build, so code that loads it with require() must switch to ESM import. github.com - Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>, TShared extends Record<string, ZodType> = NonNullable<unknown>... npmjs.com
@t3-oss/env-nextjs 0.8.0 breaking changes
- Configuration changed
The release raises the required TypeScript version to ^5.0.0. Projects on older TypeScript versions must upgrade TypeScript before using this release. github.com - Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>, TShared extends Record<string, ZodType> =... npmjs.com
@t3-oss/env-nextjs 0.6.0 breaking changes
- Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>>(opts: Options<TServer, TClient>)... npmjs.com
Older versions
2 older versions.
Show 2 older versions
@t3-oss/env-nextjs 0.5.0 breaking changes
- Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>>({runtimeEnv, ...opts}: Options<TServer, TClient>)... npmjs.com
@t3-oss/env-nextjs 0.3.0 breaking changes
- Signature changed
createEnv
Was function createEnv<TServer extends Record<string, ZodType> = NonNullable<unknown>, TClient extends Record<`${ClientPrefix}${string}`, ZodType> = NonNullable<unknown>>({runtimeEnv, ...opts}: Options<TServer, TClient>)... npmjs.com
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.