v1.25.0

t8y2/dbxv1.25.0Sep 28, 2026by abimaelmartell

Upgrading?

AI Summary

Introduces an asynchronous method for text extraction to prevent blocking the event loop and significantly speeds up underline/strikeout detection on complex pages.

Key Highlights

  • Added `extractTextWithPositionsAsync` for non-blocking text extraction
  • Optimized underline/strikeout detection from quadratic to linear time (40s to 0.5s)
  • Updated Linux binary for GLIBC_2.17 compatibility

New Features

  • Async text extraction API
  • Performance optimization for mark detection

Full Release Notes

Changes since 1.24.0:

- Node: `extractTextWithPositionsAsync`, the async variant of `extractTextWithPositions`: the same arguments and items, run on the libuv thread pool so a slow page no longer blocks the caller's event loop (#592).
- Underline and strikeout detection no longer takes quadratic time on pages drawn from many thin filled rects or short strokes: a page of about 200,000 thin rects went from about 40 s to under 0.5 s, with the same marks (#592).
- The `linux-x64-gnu` Node binary is cross-built for a GLIBC_2.17 floor again, so it loads on Amazon Linux 2023 (the managed AWS Lambda Node runtimes), RHEL 9 and Debian 11 (#586).

API: Node `extractTextWithPositionsAsync`.

Release preparation: #593.

[Full changelog](https://github.com/firecrawl/pdf-inspector/compare/v1.24.0...v1.25.0)

Related Repositories