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-upgrade to 1.19.0 #5171

Merged
merged 2 commits into from
Jun 30, 2024

Conversation

pyup-bot
Copy link
Collaborator

This PR updates django-upgrade from 1.18.0 to 1.19.0.

Changelog

1.19.0

-------------------

* 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.

`PR 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.

`PR 465 <https://github.com/adamchainz/django-upgrade/pull/465>`__.
Links

@browniebroke browniebroke merged commit 0f7aed4 into master Jun 30, 2024
13 of 14 checks passed
@browniebroke browniebroke deleted the pyup-update-django-upgrade-1.18.0-to-1.19.0 branch June 30, 2024 16:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants