Releases: Art-of-WiFi/UniFi-API-client
Releases · Art-of-WiFi/UniFi-API-client
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
API client class v1.1.81
- hotfix to address cookie issues in UniFi OS 3.2.7, reported by @tflatebo
- fixed minor typos
- minor code reformatting of the examples
- starting with this release, cookies are no longer supported when connecting to a UniFi OS-based controller
- added set_vlan_to_port.php example, contributed by @SamuelSchnelly, #203
- allow additional parameters in
create_wlan()
's payload, contributed by @sgrodzicki, #191
API client class v1.1.80
- added generate_backup_site() method, contributed by @labo-jad
- added stat/device-basic endpoint #188, contributed by @sgrodzicki
API client class v1.1.79
- updated README to reflect support for 7.X
get_last_error_message()
now always returns a string which is empty if no message is available- applied PR #151 in slightly different way for consistency with other similar code sections, contributed by @banakito
- changed default argument values in several methods/functions from null to an empty string
API client class v1.1.78
- fixed
create_radius_account()
method to make Tunnel Type and Medium optional parameters, reported by @CodeByJacob