Skip to content
  • v0.18.2
  • b6db6aa
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.18.2
  • b6db6aa
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Feb 25, 2021

Maintenance release

  • Bugfix for #391 (Uncaught Error: Call to undefined method Smalot\PdfParser\Header::__toString() in /var/www/vendor/smalot/pdfparser/src/Smalot/PdfParser/Font.php) (thanks @fsmoak)
  • Addition of an alternative autoloader for non-Composer installations (#388). Based on the work of @apmuthu and others from #117.
Assets 2
  • v0.18.1
  • b47f264
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.18.1
  • b47f264
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Jan 12, 2021 · 2 commits to master since this release

Bug fix release

Fixes an infinite loop (and memory leak) if xref table is corrupted. For more information see #377 and #372. Thanks @partulaj!

Assets 2
  • v0.18.0
  • 8b8a157
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.18.0
  • 8b8a157
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Dec 30, 2020 · 3 commits to master since this release

🎆 Happy new year release! 🧨

A few bug fixes and improvements.

Fixes:

  • Implemented missing __toString method in Encoding.php (thanks @tomlutzenberger, #378).
  • In Header.php make sure init is only called if $element is of type Element (thanks @lukgru, #380).

Improvements:

  • Improved performance in ElementName.php (thanks @mardc21, #369)
  • Added a config object to adapt default values like font space limit (thanks @k00ni, #375). Further values may be ported in future versions.
  • Switch from Travis to Github Actions (thanks @j0k3r, #376)
Assets 2
  • v0.17.1
  • dc1e422
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.17.1
  • dc1e422
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Oct 30, 2020 · 12 commits to master since this release

Hot fix release for a problem in PdfParser\Encoding\PostScriptGlyphs.php, for instance:

Notice: Undefined offset: 67 in pdfparser\src\Smalot\PdfParser\Encoding\PostScriptGlyphs.php on line 1091

Related issues: #359, #360

Assets 2
  • v0.17.0
  • 722061c
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.17.0
  • 722061c
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Oct 12, 2020 · 13 commits to master since this release

Bug fix release with a few improvements and a new composer dependency.

Highlights:

  • added symfony/polyfill-mbstring to improve PHP 8 support (#337)
  • reverted 4f4fd10 and preserving fix for #260, fixing #319, #322 and #334 (#342)
  • revived #257: Properly decode ANSI encodings (#349)
  • allow for line breaks when splitting xrefs for id and position, fixes #19 (#345)
  • Document::getPages() should only ever return elements of type 'Page' (#350)
  • rely on getTextArray() in getDataTm() to extract the texts (#340)
  • fix missing BT command before each section (could result in wrong coordinates) and its resetting of Tm (#341)
Assets 2
  • v0.16.2
  • 5faf073
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.16.2
  • 5faf073
  • Compare
    Choose a tag to compare
    Search for a tag

@j0k3r j0k3r released this Aug 31, 2020 · 24 commits to master since this release

Bugfix release.

Fixes

Assets 2
  • 0.16.1
  • bc4ebf8
  • Compare
    Choose a tag to compare
    Search for a tag
  • 0.16.1
  • bc4ebf8
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Jun 29, 2020 · 29 commits to master since this release

Bugfix release.

Fixes

Assets 2
  • v0.16.0
  • fb0ff39
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.16.0
  • fb0ff39
  • Compare
    Choose a tag to compare
    Search for a tag

@k00ni k00ni released this Jun 19, 2020 · 31 commits to master since this release

This release contains a lot of refinements and some fixes.

New features

Changes

  • Composer dependencies:
    • removed tecnickcom/tcpdf - see #299
    • removed atoum/atoum
    • added phpunit/phpunit
  • we ported all Atoum tests to PHPUnit - see #300
  • added further tools (like Scrutinizer, PHPStan) to improve maintenance for us and help PDFParser hackers
  • allow tests to run on PHP 8
Assets 2
  • v0.15.1
  • 6bc9dcb
  • Compare
    Choose a tag to compare
    Search for a tag
  • v0.15.1
  • 6bc9dcb
  • Compare
    Choose a tag to compare
    Search for a tag

@j0k3r j0k3r released this May 29, 2020 · 78 commits to master since this release

🛠 It's a small maintenance update.

We raised some dependencies to ensure people aren't running the library with too much outdated deps.
For example, we raised tecnickcom/tcpdf to ^6.2.22 to ensure people aren't running the version containing a security issue (see https://packagist.org/packages/tecnickcom/tcpdf/advisories?version=2463879).

The library wasn't tested for PHP version < 5.6 so we drop minimum PHP version to 5.6.
There is a new test build which check the library is running ok on the lowest dependencies available.

We also introduced PHP-CS-Fixer (mainly for developement) to ensure coding styles is ok.

Last but not least, there are new maintainers of the lib along with @smalot:

Merged PRs:

  • Define lowest deps #290
  • Add FriendsOfPHP/PHP-CS-Fixer to "require-dev" to enforce coding styles #292
Assets 2

@smalot smalot released this Apr 21, 2020 · 89 commits to master since this release

v0.15.0

Some fixes from community
Assets 2