Releases: rwv/rtf-viewer
Releases · rwv/rtf-viewer
Release list
v1.3.0
v1.2.0
v1.1.0
v1.0.4
v1.0.3
v1.0.2
rtf-viewer v1.0.1
Released 7 September 2026. Documentation and publishing update only; runtime behavior and RTF support are unchanged from 1.0.0.
Changed
- Made the published npm package the primary installation path and updated the GitHub archive fallback.
- Recorded the completed v1.0.0 bootstrap publication and the GitHub Actions OIDC release procedure.
- Bound the npm publishing job to the
npmGitHub Environment; version tags publish automatically, and manual runs respect thepublish_npminput.
rtf-viewer v1.0.0
Released 7 September 2026. First supported public API baseline.
Added
- Browser
RtfDocumentAPI for bounded byte parsing in a dedicated Rust/WebAssembly Worker, complete pagination, immutable page geometry, Canvas rendering, and caller-owned page bitmaps. - Framework-free
RtfViewerentry point for local document loading, page navigation, zoom, and Canvas rendering. - Public custom-layout and pixel-sizing utilities with generated TypeScript model declarations.
- Explicit cancellation, parser timeouts, repeatable destruction, font invalidation and relayout, render-contention checks, and resource ceilings.
- Verified subsets for Unicode and common Windows/East Asian codepages, font/color tables, scoped direct character styles, paragraph alignment/indents/spacing, explicit and automatic pagination, and inline PNG/JPEG pictures.
- Production Worker/WASM asset resolution and a packed-package consumer test.
Known limitations
- This release does not claim complete RTF fidelity. Stylesheet inheritance, true list numbering, table geometry, headers/footers, notes, section-specific pages, WMF/EMF drawing, floats/shapes, and full complex-script typography remain incomplete or planned.
- Tables and lists preserve bounded reading-order fallbacks with diagnostics; those fallbacks are not layout or numbering support.
- Chromium with Vite is the verified browser/bundler baseline. Firefox, WebKit, other bundlers, broad producer corpora, and maximum-size performance remain unverified.
- Compatibility evidence covers the synthetic fixture set and one LibreOffice 25.2.3.2 document. It does not establish general LibreOffice, Microsoft Word, or Apple TextEdit fidelity.