| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2022-08-01 | [4.1.x] Fixed collation tests on MySQL 8.0.30+. | Mariusz Felisiak | |
| The utf8_ collations are renamed to utf8mb3_* on MySQL 8.0.30+. Backport of 88dba2e3fd64b64bcf4fae83b256b4f6f492558f from main | |||
| 2022-07-09 | [4.1.x] Refs CVE-2022-34265 -- Unified DatabaseOperations._convert_*_to_tz() ↵ | Mariusz Felisiak | |
| hook names. Backport of 5e2f4ddf2940704a26a4ac782b851989668d74db from main | |||
| 2022-07-08 | [4.1.x] Fixed #33829 -- Made BaseConstraint.deconstruct() and equality ↵ | Stéphane "Twidi" Angel | |
| handle violation_error_message. Regression in 667105877e6723c6985399803a364848891513cc. Backport of ccbf714ebeff51d1370789e5e487a978d0e2dbfb from main | |||
| 2022-07-06 | [4.1.x] Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() ↵ | Simon Charette | |
| parameters. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 877c800f255ccaa7abde1fb944de45d1616f5cc9 from main | |||
| 2022-07-04 | [4.1.x] Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) ↵ | Mariusz Felisiak | |
| against SQL injection. Thanks Takuto Yoshikai (Aeye Security Lab) for the report. | |||
| 2022-06-27 | [4.1.x] Fixed #33796 -- Fixed ordered combined queryset crash when used in ↵ | Mariusz Felisiak | |
| subquery on PostgreSQL and MySQL. Thanks Shai Berger for the report. Regression in 30a01441347d5a2146af2944b29778fa0834d4be. Backport of 44ffd8d06fabc07d8333f31439e8dd39ea87329b from main | |||
| 2022-06-23 | [4.1.x] Fixed #33799, Refs #31685 -- Added parameters for updating conflicts ↵ | DhruvaPatil98 | |
| to QuerySeta.abulk_create(). Backport of c627226d05dd52aef59447dcfb29cec2c2b11b8a from main | |||
| 2022-06-17 | [4.1.x] Fixed #28897 -- Fixed QuerySet.update() on querysets ordered by ↵ | David Wobrock | |
| annotations. Backport of 3ef37a5245015f69a9b9f884ebc289a35d02c5f6 from main | |||
| 2022-06-17 | [4.1.x] Refs #28897 -- Added test for QuerySet.update() on querysets ordered ↵ | David Wobrock | |
| by inline m2m annotation. Backport of f4680a112d01d85540411673eade31f37712d0a6 from main | |||
| 2022-06-13 | [4.1.x] Fixed #33773 -- Made Index with multiple fields respect ↵ | Bruce Cutler | |
| DEFAULT_INDEX_TABLESPACE. Thanks to Simon Charette for locating where issue lay. Backport of de1c8320cedee5d4f91b153a7fe82eb63876470f from main | |||
| 2022-06-02 | [4.1.x] 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. Backport of 798b6c23ee52c675dd0f0e233c50cddd7ff15657 from main | |||
| 2022-05-26 | [4.1.x] Fixed #23740 -- Fixed removing unique_together constraint if exists ↵ | David Wobrock | |
| primary key/unique constraint on the same field. Backport of b949e40e8c32a393f480399e2d70b653108098b6 from main | |||
| 2022-05-26 | [4.1.x] Refs #23740 -- Added BaseDatabaseSchemaEditor._unique_constraint_name(). | David Wobrock | |
| Backport of 115a978fceac4c4de2f9fc70ce19001c3f6d6918 from main | |||
| 2022-05-19 | [4.1.x] Fixed #33705 -- Fixed crash when using IsNull() lookup in filters. | David Wobrock | |
| Thanks Florian Apolloner for the report. Thanks Simon Charette for the review. Backport of 9f5548952906c6ea97200c016734b4f519520a64 from main | |||
| 2022-05-17 | [4.1.x] Refs #33379 -- Fixed minimum supported version of MariaDB. | Mariusz Felisiak | |
| Backport of 2cec020f5bc462954d902bdad1a5955852cecff6 from main | |||
| 2022-05-17 | [4.1.x] Updated source translation catalogs. | Mariusz Felisiak | |
| 2022-05-17 | Refs #27064 -- Made migrations generate RenameIndex operations when moving ↵ | David Wobrock | |
| indexes from index_together to Meta.indexes. | |||
| 2022-05-17 | Refs #27064 -- Refactored out MigrationAutodetector.create_renamed_fields(). | David Wobrock | |
| 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-13 | Added backward compatibility test for ConnectionHandler.databases property. | Nick Pope | |
| The ConnectionHandler.databases property is no longer used within Django, but it is maintained for backward compatibility with 3rd party packages that have used this private API in the past. | |||
| 2022-05-13 | Fixed typo in Query.clone()'s docstring. | 非法操作 | |
| 2022-05-12 | Refs #27064 -- Added RenameIndex migration operation. | David Wobrock | |
| 2022-05-12 | Made closing in connection handlers more DRY. | Nick Pope | |
| 2022-05-12 | Fixed #33543 -- Deprecated passing nulls_first/nulls_last=False to OrderBy ↵ | Mariusz Felisiak | |
| and Expression.asc()/desc(). Thanks Allen Jonathan David for the initial patch. | |||
| 2022-05-12 | Fixed #29538 -- Fixed crash of ordering by related fields when Meta.ordering ↵ | Ed Rivas | |
| contains expressions. Thanks Simon Charette for the review. | |||
| 2022-05-10 | Fixed #30581 -- Added support for Meta.constraints validation. | Gagaro | |
| Thanks Simon Charette, Keryn Knight, and Mariusz Felisiak for reviews. | |||
| 2022-05-04 | Fixed #25105 -- Checked deferred constraints before updating rows on PostgreSQL. | David Wobrock | |
| 2022-05-04 | Refs #30581 -- Added Q.check() hook. | Gagaro | |
| 2022-05-04 | Refs #33646 -- Reduced sync_to_async hops on async QuerySet iteration. | Simon Charette | |
| Until we add support for truly asynchronous database backends it's actually detrimental to have complete set retrieval require multiple hops between sync and async emulated contexts via asgiref. By defaulting to sending the whole sync _fetch_all() to the current context thread pool we reduce unncessary work when dealing with large result sets since the queryset cannot be iterated anyway before all results are retrieved and cached. | |||
| 2022-05-04 | Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4. | Mariusz Felisiak | |
| 2022-05-03 | Refs #30581 -- Added Q.flatten(). | Gagaro | |
| 2022-05-03 | Fixed #29854 -- Made _all_related_fields() return deterministically ordered ↵ | Collin Anderson | |
| fields. Thanks to Rick Yang and Baptiste Mispelon for the investigation. | |||
| 2022-05-02 | Refs #33646 -- Made QuerySet.raw() async-compatible. | Mariusz Felisiak | |
| 2022-05-02 | Refs #33646 -- Added RawModelIterable. | Mariusz Felisiak | |
| 2022-05-02 | Fixed #33413 -- Made migrations propage collations to related fields. | David Wobrock | |
| 2022-04-29 | Refs #33671 -- Fixed migrations crash when adding collation to a primary key ↵ | Mariusz Felisiak | |
| on Oracle. | |||
| 2022-04-29 | Fixed #33670 -- Fixed altering primary key on SQLite. | Mariusz Felisiak | |
| 2022-04-29 | Refs #33413 -- Added collation to CharField/TextField's db_parameters. | David Wobrock | |
| 2022-04-26 | Fixed #33646 -- Added async-compatible interface to QuerySet. | Andrew Godwin | |
| Thanks Simon Charette for reviews. Co-authored-by: Carlton Gibson <carlton.gibson@noumenal.es> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-04-26 | Fixed #33655 -- Removed unnecessary constant from GROUP BY clause for ↵ | marcperrinoptel | |
| QuerySet.exists(). | |||
| 2022-04-22 | Removed unnecessary variable in Index.create_sql(). | Hannes Ljungberg | |
| Unnecessary since fdfb3086fcba1b737ec09676ab4bb95105f3371e. | |||
| 2022-04-22 | Refs #31223 -- Added __class_getitem__() to ForeignKey. | Collin Anderson | |
| 2022-04-21 | Fixed #33509 -- Added "(no-op)" to sqlmigrate output for operations without ↵ | Adam Johnson | |
| SQL statement. | |||
| 2022-04-21 | Fixed #33004 -- Made saving objects with unsaved GenericForeignKey raise ↵ | sarahboyce | |
| ValueError. This aligns to the behaviour of OneToOneField and ForeignKey fields. Thanks Jonny Park for the initial patch. | |||
| 2022-04-19 | Refs #32226 -- Fixed JSON format of QuerySet.explain() on PostgreSQL when ↵ | Mariusz Felisiak | |
| format is uppercased. Follow up to aba9c2de669dcc0278c7ffde7981be91801be00b. | |||
| 2022-04-18 | Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵ | Mariusz Felisiak | |
| tests with MyISAM storage engine. | |||
| 2022-04-14 | Made select_for_update() don't raise TransactionManagementError on databases ↵ | Mariusz Felisiak | |
| that don't support transactions. | |||
| 2022-04-14 | Expanded QuerySet.explain() error message if a backend supports no formats. | Tim Graham | |
| 2022-04-14 | Removed unneeded code in explain_query_prefix() | Tim Graham | |
