Releases: Art-of-WiFi/UniFi-API-client
Releases · Art-of-WiFi/UniFi-API-client
API client class v1.1.94
- 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
- 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
- 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
- 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
- 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
API client class v1.1.88
- 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
- further code clean up and refactoring to pass more phpstan tests
API client class v1.1.86
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
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