Skip to content

Commit 7b75c7b

Browse files
Release 8.0.0
1 parent f478f8f commit 7b75c7b

21 files changed

+64
-37
lines changed

CHANGES.rst

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,66 @@ CHANGELOG
33

44
.. towncrier release notes start
55
6+
pytest-postgresql 8.0.0 (2026-01-23)
7+
====================================
8+
9+
Breaking changes
10+
----------------
11+
12+
- Refactor ``DatabaseJanitor`` to use explicit template management. This includes a new ``as_template`` flag and making ``dbname`` a required parameter. (`#890 <https://github.com/dbfixtures/pytest-postgresql/issues/890>`__)
13+
- Bump the minimum supported pytest version to 8.2.
14+
15+
The previous minimum was about two years old, and older pytest versions
16+
can be flaky with fixture chaining that relies on `getfixturevalue` on
17+
Python 3.12-3.13 when used alongside xdist. (`#890 <https://github.com/dbfixtures/pytest-postgresql/issues/890>`__)
18+
- Support only PostgreSQL version 14 and up. (`#1250 <https://github.com/dbfixtures/pytest-postgresql/issues/1250>`__)
19+
- Dropped support for Python 3.9 as it has reached End of Life
20+
21+
22+
Bugfixes
23+
--------
24+
25+
- Fix issue where `--postgresql-drop-test-database` was applied in process fixture.
26+
27+
It was already being read in client and noprocess fixtures. (`#1148 <https://github.com/dbfixtures/pytest-postgresql/issues/1148>`__)
28+
29+
30+
Documentation
31+
-------------
32+
33+
- Add a Mermaid sequence diagram to the documentation to illustrate fixture chaining and hierarchical cloning. (`#890 <https://github.com/dbfixtures/pytest-postgresql/issues/890>`__)
34+
- Improve code examples by adding types (`#1233 <https://github.com/dbfixtures/pytest-postgresql/issues/1233>`__)
35+
- Add plugins' architecture diagram and display it in project's README. (`#1244 <https://github.com/dbfixtures/pytest-postgresql/issues/1244>`__)
36+
- Improved README.rst:
37+
- Added a "Quick Start" section with a simple example.
38+
- Clarified `psycopg` 3 requirement for the plugin vs. `psycopg` 2 support for the application.
39+
- Updated PostgreSQL versioning notes (>= 10).
40+
- Explained the binary discovery mechanism (`pg_config` vs. fallbacks).
41+
- Promoted `DatabaseJanitor` as an advanced API.
42+
- Fixed broken table layouts and corrected various typos.
43+
44+
45+
Features
46+
--------
47+
48+
- Add ``depends_on`` parameter to ``postgresql_noproc`` factory to allow hierarchical cloning and chaining of process fixtures. (`#890 <https://github.com/dbfixtures/pytest-postgresql/issues/890>`__)
49+
- Convert Config kept in TypedDict into a dataclass (`#1225 <https://github.com/dbfixtures/pytest-postgresql/issues/1225>`__)
50+
- Marked support for Python 3.14
51+
52+
53+
Miscellaneus
54+
------------
55+
56+
- `#1127 <https://github.com/dbfixtures/pytest-postgresql/issues/1127>`__, `#1218 <https://github.com/dbfixtures/pytest-postgresql/issues/1218>`__
57+
- Add new release workflow, which will allow releasing new versions directly from GitHub.
58+
- Drop PostgreSQL 13 and add PostgreSQL 18 to the CI
59+
- Update github-actions for actions-reuse 4.x
60+
- Updates to pre-commit
61+
62+
Replaced black with ruff-format, Added https://github.com/fizyk/pyproject-validator,
63+
Moved mypy configuration into pyproject.toml, extended line length to 120 characters.
64+
65+
666
7.0.2 (2025-05-17)
767
==================
868

newsfragments/+3cf1375f.docs.rst

Lines changed: 0 additions & 7 deletions
This file was deleted.

newsfragments/+3d7c1dfd.misc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/+41973b70.misc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/+53da9cae.misc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/+6028688d.break.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/+910e271c.feature.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/+a216cec3.misc.rst

Lines changed: 0 additions & 4 deletions
This file was deleted.

newsfragments/1127.misc.rst

Lines changed: 0 additions & 1 deletion
This file was deleted.

newsfragments/1148.bugfix.rst

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)