Skip to content

Commit 049f71e

Browse files
committed
REL: 5.2.0
## What's new ### Deprecations (DEP) - Deprecate with replacement CCITParameters (#3019) by @j-t-1 - Correct deprecation of interiour_color (#2947) by @j-t-1 ### New Features (ENH) - Support alternative (U)F names for embedded file retrieval (#3072) by @stefan6419846 - Adding support for reading .metadata.keywords (#2939) by @Lucas-C ### Bug Fixes (BUG) - Handle further Tf operators in text extraction layout mode (#3073) by @blushingpenguin - Ensure `add_metadata` can deal with `_info = None` (#3040) by @xmo-odoo - Handle IndirectObject in CCITTFaxDecode filter (#2965) by @stefan6419846 - Handle chained colorspace for inline images when no filter is set (#3008) by @stefan6419846 - Avoid extracting inline images twice and dropping other operators (#3002) by @stefan6419846 - Fixed reference of value with `str.__new__` in TextStringObject (#2952) by @thomas-forte - Handle indirect objects in font width calculations (#2967) by @nsw42 - Title sometimes is bytes and not str (#2930) by @reformy - Fix undefined variable for text extraction (regression) (#2934) by @stefan6419846 - Don't close stream passed to PdfWriter.write() (#2909) by @alexaryn ### Robustness (ROB) - Handle zero height fonts when extracting text (#3075) by @blushingpenguin - Deal with content streams not containing streams (#3005) by @stefan6419846 - Gracefully handle some text operators when the operands are missing (#3006) by @stefan6419846 - Fall back to non-Adobe Ascii85 format for missing end markers (#3007) by @stefan6419846 - Ignore odd-length strings when processing cmap lines (#3009) by @stefan6419846 - Skip annotation destination being NullObject in PdfWriter (#2964) by @stefan6419846 - Skip destination page being None in PdfWriter (#2963) by @dxsooo - Fix infinite loop case when reading null objects within an Array by @jakep-allenai - Fixing infinite loop in ArrayObject read_from_stream (#2928) by @jakep-allenai ### Documentation (DOC) - Add note about default line colors (#3014) by @stefan6419846 ### Developer Experience (DEV) - Remove ignoring Ruff rule PGH004 (#3071) by @j-t-1 - Tidy ignore array in tool.ruff.lint (#3069) by @j-t-1 - Move Windows CI to Python 3.13 (#3003) by @stefan6419846 - Move to Ubuntu 22.04 (#3004) by @stefan6419846 ### Maintenance (MAINT) - Fix formatting of warning message and include exception message (#3076) by @stefan6419846 - Narrow return type for `ContentStream.operations` (#2941) by @kmurphy4 ### Testing (TST) - Fix image similarity for upcoming Ubuntu 24.04 (#3039) by @stefan6419846 - Replace broken Apache Tika Corpora urls (#3041) by @stefan6419846 ### Code Style (STY) - Add form feed to WHITESPACES (#3054) by @j-t-1 - Lots of small internal changes by @j-t-1 [Full Changelog](5.1.0...5.2.0) Signed-off-by: stefan6419846 <[email protected]>
1 parent b94d203 commit 049f71e

File tree

2 files changed

+57
-1
lines changed

2 files changed

+57
-1
lines changed

CHANGELOG.md

+56
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,61 @@
11
# CHANGELOG
22

3+
## Version 5.2.0, 2025-01-26
4+
5+
### Deprecations (DEP)
6+
- Deprecate with replacement CCITParameters (#3019)
7+
- Correct deprecation of interiour_color (#2947)
8+
9+
### New Features (ENH)
10+
- Support alternative (U)F names for embedded file retrieval (#3072)
11+
- Adding support for reading .metadata.keywords (#2939)
12+
13+
### Bug Fixes (BUG)
14+
- Handle further Tf operators in text extraction layout mode (#3073)
15+
- Ensure `add_metadata` can deal with `_info = None` (#3040)
16+
- Handle IndirectObject in CCITTFaxDecode filter (#2965)
17+
- Handle chained colorspace for inline images when no filter is set (#3008)
18+
- Avoid extracting inline images twice and dropping other operators (#3002)
19+
- Fixed reference of value with `str.__new__` in TextStringObject (#2952)
20+
- Handle indirect objects in font width calculations (#2967)
21+
- Title sometimes is bytes and not str (#2930)
22+
- Fix undefined variable for text extraction (regression) (#2934)
23+
- Don't close stream passed to PdfWriter.write() (#2909)
24+
25+
### Robustness (ROB)
26+
- Handle zero height fonts when extracting text (#3075)
27+
- Deal with content streams not containing streams (#3005)
28+
- Gracefully handle some text operators when the operands are missing (#3006)
29+
- Fall back to non-Adobe Ascii85 format for missing end markers (#3007)
30+
- Ignore odd-length strings when processing cmap lines (#3009)
31+
- Skip annotation destination being NullObject in PdfWriter (#2964)
32+
- Skip destination page being None in PdfWriter (#2963)
33+
- Fix infinite loop case when reading null objects within an Array
34+
- Fixing infinite loop in ArrayObject read_from_stream (#2928)
35+
36+
### Documentation (DOC)
37+
- Add note about default line colors (#3014)
38+
39+
### Developer Experience (DEV)
40+
- Remove ignoring Ruff rule PGH004 (#3071)
41+
- Tidy ignore array in tool.ruff.lint (#3069)
42+
- Move Windows CI to Python 3.13 (#3003)
43+
- Move to Ubuntu 22.04 (#3004)
44+
45+
### Maintenance (MAINT)
46+
- Fix formatting of warning message and include exception message (#3076)
47+
- Narrow return type for `ContentStream.operations` (#2941)
48+
49+
### Testing (TST)
50+
- Fix image similarity for upcoming Ubuntu 24.04 (#3039)
51+
- Replace broken Apache Tika Corpora urls (#3041)
52+
53+
### Code Style (STY)
54+
- Add form feed to WHITESPACES (#3054)
55+
- Lots of small internal changes
56+
57+
[Full Changelog](https://github.com/py-pdf/pypdf/compare/5.1.0...5.2.0)
58+
359
## Version 5.1.0, 2024-10-27
460

561
### New Features (ENH)

pypdf/_version.py

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

0 commit comments

Comments
 (0)