Skip to content

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

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

API client class v1.1.92

06 Aug 10:33
Compare
Choose a tag to compare
  • further reformatting of notes in the doc blocks
  • reformatted single-line comments
  • merged #232, added days parameter to generate_backup() method, contributed by @Jacobtims

API client class v1.1.91

31 Jul 08:57
Compare
Choose a tag to compare
  • added `delete_admin()`` method, contributed by @Jacobtims
  • merged PR #228 to add update_admin(), contributed by @Jacobtims
  • reformatting of notes in the doc blocks

API client class v1.1.90

27 Feb 17:49
Compare
Choose a tag to compare
  • remove existing x-csrf-token headers before adding a new one, apparently UniFi OS does not like multiple x-csrf-tokens in the same request

API client class v1.1.89

11 Feb 16:26
Compare
Choose a tag to compare
  • added create_tag(), set_tagged_devices(), get_tag(), and delete_tag() methods to manage tags, contributed by @brenard, #205

API client class v1.1.88

11 Feb 13:47
Compare
Choose a tag to compare
  • added list_fingerprint_devices() method to list fingerprints for clients devices, contributed by @dream-rhythm, #213
  • minor code clean up

API client class v1.1.87

11 Feb 11:34
Compare
Choose a tag to compare
  • further code clean up and refactoring to pass more phpstan tests

API client class v1.1.86

10 Feb 12:28
Compare
Choose a tag to compare

API client class v1.1.86

  • fixes issue with curl_init() returning CurlHandle class objects instead of curl handlers with PHP 8 and higher

API client class v1.1.85

10 Feb 11:16
Compare
Choose a tag to compare

API client class v1.1.85

  • removed unnecessary type casting in several methods
  • fixed return type hinting in several methods where return type needed to be array|bool instead of just array
  • relaxed parameter type hinting in the constructor to allow for null values for several parameters that have sensible defaults, reported by @pbksol
  • using phpstan, the class passes level 5 checks