Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@ Changes
Unreleased
----------


3.8.1 (2025-01-24)
------------------

- Removed the ``simple_history_admin_list.display_list()`` template tag that was
deprecated in version 3.6.0 (gh-1444)

3.8.0 (2025-01-23)
------------------

Expand Down
15 changes: 0 additions & 15 deletions simple_history/templatetags/simple_history_admin_list.py

This file was deleted.

15 changes: 6 additions & 9 deletions simple_history/tests/tests/test_deprecation.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
import unittest

from simple_history import __version__
from simple_history.templatetags.simple_history_admin_list import display_list


class DeprecationWarningTest(unittest.TestCase):
def test__display_list__warns_deprecation_and_is_yet_to_be_removed(self):
with self.assertWarns(DeprecationWarning):
display_list({})
# DEV: `display_list()` (and the file `simple_history_admin_list.py`) should be
# removed when 3.8 is released
self.assertLess(__version__, "3.8")
"""Tests that check whether ``DeprecationWarning`` is raised for certain features,
and that compare ``simple_history.__version__`` against the version the features
will be removed in.

If this class is empty, it normally means that nothing is currently deprecated.
"""
Loading