Skip to content

Releases: django-commons/django-simple-history

Release 2.7.1

16 Apr 16:55
Compare
Choose a tag to compare
  • 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)

Release 2.7.0

16 Jan 16:53
7afa08a
Compare
Choose a tag to compare
  • * Add support for using chained manager method and save/delete keyword argument (gh-507)
  • Added management command clean_duplicate_history to remove duplicate history entries (gh-483)
  • Updated most_recent to work with excluded_fields (gh-477)
  • Fixed bug that prevented self-referential foreign key from using 'self' (gh-513)
  • Added ability to track custom user with explicit custom history_user_id_field (gh-511)
  • Don't resolve relationships for history objects (gh-479)
  • Reorganization of docs (gh-510)

* NOTE: This change was not backward compatible for users using routers to write
history tables to a separate database from their base tables. This issue is fixed in
2.7.1.

Release 2.6.0

12 Dec 16:30
cbb0ab4
Compare
Choose a tag to compare
  • Add app parameter to the constructor of HistoricalRecords (gh-486)
  • Add custom_model_name parameter to the constructor of HistoricalRecords (gh-451)
  • Fix header on history pages when custom site_header is used (gh-448)
  • Modify pre_create_historircal_record to pass history_instance for ease of customization (gh-421)
  • Raise warning if HistoricalRecords(inherit=False) is in an abstract model (gh-341)
  • Ensure custom arguments for fields are included in historical models' fields (gh-431)
  • Add german translations (gh-484)
  • Add extra_context parameter to history_form_view (gh-467)
  • Fixed bug that prevented next_record and prev_record to work with custom manager names (gh-501)

Release 2.5.1

22 Oct 18:53
ead287a
Compare
Choose a tag to compare
  • Add '+' as the history_type for each instance in bulk_history_create (gh-449)
  • Add support for history_change_reason for each instance in bulk_history_create (gh-449)
  • Add history_change_reason in the history list view under the Change reason display name (gh-458)
  • Fix bug that caused failures when using a custom user model (gh-459)

Release 2.5.0

18 Oct 21:16
Compare
Choose a tag to compare
  • Add ability to cascade delete historical records when master record is deleted (gh-440)
  • Added Russian localization (gh-441)

Release 2.4.0

18 Oct 21:16
b1826d5
Compare
Choose a tag to compare
  • Add pre and post create_historical_record signals (gh-426)
  • Remove support for django_mongodb_engine when converting AutoFields (gh-432)
  • Add support for Django 2.1 (gh-418)

Release 2.3.0

19 Jul 21:10
Compare
Choose a tag to compare
  • Add ability to diff HistoricalRecords (gh-244)

Release 2.2.0

02 Jul 22:29
174922a
Compare
Choose a tag to compare
  • Add ability to specify alternative user_model for tracking (gh-371)
  • Add util function bulk_create_with_history to allow bulk_create with history saved (gh-412)

Release 2.1.1

15 Jun 17:30
a387bec
Compare
Choose a tag to compare
  • Fixed out-of-memory exception when running populate_history management command (gh-408)
  • Fix TypeError on populate_history if excluded_fields are specified (gh-410)

Release 2.1.0

04 Jun 14:55
f4ef7b8
Compare
Choose a tag to compare
  • Add ability to specify custom history_reason field (gh-379)
  • Add ability to specify custom history_id field (gh-368)
  • Add HistoricalRecord instance properties prev_record and next_record (gh-365)
  • Can set admin methods as attributes on object history change list template (gh-390)
  • Fixed compatibility of >= 2.0 versions with old-style middleware (gh-369)