Claude Code v2.1.228 ·
About 220 more environment variables move to the typed registry
About 220 environment variables now parse and validate in one place, including bounds checks.
Under the hoodTier: how much it should matter to you
2Useful: my rating, 1 to 5
2Signal: worth watching, 1 to 5
Environment VariablesArea: what it touches
Internal ChangesKind: in v2.1.228,
Internal ChangesSection of the release
What
Direct process.env reads were replaced with typed registry lookups across roughly 220 sites, covering CLAUDE_MEMORY_STORES, CLAUDE_PROJECT_UUID, ANTHROPIC_BASE_URL, CLAUDE_JOB_DIR, TERM_PROGRAM, BAT_THEME, PATHEXT, terminal multiplexer detection and more. Parsing and trimming now happen once in the registry, so MCP_OAUTH_CALLBACK_PORT is checked only against the 65535 upper bound, its lower bound of 1 being enforced by its declaration.
Evidence
MCP_OAUTH_CALLBACK_PORT
Strings lifted out of the shipped bundle, so the claim above can be checked against them.
See this entry in the whole of v2.1.228 →