From 6cf47c5f644a674dde93f405929c04d5cae9a253 Mon Sep 17 00:00:00 2001 From: Stefan <96178532+stefan6419846@users.noreply.github.com> Date: Sun, 3 Mar 2024 12:19:20 +0100 Subject: [PATCH] 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](https://github.com/py-pdf/pypdf/compare/4.0.2...4.1.0) --- CHANGELOG.md | 40 ++++++++++++++++++++++++++++++++++++++++ pypdf/_version.py | 2 +- 2 files changed, 41 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 96a4bb878..3adaf92d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,45 @@ # CHANGELOG +## Version 4.1.0, 2024-03-03 + +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) +- Add reattach_fields function (#2480) +- Automatic access to pointed object for IndirectObject (#2464) + +### Bug Fixes (BUG) +- Missing error on name without leading / (#2387) +- encode_pdfdocencoding() always returns bytes (#2440) +- BI in text content identified as image tag (#2459) + +### Robustness (ROB) +- Missing basefont entry in type 3 font (#2469) + +### Documentation (DOC) +- Improve lossless compression example (#2488) +- Amend robustness documentation (#2479) + +### Developer Experience (DEV) +- Fix changelog for UTF-8 characters (#2462) + +### Maintenance (MAINT) +- Add _get_page_number_from_indirect in writer (#2493) +- Remove user assignment for feature requests (#2483) +- Remove reference to old 2.0.0 branch (#2482) + +### Testing (TST) +- Fix benchmark failures (#2481) +- Broken test due to expired test file URL (#2468) +- Resolve file naming conflict in test_iss1767 (#2445) + +[Full Changelog](https://github.com/py-pdf/pypdf/compare/4.0.2...4.1.0) + ## Version 4.0.2, 2024-02-18 ### Bug Fixes (BUG) diff --git a/pypdf/_version.py b/pypdf/_version.py index 064c0b35b..703970876 100644 --- a/pypdf/_version.py +++ b/pypdf/_version.py @@ -1 +1 @@ -__version__ = "4.0.2" +__version__ = "4.1.0"