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

Update django-simple-history requirement from ~=3.7 to ~=3.8 #1882

Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 24, 2025

Updates the requirements on django-simple-history to permit the latest version.

Release notes

Sourced from django-simple-history's releases.

Release 3.8.0

What's Changed

Documented changes

Merged PRs

New Contributors

Full Changelog: jazzband/django-simple-history@3.7.0...3.8.0

Changelog

Sourced from django-simple-history's changelog.

3.8.0 (2025-01-23)

  • Made skip_history_when_saving work when creating an object - not just when updating an object (gh-1262)
  • Improved performance of the latest_of_each() history manager method (gh-1360)
  • Fixed issue with deferred fields causing DoesNotExist error (gh-678)
  • Added HistoricOneToOneField (gh-1394)
  • Updated all djangoproject.com links to reference the stable version (gh-1420)
  • Dropped support for Python 3.8, which reached end-of-life on 2024-10-07 (gh-1421)
  • Added support for Django 5.1 (gh-1388)
  • Added pagination to SimpleHistoryAdmin (gh-1277)
  • Fixed issue with history button not working when viewing historical entries in the admin (gh-527)
  • Added support for Django 5.2 (gh-1441)

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

... (truncated)

Commits
  • 389a3a4 Prep for version 3.8 (#1442)
  • 8d69847 Updated test matrix to test against Django 5.2 explicitly (#1441)
  • 5d03b6c Bump tox from 4.23.2 to 4.24.1 in /requirements (#1440)
  • fae915a Bump psycopg[binary] from 3.2.3 to 3.2.4 in /requirements (#1439)
  • 2a346f5 Bump mysqlclient from 2.2.6 to 2.2.7 in /requirements (#1437)
  • 47fe4b0 Bump coverage from 7.6.9 to 7.6.10 in /requirements (#1432)
  • c025d4e [pre-commit.ci] pre-commit autoupdate
  • e26e399 Bump coverage from 7.6.8 to 7.6.9 in /requirements (#1427)
  • 339afbf [pre-commit.ci] pre-commit autoupdate
  • b890718 #527 Fixes issue where the history button doesn't work when viewing a histor...
  • Additional commits viewable in compare view

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)

Updates the requirements on [django-simple-history](https://github.com/jazzband/django-simple-history) to permit the latest version.
- [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.7.0...3.8.0)

---
updated-dependencies:
- dependency-name: django-simple-history
  dependency-type: direct:production
...

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 Jan 24, 2025
@rolandgeider rolandgeider merged commit cc784f9 into master Jan 25, 2025
7 checks passed
@dependabot dependabot bot deleted the dependabot/pip/django-simple-history-approx-eq-3.8 branch January 25, 2025 11:46
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