You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGES.rst
+22-12Lines changed: 22 additions & 12 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,16 @@ Changes
4
4
Unreleased
5
5
----------
6
6
7
+
8
+
3.1.0 (2022-04-09)
9
+
------------------
10
+
11
+
Breaking Changes:
12
+
13
+
- Dropped support for Django 2.2 (gh-968)
14
+
- Dropped support for Django 3.1 (gh-952)
15
+
- Dropped support for Python 3.6, which reached end-of-life on 2021-12-23 (gh-946)
16
+
7
17
Upgrade Implications:
8
18
9
19
- Run `makemigrations` after upgrading to realize the benefit of indexing changes.
@@ -12,28 +22,28 @@ Full list of changes:
12
22
13
23
- Added queryset-based filtering with ``as_of`` (gh-397)
14
24
- Added index on `history_date` column; opt-out with setting `SIMPLE_HISTORY_DATE_INDEX` (gh-565)
15
-
- Added ``excluded_field_kwargs`` to support custom ``OneToOneField`` that have
16
-
additional arguments that don't exist on ``ForeignKey``. (gh-870)
25
+
- RecordModels now support a ``no_db_index`` setting, to drop indices in historical models,
26
+
default stays the same (gh-720)
27
+
- Support ``included_fields`` for ``history.diff_against`` (gh-776)
28
+
- Improve performance of ``history.diff_against`` by reducing number of queries to 0 in most cases (gh-776)
17
29
- Fixed ``prev_record`` and ``next_record`` performance when using ``excluded_fields`` (gh-791)
18
30
- Fixed `update_change_reason` in pk (gh-806)
19
31
- Fixed bug where serializer of djangorestframework crashed if used with ``OrderingFilter`` (gh-821)
20
32
- Fixed `make format` so it works by using tox (gh-859)
21
33
- Fixed bug where latest() is not idempotent for identical ``history_date`` records (gh-861)
22
-
- Support ``included_fields`` for ``history.diff_against`` (gh-776)
23
-
- Improve performance of ``history.diff_against`` by reducing number of queries to 0 in most cases (gh-776)
34
+
- Added ``excluded_field_kwargs`` to support custom ``OneToOneField`` that have
35
+
additional arguments that don't exist on ``ForeignKey``. (gh-870)
24
36
- Added Czech translations (gh-885)
25
-
- Added pre-commit for better commit quality (gh-896)
26
37
- Added ability to break into debugger on unit test failure (gh-890)
38
+
- Added pre-commit for better commit quality (gh-896)
27
39
- Russian translations update (gh-897)
40
+
- Added support for Django 4.0 (gh-898)
41
+
- Added Python 3.10 to test matrix (gh-899)
28
42
- Fix bug with ``history.diff_against`` with non-editable fields (gh-923)
29
43
- Added HistoricForeignKey (gh-940)
30
-
- Add Python 3.10 to test matrix (gh-899)
31
-
- Added support for Django 4.0 (gh-898)
32
-
- Dropped support for Django 3.1 (gh-952)
33
-
- Dropped support for Python 3.6, which reached end-of-life on 2021-12-23 (gh-946)
34
-
- RecordModels now support a ``no_db_index`` setting, to drop indices in historical models, default stays the same (gh-720)
35
-
- Support change reason formula feature. Change reason formula can be defined by overriding ``get_change_reason_for_object`` method after subclassing ``HistoricalRecords``
36
-
- Dropped support for Django 2.2 (gh-968)
44
+
- Support change reason formula feature. Change reason formula can be defined by overriding
45
+
``get_change_reason_for_object`` method after subclassing ``HistoricalRecords`` (gh-962)
0 commit comments