v1.18.0

feyninc/chonkiev1.18.0Sep 8, 2026by abimaelmartell

Upgrading?

AI Summary

Enhancements include improved text geometry handling for superscripts and rotation, along with robust PDF loading fixes. The release also introduces bounded decompression to prevent resource exhaustion and optimizes CI and release publishing workflows.

Key Highlights

  • Improved superscript/subscript handling and baseline metadata.
  • Bounded object-stream decompression to prevent unbounded memory usage.
  • Rotated-text bounds and rotation metadata added.
  • Embedded bold-font metadata recovery.
  • Faster cross-platform CI and release publishing.

Breaking Changes

  • Positioned items and region APIs now use the visible page box origin instead of manual CropBox adjustments.
  • Rust `TextItem` literals must now include `baseline_shift`, `rotation`, and `advance_known` fields.

New Features

  • Bounded object-stream decompression
  • Embedded bold-font metadata recovery

Full Release Notes

Improved text geometry, superscript/subscript handling, and PDF loading. Changes since **1.17.0**, released from [#509](https://github.com/firecrawl/pdf-inspector/pull/509).

## Included PRs

- [#452](https://github.com/firecrawl/pdf-inspector/pull/452): Faster cross-platform CI.
- [#453](https://github.com/firecrawl/pdf-inspector/pull/453): Faster release publishing.
- [#478](https://github.com/firecrawl/pdf-inspector/pull/478): Bounded object-stream decompression.
- [#488](https://github.com/firecrawl/pdf-inspector/pull/488): Superscript/subscript handling and baseline metadata.
- [#489](https://github.com/firecrawl/pdf-inspector/pull/489): Password-aware Python fixture tests.
- [#490](https://github.com/firecrawl/pdf-inspector/pull/490): Python binding tests in CI.
- [#487](https://github.com/firecrawl/pdf-inspector/pull/487): Positions and regions relative to the visible page box.
- [#486](https://github.com/firecrawl/pdf-inspector/pull/486): Rotated-text bounds and rotation metadata.
- [#507](https://github.com/firecrawl/pdf-inspector/pull/507): Embedded bold-font metadata recovery.
- [#508](https://github.com/firecrawl/pdf-inspector/pull/508): Repair classic cross-reference tables with short entries.

## Migration

- Positioned items and region APIs now use the visible page box. Remove any manual CropBox-origin adjustment; positioned items use a lower-left origin, while region inputs use a top-left origin.
- Rust `TextItem` literals must add `baseline_shift`, `rotation`, and `advance_known` (`0.0`, `0.0`, and `true` for ordinary upright text).

[Full changelog](https://github.com/firecrawl/pdf-inspector/blob/v1.18.0/CHANGELOG.md) · [Compare with 1.17.0](https://github.com/firecrawl/pdf-inspector/compare/32555d23356f7892762a38edb3a5b0cad7ec326b...v1.18.0)

Related Repositories