Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release V2.0.0 #69

Merged
merged 1 commit into from
May 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading