Skip to content

Latest commit

 

History

History
124 lines (70 loc) · 3.89 KB

CHANGELOG.md

File metadata and controls

124 lines (70 loc) · 3.89 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

tbd

0.6 – 2018-06-21

Happy summer time ⛱️

Changed

  • Throw SPL exceptions to provide you more semantics on errors
  • CMDBWorkstationComponents: Re-named methods readByEmail() and readByEmails()
  • Require PHP >= 7.1 on dev/ci environments (only relevant if you want to contribute)

Fixed

  • CMDBCategory::clear(): Archiving zero category entries results in a broken API request

0.5 – 2018-04-25

Added

  • CMDBCategoryInfo::readAll(): Try to fetch information about all available categories
  • API::request(): Allow to overwrite language parameter
  • Enhance unit tests, mostly for testing fixed bugs in i-doit 1.10.2 and API add-on 1.9.1

Changed

  • HTTP body message from server response will be added to thrown exception if request fails with unknown error
  • CMDBCategory::batchUpdate returns itself (neither the result nor the entry identifiers)

Fixed

  • CMDBCategory::readFirst() now returns an empty array [] instead of false (boolean)
  • Validation error for missing proxy settings while proxy is disabled by proxy.active=false

0.4 – 2018-02-21

Added

  • Archive category entries for a specific object with CMDBCategory::clear()
  • Create, read, update and delete monitoring instances (monitoring add-on)
  • Create, read, update and delete static host tags (Check_MK add-on)
  • Update several category entries with CMDBCategory::batchUpdate()
  • List requirements in documentation
  • More assertions in unit tests

Changed

  • Bump required versions of i-doit (>= 1.10) and its API add-on (>= 1.9)
  • Remove idoitapi.php because Composer is the prefered way to use
  • Require entry identifier in methods CMDBCategory::archive(), delete() and purge()
  • Methods cmdb.category.create, cmdb.category_info.read (and others, too) do not need parameters catg or cats. Parameter category seems to be sufficient.
  • Make CMDBCategory::purge() a lot faster due to method cmdb.category.quickpurge
  • Return empty array for reports with no results (class CMDBReports)
  • Remove many dependencies from unit tests

Fixed

  • Use correct setting for proxy type and check if username is set

0.3 – 2017-07-25

Added

  • Check whether connection timed out or i-doit host sends HTTP status code that indicates something went wrong
  • Throw more useful exceptions when connection to Web server failed
  • Throw exception in method CMDBObject::load() when object not found
  • Limit batch requests in Select::find()

0.2 – 2017-04-05

Added

  • Upload image files with class Image
  • Get last server response with method API::getLastResponse()
  • Find more objects by their attributes with method Select::find()
  • Script for debugging purposes in README.md
  • Many more unit tests

Fixed

  • Broken batch request in method Image::batchAdd()
  • Broken error message in method CMDBCategory::batchCreate()
  • In a batch request sub results have no key id in method CMDBCategory::batchCreate()
  • Broken Exception message in CMDBObject::upsert()
  • Typos in README.md

[0.1] – 2017-02-09

Initial release