Follow Discord
Sweep 20 Nov 2026 · 19:55Z Build v2.1.330 547 read Stable v2.1.323 Latest v2.1.330 Next v2.1.330 Feeds RSS JSON llms.txt llms-full.txt Unofficial

Claude Code v2.1.330 ·

Invalid JSON passed to --settings now stops with an error

Inline JSON given to --settings is now trimmed and, if it is invalid, Claude Code reports an error instead of silently ignoring it

You'll notice Improvements
JSON All of v2.1.330
You'll noticeTier: how much it should matter to you
2Useful: my rating, 1 to 5
1Signal: worth watching, 1 to 5
SettingsArea: what it touches
ImprovementsKind: in v2.1.330,
ImprovementsSection of the release
What

The --settings flag accepts either a path to a settings file or settings written directly as JSON text. Inline JSON is now trimmed of surrounding spaces before it is read. If it is not valid JSON, Claude Code now stops with the error "Invalid JSON provided to the settings option." Previously the problem was ignored and the settings were simply not applied.

Why

A typo in inline settings no longer goes unnoticed, but scripts that passed broken JSON and ran anyway will now fail.

Read from
Names in the bundle--settings
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's release notes agreeFixed claude -p on Google Cloud's Agent Platform ignoring --settings '{"fastMode":true}' when the model comes from ANTHROPIC_MODEL or a…

See this entry in the whole of v2.1.330 →

Feedback