Skip to content

chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.24.0#920

Merged
renovate[bot] merged 1 commit intomainfrom
renovate/adamchainz-django-upgrade-1.x
Mar 27, 2025
Merged

chore(deps): update pre-commit hook adamchainz/django-upgrade to v1.24.0#920
renovate[bot] merged 1 commit intomainfrom
renovate/adamchainz-django-upgrade-1.x

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented Mar 27, 2025

This PR contains the following updates:

Package Type Update Change
adamchainz/django-upgrade repository minor 1.23.1 -> 1.24.0

Note: The pre-commit manager in Renovate is not supported by the pre-commit maintainers or community. Please do not report any problems there, instead create a Discussion in the Renovate repository if you have any questions.


Release Notes

adamchainz/django-upgrade (adamchainz/django-upgrade)

v1.24.0

Compare Source

  • Parse target Django version from pyproject.toml.
    Now, if you don’t specify a version with --target-version, django-upgrade will try to parse your minimum-supported target Django version from project.dependencies in pyproject.toml.
    It supports several common formats, like django>=5.2,<6.0.

  • Add Django 5.2+ fixer postgres_aggregate_order_by to rewrite PostgreSQL aggregate functions using the old argument name ordering to the new name order_by.

  • Add Django 5.2+ fixer staticfiles_find_all to rewrite calls to the staticfiles find() function using the old argument name all to the new name find_all.

  • Restore Django 5.0+ fixer model_field_choices, with a restriction to only apply when the enumeration type is defined in the same file.

    Thanks to Thibaut Decombe for initially contributing it in PR #&#8203;369 <https://github.com/adamchainz/django-upgrade/pull/369>__.

  • Add Django 2.0+ compatibility import rewrite of django.http.cookie.SimpleCookie to http.cookies.SimpleCookie.

    Thanks to Thibaut Decombe in PR #&#8203;537 <https://github.com/adamchainz/django-upgrade/pull/537>__.


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Third-party library dependencies. label Mar 27, 2025
@renovate renovate Bot enabled auto-merge (squash) March 27, 2025 20:13
@renovate renovate Bot merged commit 402e803 into main Mar 27, 2025
12 checks passed
@renovate renovate Bot deleted the renovate/adamchainz-django-upgrade-1.x branch March 27, 2025 20:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Third-party library dependencies.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants