Skip to content

Commit 9f647e6

Browse files
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](5.0.1...5.1.0)
1 parent e2da09f commit 9f647e6

File tree

2 files changed

+37
-1
lines changed

2 files changed

+37
-1
lines changed

CHANGELOG.md

+36
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,41 @@
11
# CHANGELOG
22

3+
## Version 5.1.0, 2024-10-27
4+
5+
### New Features (ENH)
6+
- Add `layout_mode_font_height_weight` argument to `PageObject.extract_text()` (#2920)
7+
8+
### Bug Fixes (BUG)
9+
- Fix font specificier for FreeText annotation (#2893)
10+
- Line breaks are not generated due to incorrect calculation of text leading (#2890)
11+
- Improve handling of spaces in text extraction (#2882)
12+
13+
### Robustness (ROB)
14+
- Soft failure for flate encode image mode 1 with wrong LUT size (#2900)
15+
16+
### Documentation (DOC)
17+
- Use latest package versions (#2907)
18+
- Correct example of reading FileAttachment annotation (#2906)
19+
20+
### Developer Experience (DEV)
21+
- Update pinned requirements (#2918)
22+
- Make make_release.py compatible with Windows environment (#2894)
23+
24+
### Maintenance (MAINT)
25+
- Remove references to outdated Python versions (#2919)
26+
- Generalize the method of obtaining space_code (#2891)
27+
- Unnecessary character mapping process (#2888)
28+
- New LZW decoding implementation (#2887)
29+
30+
### Testing (TST)
31+
- Add LzwCodec for encoding (#2883)
32+
33+
### Code Style (STY)
34+
- Capitalize error messages (#2903)
35+
- Modify error messages in PdfWriter (#2902)
36+
37+
[Full Changelog](https://github.com/py-pdf/pypdf/compare/5.0.1...5.1.0)
38+
339
## Version 5.0.1, 2024-09-29
440

541
### New Features (ENH)

pypdf/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "5.0.1"
1+
__version__ = "5.1.0"

0 commit comments

Comments
 (0)