Changelogs & Release Notes

Show changelog from version to

7 Bugfixes
6 Features
9 Tweaks
SetaPDF-Signer Component
Feature
  • Refactored OpenSslCli and OpenSslCliCms classes and implemented the setDigest() and getDigest() methods in the OpenSslCli class.
  • Implemented native CMS signature module.
  • Implemented PAdES (BES/B-B) signature module.
Change
  • System requirements: Minimum PHP version changed to PHP 5.4.
  • Implemented several module interfaces to allow a module to interact with the document instance and the signature dictionary. Also some method signatures of the Signer class were changed to allow passing the modules through.
  • Changed method signature of createSignature() in SetaPDF_Signer_Signature_Module_ModuleInterface interface.
Bugfix
  • Fixed adding of timestamp attribute if other unsigned attributes or the main structure already exists.
Tweak
  • Refactored SetaPDF_Signer_Digest class.
  • Optimized error handling in OpenSSL module.
  • Added interface for signature modules that support individual digest algorithms: SetaPDF_Signer_DigestInterface
  • Added checks for valid digest algorithms parameter.
SetaPDF-Core Component
Feature
  • Added possibility to add custom glyph names and callbacks which are used by SetaPDF_Core_Font_Glyph_List::byName().
  • Added more logic from the Adobe Glyph List specification to the Glyph List class.
  • Added new pdf parser class to parse tokens without object initiation (a kind of lightweight parser for content streams).
Bugfix
  • Fixed resolving of Differences array in simple fonts (if it is referenced by an indirect object).
  • Fixed resolving of pages in page tree structure in SetaPDF_Core_Document_Pages::_ensureAllPageObjects().
  • Fixed faulty encoding value in ZapfDingbats and Symbol font.
  • Fixed handling of Differences array in fonts encoding dictionary.
  • Fixed missing parameter in SetaPDF_Core_Document_Page_Annotation_BorderStyle::getDictionary() calls.
  • Fixed observing in __wakeup() method of indirect objects.
Tweak
  • Use sys_get_temp_dir() as default directory path for temporary files in SetaPDF_Core_Writer_TempFile.
  • Added static method createTempFile() to SetaPDF_Core_Writer_TempFile to allow creation of temporary files with specified content.
  • Optimized pdf parser classes to reduce reader/tokenizer method calls.
  • Increased default $length parameter in SetaPDF_Core_Reader_String::increaseLength() to reduce method calls (performance gain).
  • Optimized tokenizer class to reduce reader method calls.