Changelog of version 2.x

SDK for PHP 2.x

v 2.6.2

  • Released 2020-10-07
  • Workflow changes
    • Bugs
      • Fixed the findUserTaskInstances in the changeSecurity method

v 2.6.1

  • Released 2018-12-20
  • Bugs
    • The phpPropertyGroup method in the ClientImpl class did not have a public access for all classes that used

v 2.6.0

  • Released 2018-09-10
  • Because we have introduced Swagger support the WS library has been updated thebehaviour of some methods have been changed. That means if you use version 2.5 or older with OpenKM version 6.4.45 or upper it will be raised and error. The methods affected are what return boolean or long values:
    • isCheckedOut
    • isLocked
    • getVersionHistorySize
    • isValidDocument
    • isValidFolder
    • isValidMail
    • isValidRecord
    • hasGroup
    • hasNode
    • saveSearch
  • Improvements
    • Refactoring the code

v 2.5.2

  • Released 2018-07-18
  • Auth changes
    • Bugs
      • Fixed the revokedUsers in the changeSecurity method
  • Document changes
    • Bugs
      • The get Version History method is returning the comment field
  • Mail changes
    • Changes
      • method public function sendMailWithAttachments($from, $toRecipients, $ccRecipients, $bccRecipients, $subject, $body, $docsId, $dstId);
  • Search changes
    • Added methods:
      • method public function findByQuery($query, $propertiesPlugin = null);
      • method public function findByQueryPaginated($query, $offset, $limit, $propertiesPlugin = null);
  • PropertyGroup changes
    • Bugs
      • Fixed the getPropertyGroupForm method call
  • Improvements
    • Clean HTML input 
    • Added the validators field in FormElement
    • Added PathUtils
    • Added FormUtils

v 2.5.1

  • Released 2017-10-11
  • Document changes
    • Deprecated methods:
      • public function createDocument(Document $document, $content)

v 2.5

  • Released 2017-01-02
  • Auth changes:
    • Added methods:
      • public function login()
  • Repository changes:
    • Added methods:
      • public List<ChangeLogged> getChangeLog(String nodePath, Calendar modificationsFrom)
    • Changes
      • method executePlugin(String className, Map<String, String> parameters, Class<?> clazz, InputStream is) now allows to uploading a document.
  • Document changes
    • Added methods:
      • public function getDifferences($docId, $v1, $v2);
      • public function getCheckedOut();
    • Changes
      • public function checkin($docId, $content, $comment, $increment);
  • Folder changes
    • Added methods:
      • public function createMissingFolders($fldPath)
    • Changes
      • public function extendedFolderCopy($fldId, $dstId, $categories, $keywords, $propertyGroups, $notes, $wiki, $newName);
  • Workflow changes
    • Added methods:
      • public function getProcessDefinitionForms($pdId)
  • Report:
    • Added methods:
      • public function getReports($active);
      • public function getReport($rpId);
      • public function executeReport($rpId, $params, $format);
  •  Improvements 
    • Added support for Reports.
    • Added variable hasRelation in class Node ( Document, Folder, Record and Mail related ).
    • The object HqlQueryResults now has a variables HqlQueryResultColumns what contains a list of columns ( related with method executeHqlQuery ).
    • Added params newName method extendedFolderCopy
  • Bugs
    • FormElement parentValue mapping solved ( only applicable for Select type ).

v 2.4

  • Released 2016-06-15
  • Auth changes:
    • Added methods:
      • public function createUser($user, $password, $email,$name, $active);
      • public function deleteUser($user);
      • public function updateUser($user, $password, $email, $name, $active);
      • public function createRole($role,$active);
      • public function deleteRole($role);
      • public function updateRole($role,$active);
      • public function assignRole($user,$role);
      • public function removeRole($user,$role);
      • public function changeSecurity(ChangeSecurity $changeSecurity);
  • Document changes: 
    • Added methods:
      • public function getAnnotations($docId, $verName);
    • Changes:
      • Now public function renameDocument($docId, $newName) returns Document object.
      • Method "setTitle" has been renamed in favour "setDocumentTitle" name.
  • Mail changes:
    • Added methods:
      • public function importEml($dstId, $title, $content);
      • public function importMsg($dstId, $title, $content);
      • public function setMailTitle($mailId, $title);
      • public function sendMail($subject, $body, $recipients = array());
    • Changes:
      • Added variable "newName" in extendedMailCopy method.
  • Reporsitory changes:
    • Added methods:
      • public function getConfiguration($key);
      • public function executePlugin($className, $parameters, $clazz, $content);
  • Search changes:
    • Changes:
      • Added variable "propertiesPlugin" in method find.
      • Added variable "propertiesPlugin" in method findPaginated.
  • Workflow:
    • Added Methods
      • public function registerProcessDefinition($content);
      • public function deleteProcessDefinition($pdId);
      • public function getProcessDefinition($pdId);
      • public function runProcessDefinition($pdId, $uuid, $formElements = array());
      • public function findAllProcessDefinitions();
      • public function findProcessInstances($pdId);   
      • public function findLatestProcessDefinitions();
      • public function findLastProcessDefinition($name);
      • public function getProcessInstance($piId);
      • public function findUserTaskInstances();
      • public function findTaskInstances($piId);
      • public function setTaskInstanceValues($tiId, $transName, $formElements = array());
      • public function getTaskInstance($tiId);
      • public function setTaskInstanceActorId($tiId, $actorId);
      • public function startTaskInstance($tiId);
      • public function endTaskInstance($tiId, $transName);
  • Added variables "language" and "title" in Document object.
  • Added Conversion support:
    • Added Methods:
      • public function doc2pdf($content, $fileName);

      • public function pdf2swf($content, $fileName);

      • public function imageConvert($content, $fileName, $params, $dstMimeType);

      • public function html2pdf($url);

      • public function doc2txt($content, $fileName);

      • public function img2txt($content, $fileName);

      • public function barcode2txt($content, $fileName);