Skip to content

Releases

v6.0.0

Choose a tag to compare

@ma4nn ma4nn released this 09 Aug 07:58
40153cc

Added

  • PaperSize model and UnsupportedPaperSizeException

Changed

  • Breaking: Supported paper sizes limited to a3, a4, a5, letter and legal - Config::setPdfSize()
    validates and normalizes the given size right away
  • Breaking: Vianetz\Pdf\Exception is an interface now instead of a base class - catching it is
    unaffected and covers FileNotFoundException as well now
  • Our exceptions extend the SPL exception matching their nature, i.e. \RuntimeException or
    \InvalidArgumentException
  • Mergers that cannot handle attachments throw a \LogicException

Fixed

  • Missing or unreadable files result in a FileNotFoundException instead of an empty document
  • Attachments added after a first render are no longer silently dropped
  • An empty Pdfable document results in a NoDataException instead of a pdf parser error

v5.0.0

Choose a tag to compare

@ma4nn ma4nn released this 10 Jan 09:31
  • Added merger for Zugferd PDFs, i.e. PDFs with XML attachments
  • Replaced TCPDF with Fpdf library for merging as default (both libraries supported now)
  • Updated several public interfaces to support type hints and make purpose clearer
  • Removed deprecated ZendPdf merger

v4.0.2

Choose a tag to compare

@ma4nn ma4nn released this 13 Oct 08:16
  • Updated dompdf library to 3.x

v4.0.1

Choose a tag to compare

@ma4nn ma4nn released this 10 Nov 07:25

Fixed

  • Issue with total page count not being replaced for some font families

v4.0.0

Choose a tag to compare

@ma4nn ma4nn released this 10 Nov 07:22

Changed

  • Raised minimum PHP version to 7.4
  • Small refactorings for typehints
  • Debug file appends content now

Fixed

  • Issue with pdf author not being set correctly