Skip to content

4.20.0

Compare
Choose a tag to compare
@github-actions github-actions released this 10 Sep 04:20
· 267 commits to main since this release

Changes (Release 4.20.0)

Summary (pypdfium2)

This release backports some key fixes/improvements from the development branch:

  • [V8/XFA] Fixed XFA init. This issue was caused by a typo in a struct field. Thanks to Benoît Blanchon.
  • [ctypesgen fork] Prevent setting nonexistent struct fields.
  • [V8/XFA] Expose V8/XFA exclusive members in the bindings file by passing ctypesgen the pre-processor defines in question.
  • Fixed some major non-API implementation issues with multipage rendering:
    • Avoid full state data transfer and object re-initialization for each job. Instead, use a pool initializer and exploit global variables. This also makes bytes input tolerable for parallel rendering.
    • In the CLI, use a custom converter to save directly in workers instead of serializing bitmaps to the main process.
  • Set pdfium version fields to unknown for PDFIUM_PLATFORM=none (sdist). This prevents encoding a potentially incorrect version. Also improve CLI version print.
  • Fixed sourcebuild with system libraries.
  • Fixed RTD build (system_packages option removal).
  • Attempt to fix automatic GH pages rebuild on release.
pypdfium2 commit log

Commits between 4.19.0 and 4.20.0 (latest commit first):

  • 7361289 [autorelease] update changelog and version file
  • 76b51ad readme: fix n_digits (closes #255)
  • d4c19b3 [ctypesgen fork] prevent setting bad struct fields
  • c837803 [BP] Fix RTD build (system_packages opt deprecation/removal)
  • 1302e77 CLI: improve version print
  • 953f8e1 [Hotfix] PDFIUM_PLATFORM=none: set pdfium version to unknown
  • a1d00da [Hotfix] make sure we have a digit version before casting
  • 99c8b7e Merge pull request #253 from pypdfium2-team/backports
  • f35421b [BP] changelog: remove wrong guess
  • 5fbb229 [BP] cli/render: move saving from main process into jobs
  • fbab9b0 [BP] PdfDocument.render(): Fix non-API implementation issues
  • 7e77b26 Clean up planned changes
  • f145e5e docs: fix myst warning suppression
  • 9055c6c Prepare changelog
  • b8f37b6 [BP] Fix sourcebuild with system libraries
  • f66c08f [BP] init_forms(): Fix XFA init
  • 79cb619 [BP] Expose V8/XFA specific members if applicable
  • f9d5f10 GH pages: don't run on every commit, build for releases only
  • df47a9c [BP] Automatic GH pages rebuild on release
PDFium commit log

Commits between 5975 and 5989 (latest commit first):

  • 7221eb515 Roll tools/clang/ 236e66ffd..9fc887ccd (33 commits)
  • 96be44fbc Replace overly-strong DCHECK() in CPDF_FormField::SetItemSelection().
  • 159bccb7f PA: Temporary option for new PartitionAlloc location.
  • 8d5a792d5 Prevent crashes in win32 GDI code due to null bitmap pointers