Skip to content

Commit 6377054

Browse files
committed
REL: 4.1.0
## What's new Generating name objects (`NameObject`) without a leading slash is considered deprecated now. Previously, just a plain warning would be logged, leading to possibly invalid PDF files. According to our deprecation policy, this will log a *DeprecationWarning* for now. ### New Features (ENH) - Add get_pages_from_field (#2494) by @pubpub-zz - Add reattach_fields function (#2480) by @pubpub-zz - Automatic access to pointed object for IndirectObject (#2464) by @pubpub-zz ### Bug Fixes (BUG) - Missing error on name without leading / (#2387) by @Rak424 - encode_pdfdocencoding() always returns bytes (#2440) by @sbourlon - BI in text content identified as image tag (#2459) by @pubpub-zz ### Robustness (ROB) - Missing basefont entry in type 3 font (#2469) by @pubpub-zz ### Documentation (DOC) - Improve lossless compression example (#2488) by @j-t-1 - Amend robustness documentation (#2479) by @j-t-1 ### Developer Experience (DEV) - Fix changelog for UTF-8 characters (#2462) by @stefan6419846 ### Maintenance (MAINT) - Add _get_page_number_from_indirect in writer (#2493) by @pubpub-zz - Remove user assignment for feature requests (#2483) by @stefan6419846 - Remove reference to old 2.0.0 branch (#2482) by @stefan6419846 ### Testing (TST) - Fix benchmark failures (#2481) by @stefan6419846 - Broken test due to expired test file URL (#2468) by @pubpub-zz - Resolve file naming conflict in test_iss1767 (#2445) by @sbourlon [Full Changelog](4.0.2...4.1.0)
1 parent cb146e8 commit 6377054

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

CHANGELOG.md

+40
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,45 @@
11
# CHANGELOG
22

3+
## Version 4.1.0, 2024-03-03
4+
5+
Generating name objects (`NameObject`) without a leading slash
6+
is considered deprecated now. Previously, just a plain warning
7+
would be logged, leading to possibly invalid PDF files. According
8+
to our deprecation policy, this will log a *DeprecationWarning*
9+
for now.
10+
11+
### New Features (ENH)
12+
- Add get_pages_from_field (#2494)
13+
- Add reattach_fields function (#2480)
14+
- Automatic access to pointed object for IndirectObject (#2464)
15+
16+
### Bug Fixes (BUG)
17+
- Missing error on name without leading / (#2387)
18+
- encode_pdfdocencoding() always returns bytes (#2440)
19+
- BI in text content identified as image tag (#2459)
20+
21+
### Robustness (ROB)
22+
- Missing basefont entry in type 3 font (#2469)
23+
24+
### Documentation (DOC)
25+
- Improve lossless compression example (#2488)
26+
- Amend robustness documentation (#2479)
27+
28+
### Developer Experience (DEV)
29+
- Fix changelog for UTF-8 characters (#2462)
30+
31+
### Maintenance (MAINT)
32+
- Add _get_page_number_from_indirect in writer (#2493)
33+
- Remove user assignment for feature requests (#2483)
34+
- Remove reference to old 2.0.0 branch (#2482)
35+
36+
### Testing (TST)
37+
- Fix benchmark failures (#2481)
38+
- Broken test due to expired test file URL (#2468)
39+
- Resolve file naming conflict in test_iss1767 (#2445)
40+
41+
[Full Changelog](https://github.com/py-pdf/pypdf/compare/4.0.2...4.1.0)
42+
343
## Version 4.0.2, 2024-02-18
444

545
### Bug Fixes (BUG)

pypdf/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "4.0.2"
1+
__version__ = "4.1.0"

0 commit comments

Comments
 (0)