Releases: Art-of-WiFi/UniFi-API-client
Releases · Art-of-WiFi/UniFi-API-client
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
API client class v1.1.84
- PHP 7.4 is now the minimum required version
- updated the code for 7.4. specific features such as parameter type hinting, return types, etc.
- added the ability to the constructor to change the key that is used to store the unificookie in the session,
($_SESSION['unificookie']
is used by default), this is useful when running multiple applications on the same server
API client class v1.1.83
- added a
accept: application/json
header to the login requests - re-added support for cookies when working with a UniFi OS-based controller
API client class v1.1.82
- allow filtering by multiple MAC addresses in list_devices(), contributed by @sgrodzicki, #189