Releases: d-k-bo/python-gotify
Releases · d-k-bo/python-gotify
v0.6.0
0.5.0
Added
- Optional asynchronous gotify client
AsyncGotifythat works similar to the synchronous one - Both
GotifyandAsyncGotifycan be used as a (asynchronous) context manager to reuse the HTTP session
Changed
- Move test server setup from noxfile to a pytest fixture.
- Use
httpxinstead ofrequests
Removed
- Removed transitional support for
gotify.gotifyand module-level functions. To use the (synchronous) interface it is now required to use theGotifyclass
0.4
Added
- 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 testdownloads a server binary and starts a preconfigured test server on port 30080- tests for plugin-related API endpoints are still missing
Changed
- Renamed
gotify.gotifytogotify.Gotifyfor conformity with naming conventions and to reduce ambiguity - Use a nested structure
- Deprecated names are available via
__getattr__()
Removed
- Dropped Support for Python 3.8