Changelogs & Release Notes

Show changelog from version to

11 Bugfixes
4 Features
13 Tweaks
SetaPDF-Signer Component
Feature
  • Added SetaPDF_Signer_Ocsp_Client::setHttpResolver() method.
  • Add setOptimizeOcspResponses() and getOptimizeOcspResponses() methods to SetaPDF_Signer_DocumentSecurityStore class to control whether the optional certificate field in the OCSP response should be kept or removed (default - as the certificate is normally passed to addCertificates(), too).
Bugfix
  • Handle invalid OCSP responses (e.g. 503 error messages) in SetaPDF_Signer_Ocsp_Client class.
  • Fixed faulty handling of OCSP responses with a version value in its tbsResponseData element.
  • Fixed resolving of integer value in SetaPDF_Signer_Ocsp_SingleResponse::getCertStatus() method.
Tweak
  • Moved static helper method getSignatureFieldNames() from SetaPDF_Signer_ValidationRelatedInfo_Collector class to SetaPDF_Signer.
SetaPDF-Core Component
Feature
  • Added Catalog::getDests() method and related helper class.
  • Added public $metadata property to all PDF types.
Bugfix
  • Check for a reader instance in SetaPDF_Core_Parser_Pdf to avoid fatal errors if the parser is used after its related document instance is finished.
  • Added null-byte as a valid separator/white-space in offset table of object streams.
  • Encrypt non-document-level metadata if security handler is configured to not encrypt metadata.
  • Added support for destination arrays with numeric page parameter.
  • Handle unsuccessful decryption of AES encrypted strings.
  • Execute write-callbacks in PDF types in the context of the writing document instance instead of the origin.
  • Fixed parsing of JPEG files with DRI marker.
  • Fixed Annotations::remove() method: Ignore document instance origin when comparing indirect references in Annots array with indirect object of the annotation.
Tweak
  • Keep float/real notation when writing absolute numeric value.
  • Code style, doc-block optimizations and cleanup.
  • Added several methods to the SetaPDF_Core_Parser_CrossReferenceTable_CrossReferenceTableInterface.
  • Added ensureType() method to SetaPDF_Core_Type_ObjectStream class.
  • Do not unfilter object streams twice but only once.
  • Optimized recognition of unencrypted metadata in stream object.
  • Added support for named destinations during creation of Link annotations.
  • Optimized Destination::findByName() method to use new Dests helper class.
  • Optimized OutlinesItem class in view to mandatory indirect reference in constructor.
  • Use indirect references (if available) for destinations in OutlinesItem class instead of using the raw destination array throughout.
  • Optimized handling of faulty PDF files.
  • Optimized creation of link annotations (use existing indirect references if possible).