Skip to content

Commit

Permalink
[autorelease] update changelog and version file
Browse files Browse the repository at this point in the history
  • Loading branch information
mara004 committed Mar 14, 2023
1 parent e77c8c2 commit ae25d31
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
13 changes: 13 additions & 0 deletions docs/devel/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down
8 changes: 0 additions & 8 deletions docs/devel/changelog_staging.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,3 @@
<!-- List character: dash (-) -->

# 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`.
4 changes: 2 additions & 2 deletions src/pypdfium2/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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"
Expand Down

0 comments on commit ae25d31

Please sign in to comment.