Skip to content

Update dependency django-upgrade to v1.19.0 - autoclosed

Nikolai R Kristiansen requested to merge renovate/django-upgrade-1.x-lockfile into main

This MR contains the following updates:

Package Type Update Change
django-upgrade (changelog) dev-dependencies minor 1.16.0 -> 1.19.0

Release Notes

adamchainz/django-upgrade (django-upgrade)

v1.19.0

Compare Source

  • Add Django 4.2+ fixer to rewrite index_together declarations into indexes declarations in model Meta classes. This fixer can make changes that require migrations. Add a test for pending migrations <https://adamj.eu/tech/2024/06/23/django-test-pending-migrations/>__ to ensure that you do not miss these.

    MR #&#8203;464 <https://github.com/adamchainz/django-upgrade/pull/464>__.

  • Fix tracking of AST node parents. This may have fixed some subtle bugs in these fixers:

    • admin_register
    • assert_form_error
    • default_app_config
    • management_commands
    • request_headers
    • settings_database_postgresql
    • settings_storages
    • testcase_databases
    • use_l10n
    • utils_timezone

    If you see any new changes, or had them previously disabled, please report an issue so we can extra tests to the test suite.

    MR #&#8203;465 <https://github.com/adamchainz/django-upgrade/pull/465>__.

v1.18.0

Compare Source

  • Support Django 5.1 as a target version.

  • Add Django 5.1+ fixer to rewrite the check keyword argument of CheckConstraint to condition.

v1.17.0

Compare Source

  • Add fixer selection options: --only <name>, --skip <name>, and --list-fixers.

    Thanks to Gav O'Connor and David Szotten in MR #&#8203;443 <https://github.com/adamchainz/django-upgrade/pull/443>__.

  • Run per-file conditions once, yielding a performance improvement of ~2% measured on a real-world project.


Configuration

📅 Schedule: Branch creation - "before 7am on the first day of the month" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

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


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

This MR has been generated by Renovate Bot.

Merge request reports