Skip to content

Commit b278479

Browse files
committed
update CHANGES to prepare for 3.1.0
1 parent 86676d8 commit b278479

File tree

1 file changed

+22
-12
lines changed

1 file changed

+22
-12
lines changed

CHANGES.rst

Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@ Changes
44
Unreleased
55
----------
66

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+
717
Upgrade Implications:
818

919
- Run `makemigrations` after upgrading to realize the benefit of indexing changes.
@@ -12,28 +22,28 @@ Full list of changes:
1222

1323
- Added queryset-based filtering with ``as_of`` (gh-397)
1424
- 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)
1729
- Fixed ``prev_record`` and ``next_record`` performance when using ``excluded_fields`` (gh-791)
1830
- Fixed `update_change_reason` in pk (gh-806)
1931
- Fixed bug where serializer of djangorestframework crashed if used with ``OrderingFilter`` (gh-821)
2032
- Fixed `make format` so it works by using tox (gh-859)
2133
- 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)
2436
- Added Czech translations (gh-885)
25-
- Added pre-commit for better commit quality (gh-896)
2637
- Added ability to break into debugger on unit test failure (gh-890)
38+
- Added pre-commit for better commit quality (gh-896)
2739
- Russian translations update (gh-897)
40+
- Added support for Django 4.0 (gh-898)
41+
- Added Python 3.10 to test matrix (gh-899)
2842
- Fix bug with ``history.diff_against`` with non-editable fields (gh-923)
2943
- 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)
46+
3747

3848
3.0.0 (2021-04-16)
3949
------------------

0 commit comments

Comments
 (0)