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.
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…