Claude Code 2.1.331: managed plugins auto-update
Most of the Claude Code changelog is the usual churn: a fix here, a polish there. Buried in the v2.1.331 notes, released on 23 November, is one line I'd put on a calendar: on or after November 30, 2026, plugin marketplaces declared in managed extraKnownMarketplaces will auto-update by default.
What actually changes
The release notes put it in one sentence: "Changed in a future release, on or after November 30, 2026: plugin marketplaces in managed extraKnownMarketplaces will auto-update by default. To opt one out, set "autoUpdate": false on its entry."
The word that matters is managed. If you only run Claude Code on your own laptop and never touched managed settings, this isn't aimed at you. If you push a managed settings file to a team, whatever marketplaces you list there will start pulling new plugin versions without anyone clicking anything. A plugin can ship skills, hooks and MCP servers, so that is code arriving on every machine in the fleet.
The opt-out is per marketplace entry. Something like this is what I'd add today to any entry I want pinned:
{
"extraKnownMarketplaces": {
"internal-tools": {
"source": { "source": "github", "repo": "your-org/claude-plugins" },
"autoUpdate": false
}
}
}
I'm showing the shape only to illustrate where the key goes; check the entry format against your own managed settings before copying it, since I haven't verified the surrounding schema.
The same release makes plugins a bit more robust
Two other bullets point at the same area. First, plugin manifests gained optionalDependencies: plugins that install alongside the plugin that lists them, but can be disabled or uninstalled on their own. Second, an interrupted or failed update used to leave a partial plugin folder that "later loaded with skills or other components missing" (#102186). Both matter more once updates happen unattended, because a half-applied update on a machine nobody is watching is exactly how you get a hook that silently isn't there.
There is also a small fix for claude plugin install and marketplace add hanging with no output when managed settings needed an approval nobody could give. If you script plugin installs in CI, that one is worth knowing.
Smaller things I noted
claude doctornow has an API connectivity section reporting whether the API is reachable, with the HTTP status or error.- A
PermissionDeniedhook'sretry: truenow tells Claude to make the refused call again only if you asked for that call. If you wrote a hook that leaned on blind retries, re-read it. - On Windows, an
HKLMregistry policy outranksmanaged-settings.json, and a broken value there can stop Claude Code from starting. Check before upgrading. claude_code.llm_requesttrace spans gainedgen_ai.usage.*,gen_ai.response.modelandgen_ai.operation.name.
What I'd do this week
Auto-updating a marketplace isn't wrong, and for a plugin you wrote yourself it's convenient. But I'd rather make that choice than inherit it. I'll go through every managed marketplace entry, set "autoUpdate": false on the ones that point at repos I don't control, and flip it on deliberately for the ones I do. You have until the 30th; after that the default decides for you.