Skip to content

Latest commit

 

History

History
8 lines (7 loc) · 910 Bytes

File metadata and controls

8 lines (7 loc) · 910 Bytes

Upgrading from 2.x to 3.x

  • 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 documents
  • Dictionary::getType() and Dictionary::getSubType() now have a new first argument: Document $document.
  • ColorSpace::getComponents() now requires an instance of Document as an argument
  • RasterizedImage::toPNG() now requires an instance of Document as an argument