Update dependency django-upgrade to v1.19.0 - autoclosed
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
-
Add Django 4.2+ fixer to rewrite
index_together
declarations intoindexes
declarations in modelMeta
classes. This fixer can make changes that require migrations. Add atest for pending migrations <https://adamj.eu/tech/2024/06/23/django-test-pending-migrations/>
__ to ensure that you do not miss these.MR #​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 #​465 <https://github.com/adamchainz/django-upgrade/pull/465>
__.
v1.18.0
-
Support Django 5.1 as a target version.
-
Add Django 5.1+ fixer to rewrite the
check
keyword argument ofCheckConstraint
tocondition
.
v1.17.0
-
Add fixer selection options:
--only <name>
,--skip <name>
, and--list-fixers
.Thanks to Gav O'Connor and David Szotten in
MR #​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
-
If you want to rebase/retry this MR, check this box
This MR has been generated by Renovate Bot.