Changelog of version 1.x

 SDK for .PHP 1.x

v1.2.1

  • Released 2022-08-23
  • Fix bug when sending the property parameter key.
  • WorkflowService
    • New method
      • function registerProcessDefinition($content)
      • function deleteProcessDefinition($pdId)
      • function getProcessDefinition($pdId)
      • function runProcessDefinition($pdId, $uuid, $formElements = [])
      • function findAllProcessDefinitions()
      • function findProcessInstances($pdId)
      • function findLatestProcessDefinitions()
      • function findLastProcessDefinition($name)
      • function getProcessInstance($piId)
      • function findUserTaskInstances()
      • function findTaskInstances($piId)
      • function setTaskInstanceValues($tiId, $transName, $formElements = [])
      • function getTaskInstance($tiId)
      • function setTaskInstanceActorId($tiId, $actorId)
      • function startTaskInstance($tiId)
      • function endTaskInstance($tiId, $transName)
      • function getProcessDefinitionForms($pdId)

v1.2.0

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

v1.1.3

  • Released 2018-07-18
  • Document changes
    • Bugs
      • The getVersionHistory method is not returning the comment field
  • Search changes
    • Improvements
      • method public function phpQueryResult($queryResultXML);
  • Improvements
    • Added variable node in class QueryResult
    • Added variable attachment in class QueryResult
    • Remove variable document in class QueryResult
    • Remove variable folder in class QueryResult
    • Clean HTML input
    • Added PathUtils
    • Added FormUtils

v1.1.2

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

v1.1.1

  • Released 2016-06-17
  • Error corrected in creating exceptions implemented in all classes
    • Before throw new RepositoryException($error + ': ' + $msg)
    • Now throw new RepositoryException($error . ': ' . $msg);