|
1 | 1 | Changes
|
2 | 2 | =======
|
3 | 3 |
|
4 |
| -Unreleased |
5 |
| ------------- |
6 |
| -- Added `bulk_update_with_history` utility function (gh-650) |
7 |
| -- Add default user and default change reason to `bulk_create_with_history` and `bulk_update_with_history` |
8 |
| -- Start using `_change_reason` instead of `changeReason` to add change reasons to historical |
9 |
| -objects. `changeReason` is deprecated and will be removed in version `3.0.0` |
| 4 | +2.10.0 (2020-04-26) |
| 5 | +------------------- |
| 6 | +- Added ``bulk_update_with_history`` utility function (gh-650) |
| 7 | +- Add default user and default change reason to ``bulk_create_with_history`` and ``bulk_update_with_history`` (gh-653) |
| 8 | +- Add french translation (gh-654) |
| 9 | +- Start using ``_change_reason`` instead of ``changeReason`` to add change reasons to historical |
| 10 | + objects. ``changeReason`` is deprecated and will be removed in version ``3.0.0`` (gh-655) |
10 | 11 |
|
11 | 12 | 2.9.0 (2020-04-23)
|
12 | 13 | ------------------
|
13 |
| -- Add simple filtering if provided a minutes argument in `clean_duplicate_history` (gh-606) |
14 |
| -- Add setting to convert `FileField` to `CharField` instead of `TextField` (gh-625) |
| 14 | +- Add simple filtering if provided a minutes argument in ``clean_duplicate_history`` (gh-606) |
| 15 | +- Add setting to convert ``FileField`` to ``CharField`` instead of ``TextField`` (gh-625) |
15 | 16 | - Added notes on BitBucket Pipelines (gh-627)
|
16 |
| -- import model `ContentType` in `SimpleHistoryAdmin` using `django_apps.get_model` |
17 |
| - to avoid possible `AppRegistryNotReady` exception (gh-630) |
18 |
| -- Fix `utils.update_change_reason` when user specifies excluded_fields (gh-637) |
19 |
| -- Changed how `now` is imported from `timezone` (`timezone` module is imported now) (gh-643) |
20 |
| -- settings.SIMPLE_HISTORY_REVERT_DISABLED if True removes the Revert |
| 17 | +- import model ``ContentType`` in ``SimpleHistoryAdmin`` using ``django_apps.get_model`` |
| 18 | + to avoid possible ``AppRegistryNotReady`` exception (gh-630) |
| 19 | +- Fix ``utils.update_change_reason`` when user specifies excluded_fields (gh-637) |
| 20 | +- Changed how ``now`` is imported from ``timezone`` (``timezone`` module is imported now) (gh-643) |
| 21 | +- ``settings.SIMPLE_HISTORY_REVERT_DISABLED`` if True removes the Revert |
21 | 22 | button from the history form for all historical models (gh-632))
|
22 | 23 |
|
23 | 24 | 2.8.0 (2019-12-02)
|
24 | 25 | ------------------
|
25 |
| -- Fixed `bulk_create_with_history support` for HistoryRecords with `relation_name` attribute (gh-591) |
26 |
| -- Added support for `bulk_create_with_history` for databases different from PostgreSQL (gh-577) |
27 |
| -- Fixed `DoesNotExist` error when trying to get instance if object is deleted (gh-571) |
28 |
| -- Fix `model_to_dict` to detect changes in a parent model when using |
29 |
| - `inherit=True` (backwards-incompatible for users who were directly |
| 26 | +- Fixed ``bulk_create_with_history support`` for HistoryRecords with ``relation_name`` attribute (gh-591) |
| 27 | +- Added support for ``bulk_create_with_history`` for databases different from PostgreSQL (gh-577) |
| 28 | +- Fixed ``DoesNotExist`` error when trying to get instance if object is deleted (gh-571) |
| 29 | +- Fix ``model_to_dict`` to detect changes in a parent model when using |
| 30 | + ``inherit=True`` (backwards-incompatible for users who were directly |
30 | 31 | using previous version) (gh-576)
|
31 |
| -- Use an iterator for `clean_duplicate_history` (gh-604) |
| 32 | +- Use an iterator for ``clean_duplicate_history`` (gh-604) |
32 | 33 | - Add support for Python 3.8 and Django 3.0 (gh-610)
|
33 | 34 |
|
34 | 35 | 2.7.3 (2019-07-15)
|
35 | 36 | ------------------
|
36 |
| -- Fixed BigAutoField not mirrored as BigInt (gh-556) |
37 |
| -- Fixed most_recent() bug with excluded_fields (gh-561) |
| 37 | +- Fixed ``BigAutoField`` not mirrored as ``BigInt`` (gh-556) |
| 38 | +- Fixed ``most_recent()`` bug with ``excluded_fields`` (gh-561) |
38 | 39 | - Added official Django 2.2 support (gh-555)
|
39 | 40 |
|
40 | 41 | 2.7.2 (2019-04-17)
|
41 | 42 | ------------------
|
42 |
| -- Fixed ModuleNotFound issue for `six` (gh-553) |
| 43 | +- Fixed ModuleNotFound issue for ``six`` (gh-553) |
43 | 44 |
|
44 | 45 | 2.7.1 (2019-04-16)
|
45 | 46 | ------------------
|
46 | 47 | - Added the possibility to create a relation to the original model (gh-536)
|
47 | 48 | - Fix router backward-compatibility issue with 2.7.0 (gh-539, gh-547)
|
48 | 49 | - Fix hardcoded history manager (gh-542)
|
49 |
| -- Replace deprecated `django.utils.six` with `six` (gh-526) |
50 |
| -- Allow `custom_model_name` parameter to be a callable (gh-489) |
| 50 | +- Replace deprecated ``django.utils.six`` with ``six`` (gh-526) |
| 51 | +- Allow ``custom_model_name`` parameter to be a callable (gh-489) |
51 | 52 |
|
52 | 53 | 2.7.0 (2019-01-16)
|
53 | 54 | ------------------
|
|
0 commit comments