| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-03-30 | [3.2.x] Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes. | Mariusz Felisiak | |
| Backport of f6018c1e63a04e0c12e2ca759e76e05ccf5e09de from main | |||
| 2021-02-24 | [3.2.x] Fixed #32478 -- Included nested columns referenced by subqueries in ↵ | Simon Charette | |
| GROUP BY on aggregations. Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80. Refs #31094, #31150. Thanks Igor Pejic for the report. Backport of 277eea8fcced7f04f3800617f189beb349a3212e from master | |||
| 2021-02-19 | [3.2.x] Fixed #32455 -- Allowed right combining Q() with boolean expressions. | Hasan Ramezani | |
| Backport of f2bef2b7bc6c817af0f5fa77e1052a1f5ce12f71 from master | |||
| 2021-02-18 | [3.2.x] Fixed #32450 -- Fixed crash when ANDing/ORing an empty Q() with not ↵ | starryrbs | |
| pickleable Q(). Regression in bb0b6e526340e638522e093765e534df4e4393d2. Backport of 466920f6d726eee90d5566e0a9948e92b33a122e from master | |||
| 2021-02-17 | [3.2.x] Fixed #32453 -- Added introspection of unique constraint field ↵ | Hannes Ljungberg | |
| ordering on SQLite. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Backport of 4d99375b46ad03fa4b4795319973046f438328c8 from master | |||
| 2021-02-11 | [3.2.x] Fixed #32433 -- Added error message on QuerySet.delete() following ↵ | Egidijus Macijauskas | |
| distinct(). Backport of 6307c3f1a123f5975c73b231e8ac4f115fd72c0d from master | |||
| 2021-02-09 | [3.2.x] Fixed #32425 -- Fixed adding nullable field with default on MySQL. | Jordan Bae | |
| Thanks Simon Charette for the review. Backport of d4ac23bee1c84d8e4610350202ac068fc90f38c0 from master | |||
| 2021-02-04 | [3.2.x] Refs #32074 -- Fixed TextChoices/IntegerChoices crash on Python 3.10. | Mariusz Felisiak | |
| EnumMeta has a new keyword argument 'boundary' in Python 3.10. This is a new mechanism that controls how out-of-range / invalid bits are handled, see https://bugs.python.org/issue38250. Backport of 5d9b065d3f93de056588dfee6f1776294dd8bab2 from master | |||
| 2021-02-04 | [3.2.x] Fixed #32332 -- Fixed loss of parent with non-numeric pk when saving ↵ | Hasan Ramezani | |
| child after parent. Follow up to 519016e5f25d7c0a040015724f9920581551cab0. Backport of 7cba92ec55a5d05450261f375830619870ca84fa from master | |||
| 2021-02-02 | [3.2.x] Fixed #32403 -- Fixed re-raising DatabaseErrors when using only ↵ | Mariusz Felisiak | |
| 'postgres' database. Thanks Kazantcev Andrey for the report. Regression in f48f671223a20b161ca819cf7d6298e43b8ba5fe. Backport of f131841c601b9d4884adcdb284b4213c2ad89231 from master | |||
| 2021-01-29 | [3.2.x] Fixed #32392 -- Fixed ExclusionConstraint crash with Cast() in ↵ | Tilman Koschnick | |
| expressions. Backport of fdfbc66331292def201c9344e3cd29fbcbcd076a from master | |||
| 2021-01-26 | [3.2.x] Fixed #32369 -- Fixed adding check constraints with pattern lookups ↵ | Simon Charette | |
| and expressions as rhs. This disables interpolation of constraint creation statements. Since Constraint.create_sql interpolates its parameters instead of deferring this responsibility to the backend connection it must disable connection level parameters interpolation. Backport of 42e8cf47c7ee2db238bf91197ea398126c546741 from master | |||
| 2021-01-21 | [3.2.x] Fixed #32367 -- Fixed system check for specifying type of ↵ | Mariusz Felisiak | |
| auto-created primary keys for inherited PKs. Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb. Thanks אורי for the report. Backport of a03a36121d22c8784985c7e45727eddef6a3ea7f from master | |||
| 2021-01-21 | [3.2.x] Fixed #32374 -- Stopped recording migration application before ↵ | Simon Charette | |
| deferred SQL. Migrations cannot be recorded in the same transaction as its associated DDL operations when some of it is deferred until the schema editor context exits. Regression in c86a3d80a25acd1887319198ca21a84c451014ad. Backport of 0c42cdf0d2422f4c080e93594d5d15381d6e955e from master | |||
| 2021-01-14 | Fixed #32321 -- Added system checks for invalid model field names in ↵ | Hasan Ramezani | |
| functional indexes. | |||
| 2021-01-14 | Refs #26167 -- Changed default value of ↵ | Hannes Ljungberg | |
| DatabaseFeatures.supports_expression_indexes to True. | |||
| 2021-01-13 | Fixed #26167 -- Added support for functional indexes. | Hannes Ljungberg | |
| Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews. Co-authored-by: Markus Holtermann <info@markusholtermann.eu> | |||
| 2021-01-12 | Refs #26709 -- Made Index raise ValueError on non-string fields. | Hannes Ljungberg | |
| 2021-01-11 | Fixed #32342 -- Added index order introspection on MySQL 8.0.1+. | Mariusz Felisiak | |
| 2021-01-06 | Refs #25175 -- Removed postgresql_psycopg2 in django.db.utils.load_backend(). | Mariusz Felisiak | |
| Follow up to 944469939b9eb93fda0924f78faba5c0ffae2dff. | |||
| 2021-01-05 | Fixed #32231 -- Allowed passing None params to QuerySet.raw(). | Alexander Lyabah | |
| 2021-01-04 | Simplified django.db.utils.load_backend(). | William Schwartz | |
| Previously load_backend() performed search by computing the (sole) entry of django.db.backends.__path__ manually from django.db.utils.__file__. Now django.db.backends.__path__ is used directly. | |||
| 2020-12-30 | Fixed #32294 -- Prevented ManyToManyField's hidden related name collisions ↵ | manav014 | |
| between apps. | |||
| 2020-12-30 | Fixed #32303 -- Bumped minimum supported SQLite to 3.9.0. | Mariusz Felisiak | |
| 2020-12-29 | Fixed #32302 -- Allowed migrations to be loaded from regular packages with ↵ | William Schwartz | |
| no __file__ attribute. The migrations loader prevents the use of PEP-420 namespace packages for holding apps' migrations modules. Previously the loader tested for this only by checking that app.migrations.__file__ is present. This prevented migrations' being found in frozen Python environments that don't set __file__ on any modules. Now the loader *additionally* checks whether app.migrations.__path__ is a list because namespace packages use a different type for __path__. Namespace packages continue to be forbidden, and, in fact, users of normal Python environments should experience no change whatsoever. | |||
| 2020-12-29 | Added app labels to related fields checks messages E302-E305. | Mariusz Felisiak | |
| 2020-12-29 | Used model's Options.label where applicable. | Mariusz Felisiak | |
| Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49. | |||
| 2020-12-28 | Fixed #32158 -- Fixed loaddata crash on SQLite when table/column names are ↵ | Chinmoy Chakraborty | |
| SQL keywords. | |||
| 2020-12-23 | Refs #26167 -- Made DatabaseSchemaEditor._create_index_sql()'s fields ↵ | Hannes Ljungberg | |
| argument optional and kwarg-only. | |||
| 2020-12-22 | Refs #32285 -- Made AppConfigStub do not call super().__init__(). | Hasan Ramezani | |
| Calling super().__init__() is unnecessary and enforces the use of various workarounds. | |||
| 2020-12-18 | Fixed #32262 -- Fixed migration optimization for model creation and Meta ↵ | Hasan Ramezani | |
| options removal. | |||
| 2020-12-16 | Fixed #32089 -- Fixed prefetch_related_objects() when some objects are ↵ | Alexey Nigin | |
| already fetched. Thanks Dennis Kliban for the report and Adam Johnson for the initial patch. Co-authored-by: Adam Johnson <me@adamj.eu> | |||
| 2020-12-15 | Fixed #31007 -- Allowed specifying type of auto-created primary keys. | Tom Forbes | |
| This also changes the default type of auto-created primary keys for new apps and projects to BigAutoField. | |||
| 2020-12-11 | Fixed #32252 -- Fixed __isnull=True on key transforms on SQLite and Oracle. | sage | |
| __isnull=True on key transforms should not match keys with NULL values. | |||
| 2020-12-11 | Refs #32178 -- Changed BaseDatabaseFeatures.django_test_expected_failures to ↵ | Hasan Ramezani | |
| set(). | |||
| 2020-12-10 | Fixed #32178 -- Allowed database backends to skip tests and mark expected ↵ | Hasan Ramezani | |
| failures. Co-authored-by: Tim Graham <timograham@gmail.com> | |||
| 2020-12-08 | Fixed #32233 -- Cleaned-up duplicate connection functionality. | Florian Apolloner | |
| 2020-12-07 | Removed lhs_only argument from KeyTransform.preprocess_lhs(). | sage | |
| 2020-12-02 | Fixed #32179 -- Added JSONObject database function. | Artur Beltsov | |
| 2020-11-27 | Fixed #32220 -- Added durable argument to transaction.atomic(). | Ian Foote | |
| 2020-11-27 | Fixed #25534, Fixed #31639 -- Added support for transform references in ↵ | Ian Foote | |
| expressions. Thanks Mariusz Felisiak and Simon Charette for reviews. | |||
| 2020-11-25 | Fixed #32203 -- Fixed QuerySet.values()/values_list() crash on key ↵ | sage | |
| transforms with non-string values on SQLite. Thanks Gordon Wrigley for the report. | |||
| 2020-11-25 | Fixed #32224 -- Avoided suppressing connection errors in supports_json_field ↵ | Mariusz Felisiak | |
| on SQLite.` Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. Thanks Juan Garcia Alvite for the report. | |||
| 2020-11-24 | Simplified JSONField key transforms by using JSON_OBJECT() on Oracle. | Mariusz Felisiak | |
| 2020-11-19 | Fixed #32200 -- Fixed grouping by ExpressionWrapper() with Q objects. | Hasan Ramezani | |
| Thanks Gordon Wrigley for the report. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. | |||
| 2020-11-19 | Fixed #32201 -- Removed obsolete isort:skip's. | Seamus Quinn | |
| Obsolete as of isort 5. | |||
| 2020-11-16 | Fixed #31507 -- Added QuerySet.exists() optimizations to compound queries. | David-Wobrock | |
| 2020-11-16 | Fixed #32197 -- Improved error message when loading a database backend fails. | Hasan Ramezani | |
| 2020-11-14 | Fixed #31496 -- Fixed QuerySet.values()/values_list() crash on combined ↵ | David-Wobrock | |
| querysets ordered by annotations. | |||
| 2020-11-11 | Fixed #31762 -- Made reloading the database for tests use the base manager. | Hasan Ramezani | |
| Co-authored-by: Eugene Kulak <kulak.eugene@gmail.com> | |||
