diff --git a/CHANGELOG.md b/CHANGELOG.md index 8dbe382..f5bb13b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Change log -## Unreleased +## check_patroni 2.0.0 - 2024-04-29 + +### Notice + +While fixing `cluster_has_replica`, the definition of a healthy replica was +changed. It's more restrictive now, hence the jump from v1 to v2. ### Changed @@ -24,7 +29,7 @@ ### Misc -* Improve the documentation for node_is_replica. +* Improve the documentation for `node_is_replica`. * Improve test coverage by running an HTTP server to fake the Patroni API (#55 by @dlax). * Work around old pytest versions in type annotations in the test suite. diff --git a/check_patroni/__init__.py b/check_patroni/__init__.py index bd406c9..edb8bfa 100644 --- a/check_patroni/__init__.py +++ b/check_patroni/__init__.py @@ -1,5 +1,5 @@ import logging -__version__ = "1.0.0" +__version__ = "2.0.0" _log: logging.Logger = logging.getLogger(__name__) diff --git a/requirements-dev.txt b/requirements-dev.txt index ac12458..0adfa7e 100644 --- a/requirements-dev.txt +++ b/requirements-dev.txt @@ -2,7 +2,7 @@ black codespell isort flake8 -mypy==0.961 +mypy pytest pytest-cov types-requests diff --git a/tox.ini b/tox.ini index 0948f07..e4d86d0 100644 --- a/tox.ini +++ b/tox.ini @@ -23,7 +23,7 @@ commands = [testenv:mypy] deps = - mypy == 0.961 + mypy commands = # we need to install types-requests mypy --install-types --non-interactive