Skip to content

fix(deps): update dependency tesseract.js to v7#389

Open
renovate[bot] wants to merge 1 commit into
chore/all-my-stuffsfrom
renovate/tesseract.js-7.x
Open

fix(deps): update dependency tesseract.js to v7#389
renovate[bot] wants to merge 1 commit into
chore/all-my-stuffsfrom
renovate/tesseract.js-7.x

Conversation

@renovate
Copy link
Copy Markdown

@renovate renovate Bot commented May 3, 2026

This PR contains the following updates:

Package Change Age Confidence
tesseract.js ^5.1.1^7.0.0 age confidence

Release Notes

naptha/tesseract.js (tesseract.js)

v7.0.0

Compare Source

What's Changed

  • Significant improvements to recognition speed (by @​fanchenkong1 in #​1039)
    • A new relaxedsimd build takes advantage of the latest WASM and hardware capabilities.
    • Upgrading from v6 to v7 reduces runtimes by ~15-35% (depending on device and use-case). The highest uplifts are currently seen on the latest Intel processors.
  • Dropped support for Node.js v14.
  • Various minor changes

New Contributors

Full Changelog: naptha/tesseract.js@v6.0.1...v7.0.0

v6.0.1

Compare Source

What's Changed

  • Switched from using node-fetch to using built-in fetch implementation for Node.js v18 and newer.
    • This resolves a nuisance dependency-related warning message reported in #​876
  • Various minor updates

Full Changelog: naptha/tesseract.js@v6.0.0...v6.0.1

v6.0.0

Compare Source

What's Changed

  • Fixed memory leaks (#​977)
    • This version fixed a long-standing issue where memory would rise over time, eventually leading to a crash.
  • Reduced runtime and memory usage for most users by updating default formats (#​916).
  • Fixed compatibility with Electron main process (#​925)
  • Fixed bug where user-provided parameters were overwritten by defaults (#​975).
Breaking Changes
  1. All outputs formats other than text are now disabled by default.
    • To re-enable the hocr output (for example), set the following: worker.recognize(image, {}, { hocr: true })
      • See here for a list of possible output formats.
  2. The JavaScript object output format (blocks) was tweaked.
    • Only the array of blocks (blocks) is returned.
      • Previous versions would automatically generate lists of every unit of text (words, symbols, etc.).
        • If needed, these should now be generated by the user.
    • Only text-based blocks are reported.
      • Previous versions reported non-text blocks when detected by Tesseract (e.g. line segments).
    • The shape of some objects were changed.
      • See the type declarations for reference on properties.
      • The main properties--text and bbox--are unchanged.
  3. Various functions and options marked as depreciated previously have been removed.
    1. This includes worker.initialize and worker.loadLanguage, along with several depreciated options from v2.

See #​993 for additional discussion about this release.

New Contributors

Full Changelog: naptha/tesseract.js@v5.1.1...v6.0.0


Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)
  • Automerge
    • Between 12:00 AM and 03:59 AM (* 0-3 * * *)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@sharevb sharevb force-pushed the chore/all-my-stuffs branch 2 times, most recently from 7d8078b to 7e9cf35 Compare May 11, 2026 10:42
@renovate renovate Bot force-pushed the renovate/tesseract.js-7.x branch from 198a864 to 3e83b85 Compare May 12, 2026 15:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants