News Archive

PHP 8.5 compatibility available in SetaPDF 2.50.0.2246!2026-01-15

We hope you had a great start to the new year!

PHP 8.5 was released shortly before the end of the year. We are now following suit and releasing the new version 2.50 of all SetaPDF components to ensure compatibility. Our entire test suite is running smoothly and successfully 🥳!

In addition, various things have been optimized and corrected. You can find all further information in the release notes below.

Check the release notes of the components below.
Log in to download the latest version of the related packages!

switch product

Version 2.50.0.2246

Release date: 2026-01-15
SetaPDF-Core Component
Feature
  • Added Document::setXrefCompressionFilter() method to allow control over the compression filter of cross-reference streams.
  • Added $compressionFilter parameter to constructor of ObjectStreamCompressor to allow control over the compression filter of object streams.
  • Added handling of BrotliDecode filter (This compression type will be included in the PDF specification in the near future).
  • Added support for wildcard (*) operator in Parser\Content class.
Bugfix
  • Fixed compatibility with PHP 8.5.
Tweak
  • Added $force parameter to PdfStream::setStream() to force e.g. compression if a Filter value was added to the stream dictionary.
  • Improved handling of recursive structures in all ObjectCollector classes.
  • Collect font objects of XObjects (recursively) in ObjectCollector\Fonts class.
  • Harden data types by using ensureType() calls and explicit data type checks.