Skip to content

Releases: d-k-bo/python-gotify

v0.6.0

22 Oct 14:05
Compare
Choose a tag to compare

Added

  • Support for Python 3.12
  • Support for Gotify 2.4.0

0.5.0

07 Jun 17:07
Compare
Choose a tag to compare

Added

  • Optional asynchronous gotify client AsyncGotify that works similar to the synchronous one
  • Both Gotify and AsyncGotify 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 of requests

Removed

  • Removed transitional support for gotify.gotify and module-level functions. To use the (synchronous) interface it is now required to use the Gotify class

0.4

15 Mar 18:34
Compare
Choose a tag to compare
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 to gotify.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