| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-02-01 | [4.2.x] 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 Backport of 097e3a70c1481ee7b042b2edd91b2be86fb7b5b6 from main | |||
| 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(). | |||
| 2022-12-08 | Fixed #34201 -- Bumped minimum supported SQLite to 3.21.0. | Mariusz Felisiak | |
| 2022-12-06 | Refs #33308 -- Modernized database wrapper in the PostgreSQL backend. | Florian Apolloner | |
| - Used connection.info instead of connection.get_parameter_status() and connection.server_info which don't exist in psycopg 3. - Set encoding using the client_encoding connection parameter instead of connection.set_client_encoding() that doesn't exist in psycopg 3. - Used the dbname connection parameter instead of deprecated alias - database. | |||
| 2022-12-01 | Refs #33308 -- Used psycopg's errors instead of errorcodes. | Florian Apolloner | |
| 2022-11-25 | Fixed #34103 -- Fixed logging SQL queries with duplicate parameters on Oracle. | David Sanders | |
| 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-08-03 | Fixed #33872 -- Deprecated ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. | |||
| 2022-07-08 | Fixed #33718 -- Dropped support for MySQL 5.7. | Mariusz Felisiak | |
| 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-07-05 | Fixed #33815 -- Fixed last_executed_query() on Oracle when parameter names ↵ | Mariusz Felisiak | |
| overlap. | |||
| 2022-05-19 | Fixed #33717 -- Dropped support for PostgreSQL 11. | Mariusz Felisiak | |
| 2022-05-18 | Fixed #33713 -- Dropped support for MariaDB 10.3. | Mariusz Felisiak | |
| 2022-05-17 | Refs #33379 -- Fixed minimum supported version of MariaDB. | Mariusz Felisiak | |
| 2022-05-04 | Fixed #33675 -- Dropped support for PostgreSQL 10 and PostGIS 2.4. | Mariusz Felisiak | |
| 2022-04-18 | Fixed various tests on MySQL with MyISAM storage engine. | Mariusz Felisiak | |
| 2022-04-18 | Fixed DatabaseFeatures.uses_savepoints/can_release_savepoints and related ↵ | Mariusz Felisiak | |
| tests with MyISAM storage engine. | |||
| 2022-04-13 | Fixed #30511 -- Used identity columns instead of serials on PostgreSQL. | Florian Apolloner | |
| 2022-03-22 | Refs #30581 -- Fixed DatabaseFeatures.bare_select_suffix on MySQL < 8 and ↵ | Gagaro | |
| MariaDB < 10.4. | |||
| 2022-03-18 | Fixed isolation of FeaturesTests.test_supports_json_field_operational_error(). | Mariusz Felisiak | |
| 2022-03-15 | Fixed #31169 -- Adapted the parallel test runner to use spawn. | David Smith | |
| Co-authored-by: Valz <ahmadahussein0@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-02-22 | Removed redundant QuerySet.all() calls in docs and tests. | Nick Pope | |
| Most QuerySet methods are mapped onto the Manager and, in general, it isn't necessary to call .all() on the manager. | |||
| 2022-02-18 | Fixed #33379 -- Added minimum database version checks. | Hasan Ramezani | |
| Thanks Tim Graham for the review. | |||
| 2022-02-07 | Refs #33476 -- Refactored code to strictly match 88 characters line length. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-12-30 | Removed obsolete Oracle's test_client_encoding() test. | Mariusz Felisiak | |
| encoding and nencoding parameters were deprecated in cx_Oracle 8.2. Moreover, encoding is handled internally between cx_Oracle and Oracle Database and there is no need to test it. | |||
| 2021-12-30 | Fixed #23273 -- Avoided creation of django_migrations table when there are ↵ | Jacob Walls | |
| no migrations to apply. | |||
| 2021-12-23 | Refs #33355 -- Made trunc functions raise ValueError on invalid lookups on ↵ | Adam Johnson | |
| SQLite. Co-Authored-By: Nick Pope <nick@nickpope.me.uk> | |||
| 2021-12-22 | Refs #32355 -- Bumped required psycopg2 version to 2.8.4. | Mariusz Felisiak | |
| psycopg2 2.8.4 is the first release to support Python 3.8. | |||
| 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-12 | Fixed #33279 -- Fixed handling time zones with "-" sign in names. | Can Sarigol | |
| Thanks yakimka for the report. Regression in fde9b7d35e4e185903cc14aa587ca870037941b1. | |||
| 2021-11-10 | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | |
| Thanks Simon Charette for the report. | |||
| 2021-10-26 | Fixed #32672 -- Fixed introspection of primary key constraints on SQLite. | Anv3sh | |
| Thanks Simon Charette for the implementation idea. | |||
| 2021-10-22 | Fixed #33214 -- Added ↵ | Manaia Junior | |
| BaseDatabaseOperations.format_for_duration_arithmetic() stub method. | |||
| 2021-10-18 | Fixed #33194 -- Fixed migrations when altering a field with functional ↵ | Hannes Ljungberg | |
| indexes/unique constraints on SQLite. This adjusts Expressions.rename_table_references() to only update alias when needed. Regression in 83fcfc9ec8610540948815e127101f1206562ead. Co-authored-by: Simon Charette <charettes@users.noreply.github.com> | |||
| 2021-10-01 | Fixed #33160 -- Avoided suppressing query errors in _nodb_cursor() on ↵ | Daniel Hahler | |
| PostgreSQL. | |||
| 2021-08-20 | Fixed #33017 -- Fixed storage engine introspection on MySQL. | Matjaz Gregoric | |
| This also improves performance on MySQL instances with a large number of databases, since querying the information_schema table can be very slow | |||
| 2021-07-07 | Used more specific unittest assertions in tests. | Mads Jensen | |
| 2021-07-05 | Refs #32508 -- Raised ImproperlyConfigured/TypeError instead of using "assert". | Mateo Radman | |
| 2021-07-02 | Fixed #30934 -- Included database alias in django.db.backends log messages. | Nick Pope | |
| This is useful when working with database routing as you want to know where each query is being executed. Co-authored-by: David Winterbottom <david.winterbottom@gmail.com> | |||
| 2021-04-30 | Fixed #32653 -- Made quoting names in the Oracle backend consistent with ↵ | Mariusz Felisiak | |
| db_table. | |||
| 2021-04-27 | Fixed #32687 -- Restored passing process’ environment to underlying tool ↵ | Konstantin Alekseev | |
| in dbshell on PostgreSQL. Regression in bbe6fbb8768e8fb1aecb96d51c049d7ceaf802d3. | |||
| 2021-03-30 | Fixed #32595 -- Fixed SchemaEditor.quote_value() crash with bytes. | Mariusz Felisiak | |
