Skip to content

4.30.0

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 09 May 18:33
· 12 commits to main since this release

Changes (Release 4.30.0)

Summary (pypdfium2)

Backported bug fixes / corrections from current development branch to preferably leave v4 in a clean state.

  • Fixed blunder in PdfImage.extract() producing an incorrect output path for prefixes containing a dot. In the extract-images CLI, this caused all output images of a type to be written to the same path for a document containing a non-extension dot in the filename.
  • XFA / rendering CLI: Fixed incorrect recognition of document length. pdf.init_forms() must be called before len(pdf).
  • Made get_text_range() allocation adapt to pdfium version, as FPDFText_GetText() has been reverted to UCS-2. (See v4.28 changelog for background.)
  • Updated workflows to include both macos-13 and macos-14 in test matrices because v13 is Intel and v14 ARM64 on GH actions. Removed python 3.7 testing because not supported anymore on macos-14 runners.
pypdfium2 commit log

Commits between 4.29.0 and 4.30.0 (latest commit first):

  • 6bf53c4 [autorelease main] update 4.30.0
  • 1e9e100 Add changelog entry for workflows
  • 5ad40ab Test both macOS ARM64 and Intel in all workflows
  • 600d36c Try to fix main workflow (GH arch change in macOS-latest)
  • a057218 Add changelog for backports
  • 653c38c textpage: update docs
  • 2577f5b [BP] CLI/render: fix XFA document length recognition
  • eded6c2 get_text_range(): adapt allocation to pdfium version
  • 7ce4d31 PdfImage.extract(): fix for filenames containing non-extension dot
  • 5dc2eee issue templates: reorder commands
  • 493742d Make issue templates slightly nicer
  • 391575a Inhibit autorelease until v5 is merged
PDFium commit log

Commits between 6406 and 6462 (latest commit first):

  • 7b7c83fba Roll build/ bbc1efa4c..5eb3babb0 (147 commits)
  • 9783ba486 Fix one more edited PDF regression
  • 01ea79cec Update hooks for reclient
  • 95b1aabea Add one more pixel test for an edited PDF that regressed
  • aaf2cc937 Roll clang to pick up unsafe_buffer_paths.txt format changes.
  • 6abd9f147 Introduce fxcrt::try_spancpy() and fxcrt::try_spanmove().
  • 89d9beb11 Roll v8/ 7f0739496..0832ba514 (553 commits; 1 trivial rolls)
  • 3a2e1651f Roll buildtools and libc++
  • 2c9060d69 Roll third_party/abseil-cpp/ a64dd87ce..2c1ad970d (2 commits)
  • c07eb97fd Roll third_party/fp16/src/ 0a92994d7..581ac1c79 (1 commit)
  • 32fff0d8c Update gn_version to f284b6b47039a2d7edfcbfc51f52664f82b5a789
  • fa8edc249 Roll third_party/skia/ 7338f5521..04ee4daae (438 commits)
  • 4d6d703eb Roll third_party/freetype/src/ f42ce2556..1168b1b5b (15 commits)
  • 0a3a3ee5c Roll base/allocator/partition_allocator/ 8a9c3373f..3b0bd80fa (37 commits)
  • ad5237f89 Roll tools/rust/ eaff38a21..8fcf2bf39 (15 commits)
  • 95cb40c79 Roll third_party/libc++abi/src/ 1317096ef..51fe35844 (2 commits)
  • 2d1bd6c9a Update reclient_version to 0.138.0.e854224-gomaip
  • 8342a586d Use spancpy() in more places
  • 02ff1756c Fix yet another edited PDF that regressed
  • 7d687a0a3 Introduce {Byte,Wide}String::span_with_terminator().
  • 64447358e Mark fx_memcpy_wrappers.h functions UNSAFE_BUFFER_USAGE.
  • 7cf8895f6 Enable fuzzing with Skia enabled
  • 155028a48 Add yet another pixel test for an edited PDF that regressed
  • ff78e42df Roll Code Coverage from f459fdcdfc6c to 1b0ca9db1266 (3 revisions)
  • 926b395d8 Roll Depot Tools from 4a9d989f52e9 to 4246ba023a15 (107 revisions)
  • 0b4ff9a49 Roll libpng from 5140e80f1841 to 34954dfe60ef (2 revisions)
  • 863c78226 Roll Instrumented Libraries from 0172d67d98df to 682a735d9f5c (18 revisions)
  • 8b5bd138e Roll Catapult from 949df6114f3f to 5fbda23b3a86 (52 revisions)
  • 0be533aea Roll Memory Tools from c6d669e13804 to 2448d81f9741 (1 revision)
  • 97c93fd37 Roll abseil-cpp, buildtools, clang, and libc++
  • 1a5ec9fb4 Gate GDI APIs behind IsUser32AndGdi32Available in cpdf_interactiveform.cpp
  • fde20e170 Deduplicate code in CPDF_Parser and rename some methods
  • 763c169be Fix parsing of PDFs with multiple cross reference streams
  • bc759a2ae Add another pixel test for an edited PDF that regressed
  • 2c66e07e9 Spanify CFX_SeekableStreamProxy
  • d6a4b27d8 Spanify FPDFText_GetText() and FPDF_GetBoundedText().
  • 1a8053c08 Don't allow two-arg span constructor without UNSAFE_BUFFER() annotation.
  • 3f197528d Apply UNSAFE_BUFFERS() to two-arg span ctor in core/
  • f0dc864fb Put plugin-specific logic in pdfium_common_config.
  • 1eb7ddcf1 Apply UNSAFE_BUFFERS() to two-arg span ctor in xfa/
  • 590668ba7 Apply UNSAFE_BUFFERS() to two-arg span ctor in testing/
  • 3b679fe3f Apply UNSAFE_BUFFERS() to two-arg span ctor in fpdfsdk/
  • 317e40e19 Use new instrumented_libs repo
  • 0e4ff8cd8 Roll Zlib from c5bf1b566e5d to d076d8bd0898 (6 revisions)
  • 5a49e751e Roll build/ e5ff2eff3..e4eef53d5 (27 commits)
  • 059201ee5 Fix unsafe buffer usage in fxbarcode/datamatrix.
  • d3c008e60 Avoid some two-arg make_span() calls via extern spans.
  • 666c400d4 Fix unsafe buffer usage in (non-XFA) JS bindings.
  • b079e8738 Fix some unsafe usage in cpdfdsk_{helpers,interactiveform}.cpp
  • c658519d7 Roll v8/ f6f7c6822..7f0739496 (162 commits)