| Age | Commit message (Collapse) | Author |
|
with OrderBy expressions.
Regression in c8b659430556dca0b2fe27cf2ea0f8290dbafecd.
Thanks Kevin Marsh for the report.
Backport of 96f55ccf798c7592a1203f798a4dffaf173a9263 from main
|
|
file uploads.
|
|
deconstruction.
Subquery deconstruction support required implementing complex and
expensive equality rules for sql.Query objects for little benefit as
the latter cannot themselves be made deconstructible to their reference
to model classes.
Making Expression @deconstructible and not BaseExpression allows
interested parties to conform to the "expression" API even if they are
not deconstructible as it's only a requirement for expressions allowed
in Model fields and meta options (e.g. constraints, indexes).
Thanks Phillip Cutter for the report.
This also fixes a performance regression in bbf141bcdc31f1324048af9233583a523ac54c94.
Backport of c8b659430556dca0b2fe27cf2ea0f8290dbafecd from main
|
|
self-referential subqueries on MySQL.
Backport of 4074f38e1dcc93b859bbbfd6abd8441c3bca36b3 from main
|
|
combination.
This issue started manifesting itself when nesting a combined subquery
relying on exclude() since 8593e162c9cb63a6c0b06daf045bc1c21eb4d7c1 but
sql.Query.combine never properly handled subqueries outer refs in the
first place, see QuerySetBitwiseOperationTests.test_subquery_aliases()
(refs #27149).
Thanks Raffaele Salmaso for the report.
Backport of 6d0cbe42c3d382e5393d4af48185c546bb0ada1f from main
|
|
expressions.
Backport of 00b0786de533dbb3f6208d8d5eaddbf765b4e5b8 from main.
Regression in 466920f6d726eee90d5566e0a9948e92b33a122e.
|
|
in CheckConstraint.check and UniqueConstraint.condition.
Regression in b7b7df5fbcf44e6598396905136cab5a19e9faff.
Thanks Szymon Zmilczak for the report.
Backport of a77c9a4229cfef790ec18001b2cd18bd9c4aedbc from main
|
|
combined querysets ordered by unannotated columns.
Backport of 9760e262f85ae57df39abe2799eff48a82b14474 from main
|
|
DEFAULT_AUTO_FIELD.
Backport of 45a58c31e64dbfdecab1178b1d00a3803a90ea2d from main
|
|
GROUP BY on aggregations.
Regression in fb3f034f1c63160c0ff13c609acd01c18be12f80.
Refs #31094, #31150.
Thanks Igor Pejic for the report.
Backport of 277eea8fcced7f04f3800617f189beb349a3212e from master
|
|
Backport of f2bef2b7bc6c817af0f5fa77e1052a1f5ce12f71 from master
|
|
pickleable Q().
Regression in bb0b6e526340e638522e093765e534df4e4393d2.
Backport of 466920f6d726eee90d5566e0a9948e92b33a122e from master
|
|
distinct().
Backport of 6307c3f1a123f5975c73b231e8ac4f115fd72c0d from master
|
|
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
|
|
child after parent.
Follow up to 519016e5f25d7c0a040015724f9920581551cab0.
Backport of 7cba92ec55a5d05450261f375830619870ca84fa from master
|
|
expressions.
Backport of fdfbc66331292def201c9344e3cd29fbcbcd076a from master
|
|
auto-created primary keys for inherited PKs.
Regression in b5e12d490af3debca8c55ab3c1698189fdedbbdb.
Thanks אורי for the report.
Backport of a03a36121d22c8784985c7e45727eddef6a3ea7f from master
|
|
functional indexes.
|
|
Thanks Simon Charette, Mads Jensen, and Mariusz Felisiak for reviews.
Co-authored-by: Markus Holtermann <info@markusholtermann.eu>
|
|
|
|
|
|
between apps.
|
|
|
|
Follow up to b7a3a6c9ef0a89625881b47594120bca55fa2e49.
|
|
argument optional and kwarg-only.
|
|
already fetched.
Thanks Dennis Kliban for the report and Adam Johnson for the initial
patch.
Co-authored-by: Adam Johnson <me@adamj.eu>
|
|
This also changes the default type of auto-created primary keys
for new apps and projects to BigAutoField.
|
|
__isnull=True on key transforms should not match keys with NULL values.
|
|
|
|
|
|
expressions.
Thanks Mariusz Felisiak and Simon Charette for reviews.
|
|
transforms with non-string values on SQLite.
Thanks Gordon Wrigley for the report.
|
|
|
|
Thanks Gordon Wrigley for the report.
Regression in df32fd42b84cc6dbba173201f244491b0d154a63.
|
|
|
|
querysets ordered by annotations.
|
|
annotations on PostgreSQL.
|
|
Regression was introduced by fff5186 but was due a long standing issue.
AggregateQuery was abusing Query.subquery: bool by stashing its
compiled inner query's SQL for later use in its compiler which made
select_format checks for Query.subquery wrongly assume the provide
query was a subquery.
This patch prevents that from happening by using a dedicated
inner_query attribute which is compiled at a later time by
SQLAggregateCompiler.
Moving the inner query's compilation to SQLAggregateCompiler.compile
had the side effect of addressing a long standing issue with
aggregation subquery pushdown which prevented converters from being
run. This is now fixed as the aggregation_regress adjustments
demonstrate.
Refs #25367.
Thanks Eran Keydar for the report.
|
|
Positive(Big/Small)IntegerFields.
|
|
Regression in 42c08ee46539ef44f8658ebb1cbefb408e0d03fe.
Thanks Simon Charette for the review.
|
|
|
|
As mentioned in the pre-existing split_exclude() docstring EXISTS is
easier to optimize for query planers and circumvents the IN (NULL)
handling issue.
|
|
By making Query subclass BaseExpression in
35431298226165986ad07e91f9d3aca721ff38ec the former defined it's
identity based off _construct_args which is not appropriate.
|
|
Matches signatures of other contribute_to_class() methods.
|
|
bulk_create() after parent.
|
|
Regression in 8be79984dce7d819879a6e594ca69c5f95a08378.
Thanks Gordon Wrigley for the report.
|
|
Thanks to Tzu-ping Chung for the tests.
|
|
Co-authored-by: Simon Charette <charettes@users.noreply.github.com>
|
|
RestrictedError.restricted_objects.
Regression in 4ca5c565f4dc9e97845036e86416abc5cfde766c and
ab3cbd8b9a315911248227208630a020cedca08f.
Thanks Vitaliy Yelnik for the report.
|
|
union() on a single non-empty ordered queryset.
|