v0.2.0 — exact source position on diagnostics
Added
- Every diagnostic can now carry an exact source position (line and column), not just a bare file path.
Messagegained a newposition: Option<Position>field; the CLI's human-readable output now showspath:line:colwhen a position is available (--format idsis unaffected). The WASM bindings expose the samePositiontype. - Additive only:
Report::push_at_possits alongside the existingpush/push_atmethods, which are unchanged. Position is populated at the large majority of check sites; a documented minority (schematron-generated findings, CSS-based checks, ZIP-archive-entry-level checks, and a few "input didn't parse at all" cases) have no coherent position to report and correctly stayNone.
Fixed
frontmatteris a valid EPUB 3 Structural Semantics vocabulary term (sibling tobodymatter/backmatter) but was incorrectly flagged as unknown vocabulary.
Thanks to Kevin Hendricks (author of the Sigil EPUB editor) for the detailed bug report that prompted both of these fixes.
Full changelog: see CHANGELOG.md