Changelogs & Release Notes

Show changelog from version to

6 Bugfixes
2 Features
12 Tweaks
SetaPDF-Signer Component
Bugfix
  • Fixed logging in SetaPDF_Signer_X509_Extension_AuthorityInformationAccess when used with a cache instance.
  • Fixed caching of CRL responses.
Tweak
  • Added status code to log message for bad OCSP responses.
  • Fixed typo in log message for SetaPDF_Signer_ValidationRelatedInfo_Collector class.
  • Use certificates embedded in timestamp token for further processing.
  • Harden data types by using SetaPDF_Core_Type_*::ensureType() calls.
  • Code style, doc-block optimizations and cleanup.
SetaPDF-Core Component
Feature
  • Added static ensureType() method to all PDF type classes.
  • Added optional $ensure parameter to SetaPDF_Core_Type_Array::toPhp() to automatically ensure the final value by resolving indirect references.
Bugfix
  • Update non-permanent file identifier if it is defined as an indirect reference.
  • Fixed check for expected values in PDF parser class, if no token was found at all (resulted in an "Undefined array key" error before).
  • Fixed handling in SetaPDF_Core_Document_Action_Launch::getFileSpecification() if no file specification is defined.
  • Aligned SetaPDF_Core_Document_Catalog_ViewerPreferences::getPrintPageRange() to return not zero based page numbers but real page numbers.
Tweak
  • Update document identifier correctly, if ID is an indirect reference (write a direct object instead).
  • Harden data types by using SetaPDF_Core_Type_*::ensureType() calls.
  • Automatically observe values/objects resolved by SetaPDF_Core_Type_Dictionary_Helper::getValue().
  • Code style optimizations and cleanup.
  • Optimized encoding handling of Typo0 fonts without a ToUnicode map.
  • Ignore indirect references to indirect objects with an id of 0 (zero).
  • Code style, doc-block optimizations and cleanup.