Skip to content

4.22.0

Compare
Choose a tag to compare
@github-actions github-actions released this 19 Oct 15:26
· 222 commits to main since this release

Changes (Release 4.22.0)

Summary (pypdfium2)

  • Changed PDFIUM_PLATFORM=none to strictly exclude all data files. Added new target system consuming bindings and version files supplied by the caller. Again, the setup API implications were accepted. Packagers that used none to bind to system pdfium will have to update.
  • Enhanced integration of separate modules. This blazes the trail for conda packaging. We had to move metadata back to setup.cfg since we need a dynamic project name, which pyproject.toml does not support.
  • Major improvements to version integration.
    • Ship version info as JSON files, separately for each submodule. Expose as immutable classes. Legacy members have been retained for backwards compatibility.
    • Autorelease uses dedicated JSON files for state tracking and control.
    • Read version info from git describe, providing definite identification.
    • If a local git repo is not available or git describe failed (e.g. sdist or shallow checkout), fall back to a supplied version file or the autorelease record. However, you are strongly encouraged to provide a setup that works with git describe where possible.
  • Added musllinux aarch64 wheel. Thanks to @jerbob92.
pypdfium2 commit log

Commits between 4.21.0 and 4.22.0 (latest commit first):

  • 9c5f0ba [autorelease] update changelog and version file
  • f285ca2 changelog formatting nits
  • 08577f7 Restore autorelease schedule
  • 30c2373 Improve version integration (#263)
  • 3100bfe Never spawn more processes than we have pages
  • 3be189f Grant permission for GH pages dispatch (supposedly fixes #265)
PDFium commit log

Commits between 6056 and 6070 (latest commit first):

  • 7ea179817 Remove an alias in enum CPDF_CrossRefTable::ObjectType
  • 127eed924 Demonstrate a WAI FPDFPage_RemoveObject() failure case
  • e6ae00084 Change UnicodesForPredefinedCharSet() to return a span
  • 4fbc06ab7 Replace fxcrt::SmallBuffer with absl::InlinedVector
  • 0575de1b7 Use more WideStringViews in cfxjse_formcalc_context utility functions
  • 6943be26e Disentangle pdfium::span<> from unowned_ptr<>.
  • 6fc5cf499 Remove NoDestructor usage in CPDF_StreamContentParser
  • 8cfb59aa3 Upgrade libtiff from 4.5.1 to 4.6.0
  • 4bbfbecec Mark 2 libtiff CVEs as mitigated
  • cdc2dda5a Remove the ability to instantiate CPDF_PageModule
  • 21b96ced8 Remove CPDF_PageModule::ClearStockFont()
  • 7c6c8fffb Move stock colorspace management out of CPDF_PageModule
  • 69db74fd3 Remove reference to ProbeForLowSeverityLifetimeIssue()
  • 9ac21c8d5 Update header comment for unowned_ptr.h
  • 85bb72cc1 Roll Memory Tools from 68be21429138 to 8b06a5370188 (1 revision)