Skip to content

Commit 8ebd49d

Browse files
committed
Release 4.0.0
1 parent 0ea0b21 commit 8ebd49d

File tree

1 file changed

+48
-0
lines changed

1 file changed

+48
-0
lines changed

docs/changelog.rst

+48
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,54 @@
11
Changelog
22
=========
33

4+
v4.0.0 (2020-10-16)
5+
-------------------
6+
7+
Compatibility
8+
^^^^^^^^^^^^^
9+
10+
This release contains no breaking changes, except dropping compatibility
11+
with some older/unsupported versions.
12+
13+
* Drop support for Python versions before 3.5 (#868).
14+
15+
Previously 2.7 and 3.4 were supported. Running ``pip install pytest-django``
16+
on Python 2.7 or 3.4 would continue to install the compatible 3.x series.
17+
18+
* Drop support for Django versions before 2.2 (#868).
19+
20+
Previously Django>=1.8 was supported.
21+
22+
* Drop support for pytest versions before 5.4 (#868).
23+
24+
Previously pytest>=3.6 was supported.
25+
26+
Improvements
27+
^^^^^^^^^^^^
28+
29+
* Officialy support Python 3.9.
30+
31+
* Add ``pytest_django.__version__`` (#880).
32+
33+
* Minor documentation improvements (#882).
34+
35+
Bugfixes
36+
^^^^^^^^
37+
38+
* Make the ``admin_user`` and ``admin_client`` fixtures compatible with custom
39+
user models which don't have a ``username`` field (#457).
40+
41+
* Change the ``admin_user`` fixture to use ``get_by_natural_key()`` to get the
42+
user instead of directly using ``USERNAME_FIELD``, in case it is overridden,
43+
and to match Django (#879).
44+
45+
Misc
46+
^^^^
47+
48+
* Fix pytest-django's own tests failing due to some deprecation warnings
49+
(#875).
50+
51+
452
v3.10.0 (2020-08-25)
553
--------------------
654

0 commit comments

Comments
 (0)