Skip to content

Releases: Setasign/FPDI

FPDI 2.6.8

Choose a tag to compare

@github-actions github-actions released this 11 Jun 10:41

Fixes

  • Handle filter exceptions of faulty streams in Page::getContentStream() (fixes #252).

Tweaks

  • Optimized handling of recursion in xref-table parsing.

FPDI 2.6.7

Choose a tag to compare

@JanSlabon JanSlabon released this 13 May 10:18
388c51e

Fixes

  • Fixed handling of /Prev value in view to recursion when parsing cross-references.
  • Fixed handling of recursion in faulty page tree.

FPDI 2.6.6

Choose a tag to compare

@github-actions github-actions released this 13 Mar 08:42

Fixes

  • Fixed generation of internal reader-id in FpdiTrait.
  • Clear Tokenizer stack in CrossReference constructor.

FPDI 2.6.5

Choose a tag to compare

@github-actions github-actions released this 11 Mar 08:37

Fixes

  • Fixed font issue in FpdfTplTrait.
  • Fixed PHP 8.5 compatibility in Ascii85 class.

Tweaks

  • Use fully qualified function names.
  • Replaced list() calls by array destructing via [].
  • Added #[\SensitiveParameter]-attribute to $parserParams parameter in all methods handling that parameter.
  • Dropped support for PHP 7.1 due to security issues in legacy dependencies.

FPDI 2.6.4

Choose a tag to compare

@github-actions github-actions released this 05 Aug 09:59

Fixes

  • Fixed handling of recursive structures to avoid memory exhaustion (CVE-2025-54869).

Tweaks

  • Added check for false of return value of StreamReader::readBytes() in CrossReference\FixedReader to avoid PHP warning.

FPDI 2.6.3

Choose a tag to compare

@github-actions github-actions released this 05 Feb 13:25

Fixes

  • Added missing PdfType::resolve() calls in readPages() method (via #227).

Tweaks

  • Dropped support for PHP 5.6 + 7.0 due to missing support in major dependencies.
  • Reverted fix for implicitly nullable parameter declarations.

FPDI 2.6.2

Choose a tag to compare

@github-actions github-actions released this 10 Dec 13:14

Fixes

  • Fixed importing of links in none PDFDocEncoding.
  • Fixed handling of faulty dictionaries.

Tweaks

  • Fixed some small type inspection issues.

FPDI 2.6.1

Choose a tag to compare

@github-actions github-actions released this 02 Sep 10:20

Fixes

  • Fixed handling of imported pages in templates with another unit than "pt" by @JanSlabon in #217

Tweaks

FPDI 2.6.0

Choose a tag to compare

@github-actions github-actions released this 11 Dec 16:25

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

Choose a tag to compare

@github-actions github-actions released this 28 Sep 10:47

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.