Repository navigation
0.1.11
Name lookups compare case exactly in this release, which changes how existing documents resolve. Lint your documents and review the output before deploying. fmt --migrate repairs unambiguous case-only misses; include selectors, glossary references and external fragment links need a manual pass. The migration guide walks through it.
Breaking
- Heading cross-references, numbered caption and equation references, and collapsed references compare case exactly. A case-only mismatch no longer resolves (#2874).
- A glossary reference matches its term exactly, and a glossary id keeps its case, so terms differing only in case take two ids (#2895).
- An include renames a colliding explicit id on any element, giving each later occurrence its own least free suffix; a reference written in the same inclusion follows the rename (#2876).
- A blanked destination from the sink denylist owes a render-loss row under the new
destination-deniedcode, so theCARVE-P2-024enum names three codes rather than two. The emittedhref=""andsrc=""are unchanged (#2802).
Added
- A custom renderer can declare its report target and read converter configuration through renderer capability interfaces, without inheriting a built-in renderer, and the built-in target names are available as
RenderTargetconstants with unchanged values (#2788, #2789). - An include can select a block by id (#2876).
lintreports a fragment link that matches no id, reading ids from the caller's own render rather than a default one (#2866).
Fixes
- Lists, description bodies and verse read indentation correctly in a family of cases where a flush-left line below a closed nested fence landed in the wrong block (#2901, #2905).
- A collapsed reference image no longer resolves against a heading; the fallback stays for collapsed reference links (#2902).
lintandfmt --migratecompare references against rendered heading ids rather than the authored text, and a reference image with no definition is reported under the existingunresolved-reference-linkrule (#2897, #2908).- The Carve writer round-trips backslashes in quoted attribute values and titles, parentheses under every URL scheme, and emphasis inside a link label (#2774, #2808).
- The Markdown and Djot importers keep autolinks, reference labels and titles, quote depth across lazy lines, list-item columns, emphasis pairing and opaque fences that earlier releases rewrote or dropped (#2770, #2792).
- Table conversion preserves multiple bodies, intermediate headers, empty bodies, row-header counts and decimal column widths through parsing, import, export and rendering (#2839, #2848).
list-item-block-overindentedis reported once at each block's opener instead of once per line (#2779).- A failed parse leaves PHP's cycle collector enabled again (#2886).
Improvements
- Parsing, HTML rendering and import, AST merges and editor batches are substantially faster on large documents, and memory a document could previously grow without limit is bounded (#2911, #2864).
Full Changelog: 0.1.10...0.1.11