Skip to content

chore(deps): update dependency uptime-kuma-api to v1

WALL-E requested to merge renovate/uptime-kuma-api-1.x into master

This MR contains the following updates:

Package Update Change
uptime-kuma-api major ==0.13.0 -> ==1.0.0

Release Notes

lucasheld/uptime-kuma-api

v1.0.0

Compare Source

Features
  • add ssl_verify parameter
  • add wait_events parameter
  • implement context manager for UptimeKumaApi class
  • drop Python 3.6 support
  • implement get_monitor_status helper method
  • implement timeouts for all methods (timeout parameter)
  • add support for uptime kuma 1.21.3
  • drop support for Uptime Kuma versions < 1.21.3
  • check for required notification arguments
  • raise exception when deleting an element that does not exist
  • replace raw return values with enum values
Bugfixes
  • adjust monitor status type to allow all used values
  • fix memory leak
BREAKING CHANGES
  • Python 3.7+ required
  • maintenance parameter timezone renamed to timezoneOption
  • Removed the wait_timeout parameter. Use the new timeout parameter instead. The timeout parameter specifies how many seconds the client should wait for the connection, an expected event or a server response.
  • changed return values of methods get_heartbeats, get_important_heartbeats, avg_ping, uptime, cert_info
  • Uptime Kuma versions < 1.21.3 are not supported in uptime-kuma-api 1.0.0+
  • Removed the get_heartbeat method. This method was never intended to retrieve information. Use get_heartbeats or get_important_heartbeats instead.
  • Types of return values changed to enum values:
    • monitor: type (str -> MonitorType), status (bool -> MonitorStatus), authMethod (str -> AuthMethod)
    • notification: type (str -> NotificationType)
    • docker host: dockerType (str -> DockerType)
    • status page: style (str -> IncidentStyle)
    • maintenance: strategy (str -> MaintenanceStrategy)
    • proxy: protocol (str -> ProxyProtocol)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about this update again.


  • If you want to rebase/retry this MR, check this box

Merge request reports

Loading