From 9f647e696b64f34262a637b77f9a7e89d75a22f4 Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Sun, 27 Oct 2024 20:43:21 +0100 Subject: [PATCH] REL: 5.1.0 ## What's new ### New Features (ENH) - Add `layout_mode_font_height_weight` argument to `PageObject.extract_text()` (#2920) by @hpierre001 ### Bug Fixes (BUG) - Fix font specificier for FreeText annotation (#2893) by @ssjkamei - Line breaks are not generated due to incorrect calculation of text leading (#2890) by @ssjkamei - Improve handling of spaces in text extraction (#2882) by @ssjkamei ### Robustness (ROB) - Soft failure for flate encode image mode 1 with wrong LUT size (#2900) by @stefan6419846 ### Documentation (DOC) - Use latest package versions (#2907) by @stefan6419846 - Correct example of reading FileAttachment annotation (#2906) by @j-t-1 ### Developer Experience (DEV) - Update pinned requirements (#2918) by @stefan6419846 - Make make_release.py compatible with Windows environment (#2894) by @pubpub-zz ### Maintenance (MAINT) - Remove references to outdated Python versions (#2919) by @stefan6419846 - Generalize the method of obtaining space_code (#2891) by @ssjkamei - Unnecessary character mapping process (#2888) by @ssjkamei - New LZW decoding implementation (#2887) by @MartinThoma ### Testing (TST) - Add LzwCodec for encoding (#2883) by @MartinThoma ### Code Style (STY) - Capitalize error messages (#2903) by @j-t-1 - Modify error messages in PdfWriter (#2902) by @j-t-1 [Full Changelog](https://github.com/py-pdf/pypdf/compare/5.0.1...5.1.0) --- CHANGELOG.md | 36 ++++++++++++++++++++++++++++++++++++ pypdf/_version.py | 2 +- 2 files changed, 37 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ef1c03f06..6c7d40cfe 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,41 @@ # CHANGELOG +## Version 5.1.0, 2024-10-27 + +### New Features (ENH) +- Add `layout_mode_font_height_weight` argument to `PageObject.extract_text()` (#2920) + +### Bug Fixes (BUG) +- Fix font specificier for FreeText annotation (#2893) +- Line breaks are not generated due to incorrect calculation of text leading (#2890) +- Improve handling of spaces in text extraction (#2882) + +### Robustness (ROB) +- Soft failure for flate encode image mode 1 with wrong LUT size (#2900) + +### Documentation (DOC) +- Use latest package versions (#2907) +- Correct example of reading FileAttachment annotation (#2906) + +### Developer Experience (DEV) +- Update pinned requirements (#2918) +- Make make_release.py compatible with Windows environment (#2894) + +### Maintenance (MAINT) +- Remove references to outdated Python versions (#2919) +- Generalize the method of obtaining space_code (#2891) +- Unnecessary character mapping process (#2888) +- New LZW decoding implementation (#2887) + +### Testing (TST) +- Add LzwCodec for encoding (#2883) + +### Code Style (STY) +- Capitalize error messages (#2903) +- Modify error messages in PdfWriter (#2902) + +[Full Changelog](https://github.com/py-pdf/pypdf/compare/5.0.1...5.1.0) + ## Version 5.0.1, 2024-09-29 ### New Features (ENH) diff --git a/pypdf/_version.py b/pypdf/_version.py index 2fe5fde13..0d72820f3 100644 --- a/pypdf/_version.py +++ b/pypdf/_version.py @@ -1 +1 @@ -__version__ = "5.0.1" +__version__ = "5.1.0"