Releases: smalot/pdfparser
v2.11.0
What's Changed
- Account for inline images in formatContent() by @GreyWyvern in #693
- Fix for two bugs related to Unicode translation support by Font objects by @unixnut in #698
- Fix for adjacent escaped slashes and escaped parentheses in strings by @GreyWyvern in #711
- Merge XMP Metadata if dc:format tag not found by @GreyWyvern in #722
- Implement missing cm command by @DominikDostal in #720
- fix typo and clarify sentence by @bernard-ng in #729
- fix: check that the previous xref is not the just processed xref by @tkegan in #727
Internal changes
New Contributors
- @DominikDostal made their first contribution in #720
- @bernard-ng made their first contribution in #729
- @tkegan made their first contribution in #727
Full Changelog: v.2.10.0...v2.11.0
v2.10.0
What's Changed
- Prevent zero from being passed to array_chunk() by @GreyWyvern in #686
- Filter ElementHexa::decode() of non-hex chars by @GreyWyvern in #687
- Account for inaccurate offsets in getXrefData() by @GreyWyvern in #692
- Strengthen check for UTF-8 conformity in formatContent() by @GreyWyvern in #704
Internal changes
- improved documentation: Return page width and height from document by @vitormattos in #700
- Fixed CS issue in PDFObject.php by @k00ni in #695
Full Changelog: v2.9.0...v.2.10.0
v.2.10.0
v2.9.0
What's Changed
- Fix returning empty text in some cases by @xAzoom in #666
- Baseencoding fallback by @GreyWyvern in #669
- Check for binary content in formatContent() before a problematic regexp by @GreyWyvern in #676
- Fixed latest coding style issues and refined a few PHP doc entries to match types by @k00ni in #677
- Fixes Scrutinizer integration (mostly failing tests) by @k00ni in #682
- Fixed a few coding style issues by @k00ni in #670
New Contributors
Full Changelog: v2.8.0...v2.9.0
v2.8.0
❗ This release contains a lot of changes in comparison to v2.7.0. We decided to have at least one release candidate before the next production-ready release.
Pull request #634 (Major Update to PDFObject.php + Ancillary) by @GreyWyvern fixes almost 20 issues, brings better parsing and more understandable code. If you wanna find out what exactly changed, have a look.
What's Changed
- fix: Fail to identify fonts (name and size) #629 by @mbideau-atreal in #630
- Add a pull request template which contains helpful information by @k00ni in #633
- Check for wrong line-endings when getting xref by @GreyWyvern in #635
- Better octal and hex-entity decode by @GreyWyvern in #640
- Absorb spaces after 'stream' declarations by @GreyWyvern in #642
- Usage.md: change example code to avoid PHP notice by @k00ni in #644
- Font.php: hot fix for calculateTextWidth in case Widths key is not set by @k00ni in #645
- Major Update to PDFObject.php + Ancillary by @GreyWyvern in #634
- Ignore encryption by @unixnut in #653
New Contributors
- @mbideau-atreal made their first contribution in #630
- @unixnut made their first contribution in #653
Full Changelog: v2.7.0...v2.8.0
v2.8.0-RC2 - Call for testers!
v2.8.0-RC1 - Call for testers!
Release Candidate - Please read before using it
❗ This release contains a lot of changes in comparison to v2.7.0. We decided to have at least one release candidate before the next production-ready release.
Pull request #634 (Major Update to PDFObject.php + Ancillary) by @GreyWyvern fixes almost 20 issues, brings better parsing and more understandable code. If you wanna find out what exactly changed, have a look.
If you find any bugs, please let us know in #650 or open a new issue.
Further changes
- fix: Fail to identify fonts (name and size) #629 by @mbideau-atreal in #630
- Check for wrong line-endings when getting xref by @GreyWyvern in #635
- Better octal and hex-entity decode by @GreyWyvern in #640
- Absorb spaces after 'stream' declarations by @GreyWyvern in #642
- Usage.md: change example code to avoid PHP notice by @k00ni in #644
- Font.php: hot fix for calculateTextWidth in case Widths key is not set by @k00ni in #645
- Add a pull request template which contains helpful information by @k00ni in #633
New Contributors
- @mbideau-atreal made their first contribution in #630
Full Changelog: v2.7.0...v2.8.0-RC1
v2.7.0 - Fixed TypeError in Font::uchr + better font support ...
What's Changed
- str_replace in Font.php now seems to work as expected by @tskodaw in #597
- Add font fallback + Support for font IDs containing hyphens by @GreyWyvern in #614
- Fixes #621: Font::uchr: allow int|float for $code parameter by @k00ni in #623
- Allow for CRC23 checksum gzuncompress() by @GreyWyvern in #622
- Adjust hex/octal string decoding by @GreyWyvern in #627
- Account for empty arrays in XMP data by @GreyWyvern in #624
- PHP 8.3 support by @k00ni in #610
New Contributors
Full Changelog: v.2.6.0...v2.7.0
v2.6.0 - Improved Metadata support, Some fixes, small performance gains
What's Changed
- Improved Metadata handling:
- Read XMP Metadata and add it to data returned by getDetails() by @GreyWyvern in #606
- Enable PDFDocEncoding support for metadata by @GreyWyvern in #611
- Support metadata element names containing spaces by @GreyWyvern in #612
- performance gain: Reduce excessive substring allocation, using preg_match's offset parameter by @se-ti in #595
- Fix ASCII85 decoding in a specific case by @Seb35 in #600
- Deploy latest PHP-CS-Fixer rules (adapted some to match our setup with PHP 7+8) by @Seb35 in #602
New Contributors
- @Seb35 made their first contribution in #602
- @GreyWyvern made their first contribution in #606
Full Changelog: v2.5.0...v.2.6.0
v2.5.0 - bug fixes + performance gains
What's Changed
- Improve performance by not extracting compressed image data if retainImageContent was set to false by @se-ti in #590
- Add instructions to get page width and height by @vitormattos in #593
- fix to iconv() illegal character error (issue #549) by @Stasky745 in #580
- chore: remove ci deprecations by @Chris53897 in #587
- Run cs-fixer after new release of bugfix/cs-fix by @vitormattos in #594
New Contributors
- @Chris53897 made their first contribution in #587
- @vitormattos made their first contribution in #594
- @Stasky745 made their first contribution in #580
Full Changelog: v2.4.0...v2.5.0