MAKENTNU / web

The website of the student organization MAKE NTNU, built with Django.
https://makentnu.no
MIT License
9 stars 5 forks source link

⬆(deps): Bump django-simple-history from 3.5.0 to 3.7.0 #733

Open dependabot[bot] opened 1 month ago

dependabot[bot] commented 1 month ago

Bumps django-simple-history from 3.5.0 to 3.7.0.

Release notes

Sourced from django-simple-history's releases.

Release 3.7.0

What's Changed

Documented changes

Merged PRs

New Contributors

Full Changelog: https://github.com/jazzband/django-simple-history/compare/3.6.0...3.7.0

Release 3.6.0

What's Changed

Documented changes

Merged PRs

New Contributors

Full Changelog: https://github.com/jazzband/django-simple-history/compare/3.5.0...3.6.0

Changelog

Sourced from django-simple-history's changelog.

3.7.0 (2024-05-29)

  • Dropped support for Django 3.2, which reached end-of-life on 2024-04-01 (gh-1344)
  • Removed the temporary requirement on asgiref>=3.6 added in 3.5.0, now that the minimum required Django version is 4.2 (gh-1344)
  • Migrated package building from using the deprecated setup.py to using pyproject.toml (with Hatchling as build backend); setup.py has consequently been removed (gh-1348)
  • Added django>=4.2 as an installation dependency, to mirror the minimum version tested in our CI (gh-1349)

3.6.0 (2024-05-26)

  • Support custom History Manager and QuerySet classes (gh-1280)
  • Renamed the (previously internal) admin template simple_history/_object_history_list.html to simple_history/object_history_list.html, and added the field SimpleHistoryAdmin.object_history_list_template for overriding it (gh-1128)
  • Deprecated the undocumented template tag simple_history_admin_list.display_list(); it will be removed in version 3.8 (gh-1128)
  • Added SimpleHistoryAdmin.get_history_queryset() for overriding which QuerySet is used to list the historical records (gh-1128)
  • Added SimpleHistoryAdmin.get_history_list_display() which returns history_list_display by default, and made the latter into an actual field (gh-1128)
  • ModelDelta and ModelChange (in simple_history.models) are now immutable dataclasses; their signatures remain unchanged (gh-1128)
  • ModelDelta's changes and changed_fields are now sorted alphabetically by field name. Also, if ModelChange is for an M2M field, its old and new lists are sorted by the related object. This should help prevent flaky tests. (gh-1128)
  • diff_against() has a new keyword argument, foreign_keys_are_objs; see usage in the docs under "History Diffing" (gh-1128)
  • Added a "Changes" column to SimpleHistoryAdmin's object history table, listing the changes between each historical record of the object; see the docs under "Customizing the History Admin Templates" for overriding its template context (gh-1128)
  • Fixed the setting SIMPLE_HISTORY_ENABLED = False not preventing M2M historical records from being created (gh-1328)
  • For history-tracked M2M fields, adding M2M objects (using add() or set()) used to cause a number of database queries that scaled linearly with the number of objects; this has been fixed to now be a constant number of queries (gh-1333)
Commits
  • 2a2bec9 Merge pull request #1350 from jazzband/release-3.7.0
  • 1fe70ab Replaced PyPI comments in CHANGES.rst with a regex
  • 695b17f Prepare for release 3.7.0
  • a4e4783 Added Django as installation dependency (#1349)
  • 6a8918e Merge pull request #1348 from ofek/modernize-metadata
  • 19722e2 Merge branch 'ddabble/update-package-metadata' into modernize-metadata
  • fef00f6 Migrated setup.py -> pyproject.toml with Hatchling
  • cf6848c Tweaked layout of README badges
  • 87a08b7 Changed docs link to stable version
  • 560f298 Dropped support for Django 3.2 (#1344)
  • Additional commits viewable in compare view


Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)