v1.21.0
sundowndev/phoneinfogav1.21.0Sep 19, 2026by abimaelmartell
Upgrading?
AI Summary
Introduces font weight metadata, resolves clipping issues to prevent off-canvas labels, and improves document loading robustness by tolerating leading bytes before the PDF header.
Key Highlights
- Adds `font_weight` (100..=900) to text items.
- Adds opt-in `bold_from_weight` option for positioning text.
- Fixes text rendering for content fully outside clipping regions.
- Improves header parsing to handle garbage bytes before `%PDF-`.
Breaking Changes
- Rust migration: TextItem literals need `font_weight: None` for items whose weight class is unknown.
New Features
- Font weight metadata
- Clipped-text filtering
- PDF header tolerance
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
ollama/ollama★ 184,235
Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
fatedier/frp★ 110,064
A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
infiniflow/ragflow★ 92,632
RAGFlow is a leading open-source Retrieval-Augmented Generation (RAG) engine that fuses cutting-edge RAG with Agent capabilities to create a superior context layer for LLMs
gohugoio/hugo★ 90,198
The world’s fastest framework for building websites.
junegunn/fzf★ 83,714
:cherry_blossom: A command-line fuzzy finder