Skip to content

Releases: pypdfium2-team/pypdfium2

3.18.0

16 Jan 10:36
Compare
Choose a tag to compare

Changes (Release 3.18.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.17.0 and 3.18.0 (latest commit first):

  • 66c18d9 [autorelease] update changelog and version file
  • 4d113d4 Next attempt to make GH pages rebuild automatically
  • d63e638 Revert explicit GH Pages trigger
PDFium commit log

Commits between 5527 and 5541 (latest commit first):

  • c363b521b Remove an obsolete TODO in fx_skia_device.cpp.
  • 7fd93825f Consolidate DebugVerify*IsPreMultiplied() methods.
  • a7e6db448 Support V8_ENABLE_SANDBOX in CFX_ArrayBufferAllocator
  • 82b9043ac Do no bother checking GetDeviceDriver() results in fx_skia_device.cpp.
  • 0fcb28e08 Fix some nits in fx_skia_device.cpp.
  • 640a74171 Fix issue that colored patterns are rendered with dark borders
  • 0e84dee9b Remove both versions of CFX_SkiaDeviceDriver::PreMultiply().
  • a4147f847 Revert "Hide FPDF_GetArrayBufferAllocatorSharedInstance() for incompatible V8"
  • 2f53b8edd Resolves the following technical debt issue:
  • e5cabc608 Resolves the following technical debt issue:
  • 8bfd13800 Resolves 3 instances of the following issue:
  • 94d30b216 Resolves the following technical debt issue:
  • 911cbc385 Resolves the following 11 technical debt issues:
  • 5ec976c9e Remove bug_691967.pdf from the suppression list
  • 0f0a810cc Add regression test for rendering long dashed lines
  • a70c21aaf Restrict the object types that FPDF_CopyViewerPreferences() copies.
  • 5688d711a Validate the page count.
  • 81508e9c0 Add FPDFViewEmbedderTest.DocumentWithEmptyPageTreeNode.
  • aace6c82d Update Skia expectation for radial_shading_point_at_border.in
  • 7f7b62d40 Hide FPDF_GetArrayBufferAllocatorSharedInstance() for incompatible V8
  • 5e8468a41 Fix bug_1395648.in expected image
  • 1abf03e19 Fix Skia rendering when using reverse-byte-order option.
  • fe247d3ef Update Skia gni file lists and roll DEPS

3.17.0

09 Jan 13:21
Compare
Choose a tag to compare

Changes (Release 3.17.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.16.0 and 3.17.0 (latest commit first):

  • 0998991 [autorelease] update changelog and version file
  • b36daeb build workflow: explicitly trigger GH Pages rebuild
PDFium commit log

Commits between 5513 and 5527 (latest commit first):

  • b8f41c997 Update PDFium eng review reference to ATL insteads
  • 6adcd88ae Use Fx2DSizeOrDie() in more places inside cfx_dibbase.cpp.
  • 28015e720 Simplify CFX_DIBBase::CloneAlphaMask().
  • 0a1537c5c Use Fx2DSizeOrDie() in more places inside cfx_dibbase.cpp.
  • c830a8bdb Add Skia support for 24 bpp FXDIB_Format
  • 4d8c779e1 Use factory method for CFX_SkiaDeviceDriver ctor.
  • 5530f040b [Skia] Fix an assertion error
  • e370bb4dd Roll third_party/abseil-cpp/ 4cb960a03..6a7478b49 (9 commits)
  • 7c1ad46d3 Roll v8/ 06097c6f0..65852f336 (213 commits)
  • b76996013 Roll buildtools/third_party/libc++abi/trunk/ 44d54baf4..dc82f3042 (5 commits)
  • 019ef9b04 Roll buildtools/third_party/libunwind/trunk/ fd49ee4ee..5e22a7fe2 (5 commits)
  • 6ba849a10 Roll base/allocator/partition_allocator/ 109a742d1..180ceb478 (11 commits)
  • e9a6aa76e Roll third_party/zlib/ d866d41e1..18d27fa10 (1 commit)
  • d85ed92bf Update resultdb_version to git_revision:39e20ee396fe4a84eaa7f7d389e5659198c12e87
  • db2d5fcc4 Roll tools/clang/ 65848dccd..3b54a131a (19 commits)
  • 5a868734b Roll third_party/icu/ 1b7d391f0..2c51e5cc7 (3 commits)
  • 2425edbe1 Roll DEPS for build, buildtools and libc++
  • 044cf385b Update gn_version to git_revision:5e19d2fb166fbd4f6f32147fbb2f497091a54ad8
  • b6a7bd102 Roll Fuchsia SDK from version:10.20221201.2.1 to version:11.20230103.1.1
  • c2f49cdb8 Roll third_party/freetype/src/ aca4ec590..ace97a02a (6 commits)
  • c3de8a5a7 Roll third_party/depot_tools/ de9b59989..5b0c93402 (30 commits; 7 trivial rolls)
  • dcb849847 Roll third_party/skia/ f54912810..15d36b15b (176 commits)
  • bccd2a195 Roll Jinja2 from 4633bf431193 to 264c07d7e64f (1 revision)
  • 42cc039a4 Roll Catapult from 07489847d9ad to 27863274a2f2 (90 revisions)
  • ddbfab1e2 [Skia] Add a pixel test that can trigger an assertion error
  • c676ff7ca Move RunCommandExtractHashedFiles() to test_runner.py

3.16.0

02 Jan 10:38
Compare
Choose a tag to compare

Changes (Release 3.16.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.15.0 and 3.16.0 (latest commit first):

  • de936dd [autorelease] update changelog and version file
PDFium commit log

Commits between 5499 and 5513 (latest commit first):

3.15.0

26 Dec 10:36
Compare
Choose a tag to compare

Changes (Release 3.15.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.14.0 and 3.15.0 (latest commit first):

  • 5e669b8 [autorelease] update changelog and version file
  • 317ff6d Rewrite planned changes file
  • f229542 textpage: count_chars() will not be deprecated after all
PDFium commit log

Commits between 5485 and 5499 (latest commit first):

  • 355229b74 Add timeouts to test_runner.py
  • a72813f8d Use std::move() with CFX_SkiaDeviceDriver ctor
  • e84e4ca98 Use skpathutils in all usages of FillPathWithPaint
  • bcf864d43 Roll v8/ 24bde5401..06097c6f0 (188 commits)

3.14.0

19 Dec 10:37
Compare
Choose a tag to compare

Changes (Release 3.14.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.13.0 and 3.14.0 (latest commit first):

  • b4a4619 [autorelease] update changelog and version file
PDFium commit log

Commits between 5473 and 5485 (latest commit first):

  • 6696d1a82 Assert CFX_AggDeviceDriver does not deal with 1 bpp bitmaps.
  • 2b115b526 Mention a restriction for ScanlineComposerIface::SetInfo().
  • 1f0b692d5 Remove some ref churn in CFX_DefaultRenderDevice::AttachImpl().
  • 5a8242d8b Remove a dead function in CFX_ScanlineCompositor.
  • 84be8f91c Mark CFX_ScanlineCompositor::Composite* methods as const.
  • 07ba7027c Disable Windows error reporting dialogs
  • 29b58181e Replace most GetBppFromFormat() calls in CFX_ScanlineCompositor.
  • 6061080bb Use more early returns in CFX_ScanlineCompositor.
  • 56c1413a8 Get rid of GetIsAlphaFromFormat().
  • 713943f9f Remove an unused CFX_ScanlineCompositor::Init() parameter.
  • e9eb802ea [Skia] Fix rendering issue for converting 1 bpp image source
  • 999e21fa2 Remove some CFX_ScanlineCompositor::InitSourcePalette() parameters.
  • a1e5b384b Remove CFX_ScanlineCompositor::m_Transform.
  • 38bd77b7d [skia] Use skpathutils namespace instead of global one
  • 1e5f8aac8 Replace CFX_ScanlineCompositor::m_iTransparency with 2 structs.
  • 89b367b8f Unnest some code in CFX_ScanlineCompositor.
  • 374c5357b Use absl::holds_alternative(variant) instead of variant.index().
  • 472d5b44a [Skia] Add pixel test for --render-oneshot issue
  • 1b0b652d2 [Skia] Suppress failed corpus tests
  • cff8b3bab Roll testing/corpus/ 917d3b447..23370cd97 (6 commits)
  • 6245268e3 [skia] Remove legacy call to paint.getFillPath
  • 83d0028e3 Remove unused agg::path_storage::add_path_curve().
  • 58858f7e1 Suppress failed corpus tests
  • 6ecefa6f0 [Skia] Unsuppress xfermodes.pdf corpus test
  • eed57bffc Fix PDF Path object Bezier joins rendering
  • f98de8d21 Insert FlushForDraw() within DrawBitsWithMask()
  • f52c2a7cb Update corpus tests expectations and suppress more corpus tests
  • 2eaed93d0 Remove obsolete TODO
  • 83f831b84 Run more test variations in coverage_report.py.
  • c7a477833 Drop support for disabling the SkiaState cache
  • d0f42d7bf Fix a regression in CFX_PSRenderer::FaxCompressData().
  • eef0a633b Make CFX_UTF8Decoder easier to use.
  • af922ac8d Fixed an issue where the installed ComicSansMs font is substituted

3.13.0

12 Dec 10:38
Compare
Choose a tag to compare

Changes (Release 3.13.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.12.0 and 3.13.0 (latest commit first):

  • 978e5ff [autorelease] update changelog and version file
PDFium commit log

Commits between 5466 and 5473 (latest commit first):

  • 9a02c9040 Avoid MSVC warning D9025 when pdf_use_cxx20=false
  • 65535b872 Add test for masked image clipping issue
  • ccf7cba44 Undo check for invalid URIs in FPDFAction_GetURIPath().
  • 56adfa042 Cherry-pick libtiff commit to revise handling of TIFFTAG_INKNAMES.
  • 596d32946 Cherry-pick libtiff commit to fix OJPEG hack.

3.12.0

09 Dec 13:08
Compare
Choose a tag to compare

Changes (Release 3.12.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.11.0 and 3.12.0 (latest commit first):

  • 4f659c1 [autorelease] update changelog and version file
PDFium commit log

Commits between 5459 and 5466 (latest commit first):

  • 4e9c5b750 Upgrade to lcms 2.14.
  • cd83e740c Roll base/allocator/partition_allocator/ d84273fde..109a742d1 (13 commits)
  • a7cc2d219 Roll third_party/abseil-cpp/ 1016c233b..4cb960a03 (10 commits)
  • 69d11eaac Remove pdf_use_cxx20_override.
  • 0a2b8101b Cherry-pick libtiff TIFFReadRGBATileExt() fix.
  • 4a66cbebc Roll v8/ 248e6317f..24bde5401 (131 commits)
  • f192919a4 Roll third_party/instrumented_libraries/ a8992bf8a..87467200f (3 commits)
  • 9024022ed [Skia] Add a pixel test of 1-bpp and 8-bpp images
  • 86ee23220 Roll DEPS for buildtools and libc++.
  • 23ee4fb33 Roll base/allocator/partition_allocator/ 9f2740129..d84273fde (17 commits)
  • 86a058009 Add option for building with C++20 and roll DEPS for Abseil.
  • 7804c2fc9 Roll tools/clang/ 2991b63fa..65848dccd (15 commits)
  • f5850c991 Roll build/ 4b87ced7d..2748ef76c (115 commits)

3.11.0

05 Dec 10:37
Compare
Choose a tag to compare

Changes (Release 3.11.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.10.0 and 3.11.0 (latest commit first):

  • 0a48358 [autorelease] update changelog and version file
PDFium commit log

Commits between 5445 and 5459 (latest commit first):

  • 1aa642da9 Roll DEPS for build and tools/clang.
  • a4ee32c5c Roll tools/clang/ 38497dbb2..d3df9cc53 (8 commits)
  • e57c44ecf Roll build/ 53351eb16..4f35453d0 (112 commits; 1 trivial rolls)
  • 3836eb014 Force builds to use C++17 in standalone builds.
  • ca1ec1dee Add a comment for no_check_targets in //.gn.
  • 2370f15c0 Put hard CHECKS() in fxcrt::Retainable
  • d88861ac9 Update Skia build config to not override the C++ standard.
  • ea231736e Roll v8/ 43396790e..248e6317f (176 commits)
  • b988ee18c Update gn_version to git_revision:70d6c60823c0233a0f35eccc25b2b640d2980bdc
  • c5217b39f Roll buildtools/third_party/libc++abi/trunk/ 8dd405113..44d54baf4 (7 commits)
  • 27b2d8847 Roll buildtools/third_party/libunwind/trunk/ aabcd8753..fd49ee4ee (5 commits)
  • 62631bf13 Roll Fuchsia SDK from version:10.20221027.2.1 to version:10.20221201.2.1
  • 93e4c7c9b Pass retained argument to CPDF_ObjectStream::Create()
  • 6aba625bc Roll third_party/depot_tools/ 6f2321d1d..de9b59989 (54 commits; 20 trivial rolls)
  • adf54f049 Roll third_party/nasm/ fc8e0bd89..0873b2bae (1 commit)
  • c686791a6 Roll third_party/zlib/ cff720848..d866d41e1 (3 commits)
  • 8dd8edcb0 Roll third_party/freetype/src/ 63ccaef07..aca4ec590 (6 commits)
  • 4491194d0 Roll tools/memory/ 8581381d9..5d2efcc93 (5 commits)
  • ab1b39d3e Roll third_party/libpng/ e541f0335..20d2554f8 (1 commit)
  • 1d4328dbd Remove more dead code in CFX_ScanlineCompositor.
  • 87a7c1dc9 Add RetainPtr<>::AsRaw()
  • 1bab166a7 Remove some dead code in CFX_ScanlineCompositor.
  • a76f883e0 Remove dead code in CStretchEngine.
  • 0dddba4f8 Remove remaining CFX_DIBBase stub methods.
  • 78706449c Remove several CFX_DIBBase stub methods.
  • 83307e0cd Avoid leaking freetype compiler flags to the rest of the project.
  • 196bbd49e Remove some dead code from CFX_BitmapComposer.
  • fc91b52a6 Remove CFX_DIBBase::m_pAlphaMask and some related code.
  • af586c709 Remove SkiaPaths
  • ae67f8955 Removes SKIA_SUPPORT_PATHS macro
  • 51a08963f Remove run-time selection for SkiaPaths
  • b79e4998e Assume pdf_use_skia=true in //core/fxge/skia
  • 9df50a50b Avoid integer overflows in CFX_BitmapComposer::ComposeScanlineV().
  • a4e946ee8 Roll testing/corpus/ 580b91b2a..2563803ad (3 commits)
  • 2d2366595 [Skia] Remove annotation_square_dash.pdf from the suppression list
  • 1a0e4da53 Remove SkiaPaths from testing infrastructure
  • 3d626d95b Use more spans in CFX_DIBBase::SwapXY().
  • ae7457553 Use more spans in RgbByteOrderTransferBitmap().
  • 78a0ffab5 Drop support for "pdf_use_skia_paths_override"
  • f4bdb41b4 Add some unit tests for FX_ParseDateUsingFormat().
  • f467b3693 Update SkiaPaths RgbByteOrderTransferBitmap() implementation.
  • 67993b4c4 Fix bad refactoring in RgbByteOrderTransferBitmap().
  • 46e0999af Fix integer overflow in CPDF_RenderStatus::LoadSMask().
  • c3f7190e4 Avoid integer overflows in CFX_DIBBase::SwapXY().
  • 64dcae03d Remove duplicate GetSizeOrDie().
  • 8e29731cc Roll Catapult from 3a19f7afaa58 to 07489847d9ad (60 revisions)

3.10.0

28 Nov 10:41
Compare
Choose a tag to compare

Changes (Release 3.10.0)

Summary (pypdfium2)

pypdfium2 commit log

Commits between 3.9.0 and 3.10.0 (latest commit first):

  • 2514e8d [autorelease] update changelog and version file
  • 4086124 workflow: update tasks
  • 83fc660 Revert "Temporarily pin ctypesgen to fork"
  • 68a1cd3 Temporarily pin ctypesgen to fork
  • 51a86c9 gh_pages: limit push trigger to specific paths
  • c0a282e Pick ctypesgen call improvements from devel
  • 7055a63 release: fix pypdfium2 log
PDFium commit log

Commits between 5431 and 5445 (latest commit first):

  • 76cec9aed Replace pointer arithmetic with spans in CFX_BitmapComposer.
  • 90ab854a8 Move Fx2DSizeOrDie() to a new fx_2d_size.h header file.
  • 5a84ee630 Impose allocation size limit in fx_memory_malloc.cpp
  • f1a679ec0 Use checked math in RgbByteOrderTransferBitmap().
  • 1bc33bb83 Roll third_party/icu/ 35132cceb..1b7d391f0 (3 commits)
  • 4705e8bcb Roll v8/ 7ff976805..43396790e (509 commits)
  • 52d831939 Add [email protected] to OWNERS.

3.9.0

21 Nov 10:44
Compare
Choose a tag to compare

Changes (Release 3.9.0)

Summary (pypdfium2)

  • PDFium should now be compatible with Docker again.
  • In setup code, implemented a workaround to sanitize tar archives on extraction, preventing CVE-2007-4559 directory path traversal attacks in case of malicious input.
    Thanks to Kasimir Schulz of Trellix Research.
    Note that wheels have never been affected, and that this issue could only be exploited with a malicious release of pdfium-binaries. Nonetheless, to be safe, older versions of pypdfium2 should not be installed from source anymore.
PDFium commit log

Commits between 5418 and 5431 (latest commit first):

  • d5356204a Support --md5 with pdfium_test --skp
  • c5069d06b Pass const arrays as spans in faxmodule.cpp, part 2.
  • 7bf268c53 Replace memcpy() with safer spancpy() in fx_crypt.cpp
  • fb5521ae8 Pass const arrays as spans in faxmodule.cpp
  • ef2d236ee Refactor pdfium_test's rendering paths into classes
  • 5c18e8738 Replace pointer arithmetic with spans in CFX_BinaryBuf.
  • 61e618955 Pass spans to ToString().
  • fe90654d8 Pass constant arrays as spans to StringTo()
  • 9b25e9814 Populate bitmaps even when using SkPictureRecorder
  • 7905fe91e Use spancpy()/spanset() in cfx_bmpdecompressor.cpp
  • 2dcc45a1a Construct pdfium::span from std::array<T, N>.
  • f446aae6c Enable Skia PNG encoder
  • 05eaf8b28 Update FRC_10_8.2.4_View_C.pdf entry in the suppression list
  • 730e59911 Delete //third_party/libpng16
  • e66603249 Use shared //third_party/libpng dependency
  • efd00c258 Add third_party/libpng
  • cc3a9be4b Fix the crash in CFX_SkiaDeviceDriver::StartDIBitsSkia().
  • 66245bea2 Place CLZWDecoder::decode_stack_ and codes_ into data partition
  • b92231f9e Update imports in coverage_report.py.
  • 247aff6cb Roll third_party/freetype/src/ 0b62c1e43..63ccaef07 (20 commits)
  • cc53629d5 Roll base/allocator/partition_allocator/ cb1f2e8e0..9f2740129 (24 commits)
  • 0cd76726a Give SkUserConfig.h a unique filename.
  • 5eda47dd4 Remove a check that is always true in CPDF_IndexedCS.
  • b4b2831a7 Avoid needless casting to uint8_t* in cfx_dibbase.cpp
  • 69bddfee8 fix some clang-tidy member init suggestions.
  • b9efec82e Check resolution_levels_to_skip value in CJPX_Decoder::Init().
  • d4d1ae357 Simplify a loop inside CBC_OneDimWriter::RenderResult().
  • a067234d6 Install CIPD ninja using DEPS