| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-03-01 | [5.2.x] Applied Black's 2025 stable style. | Mariusz Felisiak | |
| https://github.com/psf/black/releases/tag/25.1.0 Backport of ff3aaf036f0cb66cd8f404cd51c603e68aaa7676 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-25 | [5.2.x] Fixed #36111 -- Fixed test --debug-sql crash on Oracle when no prior ↵ | Jacob Walls | |
| query has executed. Backport of 330d89d4fe7832355535580383523f1749a3ee45 from main | |||
| 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. | |||
| 2024-03-19 | Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+. | Mariusz Felisiak | |
| On SQLite, close() doesn't explicitly close in-memory connections. Follow up to dd45d5223b3c5640baefcb591782bbcff873b6bf. | |||
| 2024-03-06 | Fixed #35021 -- Fixed capturing queries when using client-side parameters ↵ | Michail Chatzis | |
| binding with psycopg 3+. | |||
| 2024-03-01 | Refs #33497 -- Added connection pool support for PostgreSQL. | Sarah Boyce | |
| Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Ran Benita <ran@unusedvar.com> | |||
| 2024-02-20 | Fixed #35238 -- Fixed database serialization crash when base managers use ↵ | AlexCLeduc | |
| prefetch_related(). Regression in 139135627650ed6aaaf4c755b82c3bd43f2b8f51 following deprecation in eedbf930287cb72e9afab1f7208c24b1146b0c4ec. | |||
| 2024-02-16 | Fixed #24018 -- Allowed setting pragma options on SQLite. | Aaron Linville | |
| 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. | |||
| 2024-01-12 | Fixed #35028 -- Disabled server-side bindings for named cursors on psycopg >= 3. | Simon Charette | |
| While we provide a `cursor_factory` based on the value of the `server_side_bindings` option to `psycopg.Connection` it is ignored by the `cursor` method when `name` is specified for `QuerySet.iterator()` usage and it causes the usage of `psycopg.ServerCursor` which performs server-side bindings. Since the ORM doesn't generates SQL that is suitable for server-side bindings when dealing with parametrized expressions a specialized cursor must be used to allow server-side cursors to be used with client-side bindings. Thanks Richard Ebeling for the report. Thanks Florian Apolloner and Daniele Varrazzo for reviews. | |||
| 2024-01-01 | Updated DatabaseFeatures.bare_select_suffix on Oracle 23c. | Nick Pope | |
| https://docs.oracle.com/en/database/oracle/oracle-database/23/nfcoa/application-development.html#GUID-4EB70EB9-4EE3-4FE2-99C4-86F7AAC60F12 | |||
| 2023-12-07 | Refs #34986 -- Fixed ↵ | Nick Pope | |
| backends.postgresql.test_server_side_cursors.ServerSideCursorsPostgres tests for PyPy. | |||
| 2023-12-06 | Fixed typo in tests/backends/postgresql/test_server_side_cursors.py. | Nick Pope | |
| 2023-11-27 | Fixed #34992 -- Fixed DatabaseFeatures.allows_group_by_selected_pks on ↵ | Nathaniel Conroy | |
| MariaDB with ONLY_FULL_GROUP_BY sql mode. Regression in 041551d716b69ee7c81199eee86a2d10a72e15ab. | |||
| 2023-10-27 | Fixed isolation of DatabaseWrapperLoggingTests.test_commit_debug_log(). | Mariusz Felisiak | |
| 2023-09-22 | Fixed #34840 -- Avoided casting string base fields on PostgreSQL. | Mariusz Felisiak | |
| Thanks Alex Vandiver for the report. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | |||
| 2023-09-20 | Fixed #34851 -- Dropped support for PostgreSQL 12 and PostGIS 2.5. | Mariusz Felisiak | |
| 2023-09-19 | Fixed #34850 -- Dropped support for MariaDB 10.4. | Mariusz Felisiak | |
| 2023-09-18 | Refs #33872 -- Removed ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. Per deprecation timeline. | |||
| 2023-08-31 | Fixed #34547 -- Deprecated DatabaseOperations.field_cast_sql(). | David Smith | |
| 2023-08-30 | Fixed #34799 -- Made MySQL introspection skip cross-database relations. | John Whitman | |
| 2023-08-23 | Fixed ResourceWarning from unclosed SQLite connection on Python 3.13+. | Mariusz Felisiak | |
| - backends.sqlite.tests.ThreadSharing.test_database_sharing_in_threads - backends.tests.ThreadTests.test_default_connection_thread_local: on SQLite, close() doesn't explicitly close in-memory connections. - servers.tests.LiveServerInMemoryDatabaseLockTest - test_runner.tests.SQLiteInMemoryTestDbs.test_transaction_support Check out https://github.com/python/cpython/pull/108015. | |||
| 2023-08-04 | Fixed TransactionalTests.test_password_with_at_sign() isolation on Oracle. | Mariusz Felisiak | |
| 2023-08-04 | Fixed #34760 -- Dropped support for SQLite < 3.27. | Mariusz Felisiak | |
| 2023-08-03 | Fixed #34761 -- Dropped support for MySQL < 8.0.11. | Mariusz Felisiak | |
| 2023-06-27 | Fixed #34671 -- Fixed collation introspection for views and materialized ↵ | Mariusz Felisiak | |
| views on Oracle. Thanks Philipp Maino for the report. | |||
| 2023-04-18 | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | |
| relation on PostgreSQL. | |||
| 2023-04-14 | Fixed #34486 -- Fixed DatabaseOperations.compose_sql() crash with no ↵ | Scott Macpherson | |
| existing database connection on PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | |||
| 2023-04-07 | Fixed #34470 -- Enforced UTF-8 encoding on PostgreSQL. | Mariusz Felisiak | |
| Regression in 6a2165816394ab4bb259f6171e82417e098e97a6. | |||
| 2023-04-07 | Fixed #34466 -- Reallowed setting cursor_factory in DATABASES["options"] on ↵ | Anders Kaseorg | |
| PostgreSQL. Regression in 09ffc5c1212d4ced58b708cbbf3dfbfb77b782ca. | |||
| 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-17 | Fixed #34255 -- Made PostgreSQL backend use client-side parameters binding ↵ | Mariusz Felisiak | |
| with psycopg version 3. Thanks Guillaume Andreu Sabater for the report. Co-authored-by: Florian Apolloner <apollo13@users.noreply.github.com> | |||
| 2023-01-03 | Fixed #34200 -- Made the session role configurable on PostgreSQL. | Mike Crute | |
| 2022-12-15 | Fixed #33308 -- Added support for psycopg version 3. | Daniele Varrazzo | |
| Thanks Simon Charette, Tim Graham, and Adam Johnson for reviews. Co-authored-by: Florian Apolloner <florian@apolloner.eu> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-12-12 | Refs #33308 -- Added psycopg_any.IsolationLevel. | Florian Apolloner | |
| 2022-12-12 | Refs #33308 -- Moved psycopg2 imports to the psycopg_any module. | Florian Apolloner | |
| 2022-12-08 | Avoided direct mocking of psycopg2.__version__ in ↵ | Mariusz Felisiak | |
| test_correct_extraction_psycopg2_version(). | |||
