| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-14 | [4.2.x] Fixed #34250 -- Fixed renaming model with m2m relation to a model ↵ | DevilsAutumn | |
| with the same name. Backport of ff3a2834224f527ca574b5cd0d578c8c26d51a6c from main | |||
| 2023-02-01 | [4.2.x] Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main | |||
| 2022-12-28 | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | |
| Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-12-27 | Fixed #34217 -- Fixed migration crash when removing check constraints on ↵ | DevilsAutumn | |
| MySQL < 8.0.16. | |||
| 2022-11-17 | Fixed #28987 -- Fixed altering ManyToManyField when changing to ↵ | DevilsAutumn | |
| self-referential. | |||
| 2022-10-31 | Used more augmented assignment statements. | Nick Pope | |
| Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | |||
| 2022-09-28 | Fixed #34051 -- Made makemigrations --check exit before making migrations. | Jacob Walls | |
| 2022-09-27 | Fixed #34052 -- Made migrate --check don't emit signals and output when up ↵ | JunKi Yoon | |
| to date. | |||
| 2022-09-27 | Fixed #34050 -- Replaced invalid chars in migration names with '_'. | Adam Johnson | |
| Thanks to Bishal Gautam for the report and initial implementation. Regression in fa58450a9ab8a1bdd2a5090b51b00078fd85ffa6. Co-Authored-By: Bishal Gautam <bisalgt@gmail.com> | |||
| 2022-09-25 | Fixed #34027 -- Fixed migrations crash when altering type of char/text ↵ | David Sanders | |
| fields referenced by foreign key on PostgreSQL. | |||
| 2022-08-29 | Refs #33953 -- Fixed test_rename_model_with_db_table_rename_m2m() crash on ↵ | Mariusz Felisiak | |
| SQLite < 3.20. | |||
| 2022-08-26 | Fixed #33953 -- Reverted "Fixed #33201 -- Made RenameModel operation a noop ↵ | Iuri de Silvio | |
| for models with db_table." Regression in afeafd6036616bac8263d762c1610f22241c0187. This reverts afeafd6036616bac8263d762c1610f22241c0187. Thanks Timothy Thomas for the report. | |||
| 2022-08-25 | Fixed #33938 -- Fixed migration crash for m2m with a through model in ↵ | Simon Charette | |
| another app. Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. Thanks bryangeplant for the report. | |||
| 2022-08-25 | Fixed #33916 -- Added support for serialization of enum.Flag in migrations. | Willem Van Onsem | |
| 2022-08-16 | Refs #33916 -- Added tests for serialization of enum.Flag in migrations. | Willem Van Onsem | |
| 2022-08-03 | Fixed #33887 -- Fixed test_fails_squash_migration_manual_porting() on final ↵ | Alberto Planas | |
| tags. Regression in 7c318a8bdd66f8c5241864c9970dddb525d0ca4c. | |||
| 2022-07-26 | Refs #27236 -- Reverted AlterIndexTogether deprecation. | Mariusz Felisiak | |
| This partly reverts a6385b382e05a614a99e5a5913d8e631823159a2. | |||
| 2022-07-21 | Refs #27236 -- Made cosmetic edits to Meta.index_together deprecation. | Mariusz Felisiak | |
| This should make it more straightforward to move forward when deprecation ends. | |||
| 2022-07-12 | Fixed #27236 -- Deprecated Meta.index_together in favor of Meta.indexes. | David Wobrock | |
| This also deprecates AlterIndexTogether migration operation. | |||
| 2022-07-12 | Refs #27236 -- Split RenameField() tests with unique/index_together. | David Wobrock | |
| 2022-06-17 | Fixed #24870 -- Added --update option to makemigrations command. | David Wobrock | |
| 2022-06-13 | Refs #27236 -- Split index_together and unique_together autodetector tests. | David Wobrock | |
| 2022-06-13 | Refs #27236 -- Added test_autodetector.BaseAutodetectorTests. | David Wobrock | |
| 2022-06-02 | Fixed #31788 -- Fixed migration optimization after altering field to ↵ | David Wobrock | |
| ManyToManyField. This makes AddField() used for altering to ManyToManyField, dependent on the prior RemoveField. | |||
| 2022-05-26 | Fixed #23740 -- Fixed removing unique_together constraint if exists primary ↵ | David Wobrock | |
| key/unique constraint on the same field. | |||
| 2022-05-17 | Refs #27064 -- Made migrations generate RenameIndex operations when moving ↵ | David Wobrock | |
| indexes from index_together to Meta.indexes. | |||
| 2022-05-16 | Refs #27064 -- Made migrations generate RenameIndex operations when renaming ↵ | David Wobrock | |
| Meta.indexes. | |||
| 2022-05-16 | Fixed #33710 -- Made RenameIndex operation a noop when the old and new name ↵ | David Wobrock | |
| match. | |||
| 2022-05-12 | Refs #27064 -- Added RenameIndex migration operation. | David Wobrock | |
| 2022-05-05 | Refs #30581 -- Moved CheckConstraint tests for conditional expressions to ↵ | Mariusz Felisiak | |
| migrations.test_operations. This allows avoiding warning in tests about using RawSQL in CheckConstraints. | |||
| 2022-05-02 | Fixed #33413 -- Made migrations propage collations to related fields. | David Wobrock | |
| 2022-04-21 | Fixed #33509 -- Added "(no-op)" to sqlmigrate output for operations without ↵ | Adam Johnson | |
| SQL statement. | |||
| 2022-04-21 | Refs #33509 -- Made sqlmigrate tests stricter and improved isolation. | Adam Johnson | |
| 2022-04-13 | Fixed tests on databases that don't support introspecting foreign keys. | Mariusz Felisiak | |
| 2022-04-04 | Fixed #33605 -- Fixed migration crash when altering RegexValidator to ↵ | Brian Helba | |
| pre-compiled regular expression. | |||
| 2022-03-29 | Refs #32365 -- Deprecated django.utils.timezone.utc. | Carlton Gibson | |
| 2022-03-24 | Refs #32365 -- Removed internal uses of utils.timezone.utc alias. | Carlton Gibson | |
| Remaining test case ensures that uses of the alias are mapped canonically by the migration writer. | |||
| 2022-03-23 | Refs #32365 -- Made migration writer use datetime.timezone.utc. | Carlton Gibson | |
| 2022-03-11 | Fixed #33572 -- Implemented CreateModel/AlterModelManagers reduction. | Adam Johnson | |
| 2022-02-23 | Refs #33476 -- Added warning to optimizemigration/squashmigrations commands ↵ | Mariusz Felisiak | |
| when black cannot be applied. | |||
| 2022-02-22 | Fixed #27844 -- Added optimizemigration management command. | David Wobrock | |
| 2022-02-16 | Fixed #33515 -- Prevented recreation of migration for ManyToManyField to ↵ | Mariusz Felisiak | |
| lowercased swappable setting. Thanks Chris Lee for the report. Regression in 43289707809c814a70f0db38ca4f82f35f43dbfd. Refs #23916. | |||
| 2022-02-11 | Refs #33476 -- Made management commands use black. | Carlton Gibson | |
| Run black on generated files, if it is available on PATH. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2022-02-03 | Refs #33476 -- Refactored problematic code before reformatting by Black. | Mariusz Felisiak | |
| In these cases Black produces unexpected results, e.g. def make_random_password( self, length=10, allowed_chars='abcdefghjkmnpqrstuvwxyz' 'ABCDEFGHJKLMNPQRSTUVWXYZ' '23456789', ): or cursor.execute(""" SELECT ... """, [table name], ) | |||
| 2022-02-01 | Fixed #33480 -- Fixed makemigrations crash when renaming field of renamed model. | Kirill Safronov | |
| Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. | |||
| 2022-01-27 | Fixed #33462 -- Fixed migration crash when altering type of primary key with ↵ | Mariusz Felisiak | |
| MTI and foreign key. This prevents duplicated operations when altering type of primary key with MTI and foreign key. Previously, a foreign key to the base model was added twice, once directly and once by the inheritance model. Thanks bcail for the report. Regression in 325d7710ce9f6155bb55610ad6b4580d31263557. | |||
| 2022-01-21 | Fixed #26760 -- Added --prune option to migrate command. | Jacob Walls | |
| 2022-01-21 | Fixed #33449 -- Fixed makemigrations crash on models without ↵ | Fabian Büchler | |
| Meta.order_with_respect_to but with _order field. Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. | |||
