Follow Discord
Sweep 25 Sep 2026 · 19:33Z Build v2.1.283 504 read Stable v2.1.274 Latest v2.1.283 Next v2.1.283 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.281 ·

Settings env change no longer preserves CLAUDE_CODE_REPL explicitly

When settings.env changes, Claude Code reapplies config environment variables and no longer saves and restores CLAUDE_CODE_REPL itself

Under the hood No documentation found Internal Changes
JSON All of v2.1.281
Under the hoodTier: how much it should matter to you
1Useful: my rating, 1 to 5
0Signal: worth watching, 1 to 5
SettingsArea: what it touches
Internal ChangesKind: in v2.1.281,
Internal ChangesSection of the release
What

Environment variables are named values that programs read from their surroundings. settings.env is the setting that lists extra ones for Claude Code. When settings.env changes while Claude Code is running, Claude Code now calls a helper that reapplies the environment variables from your config, plus one other step.

The explicit step that saved CLAUDE_CODE_REPL beforehand and restored it afterwards has been removed.

Why

Environment changes are now handled by reapplying the config as a whole rather than by protecting one variable by name. If you rely on CLAUDE_CODE_REPL, it is worth checking that it still has the value you expect after changing settings.env mid-session.

Read from
Names in the bundlesettings.env
How sure we are
Something disagreesSomething we can check disagrees with this entry, or the writer said they could not settle it.
The writer flagged doubtThe finding does not say whether the new helper keeps `CLAUDE_CODE_REPL` intact.

See this entry in the whole of v2.1.281 →

Feedback