fix(deps): update pdf-extract 0.7 -> 0.8 to fix PDF parsing crashes (#4)#5
Merged
Merged
Conversation
Certain PDF files caused the application to crash during parsing with pdf-extract 0.7.x. Bump pdf-extract to 0.8 (resolves to 0.8.2), which fixes the upstream parsing bugs. The extraction API (extract_text, extract_text_from_mem) is unchanged, so no source changes were needed. Bump version to 0.3.3 and update CHANGELOG. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Certain PDF files caused the application to crash during parsing with
pdf-extract0.7.x. This bumpspdf-extractto0.8(resolves to 0.8.2), which fixes the upstream parsing bugs. The extraction API (extract_text,extract_text_from_mem) is unchanged, so no source changes were needed. Also bumps the crate version to 0.3.3 and updates the CHANGELOG.Type of Change
Related Issue
Fixes #4
Changes Made
pdf-extractdependency from0.7to0.8(resolves to 0.8.2) inCargo.toml0.3.2to0.3.30.3.3bugfix entry toCHANGELOG.mdTesting
Verified locally:
cargo buildsucceeds withpdf-extract0.8.2 — no API changes required.88 passed; 0 failed).test_pdf_extractexample againstdata/1706.03762v7.pdf; the PDF parses and extracts text without crashing.Checklist
Performance Impact
Additional Notes
This is a dependency-only fix — no source code changes.
pdf-extract0.10.0 is also available, but this PR stays within the requested 0.8.x line for a minimal, low-risk update. Note: the extraction example still prints upstreamUnicode mismatch/missing charwarnings frompdf-extract, which are non-fatal and unrelated to the crash.