diff --git a/bindings/raw.py b/bindings/raw.py index 4f40737d6..f5225b60b 100644 --- a/bindings/raw.py +++ b/bindings/raw.py @@ -1,7 +1,7 @@ r"""Wrapper for fpdf_annot.h Generated with: -/tmp/pip-build-env-kk019prs/overlay/bin/ctypesgen --library pdfium --runtime-libdir . --no-srcinfo 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 +/opt/hostedtoolcache/Python/3.10.13/x64/bin/ctypesgen --library pdfium --runtime-libdir . --no-srcinfo 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 Do not modify this file. """ diff --git a/docs/devel/changelog.md b/docs/devel/changelog.md index 066cea564..1b5df1231 100644 --- a/docs/devel/changelog.md +++ b/docs/devel/changelog.md @@ -7,6 +7,22 @@ # Changelog +## 4.20.0 (2023-09-10) + +- Updated PDFium from `5975` to `5989`. +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. + + ## 4.19.0 (2023-08-28) - Updated PDFium from `5868` to `5975`. diff --git a/docs/devel/changelog_staging.md b/docs/devel/changelog_staging.md index b82d2c2d1..d15b83b2a 100644 --- a/docs/devel/changelog_staging.md +++ b/docs/devel/changelog_staging.md @@ -4,15 +4,3 @@ # Changelog for next release - -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. diff --git a/src/pypdfium2/version.py b/src/pypdfium2/version.py index 0dc3df15a..377bd8ff7 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 = 19 +V_MINOR = 20 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 = "5975" +V_LIBPDFIUM = "5989" #: String describing the included PDFium binary's origin (pdfium-binaries, source) V_BUILDNAME = "pdfium-binaries"