Skip to content

Releases: Setasign/FPDI

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.

FPDI 2.3.1

10 Mar 15:34
f58e64e
Compare
Choose a tag to compare

Fixes

  • Fixed reading of page tree with uncommon structures (#87).

Tweaks

  • Optimized handling of uncommon FlateDecode streams.

FPDI 2.3.0

19 Feb 11:36
ff7e43e
Compare
Choose a tag to compare

Fixes

  • Optimized decoding in Ascii85 filter class.
  • Fixed PHP 7.4 compatibility issue when calling hexdec() with invalid characters.

Features

  • Added support for tFPDF 1.31 which is based on FPDF 1.82.

Tweaks

  • Updated copyright information.

FPDI 2.2.0

30 Jan 14:31
3c26600
Compare
Choose a tag to compare

Fixes

  • Added cleanUp() method in FpdiTrait and StreamReader to close open file handles when they are not used anymore (#70).

Features

  • Added support for handling FlateDecode streams that uses CRC32 checksum.
  • Added support for indirect references in /Length values of stream dictionaries.
  • Added support for reading streams with an invalid /Length value.

Tweaks

  • Use fully-qualified function calls.
  • Fixed wording in various DocBlocks.

FPDI 2.1.1

06 Nov 10:02
356de9c
Compare
Choose a tag to compare

Fixes

  • Fixed handling of startxref == 0 with only a single cross-reference.

FPDI 2.1.0

13 Sep 15:08
99a3181
Compare
Choose a tag to compare

Fixes

  • Save colors in FpdfTpl state. (#51)
  • Ignore cross-reference pointers to byte offset 0. (#55 / #58)

Features

  • Added support for tFPDF.
  • Optimized PdfParser::readValue() to handle an expected object type and implemented this on various calls. (#22)

Tweaks

  • Moved Fpdi\TcpdfFpdi to Fpdi\Tcpdf\Fpdi (the old class still exists but is marked as deprecated).
  • Optimized DocBlocks and code style.

FPDI 2.0.3

18 Apr 13:09
5998a2f
Compare
Choose a tag to compare

Fixes

  • Prohibit calling of AddPage() or setPageFormat() if a template is active. (#45)
  • Save "underline" property in FpdfTpl. (#44)

Features

  • Added $groupXObject parameter to FpdfTpl::beginTemplate() method. (#25)

FPDI 2.0.2

22 Feb 09:07
a101604
Compare
Choose a tag to compare

Fixes

  • Added support for escaped version numbers in Version (name) entry in document catalog.
  • Check parser instance in destruct method.

Tweaks

  • Fixed interchanged parameters in doc-block (#40).
  • Added .gitattributes to remove irrelevant files from release package.

FPDI 2.0.1

14 Nov 15:45
879dd95
Compare
Choose a tag to compare

Fixes

  • Optimize closing of file handle in StreamReader class. (#30)

Tweaks

  • All internal function calls are FQN calls now.
  • Added @noinspection annotations.

FPDI 2.0.0

12 Oct 14:21
Compare
Choose a tag to compare

Final release of FPDI 2:

  • Namespaced code
  • Clean and up-to-date code base and style
  • PSR-4 compatible autoloading
  • Performance improvements by up to 100%
  • Less memory consumption
  • Native support for reading PDFs from strings or stream-resources
  • Support for documents with "invalid" data before their file-header
  • Optimized page tree resolving
  • Usage of individual exceptions
  • Several test types (unit, functional and visual tests)