| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-02-10 | Added various missing test skips observed on MongoDB. | Tim Graham | |
| 2026-01-16 | Refs #36822 -- Hoisted bulk_batch_size() implementations to base backend. | JaeHyuck Sa | |
| 2026-01-14 | Fixed #35402 -- Fixed crash in DatabaseFeatures.django_test_skips when ↵ | Jacob Walls | |
| running a subset of tests. Thanks Tim Graham for the report and the review. | |||
| 2026-01-03 | Added DatabaseCreation.destroy_test_db_connection_close_method hook. | Tim Graham | |
| 2025-12-26 | Fixed #36112 -- Added fallback in last_executed_query() on Oracle and ↵ | VIZZARD-X | |
| PostgreSQL. | |||
| 2025-07-23 | Refs #36500 -- Rewrapped long docstrings and block comments via a script. | django-bot | |
| Rewrapped long docstrings and block comments to 79 characters + newline using script from https://github.com/medmunds/autofix-w505. | |||
| 2025-07-13 | Skipped test_no_logs_without_debug test when the runner is invoked with ↵ | Jacob Walls | |
| --debug-sql. | |||
| 2025-03-17 | Fixed #34865 -- Released memory earlier than garbage collection on database ↵ | fowczrek | |
| wrapping layers. Thank you Florian Apolloner, Jake Howard and Patryk Zawadzki for the clarifying comments and reviews. | |||
| 2025-02-16 | Refs #35967 -- Deprecated BaseDatabaseCreation.create_test_db(serialize). | Simon Charette | |
| Given there are no longer any internal usages of serialize=True and it poses a risk to non-test databases integrity it seems appropriate to deprecate it. | |||
| 2025-01-15 | Refs #34547 -- Removed DatabaseOperations.field_cast_sql() per deprecation ↵ | Sarah Boyce | |
| timeline. | |||
| 2024-12-16 | Refs #29850 -- Removed obsolete test_window_frame_raise_not_supported_error. | Tim Graham | |
| This NotSupportedError was removed in 6375cee490725969b4f67b3c988ef01350c1ad6d because it will never be reached due to the same exception raised by Window.as_sql(). | |||
| 2024-08-28 | Refs #34547 -- Adjusted deprecation warning stacklevel in ↵ | Simon Charette | |
| DatabaseOperations.field_cast_sql(). | |||
| 2024-03-06 | Fixed #35021 -- Fixed capturing queries when using client-side parameters ↵ | Michail Chatzis | |
| binding with psycopg 3+. | |||
| 2024-02-20 | Fixed #35238 -- Fixed database serialization crash when base managers use ↵ | AlexCLeduc | |
| prefetch_related(). Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51 following deprecation in eedbf930287cb72e9afab1f7208c24b1146b0c4ec. | |||
| 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-10-27 | Fixed isolation of DatabaseWrapperLoggingTests.test_commit_debug_log(). | Mariusz Felisiak | |
| 2023-08-31 | Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql(). | David Smith | |
| 2023-04-18 | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | |
| relation on PostgreSQL. | |||
| 2022-11-21 | Fixed #31090 -- Logged transaction management queries. | Ilya Bass | |
| Thanks to Petter Strandmark for the original idea and Mariusz Felisiak for advice during the DjangoConUS 2022 Sprint! | |||
| 2022-07-06 | Refs CVE-2022-34265 -- Properly escaped Extract() and Trunc() parameters. | Simon Charette | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-02-18 | Fixed #33379 -- Added minimum database version checks. | Hasan Ramezani | |
| Thanks Tim Graham for the review. | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-12-30 | Fixed #23273 -- Avoided creation of django_migrations table when there are ↵ | Jacob Walls | |
| no migrations to apply. | |||
| 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-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-10 | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | |
| Thanks Simon Charette for the report. | |||
| 2021-10-22 | Fixed #33214 -- Added ↵ | Manaia Junior | |
| BaseDatabaseOperations.format_for_duration_arithmetic() stub method. | |||
| 2021-04-27 | Fixed #32687 -- Restored passing process’ environment to underlying tool ↵ | Konstantin Alekseev | |
| in dbshell on PostgreSQL. Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3. | |||
| 2020-12-11 | Refs #32178 -- Fixed test_mark_expected_failures_and_skips_call teardown. | Tim Graham | |
| Test isolation failure observed on CockroachDB and PostgreSQL. | |||
| 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-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> | |||
| 2020-10-29 | Refs #32061 -- Unified DatabaseClient.runshell() in db backends. | Simon Charette | |
| 2020-09-23 | Fixed #32012 -- Made test database creation sync apps models when migrations ↵ | Mariusz Felisiak | |
| are disabled. Thanks Jaap Roes for the report. | |||
| 2020-08-28 | Fixed #31956 -- Fixed crash of ordering by JSONField with a custom decoder ↵ | Mariusz Felisiak | |
| on PostgreSQL. Thanks Marc Debureaux for the report. Thanks Simon Charette, Nick Pope, and Adam Johnson for reviews. | |||
| 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-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-05-06 | Fixed a/an typos in "SQL" usage. | Adam Johnson | |
| 2020-04-20 | Fixed #31477 -- Removed "using" argument from ↵ | Jon Dufresne | |
| DatabaseOperations.execute_sql_flush(). | |||
| 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-17 | Added test coverage for DatabaseOperations.sql_flush(). | Jon Dufresne | |
| 2020-04-08 | Fixed typo in tests/backends/base/test_operations.py. | Mariusz Felisiak | |
| 2020-04-02 | Refs #31051 -- Fixed reloading the database with circular related objects ↵ | Matthijs Kooijman | |
| and natural keys for tests. Made deserialize_db_from_string() do not sort dependencies. deserialize_db_from_string() doesn't use natural keys, so there is no need to sort dependencies in serialize_db_to_string(). Moreover, sorting models cause issues for circular dependencies. | |||
| 2020-04-02 | Refs #26552 -- Added test for reloading the database with self-referential ↵ | Matthijs Kooijman | |
| objects. | |||
| 2020-03-06 | Fixed #31345 -- Added BaseDatabaseIntrospection.get_relations(). | shankarj67 | |
| 2020-03-04 | Fixed #31333 -- Added BaseDatabaseIntrospection.get_table_description(). | aryan | |
| 2020-03-04 | Added tests for BaseDatabaseIntrospection's stub methods. | Mariusz Felisiak | |
| 2020-02-19 | Fixed tests when run in reverse. | Mariusz Felisiak | |
| Regression in 98f23a8af0be7e87535426c5c83058e2682bfdf8. | |||
| 2020-02-14 | Fixed #26552 -- Deferred constraint checks when reloading the database with ↵ | Matthijs Kooijman | |
| data for tests. deserialize_db_from_string() loads the full serialized database contents, which might contain forward references and cycles. That caused IntegrityError because constraints were checked immediately. Now, it loads data in a transaction with constraint checks deferred until the end of the transaction. | |||
