- Dropped support for PHP8.1. It already hasn't got security updates since the start of the year, so please upgrade your PHP version if this affects you.
- All internal classes with readonly properties have now become readonly classes. If you extend any of these in your own code, the extending class should also be marked as readonly.
Dictionary::getValueForKey()now has a new first argument:Document $document. This is needed to resolve any references and decrypt values in encrypted documentsDictionary::getType()andDictionary::getSubType()now have a new first argument:Document $document.ColorSpace::getComponents()now requires an instance ofDocumentas an argumentRasterizedImage::toPNG()now requires an instance ofDocumentas an argument