---
title: "std-env 4.3.0 Breaking Changes on npm | Since.dev"
description: "What each std-env release removed, renamed or changed: 16 breaking changes in 5 versions on npm, each with its source."
canonical_url: https://since.dev/packages/npm/std-env
last_updated: 2026-12-04
---

# std-env breaking changes

std-env 4.3.0 (September 29, 2026) is its newest release with breaking changes. The first: Signature changed AgentName. Every breaking API change we have recorded in std-env on npm: 16 breaking changes in 5 versions. Below, its 5 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.3.0`, released September 29, 2026. [Source repository](https://github.com/unjs/std-env)

Packages on npm run on Node.js. [Node.js end of life dates](https://since.dev/calendar/nodejs.md).

- From [4.0.0](#v-4-0-0) to [4.3.0](#v-4-3-0): 3 breaking changes in 3 versions.

## std-env 4.3.0 breaking changes

std-env 4.3.0, released September 29, 2026: 1 breaking change.

- **Signature changed** `AgentName`  

Was type AgentName = (string & {}) | "cursor" | "claude" | "devin" | "replit" | "gemini" | "codex" | "auggie" | "opencode" | "kiro" | "goose" | "pi" | "junie"; now type AgentName = (string & {}) | "cursor" | "claude" | "copilot" | "devin"... [npmjs.com](https://www.npmjs.com/package/std-env/v/4.3.0)

## std-env 4.2.0 breaking changes

std-env 4.2.0, released July 7, 2026: 1 breaking change.

- **Signature changed** `AgentName`  

Was type AgentName = (string & {}) | "cursor" | "claude" | "devin" | "replit" | "gemini" | "codex" | "auggie" | "opencode" | "kiro" | "goose" | "pi"; now type AgentName = (string & {}) | "cursor" | "claude" | "devin" | "replit" | "gemini"... [npmjs.com](https://www.npmjs.com/package/std-env/v/4.2.0)

## std-env 4.1.0 breaking changes

std-env 4.1.0, released April 15, 2026: 1 breaking change.

- **Signature changed** `ProviderName`  

Was type ProviderName = (string & {}) | "appveyor" | "aws_amplify" | "azure_pipelines" | "azure_static" | "appcircle" | "bamboo" | "bitbucket" | "bitrise" | "buddy" | "buildkite" | "circle" | "cirrus" | "cloudflare_pages" |... [npmjs.com](https://www.npmjs.com/package/std-env/v/4.1.0)

## std-env 4.0.0 breaking changes

std-env 4.0.0, released March 10, 2026: 7 breaking changes.

- **Removed** `EnvObject`  

EnvObject was removed in std-env 4.0.0 [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)
- **Removed** `Process`  

Process was removed in std-env 4.0.0 [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)
- **Signature changed** `env`  

Was const env: EnvObject; now const env: Record\<string, string | undefined>. [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)
- **Signature changed** `nodeENV`  

Was const nodeENV: string; now const nodeENV: string | undefined. [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)
- **Signature changed** `process`  

Was const process: Process; now const process: Partial\<typeof globalThis.process>. [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)
- **Signature changed** `ProviderName`  

Was type ProviderName = "" | "appveyor" | "aws_amplify" | "azure_pipelines" | "azure_static" | "appcircle" | "bamboo" | "bitbucket" | "bitrise" | "buddy" | "buildkite" | "circle" | "cirrus" | "cloudflare_pages" | "cloudflare_workers" |... [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)
- **Signature changed** `RuntimeName`  

Was type RuntimeName = "workerd" | "deno" | "netlify" | "node" | "bun" | "edge-light" | "fastly" | ""; now type RuntimeName = (string & {}) | "workerd" | "deno" | "netlify" | "node" | "bun" | "edge-light" | "fastly". [npmjs.com](https://www.npmjs.com/package/std-env/v/4.0.0)

## std-env 4.0.0-rc.1 breaking changes

std-env 4.0.0-rc.1, released March 10, 2026: 6 breaking changes.

- **Removed**  

The package no longer ships env and process shims. Code that relied on them must use the runtime's own globals or another source. [github.com](https://github.com/unjs/std-env/releases/tag/v4.0.0-rc.1)
- **Removed** `toBoolean`  

The toBoolean utility has been removed. Code importing it must be updated to its own equivalent. [github.com](https://github.com/unjs/std-env/releases/tag/v4.0.0-rc.1)
- **Behavior changed**  

The dist is published as ESM only. CommonJS consumers must switch to ESM imports. [github.com](https://github.com/unjs/std-env/releases/tag/v4.0.0-rc.1)
- **Behavior changed** `isDevelopment`  

The isDevelopment flag now reads the MODE variable, so its result can change in environments that set MODE. [github.com](https://github.com/unjs/std-env/releases/tag/v4.0.0-rc.1)
- **Behavior changed** `isProduction`  

The isProduction flag now reads the MODE variable, so its result can change in environments that set MODE. [github.com](https://github.com/unjs/std-env/releases/tag/v4.0.0-rc.1)
- **Default changed** `nodeEnv`  

The nodeEnv export defaults to undefined instead of a previous default value. Code that assumed a default string must handle undefined. [github.com](https://github.com/unjs/std-env/releases/tag/v4.0.0-rc.1)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
