2.1.0
Release notes for 2.1.0.
Released: 2026-06-30
This release introduces the --zdc-* component-token customization surface — a new layer of CSS custom properties that lets you retheme zudo-doc's content typography and chrome without ejecting components.
Features
@takazudo/zudo-doc: new--zdc-*component-token surface, exposed at the public@takazudo/subpath. Tokens cover content (doc title, h2/h3/h4 typography, admonition shape) and chrome (card radius, content max-width, TOC width, SSR sidebar-tree nav-active identity); codegen routes each token by surface (content vs chrome). (76cb91bf, 17301261, b3ed71bd, 47de0260, f0723040, 35831532, #2447–#2462)zudo- doc/ component- tokens @takazudo/zudo-doc: added a--tracking-*letter-spacing scale to the@theme. (615c5732, #2459)@takazudo/zudo-doc: newgen-component-tokensgenerator with a build-time drift check that keeps the token registry and emitted CSS in sync. (c940dbc6, #2448)@takazudo/zudo-doc: page-level factories now assert they received a realChromeContextat runtime, giving a clear error (instead of a downstream crash) when a 2.0 migration is incomplete. (6b38362a, #2455)
Bug Fixes
@takazudo/zudo-doc: theChromeContextguard now takesunknownand is null-safe across all page-level factories, fixing packagetsc. (9a0ec16d, f9e95458, #2455)@takazudo/zudo-doc: widened the@takazudo/zudo-doc-history-serverpeer floor to^2.0.1and added a first-party peer-parity guard. (21a06be7, #2455)@takazudo/zudo-doc: madegen-component-tokens.mjsexecutable and fixed the drift guard that was silently no-op'ing via the pnpm bin shim. (f3299413, 6d1d9b85)@takazudo/zudo-doc: corrected stale_chrome-context.tscomment references. (f6b708e2, #2436)
Other Changes
Docs: added a bilingual
--zdc-*token reference covering all 17 registry tokens, a "Customizing zudo-doc" strategy/ladder page, and a components-doc summary table. (a5ca31f5, 97111cfb, 131132c4, #2451, #2464, #2465)