v1.21.0
mukul975/cve-mcp-serverv1.21.0Sep 19, 2026by abimaelmartell
Upgrading?
AI Summary
This release adds font weight metadata to text items and fixes clipping issues where text painted outside its rectangular clip was leaking into the document.
Key Highlights
- Adds `font_weight` class (100-900) to text items across all languages.
- Introduces opt-in `bold_from_weight` feature to detect bold text via font weight.
- Fixed off-canvas text clipping so labels do not leak into surrounding text.
- Improved header detection to tolerate leading bytes before `%PDF-`.
Breaking Changes
- Rust migration: `TextItem` literals now require `font_weight: None` for items with unknown weight classes.
New Features
- Added `font_weight` metadata to text items.
- Opt-in `bold_from_weight` feature for positioned-text and region APIs.
Full Release Notes
Changes since 1.20.0: - Add `font_weight`, the font's 100..=900 weight class, to text items in Rust, Node, Python and `pdf2md --items-json`, with an opt-in `bold_from_weight` on the positioned-text and region APIs that reads bold from a weight of 600 or more and keeps runs of different weight as separate items (#536). - Leave out text painted wholly outside its rectangular clip, so off-canvas labels no longer leak into the surrounding text (#539). - Tolerate leading bytes before the `%PDF-` header, locating it within the first 1024 bytes as mupdf, pdfium and poppler do (#538). `bold_from_weight` is opt-in; `is_bold` and item merging are unchanged by default. **Rust migration:** `TextItem` literals need `font_weight: None` for items whose weight class is unknown. Release preparation: #546. [Full changelog](https://github.com/firecrawl/pdf-inspector/compare/v1.20.0...v1.21.0)
Related Repositories
public-apis/public-apis★ 491,220
A collective list of free APIs
NousResearch/hermes-agent★ 256,091
The agent that grows with you
yt-dlp/yt-dlp★ 200,268
A feature-rich command-line audio/video downloader
microsoft/markitdown★ 191,564
Python tool for converting files and office documents to Markdown.
Significant-Gravitas/AutoGPT★ 187,699
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.