15.0.0
Release notes for 15.0.0.
Released: 2026-11-29
Breaking Changes
Pages read docs from zfb's per-request content view (
ctx.content) instead of the removedgetCollectionsnapshot. This requires the ZFB 8.0.0 family. Peer floors are^8.0.0only; 7.x has no content view. Upgrade@takazudo/zfb,@takazudo/zfb-runtime,@takazudo/zfb-md-wasmand, when used,@takazudo/zfb-adapter-cloudflaretogether.Doc routes list metadata in
paths(ctx)and prepare the document ingetStaticProps(ctx), which must return{ props }. The TOC comes from the prepared document's headings. UsecreateChromeLoader(payload, hostBindings)from@takazudo/(orzudo- doc/ chrome createRouteContextLoaderfrom@takazudo/) in hand-written routes, andzudo- doc/ route- context getDocPageStaticPropsfor theirgetStaticProps.createRouteContext(payload, { stableDocs })now requires the docs bridge.Doc entries use zfb's
EntryMetashape:entry.idreplacesentry.slug, andentry.Contentmoved to the page'sprepared.Content.DocPageEntryPropsaddsprepared;paths()props useDocRouteProps.The
loadTagsForLocalebinding is called asloadTagsForLocale(lang, stableDocs). A newrouteBindingsslot returns bindings built from each content revision's route context, for replacements that read docs.The history-server peer floor is
^15.0.0.The optional
@takazudo/zdtppeer is^0.10.0only. Versions 0.5 through 0.9 are outside the range. 0.10.0 requires zfb^8.0.0and Node.js>=24.
Other Changes
Removed the persisted-focus settle script. zfb 8 keeps the final scroll position when a persisted element stays focused.
The asset viewer watches asset and content directories that exist when
pnpm devstarts. Adding, removing, or renaming a file there refreshes the viewer without a restart. A directory created after startup still needs a restart.The workspace uses
@takazudo/zdtp0.10.0.Fixed sidebar scroll restoration when going Back or Forward between different sections. Each history entry keeps its own position.
Added Copy Markdown to article headers with an existing Markdown export, with site and page overrides and a manual-copy fallback.
Agent Markdown preserves code in indented tabs, renders standard admonitions, and follows SiteTreeNav grouping, order, and locale rules. The sitemap lists Git-derived update dates for indexed asset viewer pages when history is available.
Anchored the mobile sidebar to the viewport bottom so the menu scrolls within the area below the header.
Fixed
docSourceslinks with labels that span lines. Mapped links resolve to the generated page, and unmapped references stay readable and emit a build warning.Gave default SiteTreeNav category cards the same padding as the described variant, including the smaller padding in narrow containers.
Package-owned routes now load the package's compiled route modules directly. Builds no longer copy route sources into a project's
.zudo-doc/routes-src/directory. An existing.zudo-doc/directory is left in place and can be deleted. The.export is still published./ routes- src/ *