Skip to content

Releases: Art-of-WiFi/UniFi-API-client

API client class 2.0.0

25 Nov 17:04
Compare
Choose a tag to compare
Pre-release
  • main change is the introduction of Exceptions for improved error handling
  • removed usages of the PHP trigger_error() function
  • several other minor changes
  • added an example of Exception handling to the README
  • updated the examples/list_alarms.php file to demonstrate Exception handling

Important note

Use this first release in the new 2.X branch with care, it has not yet been tested in live production environments!

API client class 1.1.101

15 Nov 09:35
Compare
Choose a tag to compare
  • added a private property $cookies_created_at to store the timestamp when the cookies were created/updated.
  • added a getter method get_cookies_created_at() to return the timestamp when the cookies were created/updated.
  • this information can be useful to determine how old the cookies are.
  • minor comments clean up.

API client class 1.1.100

29 Oct 11:17
Compare
Choose a tag to compare
  • fixed incorrect return type for create_voucher(), reported by @pa-

API client class v1.1.99

23 Oct 11:34
Compare
Choose a tag to compare
  • added get_system_log() method to get data from the system logs, returns paged results (see code comments for further details on how to control the paging)
  • minor formatting changes

API client class v1.1.98

17 Oct 14:45
Compare
Choose a tag to compare
  • merged #244 for a small change to the start_rolling_upgrade() method, contributed by @Jacobtims
  • minor additional change to allow changes to the payload of the start_rolling_upgrade() method

API client class v1.1.97

17 Oct 13:05
Compare
Choose a tag to compare
  • merged #243 to fix payload for the start_rolling_upgrade() method, contributed by @Jacobtims

API client class v1.1.96

14 Oct 12:39
Compare
Choose a tag to compare
  • bumped version to 1.1.96
  • removed version tag in docblock as it contained redundant information
  • merged #241 which adds a method to download a generated backup, (contributed by @Jacobtims)

API client class v1.1.95

07 Oct 10:57
Compare
Choose a tag to compare
  • added ability to pass an array of attributes to fetch with AP and site stats
  • general minor clean up
  • bumped version to 1.1.95

API client class v1.1.94

12 Aug 08:25
Compare
Choose a tag to compare
  • minor fix based on Scrutinizer feedback
  • re-added update_admin() method to the class; for some reason, the merge of #228 contributed by @Jacobtims was unsuccessful

API client class v1.1.93

07 Aug 14:04
Compare
Choose a tag to compare
  • added the migrate_device() method to migrate one or more devices from one controller to another
  • added the cancel_migrate_device() method to cancel the migration for one or more devices
  • added the upgrade_all_devices() method to upgrade all devices of a selected type to the latest firmware version
  • changed the force_provision() method to allow for multiple MAC addresses to be passed as a parameter
  • minor changes to a number of doc-blocks
  • general changes for improved consistency and readability