|
1 | 1 | ## Changelog
|
2 | 2 |
|
| 3 | +### Release 1.0.0 |
| 4 | + |
| 5 | +#### Features |
| 6 | +- add `ssl_verify` parameter |
| 7 | +- add `wait_events` parameter |
| 8 | +- implement context manager for UptimeKumaApi class |
| 9 | +- drop Python 3.6 support |
| 10 | +- implement `get_monitor_status` helper method |
| 11 | +- implement timeouts for all methods (`timeout` parameter) |
| 12 | +- add support for uptime kuma 1.21.3 |
| 13 | +- drop support for Uptime Kuma versions < 1.21.3 |
| 14 | +- check for required notification arguments |
| 15 | +- raise exception when deleting an element that does not exist |
| 16 | +- replace raw return values with enum values |
| 17 | + |
| 18 | +#### Bugfixes |
| 19 | +- adjust monitor `status` type to allow all used values |
| 20 | +- fix memory leak |
| 21 | + |
| 22 | +#### BREAKING CHANGES |
| 23 | +- Python 3.7+ required |
| 24 | +- maintenance parameter `timezone` renamed to `timezoneOption` |
| 25 | +- 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. |
| 26 | +- changed return values of methods `get_heartbeats`, `get_important_heartbeats`, `avg_ping`, `uptime`, `get_heartbeat`, `cert_info` |
| 27 | +- Uptime Kuma versions < 1.21.3 are not supported in uptime-kuma-api 1.0.0+ |
| 28 | +- Removed the `get_heartbeat` method. This method was never intended to retrieve information. Use `get_heartbeats` or `get_important_heartbeats` instead. |
| 29 | +- Types of return values changed to enum values: |
| 30 | + - monitor: `type` (str -> MonitorType), `status` (bool -> MonitorStatus), `authMethod` (str -> AuthMethod) |
| 31 | + - notification: `type` (str -> NotificationType) |
| 32 | + - docker host: `dockerType` (str -> DockerType) |
| 33 | + - status page: `style` (str -> IncidentStyle) |
| 34 | + - maintenance: `strategy` (str -> MaintenanceStrategy) |
| 35 | + - proxy: `protocol` (str -> ProxyProtocol) |
| 36 | + |
3 | 37 | ### Release 0.13.0
|
4 | 38 |
|
5 | 39 | #### Feature
|
|
0 commit comments