Skip to content

Commit fb0fcc8

Browse files
authored
Release v4.0.4 (patroni#3221)
* Release v4.0.4 - Increase version - Use latest pyright - Add RNs
1 parent a903438 commit fb0fcc8

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

.github/workflows/tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ jobs:
186186

187187
- uses: jakebailey/pyright-action@v2
188188
with:
189-
version: 1.1.385
189+
version: 1.1.389
190190

191191
ydiff:
192192
name: Test compatibility with the latest version of ydiff

docs/releases.rst

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,40 @@
33
Release notes
44
=============
55

6+
Version 4.0.4
7+
-------------
8+
9+
Released 2024-11-22
10+
11+
**Stability improvements**
12+
13+
- Add compatibility with the ``py-consul`` module (Alexander Kukushkin)
14+
15+
``python-consul`` module is unmaintained for a long time, while ``py-consul`` is the official replacement. Backward compatibility with python-consul is retained.
16+
17+
- Add compatibility with the ``prettytable>=3.12.0`` module (Alexander Kukushkin)
18+
19+
Address deprecation warnings.
20+
21+
- Compatibility with the ``ydiff==1.4.2`` module (Alexander Kukushkin)
22+
23+
Fix compatibility issues for the latest version, constrain version in ``requirements.txt``, and introduce latest version compatibility test.
24+
25+
**Bugfixes**
26+
27+
- Run ``on_role_change`` callback after a failed primary recovery (Polina Bungina, Alexander Kukushkin)
28+
29+
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.
30+
31+
- Fix a thread leak in ``patronictl list -W`` (Alexander Kukushkin)
32+
33+
Cache DCS instance object to avoid thread leak.
34+
35+
- Ensure only supported parameters are written to the connection string (Alexander Kukushkin)
36+
37+
Patroni used to pass parameters introduced in newer versions to the connection string, which had been leading to connection errors.
38+
39+
640
Version 4.0.3
741
-------------
842

patroni/version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
33
:var __version__: the current Patroni version.
44
"""
5-
__version__ = '4.0.3'
5+
__version__ = '4.0.4'

0 commit comments

Comments
 (0)