Skip to content

Commit 5842a6e

Browse files
author
Ross Mechanic
authored
Bump version 2.10.0 (#656)
* bump version * Bump version to 2.10.0 * Apparently I forgot how to write rst
1 parent 4bd742e commit 5842a6e

File tree

3 files changed

+27
-26
lines changed

3 files changed

+27
-26
lines changed

CHANGES.rst

Lines changed: 25 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,54 @@
11
Changes
22
=======
33

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)
1011

1112
2.9.0 (2020-04-23)
1213
------------------
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)
1516
- 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
2122
button from the history form for all historical models (gh-632))
2223

2324
2.8.0 (2019-12-02)
2425
------------------
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
3031
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)
3233
- Add support for Python 3.8 and Django 3.0 (gh-610)
3334

3435
2.7.3 (2019-07-15)
3536
------------------
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)
3839
- Added official Django 2.2 support (gh-555)
3940

4041
2.7.2 (2019-04-17)
4142
------------------
42-
- Fixed ModuleNotFound issue for `six` (gh-553)
43+
- Fixed ModuleNotFound issue for ``six`` (gh-553)
4344

4445
2.7.1 (2019-04-16)
4546
------------------
4647
- Added the possibility to create a relation to the original model (gh-536)
4748
- Fix router backward-compatibility issue with 2.7.0 (gh-539, gh-547)
4849
- 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)
5152

5253
2.7.0 (2019-01-16)
5354
------------------

setup.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 2.9.0
2+
current_version = 2.10.0
33
commit = True
44
tag = True
55
tag_name = {new_version}

simple_history/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from __future__ import unicode_literals
22

3-
__version__ = "2.9.0"
3+
__version__ = "2.10.0"
44

55

66
def register(

0 commit comments

Comments
 (0)