From f927f7ce6ef20123959b3a2cf4ecf1a032e1bdf5 Mon Sep 17 00:00:00 2001 From: geisserml Date: Tue, 16 May 2023 11:27:54 +0000 Subject: [PATCH] [autorelease] update changelog and version file --- bindings/raw.py | 2 +- docs/devel/changelog.md | 6 ++++++ docs/devel/changelog_staging.md | 1 - src/pypdfium2/version.py | 4 ++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/bindings/raw.py b/bindings/raw.py index 660ae934f..e4816c8c1 100644 --- a/bindings/raw.py +++ b/bindings/raw.py @@ -1,7 +1,7 @@ r"""Wrapper for fpdf_annot.h Generated with: -~/.local/bin/ctypesgen --library pdfium --runtime-libdir . ./fpdf_annot.h ./fpdf_attachment.h ./fpdf_catalog.h ./fpdf_dataavail.h ./fpdf_doc.h ./fpdf_edit.h ./fpdf_ext.h ./fpdf_flatten.h ./fpdf_formfill.h ./fpdf_fwlevent.h ./fpdf_javascript.h ./fpdf_ppo.h ./fpdf_progressive.h ./fpdf_save.h ./fpdf_searchex.h ./fpdf_signature.h ./fpdf_structtree.h ./fpdf_sysfontinfo.h ./fpdf_text.h ./fpdf_thumbnail.h ./fpdf_transformpage.h ./fpdfview.h -o ~/projects/pypdfium2/data/linux_x64/raw.py --no-srcinfo +/opt/hostedtoolcache/Python/3.10.11/x64/bin/ctypesgen --library pdfium --runtime-libdir . ./fpdf_annot.h ./fpdf_attachment.h ./fpdf_catalog.h ./fpdf_dataavail.h ./fpdf_doc.h ./fpdf_edit.h ./fpdf_ext.h ./fpdf_flatten.h ./fpdf_formfill.h ./fpdf_fwlevent.h ./fpdf_javascript.h ./fpdf_ppo.h ./fpdf_progressive.h ./fpdf_save.h ./fpdf_searchex.h ./fpdf_signature.h ./fpdf_structtree.h ./fpdf_sysfontinfo.h ./fpdf_text.h ./fpdf_thumbnail.h ./fpdf_transformpage.h ./fpdfview.h -o ~/work/pypdfium2/pypdfium2/data/linux_x64/raw.py --no-srcinfo Do not modify this file. """ diff --git a/docs/devel/changelog.md b/docs/devel/changelog.md index ebe7385aa..e1073c16f 100644 --- a/docs/devel/changelog.md +++ b/docs/devel/changelog.md @@ -7,6 +7,12 @@ # Changelog +## 4.11.0 (2023-05-16) + +- Updated PDFium from `5758` to `5772`. +- In `PdfDocument.render()`, fixed a bad `bitmap.close()` call that would lead to a downstream use after free when using the combination of foreign bitmap and no-copy conversion. Using foreign bitmaps was not the default and expressly not recommended. + + ## 4.10.0 (2023-05-09) - Updated PDFium from `5744` to `5758`. diff --git a/docs/devel/changelog_staging.md b/docs/devel/changelog_staging.md index 034d86e4b..d15b83b2a 100644 --- a/docs/devel/changelog_staging.md +++ b/docs/devel/changelog_staging.md @@ -4,4 +4,3 @@ # Changelog for next release -- In `PdfDocument.render()`, fixed a bad `bitmap.close()` call that would lead to a downstream use after free when using the combination of foreign bitmap and no-copy conversion. Using foreign bitmaps was not the default and expressly not recommended. diff --git a/src/pypdfium2/version.py b/src/pypdfium2/version.py index 800e53311..4eda95089 100644 --- a/src/pypdfium2/version.py +++ b/src/pypdfium2/version.py @@ -4,7 +4,7 @@ __all__ = ["V_PYPDFIUM2", "V_LIBPDFIUM", "V_BUILDNAME", "V_PDFIUM_IS_V8"] V_MAJOR = 4 -V_MINOR = 10 +V_MINOR = 11 V_PATCH = 0 V_BETA = None @@ -14,7 +14,7 @@ V_PYPDFIUM2 += f"b{V_BETA}" #: PDFium library version string (git tag or commit hash) -V_LIBPDFIUM = "5758" +V_LIBPDFIUM = "5772" #: String describing the included PDFium binary's origin (pdfium-binaries, source) V_BUILDNAME = "pdfium-binaries"