|
1 |
| -Version 2.0.0 |
2 |
| -------------- |
| 1 | +Version 2.0.0, 2022-06-01 |
| 2 | +------------------------- |
| 3 | + |
| 4 | +The 2.0.0 release of PyPDF2 includes three core changes: |
| 5 | + |
| 6 | +1. Dropping support for Python 3.5 and older. |
| 7 | +2. Introducing type annotations. |
| 8 | +3. Interface changes, mostly to have PEP8-compliant names |
| 9 | + |
| 10 | +We introduced a [deprecation process](https://github.com/py-pdf/PyPDF2/pull/930) |
| 11 | +that hopefully helps users to avoid unexpected breaking changes. |
3 | 12 |
|
4 | 13 | Breaking Changes(DEP):
|
5 | 14 | - PyPDF2 2.0 requires Python 3.6+. Python 2.7 and 3.5 support were dropped.
|
@@ -34,6 +43,51 @@ Breaking Changes(DEP):
|
34 | 43 | Both are still in the git repository. The `Scripts` are now in
|
35 | 44 | https://github.com/py-pdf/cpdf. `Sample_Code` was moved to the `docs`.
|
36 | 45 |
|
| 46 | +For a full list of deprecated functions, please see the changelog of version |
| 47 | +1.28.0. |
| 48 | + |
| 49 | +New Features (ENH): |
| 50 | +- Improve space setting for text extraction (#922) |
| 51 | +- Allow setting the decryption password in PdfReader.__init__ (#920) |
| 52 | +- Add Page.add_transformation (#883) |
| 53 | + |
| 54 | +Bug Fixes (BUG): |
| 55 | +- Fix error adding transformation to page without /Contents (#908) |
| 56 | + |
| 57 | +Robustness (ROB): |
| 58 | +- Cope with invalid length in streams (#861) |
| 59 | + |
| 60 | +Documentation (DOC): |
| 61 | +- Fix style of 1.25 and 1.27 patch notes (#927) |
| 62 | +- Transformation (#907) |
| 63 | + |
| 64 | +Developer Experience (DEV): |
| 65 | +- Create flake8 config file (#916) |
| 66 | +- Use relative imports (#875) |
| 67 | + |
| 68 | +Maintenance (MAINT): |
| 69 | +- Use Python 3.6 language features (#849) |
| 70 | +- Add wrapper function for PendingDeprecationWarnings (#928) |
| 71 | +- Use new PEP8 compliant names (#884) |
| 72 | +- Explicitly represent transformation matrix (#878) |
| 73 | +- Inline PAGE_RANGE_HELP string (#874) |
| 74 | +- Remove unnecessary generics imports (#873) |
| 75 | +- Remove star imports (#865) |
| 76 | +- merger.py ➔ _merger.py (#864) |
| 77 | +- Type annotations for all functions/methods (#854) |
| 78 | +- Add initial type support with mypy (#853) |
| 79 | + |
| 80 | +Testing (TST): |
| 81 | +- Regression test for xmp_metadata converter (#923) |
| 82 | +- Checkout submodule sample-files for benchmark |
| 83 | +- Add text extracting performance benchmark |
| 84 | +- Use new PyPDF2 API in benchmark (#902) |
| 85 | +- Make test suite fail for uncaught warnings (#892) |
| 86 | +- Remove -OO testrun from CI (#901) |
| 87 | +- Improve tests for convert_to_int (#899) |
| 88 | + |
| 89 | +Full Changelog: https://github.com/py-pdf/PyPDF2/compare/1.28.4...2.0.0 |
| 90 | + |
37 | 91 | Version 1.28.4, 2022-05-29
|
38 | 92 | --------------------------
|
39 | 93 |
|
|
0 commit comments