Skip to content

Releases: Setasign/FPDI

FPDI 2.6.0

11 Dec 16:25
Compare
Choose a tag to compare

Fixes

  • Ignore undefined objects in link annotation logic (fixes #191).
  • Flatten indirect references in imported annotation dictionaries (fixes #195).

Tweaks

  • Ensure newline before endobj token (fixes #184).
  • Optimized fallback logic in flate decode method.
  • Added tests for PHP 8.3.

Features

  • Added PdfType::flatten() method, which flattens indirect objects to direct objects.

FPDI 2.5.0

28 Sep 10:47
Compare
Choose a tag to compare

Fixes

  • Catch faulty stream wrapper implementations in StreamReader constructor.

Tweaks

  • Optimized parameter naming in PdfIndirectObject::parse().
  • Moved value parsing into explicit methods.
  • Optimized doc-blocks.

Features

  • Added PdfString::escape() method.
  • Add support for handling of Crypt filter in PdfStream class.

FPDI 2.4.1

27 Jul 08:12
f4ba73e
Compare
Choose a tag to compare

Bugfix

  • Fixed bug if FPDI is used in mPDF (fixes #177).

FPDI 2.4.0

26 Jul 14:38
c9cadc8
Compare
Choose a tag to compare

Features

  • Add support for importing external links/link annotations with an URI action.

Tweaks

  • Use window size of 31 in decompression fallback for FlateDecode filter.

FPDI 2.3.7

09 Feb 10:45
Compare
Choose a tag to compare

Fixes

  • Fixed rare bug in LZW decoding.

Tweaks

  • Added @return doc-block to some methods (fixes #152).
  • Added local test which imports layer definitions.
  • Added local test to access Info dictionary of the source file.
  • Verified compatibility with FPDF 1.85.
  • Optimized support for ignoring faulty structures in page tree.

FPDI 2.3.6

11 Feb 11:41
Compare
Choose a tag to compare

Fixes

  • Fixed handling of faulty structures in Contents entry (fixes #130).

FPDI 2.3.5

03 Dec 13:44
Compare
Choose a tag to compare

Fixes

  • Added support for PHP 8.0.

Tweaks

  • Updated PHPUnit tests.

FPDI 2.3.4

27 Aug 07:53
Compare
Choose a tag to compare

Fixes

  • Fixed fallback in Filter\Flate::decode().
  • Fixed minor documentation errors in doc blocks.
  • Supressed notice in flate filter for PHP 8.0.

Tweaks

  • Micro optimization of LineReader::extract().
  • Added visual tests to testsuite.
  • Added PHP_CodeSniffer and PHPStan inspections.

FPDI 2.3.3

28 Apr 12:50
50c3888
Compare
Choose a tag to compare

Tweaks

  • Handle streams with invisible content (white signs) and a length of 0.

FPDI 2.3.2

23 Mar 15:54
5277614
Compare
Choose a tag to compare

Tweaks

  • Throw explicit exception in case of invalid object type at xref offset.