Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump django-simple-history from 3.5.0 to 3.7.0 #587

Merged
merged 1 commit into from
Jun 3, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 2, 2024

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: jazzband/django-simple-history@3.6.0...3.7.0

Release 3.6.0

What's Changed

Documented changes

Merged PRs

New Contributors

Full Changelog: jazzband/django-simple-history@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 <dependency name> 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)

Bumps [django-simple-history](https://github.com/jazzband/django-simple-history) from 3.5.0 to 3.7.0.
- [Release notes](https://github.com/jazzband/django-simple-history/releases)
- [Changelog](https://github.com/jazzband/django-simple-history/blob/master/CHANGES.rst)
- [Commits](jazzband/django-simple-history@3.5.0...3.7.0)

---
updated-dependencies:
- dependency-name: django-simple-history
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Jun 2, 2024
Copy link

codecov bot commented Jun 2, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.73%. Comparing base (1f863e8) to head (bd9f096).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #587   +/-   ##
=======================================
  Coverage   98.73%   98.73%           
=======================================
  Files         300      300           
  Lines       23850    23850           
=======================================
  Hits        23549    23549           
  Misses        301      301           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@github-actions github-actions bot mentioned this pull request Jun 3, 2024
@amstilp amstilp merged commit cf7052c into main Jun 3, 2024
11 checks passed
@dependabot dependabot bot deleted the dependabot/pip/django-simple-history-3.7.0 branch June 3, 2024 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant