| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-04-30 | Fixed #37075 -- Allowed overriding the PostgreSQL pool's "check" callable.HEADmaininitial-branch | Raoni Timo | |
| Setting "check" in OPTIONS["pool"] previously raised TypeError because the PostgreSQL backend always passed check= to ConnectionPool() and unpacked **pool_options on top, regardless of CONN_HEALTH_CHECKS. The user's callable now takes precedence via setdefault(); pool_options is copied first to avoid mutating the user's settings dict. | |||
| 2026-02-27 | Fixed #36946 -- Respected test database name when running tests in parallel ↵ | Sage Abdullah | |
| on SQLite. The "spawn" and "forkserver" multiprocessing modes were affected. | |||
| 2026-02-12 | Improved error message in SQLite ↵ | Adam Johnson | |
| `DatabaseOperations.check_expression_support()`. | |||
| 2026-02-10 | Added various missing test skips observed on MongoDB. | Tim Graham | |
| 2026-01-25 | Fixed #36812 -- Dropped support for MariaDB < 10.11. | Skyiesac | |
| 2026-01-18 | Applied Black's 2026 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/26.1.0 | |||
| 2026-01-16 | Fixed #36822 -- Added parameter limit for PostgreSQL with server-side binding. | JaeHyuck Sa | |
| 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-31 | Refs #33647 -- Fixed silent data truncation in bulk_create on Postgres. | Simon Charette | |
| Regression in a16eedcf9c69d8a11d94cac1811018c5b996d491. The UNNEST strategy is affected by the same problem bulk_update has wrt/ to silent data truncation due to its usage of db_type which always returns a parametrized subtype. | |||
| 2025-12-26 | Fixed #36112 -- Added fallback in last_executed_query() on Oracle and ↵ | VIZZARD-X | |
| PostgreSQL. | |||
| 2025-12-22 | Fixed #36818 -- Ensured SQLite connection before accessing max_query_params. | guro-Ishiguro | |
| Regression in 358fd21c47cdf7bda520ce73c5cfd82bba57827b. | |||
| 2025-12-05 | Fixed #36722 -- Moved AutoFieldMixin validate_autopk_value() check to ↵ | Clifford Gama | |
| get_db_prep_save. The validation in validate_autopk_value is specific to saving. Having it in get_db_prep_value caused Value(0, AutoField()) to fail unexpectedly when used in a filter on MySQL. Thanks Jacob Walls for the review. | |||
| 2025-11-14 | Refs #24928 -- Added introspection support for PostgreSQL HStoreField. | Mariusz Felisiak | |
| 2025-11-07 | Fixed #36420 -- Used actual SQLite limits in last_executed_query() quoting. | myoungjinGo | |
| 2025-10-27 | Fixed #36624 -- Dropped support for MySQL < 8.4. | Mariusz Felisiak | |
| 2025-10-18 | Fixed #36671 -- Dropped support for SQLite < 3.37. | Mariusz Felisiak | |
| 2025-10-03 | Fixed #36623 -- Dropped support for PostgreSQL 14 and PostGIS 3.1. | Mariusz Felisiak | |
| 2025-08-21 | Fixed #36430 -- Removed artificially low limit on single field bulk ↵ | Jacob Walls | |
| operations on SQLite. | |||
| 2025-07-29 | Fixed #36531 -- Added forkserver support to parallel test runner. | Mariusz Felisiak | |
| 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-07-10 | Fixed #36502 -- Restored UNNEST strategy for foreign key bulk inserts on ↵ | Simon Charette | |
| PostgreSQL. Regression in 764af7a3d6c0b543dcf659a2c327f214da768fe4. | |||
| 2025-06-16 | Refs #36380 -- Replaced mocked logging assertions in tests/backends/tests.py. | Natalia | |
| 2025-06-16 | Fixed #36380 -- Deferred SQL formatting when running tests with --debug-sql. | Natalia | |
| Thanks to Jacob Walls for the report and previous iterations of this fix, to Simon Charette for the logging formatter idea, and to Tim Graham for testing and ensuring that 3rd party backends remain compatible. This partially reverts d8f093908c504ae0dbc39d3f5231f7d7920dde37. Refs #36112, #35448. Co-authored-by: Jacob Walls <jacobtylerwalls@gmail.com> | |||
| 2025-05-08 | Fixed #36143 -- Made max_query_params respect SQLITE_LIMIT_VARIABLE_NUMBER. | Sage Abdullah | |
| Co-authored-by: Xavier Frankline <xf.xavierfrank@gmail.com> | |||
| 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-03-17 | Fixed #33537 -- Made test database cloning on MySQL reraise unexpected errors. | Mariusz Felisiak | |
| Thanks Faakhir Zahid and Stephen Finucane for the initial patch. Thanks Simon Charette for the review. | |||
| 2025-03-01 | Applied Black's 2025 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/25.1.0 | |||
| 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-02-09 | Fixed #36105 -- Dropped support for MariaDB 10.5. | Mariusz Felisiak | |
| 2025-02-01 | Fixed #36088 -- Avoided unnecessary DEFAULT usage on bulk_create(). | Simon Charette | |
| When all values of a field with a db_default are DatabaseDefault, which is the case most of the time, there is no point in specifying explicit DEFAULT for all INSERT VALUES as that's what the database will do anyway if not specified. In the case of PostgreSQL doing so can even be harmful as it prevents the usage of the UNNEST strategy and in the case of Oracle, which doesn't support the usage of the DEFAULT keyword, it unnecessarily requires providing literal db defaults. Thanks Lily Foote for the review. | |||
| 2025-01-29 | Fixed #36118 -- Accounted for multiple primary keys in bulk_update ↵ | Sarah Boyce | |
| max_batch_size. Co-authored-by: Simon Charette <charette.s@gmail.com> | |||
| 2025-01-25 | Fixed #36111 -- Fixed test --debug-sql crash on Oracle when no prior query ↵ | Jacob Walls | |
| has executed. | |||
| 2025-01-20 | Refs #35448 -- Fixed BackendTestCase.test_queries_logger() on Oracle < 23c. | Mariusz Felisiak | |
| 2025-01-18 | Fixed #35448 -- Fixed formatting of test --debug-sql output. | Tim Graham | |
| Also adds DatabaseOperations.format_debug_sql() hook for backends (e.g. NoSQL) to customize formatting. | |||
| 2025-01-15 | Refs #33817 -- Removed support for cx_Oracle per deprecation timeline. | Sarah Boyce | |
| 2025-01-15 | Refs #34547 -- Removed DatabaseOperations.field_cast_sql() per deprecation ↵ | Sarah Boyce | |
| timeline. | |||
| 2024-12-17 | Fixed #7732 -- Added support for connection pools on Oracle. | suraj | |
| 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-12-11 | Fixed #35936 -- Used unnest for bulk inserts on Postgres when possible. | Simon Charette | |
| This should make bulk_create significantly faster on Postgres when provided only literal values. Thanks James Sewell for writing about this technique, Tom Forbes for validating the performance benefits, David Sanders and Mariusz Felisiak for the review. | |||
| 2024-08-28 | Fixed #35688 -- Restored timezone and role setters to be PostgreSQL ↵ | Sarah Boyce | |
| DatabaseWrapper methods. Following the addition of PostgreSQL connection pool support in Refs #33497, the methods for configuring the database role and timezone were moved to module-level functions. This change prevented subclasses of DatabaseWrapper from overriding these methods as needed, for example, when creating wrappers for other PostgreSQL-based backends. Thank you Christian Hardenberg for the report and to Florian Apolloner and Natalia Bidart for the review. Regression in fad334e1a9b54ea1acb8cce02a25934c5acfe99f. Co-authored-by: Natalia <124304+nessita@users.noreply.github.com> | |||
| 2024-08-28 | Refs #34547 -- Adjusted deprecation warning stacklevel in ↵ | Simon Charette | |
| DatabaseOperations.field_cast_sql(). | |||
| 2024-08-28 | Refs #12581 -- Adjusted warning stacklevel in queries ring buffer. | Simon Charette | |
| 2024-08-26 | Added supports_sequence_reset skip in backends tests. | Tim Graham | |
| 2024-05-28 | Fixed #35469 -- Removed deferred SQL to create index removed by AlterField ↵ | Jacob Walls | |
| operation. | |||
| 2024-05-27 | Fixed #35479 -- Dropped support for PostgreSQL 13 and PostGIS 3.0. | Mariusz Felisiak | |
| 2024-04-29 | Fixed #35412 -- Dropped support for SQLite < 3.31. | Mariusz Felisiak | |
| 2024-04-10 | Made postgresql.tests.Tests.test_connect_pool less flaky by increasing ↵ | Sarah Boyce | |
| timeout value. | |||
