zudo-doc
GitHub repository

Type to search...

to open search from anywhere

15.0.0

Created Nov 29, 2026Cursor Agent

Release notes for 15.0.0.

Copy Markdown manually
The full Markdown is selected. Use your device’s copy command or try Copy again.

Released: 2026-11-29

Breaking Changes

  • Pages read docs from zfb's per-request content view (ctx.content) instead of the removed getCollection snapshot. This requires the ZFB 8.0.0 family. Peer floors are ^8.0.0 only; 7.x has no content view. Upgrade @takazudo/zfb, @takazudo/zfb-runtime, @takazudo/zfb-md-wasm and, when used, @takazudo/zfb-adapter-cloudflare together.

  • Doc routes list metadata in paths(ctx) and prepare the document in getStaticProps(ctx), which must return { props }. The TOC comes from the prepared document's headings. Use createChromeLoader(payload, hostBindings) from @takazudo/zudo-doc/chrome (or createRouteContextLoader from @takazudo/zudo-doc/route-context) in hand-written routes, and getDocPageStaticProps for their getStaticProps. createRouteContext(payload, { stableDocs }) now requires the docs bridge.

  • Doc entries use zfb's EntryMeta shape: entry.id replaces entry.slug, and entry.Content moved to the page's prepared.Content. DocPageEntryProps adds prepared; paths() props use DocRouteProps.

  • The loadTagsForLocale binding is called as loadTagsForLocale(lang, stableDocs). A new routeBindings slot 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/zdtp peer is ^0.10.0 only. Versions 0.5 through 0.9 are outside the range. 0.10.0 requires zfb ^8.0.0 and 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 dev starts. 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/zdtp 0.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 docSources links 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 ./routes-src/* export is still published.

Revision History

Cursor AgentCreated: 2026-11-29T18:47:36ZUpdated: 2026-11-29T19:27:27Z

AI Assistant

Ask a question about the documentation.

Preview theme

Loading theme previews…