Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REL: 4.1.0 #2498

Merged
merged 1 commit into from
Mar 3, 2024
Merged

REL: 4.1.0 #2498

merged 1 commit into from
Mar 3, 2024

Conversation

stefan6419846
Copy link
Collaborator

Let's try to publish a new release with the changes from the last two weeks.

@pubpub-zz Please just review and do not merge directly - I am still trying to verify the release process (which did not work directly) and want to ensure that I appropriately document observed issues in the whole process.

## 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)
Copy link

codecov bot commented Mar 3, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 94.50%. Comparing base (cb146e8) to head (6377054).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #2498   +/-   ##
=======================================
  Coverage   94.50%   94.50%           
=======================================
  Files          49       49           
  Lines        8119     8119           
  Branches     1650     1650           
=======================================
  Hits         7673     7673           
  Misses        276      276           
  Partials      170      170           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@stefan6419846 stefan6419846 merged commit 6cf47c5 into main Mar 3, 2024
14 of 15 checks passed
@stefan6419846 stefan6419846 deleted the release_4.1.0 branch March 3, 2024 11:19
@MartinThoma
Copy link
Member

I still see 4.0.2 as latest on https://pypi.org/project/pypdf/ and no 4.1.0.

I think we should automatically create the git tag once we have a "REL: x.y.z" commit. What do you think?

@stefan6419846
Copy link
Collaborator Author

@MartinThoma I apparently do not have the permissions for the tag: #2499 (comment)

@MartinThoma
Copy link
Member

I've added the tag :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants