diff --git a/docs/devel/changelog.md b/docs/devel/changelog.md index 4e930cc83..c272ed1b6 100644 --- a/docs/devel/changelog.md +++ b/docs/devel/changelog.md @@ -7,6 +7,19 @@ # Changelog +## 4.2.0 (2023-03-14) + +- Updated PDFium from `5633` to `5648` (autorelease). +- API-breaking changes around forms code, necessary to fix conceptual issues. Closes {issue}`182`. + * `may_init_forms` parameter replaced with `init_forms()`, so that a custom form config can be provided. + This is particularly required for V8 enabled PDFium. + * `formtype` attribute replaced with `get_formtype()`. + Previously, `formtype` would only be set correctly if `may_init_forms=True`, + which caused confusion for documents that have forms but no initialized form env. +- `PdfPage.get_*box()` functions now provide an option to disable fallbacks. Closes {issue}`187`. +- Some formerly hidden utilities are now exposed in the new namespace `pypdfium2.internal`. + + ## 4.1.0 (2023-03-07) - Updated PDFium from `5619` to `5633` (autorelease). diff --git a/docs/devel/changelog_staging.md b/docs/devel/changelog_staging.md index d74251ee2..d15b83b2a 100644 --- a/docs/devel/changelog_staging.md +++ b/docs/devel/changelog_staging.md @@ -4,11 +4,3 @@ # Changelog for next release -- API-breaking changes around forms code, necessary to fix conceptual issues. Closes {issue}`182`. - * `may_init_forms` parameter replaced with `init_forms()`, so that a custom form config can be provided. - This is particularly required for V8 enabled PDFium. - * `formtype` attribute replaced with `get_formtype()`. - Previously, `formtype` would only be set correctly if `may_init_forms=True`, - which caused confusion for documents that have forms but no initialized form env. -- `PdfPage.get_*box()` functions now provide an option to disable fallbacks. Closes {issue}`187`. -- Some formerly hidden utilities are now exposed in the new namespace `pypdfium2.internal`. diff --git a/src/pypdfium2/version.py b/src/pypdfium2/version.py index 1d4c29298..49c4d5c18 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 = 1 +V_MINOR = 2 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 = "5633" +V_LIBPDFIUM = "5648" #: String describing the included PDFium binary's origin (pdfium-binaries, source) V_BUILDNAME = "pdfium-binaries"