Claude Code 2.1.321 tightens mods, gateway and Windows path handling
Claude Code 2.1.321 changes how mods get permission, how gateway upstreams read base URLs and how managed marketplaces work. Admins running Claude Code for a team should read it.
what changed
Claude Code 2.1.321 was listed on 9 November 2026. These are the changes that matter most for teams:
- Mods no longer turn on without asking in auto and bypass modes, and they do not load in
dontAskmode. Mod tool calls raise no permission prompt, but deny rules and organization policy still apply. - Gateway: Bedrock, Vertex and Foundry upstreams now ignore the
ANTHROPIC_*_BASE_URLvariables. Setbase_urlon the upstream instead. - Gateway:
policy_mode: layerednow adds managed MCP servers across every matching policy. - Managed
extraKnownMarketplaces: a declared name cannot come from another source, and undeclared entries are set aside. cpandmvcalled by path, such as/bin/cp, get the same checks as the bare commands.- On Windows, programs that Claude Code starts, such as git, skip relative and UNC PATH entries and network-share links.
- Cloud sessions: a PostToolUse hook can no longer replace an AskUserQuestion answer or an ExitPlanMode plan.
- Saved Fable 5.1 picks move to
fable, which is now Claude Fable 5.2.
why it matters
Most of this release narrows what runs without a person agreeing to it. That is good for governance, but it can break setups. A gateway that sets base URLs through environment variables will stop routing the way it did. A saved model pick now moves to a new model family version, which can change cost and behavior without a config edit.
what we would do
- Check every gateway config for
ANTHROPIC_*_BASE_URLvariables and move them tobase_urlon the upstream before you update. - Check managed marketplace settings and confirm each declared name points at the source you expect.
- Pin the model for shared tools and CI. Do not rely on a saved pick or the
fablealias. - Review any hook that edits AskUserQuestion answers or plans in cloud sessions, and move that logic elsewhere.
sources
- Claude Code changelog, version 2.1.321 (Anthropic)
Drafted with Claude from the linked sources, reviewed by us.