github Art-of-WiFi/UniFi-API-client v2.4.3
API client class v2.4.3

39 minutes ago

What's changed

  • Fix: requests after an expired session could go to the wrong URL. When a username/password session expired,
    the client logged in again automatically and retried the request, but lost the information that UniFi OS system
    requests (such as get_update_os_console()) must not get the /proxy/network prefix. The retry now goes to the
    same URL as the original request.
  • Fix: stat_5minutes_user() without a MAC address no longer triggers a PHP deprecation notice on PHP 8.1 and
    later, and no longer sends an empty MAC filter to the controller; it now behaves like stat_hourly_user(),
    stat_daily_user() and stat_monthly_user().
  • Fix: the constructor accepts null for $site and $version, as its signature already said, and uses the
    default values ('default' and '8.0.28'). Passing null used to end in a TypeError.

Full changelog: v2.4.2...v2.4.3

Don't miss a new UniFi-API-client release

NewReleases is sending notifications on new releases.