v4.0.0-alpha.5
·
14 commits
to main
since this release
Summary
Release meta
Released on: 2026-05-26
Released by: github-actions[bot]
Published by: GitHub
Logs: full diff
Changelog
Improvements
- Fix 8 TypeDoc warnings about DSL interface types referenced but not included in the documentation —
patch-jsdoc.jsnow convertsexport type X = import("./extensions.js").Xre-exports intypes/index.d.tstoexport type { X } from './extensions.js'so TypeDoc follows the re-export chain and documents the definitions inline - Add CLI doc generation and copy step to the
docsjob inbuild.ymlso the main-branch docs push (under/main/) also includes the CLI API docs under/main/cli/, consistent with the release workflow - Restore CLI extensibility —
OptionsandInvokerclasses are now exported fromasciidoctor/cli, allowing third-party tools to extend the CLI by subclassing: add custom options viaOptions#addOption()and overrideInvoker#invoke(),Invoker#version(), orInvoker#convertFiles()to customize behavior - Add JSDoc to the
OptionsandInvokerclasses and generate TypeScript declarations (types/cli.d.ts) viatsc— theasciidoctor/cliexport now ships with types - Publish CLI API documentation to gh-pages under
/{version}/cli/alongside the core API docs, with cross-navigation links between the two sites - Lower the minimum required Node.js version from 24 to 20 — the
engines.nodefield in all packages is now>=20; Node.js 22 remains the recommended version (current LTS/maintenance); Node.js 20 is EOL but the library has no runtime dependency on any API introduced after Node.js 20