Repository navigation
v0.9.27
PeachPDF 0.9.27 Release Notes
Release date: November 13, 2026
Full changelog: v0.9.26...v0.9.27
Release tag: v0.9.27
This is a maintenance release of the 0.9 series. It fixes one process-ending crash and three hangs and exceptions found since 0.9.26, and nothing else. It adds no features and changes no rendering. 0.9.x is the series that supports .NET 8, 9 and 10; it does not support .NET 11, mobile operating systems, or the components that are not used inside PeachPDF. See the support policy. Everything else, including new CSS, layout fixes and .NET 11, is in 0.10.0.
Install with dotnet add package PeachPDF --version 0.9.27.
Fixes
- A process-ending stack overflow on
<noscript>. Any text at the top level of a<noscript>element (the whitespace around a tag, as on many real pages) made the parser start over on the same text without end, and the process died.<noscript>content is now parsed once, as markup, which is what a PDF with no scripting needs. - A hang on a paginated table with row spans. A document with a repeating
thead,rowspancells and a float that fits no page could not place a cell on any page, and the render ran for minutes instead of finishing. Stalled passes are now recognized within a few passes and the rest of the content is laid out in one piece. The same recognition now covers a flex, grid or flex-column container around such a table. - A crash on a bitmap-only system font. On macOS, an Apple bitmap-only font could be chosen as the last-resort font for an unknown family, and loading it for drawing threw
NotSupportedException. Bitmap-only fonts are never registered as installed faces now. - Exceptions from
<base href>and relative stylesheets. A<base href>that was malformed or relative made the render throw, and so did a relative<link>or@importstylesheet when the host had no base address. A malformed<base href>is now ignored, a relative stylesheet with nothing to resolve it against is skipped (the document renders without it), and<link>/@importstylesheets resolve against a<base href>like images and links already did.
Upgrading
- Dependency change:
PeachPDFandPeachBracketsreferenceMimeKit.Core5.0.0 in place ofMimeKit4.18.2. Only MIME parsing and the HTML tokenizer were used, so the cryptography half of MimeKit and theSystem.Security.Cryptography.Pkcsdependency are no longer pulled in. Namespaces are unchanged. Code that referencedMimeKittypes only through PeachPDF needs no change; code that relied onMimeKitarriving transitively needs its own reference. - HTML tokenizer: the 5.0 tokenizer follows the HTML specification more closely (CDATA sections only in SVG and MathML content, legacy entity rules in attribute values). The test suites pass unchanged, but a document that depended on the old, looser tokenizing may differ.
Not included
The 0.10.0 fixes for rendering, layout and new CSS stay in 0.10.x.