Skip to content

Commit

Permalink
Release V2.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
blogh committed May 2, 2024
1 parent e0589b9 commit b6a78ec
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
9 changes: 7 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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

Expand All @@ -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.
Expand Down
2 changes: 1 addition & 1 deletion check_patroni/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import logging

__version__ = "1.0.0"
__version__ = "2.0.0"

_log: logging.Logger = logging.getLogger(__name__)
2 changes: 1 addition & 1 deletion requirements-dev.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ black
codespell
isort
flake8
mypy==0.961
mypy
pytest
pytest-cov
types-requests
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ commands =

[testenv:mypy]
deps =
mypy == 0.961
mypy
commands =
# we need to install types-requests
mypy --install-types --non-interactive
Expand Down

0 comments on commit b6a78ec

Please sign in to comment.