Skip to content

Commit 55850c2

Browse files
authored
Remove the deprecated simple_history_admin_list.display_list() + **Release 3.9.0** (#1444)
* Removed the deprecated simple_history_admin_list This was deprecated in 16b7de7. * Updated release notes for removing display_list()
1 parent 389a3a4 commit 55850c2

File tree

3 files changed

+15
-24
lines changed

3 files changed

+15
-24
lines changed

CHANGES.rst

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,13 @@ Changes
44
Unreleased
55
----------
66

7+
8+
3.9.0 (2025-01-26)
9+
------------------
10+
11+
- Removed the ``simple_history_admin_list.display_list()`` template tag that was
12+
deprecated in version 3.6.0 (gh-1444)
13+
714
3.8.0 (2025-01-23)
815
------------------
916

@@ -19,6 +26,8 @@ Unreleased
1926
- Fixed issue with history button not working when viewing historical entries in the
2027
admin (gh-527)
2128
- Added support for Django 5.2 (gh-1441)
29+
- ``simple_history_admin_list.display_list()`` *was planned to be removed in this
30+
release, but it was overlooked, and will instead be removed in 3.9.0*
2231

2332
3.7.0 (2024-05-29)
2433
------------------

simple_history/templatetags/simple_history_admin_list.py

Lines changed: 0 additions & 15 deletions
This file was deleted.
Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,10 @@
11
import unittest
22

3-
from simple_history import __version__
4-
from simple_history.templatetags.simple_history_admin_list import display_list
5-
63

74
class DeprecationWarningTest(unittest.TestCase):
8-
def test__display_list__warns_deprecation_and_is_yet_to_be_removed(self):
9-
with self.assertWarns(DeprecationWarning):
10-
display_list({})
11-
# DEV: `display_list()` (and the file `simple_history_admin_list.py`) should be
12-
# removed when 3.8 is released
13-
self.assertLess(__version__, "3.8")
5+
"""Tests that check whether ``DeprecationWarning`` is raised for certain features,
6+
and that compare ``simple_history.__version__`` against the version the features
7+
will be removed in.
8+
9+
If this class is empty, it normally means that nothing is currently deprecated.
10+
"""

0 commit comments

Comments
 (0)