Changes (Release 4.30.1)
Summary (pypdfium2)
PdfPage.get_objects()
: Don't register pageobjects as children, because they don't need to be closed by the caller when part of a page. This avoids excessive caching of weakrefs that are not cleaned up with the object they refer to.- Fixed another dotted filepath blunder in the
extract-images
CLI. (ThePdfImage.extract()
API is not affected this time.) - Adapted setup code to
bdist_wheel
relocation (moved from wheel to setuptools). - Fixed installation with reference bindings (
PDFIUM_BINDINGS=reference
) by actually including them in the sdist and adding a missingmkdir
call. (In older versions, this can be worked around by cloning the repository and creating the missing directory manually before installation.) - Fixed sourcebuild on windows by syncing patches with pdfium-binaries.
- Updated test expectations: due to changes in pdfium, some numbers are now slightly different.
- Fixed conda packaging: It is now required to explicitly specify
-c defaults
with--override-channels
, presumably due to an upstream change. - Autorelease: Swapped default condition for minor/patch update, as pypdfium2 changes are likely more API-significant than pdfium updates. Added ability for manual override.
- Bumped workflows to Python 3.12.
- Updated docs on licensing.
- This is expected to be the last release of the v4 series.
pypdfium2 commit log
Commits between 4.30.0
and 4.30.1
(latest commit first):
b4e4105
[autorelease main] update 4.30.108041a2
publish: disable attestations, tmp comment outfebe1a4
Changelog nits4fe6445
Q&D adaption to bdist_wheel relocation (fixes #326)067847a
Fix reference bindings missing in sdist2ec6bd6
workflows: re-enable conda_raw trigger1320a3f
sourcebuild: sync patches with pdfium-binariesbe173a7
changelog fixupb85745a
Update test expectations5001bf9
Prepare for possible release860bf97
Revert "ClarifyCannot close object; library is destroyed
condition"6736a5d
Update licensing docsce1faba
Add missing mkdir with refbindings (fixes #320)ff2ff4b
ClarifyCannot close object; library is destroyed
condition0f4bba8
PR template: use details summary rather than heading6bb675a
chore: slightly update PR template7dca75c
conda: also add-c defaults
in workflowf250b34
CLI/extract-images: Fix another dotted filepath blunder3fd35cf
Fix conda packaging (upstream behavior change) (#314)a07372d
Update workflows to Python 3.12d8a3128
versioning: swap minor/patch inc default, allow manual override38f5efe
PdfPage.get_objects(): don't register objects as kids6f13da6
Slightly fix up changelog
PDFium commit log
Commits between 6462
and 6899
(latest commit first):
The pdfium commit log is omitted this time because it exceeded GH's character limit. See https://github.com/pypdfium2-team/pypdfium2/actions/runs/12419415378/job/34674787577: Error: Error 422: Validation Failed: {"resource":"Release","code":"custom","field":"body","message":"body is too long (maximum is 125000 characters)"}
.
That's also why this GH release was created manually.
Update: added commit log as attachment (see below)