From 8ebd49d47add2b62433377f383f8045e24e6969f Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Fri, 16 Oct 2020 16:10:13 +0300 Subject: [PATCH] Release 4.0.0 --- docs/changelog.rst | 48 ++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/docs/changelog.rst b/docs/changelog.rst index 506a0cff8..6c8af07c8 100644 --- a/docs/changelog.rst +++ b/docs/changelog.rst @@ -1,6 +1,54 @@ Changelog ========= +v4.0.0 (2020-10-16) +------------------- + +Compatibility +^^^^^^^^^^^^^ + +This release contains no breaking changes, except dropping compatibility +with some older/unsupported versions. + +* Drop support for Python versions before 3.5 (#868). + + Previously 2.7 and 3.4 were supported. Running ``pip install pytest-django`` + on Python 2.7 or 3.4 would continue to install the compatible 3.x series. + +* Drop support for Django versions before 2.2 (#868). + + Previously Django>=1.8 was supported. + +* Drop support for pytest versions before 5.4 (#868). + + Previously pytest>=3.6 was supported. + +Improvements +^^^^^^^^^^^^ + +* Officialy support Python 3.9. + +* Add ``pytest_django.__version__`` (#880). + +* Minor documentation improvements (#882). + +Bugfixes +^^^^^^^^ + +* Make the ``admin_user`` and ``admin_client`` fixtures compatible with custom + user models which don't have a ``username`` field (#457). + +* Change the ``admin_user`` fixture to use ``get_by_natural_key()`` to get the + user instead of directly using ``USERNAME_FIELD``, in case it is overridden, + and to match Django (#879). + +Misc +^^^^ + +* Fix pytest-django's own tests failing due to some deprecation warnings + (#875). + + v3.10.0 (2020-08-25) --------------------