Releases: d-k-bo/python-gotify
Releases · d-k-bo/python-gotify
v0.6.0
0.5.0
Added
- 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
Changed
- Move test server setup from noxfile to a pytest fixture.
- Use
httpx
instead ofrequests
Removed
- 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
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 test
downloads a server binary and starts a preconfigured test server on port 30080- tests for plugin-related API endpoints are still missing
Changed
- Renamed
gotify.gotify
togotify.Gotify
for 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