You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.rst
+56Lines changed: 56 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,62 @@ CHANGELOG
3
3
4
4
.. towncrier release notes start
5
5
6
+
7.0.0 (2025-02-23)
7
+
==================
8
+
9
+
Breaking changes
10
+
----------------
11
+
12
+
- Drop support for load parameter from client fixtures. This can be easily replaced by creating intermediary fixture between test and client fixture. (`#1087 <https://github.com/dbfixtures/pytest-postgresql/issues/1087>`__)
13
+
- Stop supporting Python 3.8 as it already reached EOL
14
+
15
+
16
+
Bugfixes
17
+
--------
18
+
19
+
- Passing all environment variables to the initdb.
20
+
21
+
This helps the cases where og_ctl is replaced by custom shell script
22
+
making additional calls, and needs all the variables, that ie server process gets. (`#1076 <https://github.com/dbfixtures/pytest-postgresql/issues/1076>`__)
23
+
24
+
25
+
Features
26
+
--------
27
+
28
+
- If a test run ended in an error that prevented proper test cleanup,
29
+
developer can now use `--postgresql-drop-test-database` command line flag,
30
+
to delete database from noproc fixture at the start. (`#265 <https://github.com/dbfixtures/pytest-postgresql/issues/265>`__)
31
+
- DatabaseJanitor.cursor now accepts optional parameter dbname, which defaults to `postgres`
32
+
33
+
This database name is used to make connection to and return a cursor. (`#265 <https://github.com/dbfixtures/pytest-postgresql/issues/265>`__)
34
+
- When running tests with xdist, pytest-postgresql now attempts to detect random ports
35
+
selected by other nodes by writing down a .port file in session temporary directory.
36
+
37
+
The number of tries it attempts to select unused port is configurable,
38
+
and defaults to 0.
39
+
40
+
In case pytest-postgresql won't be able to select unused port,
41
+
PortForException is thrown with appropriate message. (`#872 <https://github.com/dbfixtures/pytest-postgresql/issues/872>`__)
0 commit comments