Skip to content

Commit

Permalink
Bump version 2.10.0 (#656)
Browse files Browse the repository at this point in the history
* bump version

* Bump version to 2.10.0

* Apparently I forgot how to write rst
  • Loading branch information
Ross Mechanic authored Apr 27, 2020
1 parent 4bd742e commit 5842a6e
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 26 deletions.
49 changes: 25 additions & 24 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,53 +1,54 @@
Changes
=======

Unreleased
------------
- Added `bulk_update_with_history` utility function (gh-650)
- Add default user and default change reason to `bulk_create_with_history` and `bulk_update_with_history`
- Start using `_change_reason` instead of `changeReason` to add change reasons to historical
objects. `changeReason` is deprecated and will be removed in version `3.0.0`
2.10.0 (2020-04-26)
-------------------
- Added ``bulk_update_with_history`` utility function (gh-650)
- Add default user and default change reason to ``bulk_create_with_history`` and ``bulk_update_with_history`` (gh-653)
- Add french translation (gh-654)
- Start using ``_change_reason`` instead of ``changeReason`` to add change reasons to historical
objects. ``changeReason`` is deprecated and will be removed in version ``3.0.0`` (gh-655)

2.9.0 (2020-04-23)
------------------
- Add simple filtering if provided a minutes argument in `clean_duplicate_history` (gh-606)
- Add setting to convert `FileField` to `CharField` instead of `TextField` (gh-625)
- Add simple filtering if provided a minutes argument in ``clean_duplicate_history`` (gh-606)
- Add setting to convert ``FileField`` to ``CharField`` instead of ``TextField`` (gh-625)
- Added notes on BitBucket Pipelines (gh-627)
- import model `ContentType` in `SimpleHistoryAdmin` using `django_apps.get_model`
to avoid possible `AppRegistryNotReady` exception (gh-630)
- Fix `utils.update_change_reason` when user specifies excluded_fields (gh-637)
- Changed how `now` is imported from `timezone` (`timezone` module is imported now) (gh-643)
- settings.SIMPLE_HISTORY_REVERT_DISABLED if True removes the Revert
- import model ``ContentType`` in ``SimpleHistoryAdmin`` using ``django_apps.get_model``
to avoid possible ``AppRegistryNotReady`` exception (gh-630)
- Fix ``utils.update_change_reason`` when user specifies excluded_fields (gh-637)
- Changed how ``now`` is imported from ``timezone`` (``timezone`` module is imported now) (gh-643)
- ``settings.SIMPLE_HISTORY_REVERT_DISABLED`` if True removes the Revert
button from the history form for all historical models (gh-632))

2.8.0 (2019-12-02)
------------------
- Fixed `bulk_create_with_history support` for HistoryRecords with `relation_name` attribute (gh-591)
- Added support for `bulk_create_with_history` for databases different from PostgreSQL (gh-577)
- Fixed `DoesNotExist` error when trying to get instance if object is deleted (gh-571)
- Fix `model_to_dict` to detect changes in a parent model when using
`inherit=True` (backwards-incompatible for users who were directly
- Fixed ``bulk_create_with_history support`` for HistoryRecords with ``relation_name`` attribute (gh-591)
- Added support for ``bulk_create_with_history`` for databases different from PostgreSQL (gh-577)
- Fixed ``DoesNotExist`` error when trying to get instance if object is deleted (gh-571)
- Fix ``model_to_dict`` to detect changes in a parent model when using
``inherit=True`` (backwards-incompatible for users who were directly
using previous version) (gh-576)
- Use an iterator for `clean_duplicate_history` (gh-604)
- Use an iterator for ``clean_duplicate_history`` (gh-604)
- Add support for Python 3.8 and Django 3.0 (gh-610)

2.7.3 (2019-07-15)
------------------
- Fixed BigAutoField not mirrored as BigInt (gh-556)
- Fixed most_recent() bug with excluded_fields (gh-561)
- Fixed ``BigAutoField`` not mirrored as ``BigInt`` (gh-556)
- Fixed ``most_recent()`` bug with ``excluded_fields`` (gh-561)
- Added official Django 2.2 support (gh-555)

2.7.2 (2019-04-17)
------------------
- Fixed ModuleNotFound issue for `six` (gh-553)
- Fixed ModuleNotFound issue for ``six`` (gh-553)

2.7.1 (2019-04-16)
------------------
- Added the possibility to create a relation to the original model (gh-536)
- Fix router backward-compatibility issue with 2.7.0 (gh-539, gh-547)
- Fix hardcoded history manager (gh-542)
- Replace deprecated `django.utils.six` with `six` (gh-526)
- Allow `custom_model_name` parameter to be a callable (gh-489)
- Replace deprecated ``django.utils.six`` with ``six`` (gh-526)
- Allow ``custom_model_name`` parameter to be a callable (gh-489)

2.7.0 (2019-01-16)
------------------
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[bumpversion]
current_version = 2.9.0
current_version = 2.10.0
commit = True
tag = True
tag_name = {new_version}
Expand Down
2 changes: 1 addition & 1 deletion simple_history/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from __future__ import unicode_literals

__version__ = "2.9.0"
__version__ = "2.10.0"


def register(
Expand Down

0 comments on commit 5842a6e

Please sign in to comment.