Skip to content

Update django-reversion to 6.2.0#962

Open
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-django-reversion-3.0.7-to-6.2.0
Open

Update django-reversion to 6.2.0#962
pyup-bot wants to merge 1 commit into
masterfrom
pyup-update-django-reversion-3.0.7-to-6.2.0

Conversation

@pyup-bot

Copy link
Copy Markdown
Collaborator

This PR updates django-reversion from 3.0.7 to 6.2.0.

Changelog

6.2.0

------------------

- Added ``object_id_field`` to ``reversion.register()`` (philippeducasse).

6.1.0

------------------

- Added ``history_order_by_date`` and ``get_version_ordering`` to ``VersionAdmin`` (micmarc).

6.0.0

------------------

- Prevent Django signals firing when viewing historical versions in admin.
Django model signals (pre_save, post_save, pre_delete, post_delete, m2m_changed)
are now muted during GET requests to revision views, preventing unintended
side effects from signal handlers when users view historical data. (romanek-adam-b2c2)

5.1.0

------------------

- Django 5 support (jeremy-engel).
- Use ``bulk_create`` on supported databases (stianjensen).

5.0.12

-------------------

- Fix missing migration introduced in v5.0.11.

5.0.11

-------------------

- Improved the Chinese translation (zengqiu).

5.0.10

-------------------

- Fix N+1 queries while rendering the ``recover_list.html`` template (armonge).

5.0.9

------------------

- Broken release.

5.0.8

------------------

- Fix ``get_deleted`` (siddarta-weis, etianen).

5.0.7

------------------

- Speed up ``get_deleted`` (caullla).

5.0.6

------------------

- Fix handling case of missing object in admin revert (julianklotz)

5.0.5

------------------

- Handling case of missing object in admin revert (etianen, PavelPancocha)
- CI improvements (etianen, browniebroke)

5.0.4

------------------

- Fix warning log formatting for failed reverts (tony).

5.0.3

------------------

- A revision will no longer be created if a transaction is marked as rollback, as this would otherwise cause an
additional database error (proofit404).
- A warning log is now emitted if a revert fails due to database integrity errors, making debugging the final
``RevertError`` easier.

5.0.2

------------------

- Fixed doc builds on readthedocs (etianen).

5.0.1

------------------

- Fix admin detail view in multi-database configuration (atten).

5.0.0

------------------

- Added support for using django-reversion contexts in ``asyncio`` tasks (bellini666).
- **Breaking:** Dropped support for Python 3.6.

4.0.2

------------------

- Improved performance of `createinitialrevisions` management command (philipstarkey).

4.0.1

------------------

- Django 4.0b support (smithdc1, kevinmarsh).
- Optimized ``VersionQuerySet.get_deleted``.

4.0.0

------------------

- **Breaking:** The ``create_revision`` view decorator and ``RevisionMiddleware`` no longer roll back the revision and
database transaction on response status code >= 400. It's the responsibility of the view to use `transaction.atomic()`
to roll back any invalid data. This can be enabled globally by setting ``ATOMIC_REQUESTS=True``. (etianen)

https://docs.djangoproject.com/en/3.1/ref/settings/#std:setting-DATABASE-ATOMIC_REQUESTS

- Fixing gettext plural forms with Django (martinsvoboda).
- Deprecation removals (lociii, Peter-van-Tol).
- CI testing improvements (etianen, michael-k).
- Documentation fixes (erikrw, jedie, michael-k).

3.0.9

------------------

- Significant speedup to ``Version.objects.get_deleted(...)`` database query for PostgreSQL (GeyseR).
- Testing against Django 3.1 (michael-k).
- Django 4.0 compatibility improvements (GitRon).

3.0.8

------------------

- Added ``use_natural_foreign_keys`` option to ``reversion.register()`` (matwey).
- Documentation improvments and minor fixes (ad-m, martey, annainfo, etianen, m4rk3r, adityakrgupta25, ekinertac).
- Dropped support for Django 1.11 LTS.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant