| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2021-12-23 | Refs #33355 -- Optimized LPad() database function on SQLite. | Adam Johnson | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-22 | Refs #32355 -- Bumped required psycopg2 version to 2.8.4. | Mariusz Felisiak | |
| psycopg2 2.8.4 is the first release to support Python 3.8. | |||
| 2021-12-22 | Refs #33355 -- Optimized Trunc() on SQLite by using f-strings. | Adam Johnson | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-22 | Refs #33355 -- Added missing tests for database functions and expression on ↵ | Adam Johnson | |
| null values. | |||
| 2021-12-21 | Fixed #33374 -- Fixed ExpressionWrapper annotations with full queryset. | David Wobrock | |
| 2021-12-14 | Fixed #33358 -- Fixed handling timedelta < 1 day in schema operations on Oracle. | mdalp | |
| 2021-12-13 | Refs #33355 -- Fixed Trunc() with years < 1000 on SQLite. | Adam Johnson | |
| Thanks to Nick Pope for spotting the bug in Code Review. Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-10 | Refs #32502 -- Avoided table rebuild when adding fields with no default on ↵ | Mariusz Felisiak | |
| SQLite. | |||
| 2021-12-10 | Fixed DatabaseFeatures.requires_literal_defaults on SQLite. | Mariusz Felisiak | |
| This flag is currently unused on SQLite because it doesn't support dropping a DEFAULT clause, however it requires literal defaults, rather than parameterized ones, so we can set it for clarity. | |||
| 2021-12-10 | Refs #32502 -- Added SchemaEditor.prepare_default() on SQLite. | Mariusz Felisiak | |
| 2021-12-10 | Corrected return value of ForeignKey.db_check(). | Adam Johnson | |
| Field.db_check() should return None or a SQL string. Returning [] happened to work because it’s falsey. | |||
| 2021-12-09 | Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache. | Arsa | |
| 2021-12-08 | Fixed #33319 -- Fixed crash when combining with the | operator querysets ↵ | Ömer Faruk Abacı | |
| with aliases that conflict. | |||
| 2021-12-08 | Refs #33319 -- Added comment about keys/values assertion in ↵ | Ömer Faruk Abacı | |
| Query.change_aliases(). | |||
| 2021-12-07 | Refs #25265 -- Allowed customizing Query's datastructure classes. | Erik Cederstrand | |
| 2021-12-07 | Fixed #31765 -- Enforced enhanced ALTER TABLE behavior for SQLite connections. | Adam Johnson | |
| 2021-12-06 | Fixed #33335 -- Made model validation ignore functional unique constraints. | Hannes Ljungberg | |
| Regression in 3aa545281e0c0f9fac93753e3769df9e0334dbaa. Thanks Hervé Le Roy for the report. | |||
| 2021-12-03 | Fixed #33333 -- Fixed setUpTestData() crash with models.BinaryField on ↵ | Mariusz Felisiak | |
| PostgreSQL. This makes models.BinaryField pickleable on PostgreSQL. Regression in 3cf80d3fcf7446afdde16a2be515c423f720e54d. Thanks Adam Zimmerman for the report. | |||
| 2021-12-03 | Fixed #33339 -- Made QuerySet.bulk_create() use TO_NCLOB() for TextFields on ↵ | Georgi Yanchev | |
| Oracle. | |||
| 2021-12-02 | Updated various links to HTTPS and new locations. | Mariusz Felisiak | |
| Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-02 | Fixed #33282 -- Fixed a crash when OR'ing subquery and aggregation lookups. | Simon Charette | |
| As a QuerySet resolves to Query the outer column references grouping logic should be defined on the latter and proxied from Subquery for the cases where get_group_by_cols is called on unresolved expressions. Thanks Antonio Terceiro for the report and initial patch. | |||
| 2021-12-02 | Refs #32690 -- Altered lookups Query rhs alterations during initialization. | Simon Charette | |
| Having it happen at the lookup creation time ensures entry points called before the compilation phase (e.g. get_group_by_cols) don't have to duplicate the logic in charge of altering Query instances used as rhs. It also has the nice effect of reducing the amount of time the alteration logic to once as opposed to multiple times if the queryset is compiled more than once. | |||
| 2021-12-01 | Fixed #30398 -- Added CONN_HEALTH_CHECKS database setting. | Przemysław Suliga | |
| The CONN_HEALTH_CHECKS setting can be used to enable database connection health checks for Django's persistent DB connections. Thanks Florian Apolloner for reviews. | |||
| 2021-11-29 | Fixed #33322 -- Fixed loss of assigned related object when saving relation ↵ | Hannes Ljungberg | |
| with bulk_update(). | |||
| 2021-11-25 | Removed unneeded can_use_chunked_reads feature flag on SQLite. | Mariusz Felisiak | |
| Unneeded since c0e3c65b9d1b26cfc38137b7666ef0e108aab77f. | |||
| 2021-11-24 | Removed unneeded supports_combined_alters feature flag on Oracle. | Mariusz Felisiak | |
| supports_combined_alters is False by default. | |||
| 2021-11-23 | Fixed #33309 -- Fixed QuerySet.distinct() crash on mixed case annotation. | arsalan.ghassemi | |
| 2021-11-23 | Fixed #33304 -- Allowed passing string expressions to Window(order_by). | Simon Charette | |
| 2021-11-23 | Refs #33304 -- Enclosed aggregate ordering logic in an expression. | Simon Charette | |
| This greatly simplifies the implementation of contrib.postgres' OrderableAggMixin and allows for reuse in Window expressions. | |||
| 2021-11-22 | Fixed #33305 -- Fixed autodetector crash for ForeignKey with hardcoded "to" ↵ | Baptiste Mispelon | |
| attribute. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2021-11-19 | Fixed #33229 -- Fixed ↵ | SwastikTripathi | |
| BaseDatabaseOperations.adapt_datetimefield_value()/adapt_timefield_value() crash with expressions. | |||
| 2021-11-19 | Refs #24121 -- Added __repr__() to BaseDatabaseWrapper, JoinPromoter, and ↵ | Jonny Park | |
| SQLCompiler. | |||
| 2021-11-15 | Refs #33288 -- Removed SQLite's ↵ | Simon Charette | |
| DatabaseIntrospection._get_foreign_key_constraints(). The get_relations() method returns the exact same data in a more generic format. | |||
| 2021-11-15 | Fixed #33288 -- Made SQLite introspection use information schema for relations. | Simon Charette | |
| Previous solution was using brittle and complex parsing rules to extract them from the SQL used to define the tables. Removed a now unnecessary unit test that ensured the removed parsing logic accounted for optional spacing. | |||
| 2021-11-15 | Refs #33288 -- Made SQLite introspection raise DatabaseError on nonexistent ↵ | Simon Charette | |
| tables. All the other backends behave this way and we had to make adjustments to our test suite to account for this discrepancy. This also allows SQLite's get_relations() not to raise on a nonexistent table while making sure the InspectDBTestCase.test_introspection_errors test which ensures an error during introspection is surfaced in generated models files still passes. | |||
| 2021-11-12 | Fixed #33161 -- Enabled durability check for nested atomic blocks in TestCase. | Krzysztof Jagiello | |
| Co-Authored-By: Adam Johnson <me@adamj.eu> | |||
| 2021-11-12 | Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | |
| Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. | |||
| 2021-11-10 | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | |
| Thanks Simon Charette for the report. | |||
| 2021-11-10 | Fixed DatabaseIntrospection.get_relations() docstring. | Tim Graham | |
| The foreign keys are "in" the given table, not "to" it. | |||
| 2021-11-08 | Fixed #33257 -- Fixed Case() and ExpressionWrapper() with decimal values on ↵ | Matthijs Kooijman | |
| SQLite. | |||
| 2021-11-08 | Fixed #32980 -- Made models cache related managers. | Keryn Knight | |
| 2021-11-04 | Fixed #33262 -- Fixed crash of conditional aggregation on Exists(). | Hannes Ljungberg | |
| 2021-11-03 | Fixed #33260 -- Fixed crash when chaining QuerySet.exists() after ↵ | Hannes Ljungberg | |
| select_for_update(of=()). | |||
| 2021-11-03 | Fixed #32996 -- Cached PathInfos on relations. | Keryn Knight | |
| PathInfo values are ostensibly static over the lifetime of the object for which they're requested, so the data can be memoized, quickly amortising the cost over the process' duration. | |||
| 2021-11-02 | Fixed #32691 -- Made Exact lookup on BooleanFields compare directly to a ↵ | Roman | |
| boolean value on MySQL. Performance regression in 37e6c5b79bd0529a3c85b8c478e4002fd33a2a1d. Thanks Todor Velichkov for the report. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2021-11-02 | Fixed #33234 -- Fixed autodetector crash for proxy models inheriting from ↵ | Mariusz Felisiak | |
| non-model class. Regression in aa4acc164d1247c0de515c959f7b09648b57dc42. Thanks Kevin Marsh for the report. | |||
| 2021-11-02 | Fixed #33224 -- Removed ↵ | Hasan Ramezani | |
| DatabaseFeatures.supports_mixed_date_datetime_comparisons. | |||
| 2021-10-28 | Fixed #33228 -- Changed value of ↵ | Chinmoy | |
| BaseDatabaseFeatures.has_case_insensitive_like to False. | |||
| 2021-10-28 | Removed unused model's Options.installed. | Mariusz Felisiak | |
| Unused since f9698c43918c118a29516cbef4e23c197eb2dc25. | |||
| 2021-10-27 | Fixed #33201 -- Made RenameModel operation a noop for models with db_table. | Iuri de Silvio | |
