| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-02-11 | [5.2.x] Refs #36148 -- Relied on a feature switch to define tuple lookups ↵ | Simon Charette | |
| support. This should allow backends more easily opt-in or out of native support and rely on the fallback if unavailable. Backport of a0a765ddeb5056c85e084773d3f6432e2a426638 from main. | |||
| 2025-01-29 | [5.2.x] Fixed #36118 -- Accounted for multiple primary keys in bulk_update ↵ | Sarah Boyce | |
| max_batch_size. Co-authored-by: Simon Charette <charette.s@gmail.com> Backport of 5a2c1bc07d126ce32efaa157e712a8f3a7457b74 from main. | |||
| 2025-01-10 | Refs #36064 -- Added Model.has_db_default() to encapsulate NOT_PROVIDED checks. | Simon Charette | |
| This avoids many awkward checks against NOT_PROVIDED and provides symmetry with Field.has_default() which is also the reason why it wasn't made a property. | |||
| 2024-12-16 | Refs #35842 -- Fixed test_lookups_special_chars_double_quotes on SQLite 3.47+. | Sage Abdullah | |
| 2024-12-03 | Refs #35842 -- Fixed handling of quotes in JSONField key lookups on Oracle. | Sage Abdullah | |
| 2024-11-29 | Fixed #373 -- Added CompositePrimaryKey. | Bendeguz Csirmaz | |
| Thanks Lily Foote and Simon Charette for reviews and mentoring this Google Summer of Code 2024 project. Co-authored-by: Simon Charette <charette.s@gmail.com> Co-authored-by: Lily Foote <code@lilyf.org> | |||
| 2024-11-11 | Fixed typo in django/db/backends/sqlite3/features.py. | Mariusz Felisiak | |
| 2024-09-17 | Fixed #35762 -- Avoided unneeded quote_name() calls in SQLite introspection. | Claude Paroz | |
| Double-quoting string literals is deprecated in recent SQLite versions. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2024-09-16 | Fixed #34887 -- Added support for unlimited models.CharField on SQLite. | saJaeHyukc | |
| Signed-off-by: saJaeHyukc <wogur981208@gmail.com> | |||
| 2024-04-29 | Fixed #35412 -- Dropped support for SQLite < 3.31. | Mariusz Felisiak | |
| 2024-04-16 | Fixed #35373 -- Fixed a crash when indexing a generated field on SQLite. | Simon Charette | |
| Generated fields have to be excluded from the INSERT query against the remade table including the index. Thanks Moshe Dicker for the report, David Sanders and Mariusz Felisiak for the review. | |||
| 2024-03-14 | Fixed #28541 -- Fixed migrations crash when changing primary key on SQLite. | Ben Cail | |
| 2024-03-14 | Refs #35295 -- Added BaseDatabaseOperations.bulk_insert_sql(). | Mariusz Felisiak | |
| Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2024-03-06 | Fixed #35021 -- Fixed capturing queries when using client-side parameters ↵ | Michail Chatzis | |
| binding with psycopg 3+. | |||
| 2024-02-16 | Fixed #24018 -- Allowed setting pragma options on SQLite. | Aaron Linville | |
| 2024-02-15 | Fixed #33037 -- Fixed Trunc() with offset timezones on MySQL, SQLite, Oracle. | Shafiya Adzhani | |
| 2024-01-30 | Fixed #29280 -- Made the transactions behavior configurable on SQLite. | Anže Pečar | |
| 2024-01-26 | Applied Black's 2024 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/24.1.0 | |||
| 2024-01-16 | Fixed #35111 -- Fixed compilation of DateField __in/__range rhs on SQLite ↵ | Simon Charette | |
| and MySQL. Also removed tests that ensured that adapt_(date)timefield backend operations where able to deal with expressions when it's not the case for any other adapt methods. | |||
| 2023-11-30 | Fixed #35006 -- Fixed migrations crash when altering Meta.db_table_comment ↵ | Mariusz Felisiak | |
| on SQLite. Thanks Юрий for the report. Regression in 78f163a4fb3937aca2e71786fbdd51a0ef39629e. | |||
| 2023-11-22 | Fixed #34984 -- Skipped GeneratedFields when remaking tables on SQLite. | Sarah Boyce | |
| Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95.t Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: David Sanders <shang.xiao.sanders@gmail.com> | |||
| 2023-11-13 | Fixed #34967 -- Fixed queryset crash when grouping by constants on SQLite < ↵ | David Sanders | |
| 3.39. On SQLite < 3.39, this forces a GROUP BY clause with a HAVING clause when no grouping is specified. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2023-11-02 | Refs #31300 -- Allowed testing GeneratedField without collation. | Tim Graham | |
| CockroachDB and Snowflake don't support it. | |||
| 2023-10-30 | Refs #29850 -- Added exclusion support to window frames. | Sarah Boyce | |
| 2023-09-25 | Refs #34825 -- Made SQLite backend open source database in readonly mode ↵ | David Sanders | |
| when using spawn. | |||
| 2023-09-18 | Refs #27236 -- Removed Meta.index_together per deprecation timeline. | Mariusz Felisiak | |
| 2023-09-07 | Fixed #31300 -- Added GeneratedField model field. | Jeremy Nauta | |
| Thanks Adam Johnson and Paolo Melchiorre for reviews. Co-Authored-By: Lily Foote <code@lilyf.org> Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-08-20 | Fixed DatabaseCreation.get_test_db_clone_settings() for empty database name ↵ | Mariusz Felisiak | |
| on SQLite. Empty string should be considered an in-memory SQLite database. | |||
| 2023-08-04 | Fixed #34760 -- Dropped support for SQLite < 3.27. | Mariusz Felisiak | |
| 2023-05-12 | Fixed #470 -- Added support for database defaults on fields. | Ian Foote | |
| Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews. | |||
| 2023-05-09 | Moved SQLite DatabaseSchemaEditor.add_field()'s comment to the correct line. | Mariusz Felisiak | |
| 2023-05-05 | Refs #27236 -- Made more cosmetic edits to Meta.index_together deprecation. | Mariusz Felisiak | |
| 2023-03-08 | Fixed #34370 -- Added integer fields validation as 64-bit on SQLite. | nabil-rady | |
| 2023-02-01 | Refs #33476 -- Applied Black's 2023 stable style. | David Smith | |
| Black 23.1.0 is released which, as the first release of the year, introduces the 2023 stable style. This incorporates most of last year's preview style. https://github.com/psf/black/releases/tag/23.1.0 | |||
| 2023-01-18 | Refs #34233 -- Referenced isocalendar() results by names not indexes. | Mariusz Felisiak | |
| isocalendar() returns a namedtuple() instead of tuple in Python 3.9+ | |||
| 2023-01-18 | Fixed #34233 -- Dropped support for Python 3.8 and 3.9. | Mariusz Felisiak | |
| 2023-01-17 | Refs #32365 -- Removed support for pytz timezones per deprecation timeline. | Mariusz Felisiak | |
| 2022-12-08 | Made inspectdb used Cursor.description.display_size for CharFields' max_length. | Mariusz Felisiak | |
| internal_size is size for fixed-size types not for char types. | |||
| 2022-12-08 | Fixed #34201 -- Bumped minimum supported SQLite to 3.21.0. | Mariusz Felisiak | |
| 2022-11-28 | Refs #31169 -- Skipped test_get_test_db_clone_settings_not_supported on not ↵ | Mariusz Felisiak | |
| in-memory SQLite database. multiprocessing's start method is checked only for in-memory SQLite databases. | |||
| 2022-11-24 | Used DatabaseFeatures.django_test_skips to skip ↵ | Christophe Baldy | |
| AssertNumQueriesUponConnectionTests tests. | |||
| 2022-11-24 | Fixed #29062 -- Prevented possibility of database lock when using ↵ | baldychristophe | |
| LiveServerTestCase with in-memory SQLite database. Thanks Chris Jerdonek for the implementation idea. | |||
| 2022-11-17 | Fixed #28987 -- Fixed altering ManyToManyField when changing to ↵ | DevilsAutumn | |
| self-referential. | |||
| 2022-11-08 | Used super().execute/executemany() in SQLiteCursorWrapper. | Nick Pope | |
| 2022-11-08 | Fixed #10070 -- Added support for pyformat style parameters on SQLite. | Ryan Cheley | |
| Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-11-04 | Fixed #34138 -- Avoided table rebuild when adding inline m2m fields on SQLite. | Mariusz Felisiak | |
| Regression in 2f73e5406d54cb8945e187eff302a3a3373350be. Thanks David Wobrock for the report. | |||
| 2022-11-04 | Removed obsolete references to pysqlite. | Nick Pope | |
| Obsolete since 1b06d5e6f6be8e567ce78c892c485af039830d7d. | |||
| 2022-11-01 | Refs #33768 -- Fixed ordering compound queries by NULLs on SQLite < 3.30. | Simon Charette | |
| The lack of support for native nulls last/first on SQLite 3.28 and 3.29 requires the compound query to be wrapped for emulation layer to work properly. | |||
| 2022-10-31 | Used more augmented assignment statements. | Nick Pope | |
| Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | |||
| 2022-10-26 | Refs #33173 -- Fixed destroying test databases when running tests in ↵ | Mariusz Felisiak | |
| parallel using spawn on Windows. Thanks Simon Willison for inspiration. | |||
