| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-22 | Fixed #31765 -- Disabled bundled SQLite renaming atomic references on macOS ↵ | Tom Forbes | |
| 10.15. | |||
| 2020-07-03 | Removed duplicated sqlite3 converter. | Sergey Fedoseev | |
| Converters typenames are case-insensitive. See https://docs.python.org/3/library/sqlite3.html#sqlite3.register_converter. | |||
| 2020-06-30 | Fixed #28925 -- Fixed durations-only expressions crash on SQLite and MySQL. | Sergey Fedoseev | |
| This removes also unused DatabaseOperations.date_interval_sql(). | |||
| 2020-06-04 | Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield. | Tim Graham | |
| 2020-06-04 | Fixed #31630 -- Replaced introspection features with ↵ | Hasan Ramezani | |
| DatabaseFeatures.introspected_field_types. | |||
| 2020-05-11 | Refs #30116 -- Simplified regex match group access with Match.__getitem__(). | Jon Dufresne | |
| The method has been available since Python 3.6. The shorter syntax is also marginally faster. | |||
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-04-21 | Fixed #31479 -- Added support to reset sequences on SQLite. | Jon Dufresne | |
| 2020-04-21 | Refs #30591 -- Adjusted table rebuild for non-pk relationship on SQLite. | Simon Charette | |
| The existing code was only accounting for primary key changes and not all unique key fields that can be referenced. | |||
| 2020-04-21 | Fixed #31064 -- Recreated auto-created many-to-many tables on primary key ↵ | Simon Charette | |
| data type change on SQLite. Both local and remote auto-created many-to-many relationships were affected. | |||
| 2020-04-20 | Stopped rebuilding referenced tables multiple times on SQLite alterations. | Simon Charette | |
| 2020-04-17 | Fixed #31473 -- Made sql_flush() use RESTART IDENTITY to reset sequences on ↵ | Jon Dufresne | |
| PostgreSQL. The sql_flush() positional argument sequences is replaced by the boolean keyword-only argument reset_sequences. This ensures that the old function signature can't be used by mistake when upgrading Django. When the new argument is True, the sequences of the truncated tables will reset. Using a single boolean value, rather than a list, allows making a binary yes/no choice as to whether to reset all sequences rather than a working on a completely different set. | |||
| 2020-04-14 | Fixed #29501 -- Allowed dbshell to pass options to underlying tool. | Adam Johnson | |
| 2020-04-06 | Fixed #31030 -- Registered SQLite functions as deterministic on Python 3.8+. | Sergey Fedoseev | |
| 2020-03-25 | Fixed #31396 -- Added binary XOR operator to F expressions. | Hannes Ljungberg | |
| 2020-03-18 | Fixed #31376 -- Optimized nulls ordering when possible on SQLite and MySQL. | Simon Charette | |
| Both backends order NULLs first on ascending ordering and last on descending ordering which makes ORDER BY IS (NOT)? NULL wasteful when asc(nulls_first) and desc(nulls_last) are used since it prevents indice usage. | |||
| 2020-02-18 | Fixed #31228 -- Reallowed aggregates to be used with multiple expressions ↵ | Taoup | |
| and no DISTINCT on SQLite. Regression in bc05547cd8c1dd511c6b6a6c873a1bc63417b111. Thanks Andy Terra for the report. | |||
| 2020-02-06 | Fixed #31233 -- Closed database connections and cursors after use. | Jon Dufresne | |
| 2020-02-04 | Simplified imports from django.db and django.contrib.gis.db. | Nick Pope | |
| 2020-01-03 | Fixed #31133 -- Fixed crash when subtracting against a subquery annotation. | Simon Charette | |
| The subtract_temporals() database operation was not handling expressions returning SQL params in mixed database types. Regression in 35431298226165986ad07e91f9d3aca721ff38ec. Thanks Reupen Shah for the report. | |||
| 2019-12-16 | Fixed #31076 -- Fixed dbshell crash on Windows with Python < 3.8. | Zeynel Özdemir | |
| subprocess.run()'s args parameter accepts path-like objects on Windows since Python 3.8. | |||
| 2019-11-21 | Fixed #30413 -- Fixed test database signature on SQLite when test database ↵ | Farhaan Bukhsh | |
| name is provided. Previously, the same signature was created for multiple in-memory databases on SQLite when they had tests databases names DATABASES['TEST']['NAME']. | |||
| 2019-11-19 | Fixed #30987 -- Added models.PositiveBigIntegerField. | Caio Ariede | |
| 2019-11-07 | Refs #29983 -- Added support for using pathlib.Path in all settings. | Jon Dufresne | |
| 2019-11-04 | Refs #13312 -- Simplified handling of nulls ordering on MySQL. | Nick Pope | |
| MySQL & MariaDB support the standard IS NULL and IS NOT NULL so the same workaround used for NULLS FIRST and NULLS LAST that is used for SQLite < 3.30.0 can be used. Thanks Simon Charette for the discussion. | |||
| 2019-10-29 | Fixed #30899 -- Lazily compiled import time regular expressions. | Hasan Ramezani | |
| 2019-10-15 | Fixed #30859 -- Fixed DatabaseFeatures.supports_aggregate_filter_clause on ↵ | Mariusz Felisiak | |
| SQLite 3.30.1+. | |||
| 2019-10-09 | Refs #26608 -- Fixed DatabaseFeatures.supports_frame_range_fixed_distance on ↵ | Mariusz Felisiak | |
| SQLite 3.28+, MariaDB 10.2+, and MySQL 8.0.2+. | |||
| 2019-10-02 | Fixed #30821 -- Added ExtractIsoWeekYear database function and iso_week_day ↵ | Anatol Ulrich | |
| lookup. | |||
| 2019-08-23 | Replaced subprocess commands by run() wherever possible. | Claude Paroz | |
| 2019-08-02 | Fixed #30661 -- Added models.SmallAutoField. | Nick Pope | |
| 2019-08-01 | Fixed #30664 -- Fixed migrations crash when altering table on SQLite or ↵ | Ngalim Siregar | |
| altering AutoField/BigAutoField on PostgreSQL for models with quoted db_table. | |||
| 2019-06-20 | Fixed #30451 -- Added ASGI handler and coroutine-safety. | Andrew Godwin | |
| This adds an ASGI handler, asgi.py file for the default project layout, a few async utilities and adds async-safety to many parts of Django. | |||
| 2019-06-13 | Fixed #30128 -- Fixed handling timedelta timezone in database functions. | can | |
| 2019-04-24 | Removed unnecessary assignments in various code. | Jon Dufresne | |
| 2019-04-08 | Fixed #28373 -- Used connection timezone instead of UTC when making dates ↵ | can | |
| timezone-aware on MySQL, SQLite, and Oracle. Thanks vtalpaert for the initial patch. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-03-22 | Fixed #30271 -- Added the Sign database function. | Nick Pope | |
| 2019-03-20 | Fixed #30240 -- Added SHA1, SHA224, SHA256, SHA384, and SHA512 database ↵ | Nick Pope | |
| functions. Thanks Mariusz Felisiak and Tim Graham for reviews. | |||
| 2019-03-13 | Fixed #30183 -- Added introspection of inline SQLite constraints. | Paveł Tyślacki | |
| 2019-03-01 | Refs #30183 -- Moved SQLite table constraint parsing to a method. | Paveł Tyślacki | |
| 2019-03-01 | Unified nonexistent foreign key introspection value for SQLite. | Paveł Tyślacki | |
| 2019-02-21 | Refs #28643 -- Added MD5 database function. | Mariusz Felisiak | |
| Thanks Tim Graham, Nick Pope and Simon Charette for reviews. | |||
| 2019-02-13 | Fixed #30184 -- Removed ellipsis characters from shell output strings. | Dan Davis | |
| Partially reverted 50b8493581fea3d7137dd8db33bac7008868d23a (refs #29654) to avoid a crash when the user shell doesn't support non-ASCII characters. | |||
| 2019-02-09 | Refs #30027 -- Enabled window function tests on SQLite 3.25+. | Simon Charette | |
| 2019-01-30 | Fixed #30116 -- Dropped support for Python 3.5. | Tim Graham | |
| 2019-01-29 | Fixed #30108 -- Allowed adding foreign key constraints in the same statement ↵ | Dan Tao | |
| that adds a field. | |||
| 2019-01-28 | Refs #30055 -- Added a helpful error when SQLite is too old. | Tim Graham | |
| 2019-01-22 | Fixed #30115 -- Fixed SQLite introspection crash with a varchar primary key. | Nick Pope | |
| Removed obsolete max_length handling for CharField that caused the issue. Regression in a35d2a4510d5beec398b1007aaa26492d6aedf97. | |||
| 2019-01-22 | Inlined DatabaseIntrospection._table_info() for SQLite. | Nick Pope | |
| 2019-01-12 | Refs #28643 -- Added Reverse database function. | Nick Pope | |
| Thanks Mariusz Felisiak for Oracle advice and review. | |||
