{"version":"2.1.300","anchor":"zod-bundled-upgrade","canonical_anchor":"zod-bundled-upgrade","heading":"Claude Code ships an updated copy of the Zod data-checking library","tier":"internal","area":"Dependencies","scope":"individual","heads_up":false,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300\/e\/zod-bundled-upgrade","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.300","markdown":"### Claude Code ships an updated copy of the Zod data-checking library\n\nThe bundled Zod library is updated, adding checks such as IBAN and changing how some object and union checks behave\n\n**What**\n\nZod is a library Claude Code includes to check that data has the expected shape. The included copy has been updated. It adds a check for IBAN bank account numbers, along with other new helpers, and locks its exported pieces so they cannot be modified.\n\nSome checks behave differently:\n\n- Object checks can stop at the first problem when asked to\n\n- Object checks treat keys that have default values differently\n\n- Checks that pick between several shapes by a key field now fail with \"Ambiguous discriminator value\" when the value matches more than one shape\n\n**Why**\n\nThis is mostly an internal change. You may notice it only if a value is checked differently, for example a new ambiguous-value error.\n\n- Area: Dependencies\n- Tier: Under the hood\n- Useful: 1\/5\n- Signal: 0\/5\n- Scope: individual\n- Heads-up: no"}