Skip to content

4.30.1

Latest
Compare
Choose a tag to compare
@mara004 mara004 released this 19 Dec 19:40
· 1 commit to main since this release

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. (The PdfImage.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 missing mkdir 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.1
  • 08041a2 publish: disable attestations, tmp comment out
  • febe1a4 Changelog nits
  • 4fe6445 Q&D adaption to bdist_wheel relocation (fixes #326)
  • 067847a Fix reference bindings missing in sdist
  • 2ec6bd6 workflows: re-enable conda_raw trigger
  • 1320a3f sourcebuild: sync patches with pdfium-binaries
  • be173a7 changelog fixup
  • b85745a Update test expectations
  • 5001bf9 Prepare for possible release
  • 860bf97 Revert "Clarify Cannot close object; library is destroyed condition"
  • 6736a5d Update licensing docs
  • ce1faba Add missing mkdir with refbindings (fixes #320)
  • ff2ff4b Clarify Cannot close object; library is destroyed condition
  • 0f4bba8 PR template: use details summary rather than heading
  • 6bb675a chore: slightly update PR template
  • 7dca75c conda: also add -c defaults in workflow
  • f250b34 CLI/extract-images: Fix another dotted filepath blunder
  • 3fd35cf Fix conda packaging (upstream behavior change) (#314)
  • a07372d Update workflows to Python 3.12
  • d8a3128 versioning: swap minor/patch inc default, allow manual override
  • 38f5efe PdfPage.get_objects(): don't register objects as kids
  • 6f13da6 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)