Skip to content

Commit

Permalink
Merge pull request #473 from patroni/master
Browse files Browse the repository at this point in the history
Syncing from upstream patroni/patroni (master)
  • Loading branch information
bt-admin authored Nov 23, 2024
2 parents adea18c + fb0fcc8 commit 5a94b57
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ jobs:

- uses: jakebailey/pyright-action@v2
with:
version: 1.1.385
version: 1.1.389

ydiff:
name: Test compatibility with the latest version of ydiff
Expand Down
34 changes: 34 additions & 0 deletions docs/releases.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,40 @@
Release notes
=============

Version 4.0.4
-------------

Released 2024-11-22

**Stability improvements**

- Add compatibility with the ``py-consul`` module (Alexander Kukushkin)

``python-consul`` module is unmaintained for a long time, while ``py-consul`` is the official replacement. Backward compatibility with python-consul is retained.

- Add compatibility with the ``prettytable>=3.12.0`` module (Alexander Kukushkin)

Address deprecation warnings.

- Compatibility with the ``ydiff==1.4.2`` module (Alexander Kukushkin)

Fix compatibility issues for the latest version, constrain version in ``requirements.txt``, and introduce latest version compatibility test.

**Bugfixes**

- Run ``on_role_change`` callback after a failed primary recovery (Polina Bungina, Alexander Kukushkin)

Additionally run ``on_role_change`` callback for a primary that failed to start after a crash to increase chances the callback is executed, even if the further start as a replica fails.

- Fix a thread leak in ``patronictl list -W`` (Alexander Kukushkin)

Cache DCS instance object to avoid thread leak.

- Ensure only supported parameters are written to the connection string (Alexander Kukushkin)

Patroni used to pass parameters introduced in newer versions to the connection string, which had been leading to connection errors.


Version 4.0.3
-------------

Expand Down
2 changes: 1 addition & 1 deletion patroni/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
:var __version__: the current Patroni version.
"""
__version__ = '4.0.3'
__version__ = '4.0.4'

0 comments on commit 5a94b57

Please sign in to comment.