Invalid environment variable names or values in settings.json are now dropped with a warning instead of silently used
Environment variables defined in an env block inside settings.json now go through a validation step before Claude Code applies them. Entries are stripped out, with a one-time warning logged per settings scope, if:
- the key isn't a valid environment-variable name
- the value isn't a string, number, or boolean
- the value contains a NUL character
This catches malformed or invalid env entries in settings files early, rather than letting them silently fail or produce confusing behavior later.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
Choose how you authenticate to Google Cloud: Application Default Credentials from `gcloud`, a service account key file, or credentials already in your environment. The wizard asks for your project and region, verifies which Claude models y…google-vertex-ai see the edit
* \[VSCode] Fixed the session list keeping sessions from the default folder when `CLAUDE_CONFIG_DIR` is set in a settings file or the `environmentVariables` settingchangelog see the edit
Anthropic's documentation has since written up env, on Claude Code changelog.