bump version to 1.0.0
This commit is contained in:
parent
84d4009d6a
commit
a5a00aec9f
4 changed files with 39 additions and 5 deletions
34
CHANGELOG.md
34
CHANGELOG.md
|
@ -1,5 +1,39 @@
|
|||
## Changelog
|
||||
|
||||
### Release 1.0.0
|
||||
|
||||
#### 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`, `get_heartbeat`, `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)
|
||||
|
||||
### Release 0.13.0
|
||||
|
||||
#### Feature
|
||||
|
|
|
@ -10,10 +10,10 @@ Python version 3.7+ is required.
|
|||
|
||||
Supported Uptime Kuma versions:
|
||||
|
||||
| uptime-kuma-api | Uptime Kuma |
|
||||
| Uptime Kuma | uptime-kuma-api |
|
||||
|-----------------|-----------------|
|
||||
| 1.0.0 | 1.21.3 |
|
||||
| 0.1.0 - 0.13.0 | 1.17.0 - 1.21.2 |
|
||||
| 1.21.3 | 1.0.0 |
|
||||
| 1.17.0 - 1.21.2 | 0.1.0 - 0.13.0 |
|
||||
|
||||
Installation
|
||||
---
|
||||
|
|
2
setup.py
2
setup.py
|
@ -35,7 +35,7 @@ setup(
|
|||
"packaging"
|
||||
],
|
||||
classifiers=[
|
||||
"Development Status :: 1 - Planning",
|
||||
"Development Status :: 5 - Production/Stable",
|
||||
"Environment :: Web Environment",
|
||||
"Intended Audience :: Developers",
|
||||
"License :: OSI Approved :: MIT License",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
__title__ = "uptime_kuma_api"
|
||||
__version__ = "0.13.0"
|
||||
__version__ = "1.0.0"
|
||||
__author__ = "Lucas Held"
|
||||
__license__ = "MIT"
|
||||
__copyright__ = "Copyright 2023 Lucas Held"
|
||||
|
|
Loading…
Reference in a new issue