All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
⚠️ Major version zero (0.y.z) is for initial development. Anything MAY change at any time. The public API SHOULD NOT be considered stable.
0.6.0 - 2023-10-22
- Support for Python 3.12
- Support for Gotify 2.4.0
0.5.0 - 2022-06-07
- Optional asynchronous gotify client
AsyncGotify
that works similar to the synchronous one - Both
Gotify
andAsyncGotify
can be used as a (asynchronous) context manager to reuse the HTTP session
- Move test server setup from noxfile to a pytest fixture.
- Use
httpx
instead ofrequests
- Removed transitional support for
gotify.gotify
and module-level functions. To use the (synchronous) interface it is now required to use theGotify
class
0.4 - 2022-03-15
- Provide type hints for all methods
- All json responses are type hinted using nontotal TypedDicts
- Use black, isort, flakeheaven, flake8-annotations, flake8-docstrings and mypy to enforce code style and quality
- Add tests using nox, pytest and trycast
nox -s test
downloads a server binary and starts a preconfigured test server on port 30080- tests for plugin-related API endpoints are still missing
- Renamed
gotify.gotify
togotify.Gotify
for conformity with naming conventions and to reduce ambiguity - Use a nested structure
- Deprecated names are available via
__getattr__()
- Dropped Support for Python 3.8
0.3 - 2022-01-17
- Remove read-only arguments
- Add missing return statement to
create_message()
0.2.2 - 2022-01-14
- Format code with
black
with a line-length of 79 - Use new style metadata for flit
- Fix broken
set_password()
method - Fix broken
delete_messages()
method
0.2 - 2021-08-04
- Use a class-based interface (by @benjmarshall)
0.1.1 - 2021-05-29
- Use config() with kwargs instead of args
0.1 - 2021-05-28
- Initial version