Version 1.28.0, 2022-05-22 #885
MartinThoma
announced in
Announcements
Replies: 1 comment
-
I tried my best not to make a breaking change. As there are quite a lot of tiny changes I choose to make not only a patch-version bump, but a minor-version bump. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Version 1.28.0, 2022-05-22
This release adds a lot of deprecation warnings in preparation of the
PyPDF2 2.0.0 release. The changes are mostly using snake_case function-, method-,
and variable-names as well as using properties instead of getter-methods.
Maintenance (MAINT):
Full Changelog: 1.27.12...1.27.13
Deprecations (DEP)
PyPDF2.utils
module privateDetails
In many places:
PyPDF2.generic
This method should typically not be used; please let me know if you need it.
PdfReader class:
reader.getPage(pageNumber)
➔reader.pages[page_number]
reader.getNumPages()
/reader.numPages
➔len(reader.pages)
PdfWriter class:
writer.getPage(pageNumber)
➔writer.pages[page_number]
writer.getNumPages()
➔len(writer.pages)
PdfMerger class
__init__
parameter: strict=True ➔ strict=False (the PdfFileMerger still has the old default)Page class:
XmpInformation class:
utils.py:
What's Changed
Full Changelog: 1.27.12...1.28.0
This discussion was created from the release Version 1.28.0, 2022-05-22.
Beta Was this translation helpful? Give feedback.
All reactions