v4.0.0-alpha.6
Summary
Release meta
Released on: 2026-06-03
Released by: github-actions[bot]
Published by: GitHub
Logs: full diff
Changelog
Build
- Bump
playwrightfrom 1.59.1 to 1.60.0 and@vitest/browser,@vitest/browser-playwright,@vitest/uifrom 4.1.4 to 4.1.7
Bug Fixes
- Fix
captionattribute on a delimited admonition block being stored astrueinstead of the caption text (thetextlabelattribute now receives the resolved caption, matching Asciidoctor Ruby) - Fix escaped include directive (
\include::file.adoc[]) inside a listing block in an AsciiDoc table cell logging a spurious "include file not found" error — nested documents now use a plainReader(no include/conditional processing) matching Ruby Asciidoctor behaviour; the first-line preprocessor directive expansion is handled explicitly as Ruby does - Fix
findBythrowingTypeError: Receiver must be an instance of class AbstractBlockwhen traversing a document that contains a description list (dlist) —Array.flat()(depth 1) was leaving the inner terms arrays unflattened, so iterating over them passed a plain array instead of aListItemto the private#findByInternalmethod; changed toflat(Infinity)to match Ruby’sArray#flattenbehaviour - Fix named exports from
asciidoctorpackage — remove the redundantexport { default } from '@asciidoctor/core'line inindex.jsthat was shadowing named exports and preventingimport { Document, ... } from 'asciidoctor'from resolving correctly