| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 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-06 | Refs #33308 -- Enabled explicit GROUP BY and ORDER BY aliases. | Simon Charette | |
| This ensures explicit grouping from using values() before annotating an aggregate function groups by selected aliases if supported. The GROUP BY feature is disabled on Oracle because it doesn't support it. | |||
| 2022-10-05 | Fixed #33768 -- Fixed ordering compound queries by nulls_first/nulls_last on ↵ | Simon Charette | |
| MySQL. Columns of the left outer most select statement in a combined query can be referenced by alias just like by index. This removes combined query ordering by column index and avoids an unnecessary usage of RawSQL which causes issues for backends that specialize the treatment of null ordering. | |||
| 2022-10-03 | Fixed #23353 -- Used "raise from" when raising TransactionManagementError. | David Wobrock | |
| This change sets the __cause__ attribute to raised exceptions. | |||
| 2022-09-13 | Fixed #33996 -- Fixed CheckConstraint validation on NULL values. | David Sanders | |
| Bug in 667105877e6723c6985399803a364848891513cc. Thanks James Beith for the report. | |||
| 2022-09-07 | Fixed #33982 -- Fixed migrations crash when adding model with ↵ | James Beith | |
| ExclusionConstraint. Regression in 0e656c02fe945389246f0c08f51c6db4a0849bd2. | |||
| 2022-09-06 | Refs #33616 -- Updated BaseDatabaseWrapper.run_on_commit comment. | DevilsAutumn | |
| 2022-09-06 | Fixed #33616 -- Allowed registering callbacks that can fail in ↵ | SirAbhi13 | |
| transaction.on_commit(). Thanks David Wobrock and Mariusz Felisiak for reviews. | |||
| 2022-08-12 | Fixed #33919 -- Fixed adding AutoFields on PostgreSQL. | Mariusz Felisiak | |
| Thanks Jack Calvin Brown for the report. Regression in 2eea361eff58dd98c409c5227064b901f41bd0d6. | |||
| 2022-08-02 | Fixed #33881 -- Added support for database collations to ↵ | Mariusz Felisiak | |
| ArrayField(Char/TextFields). | |||
| 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-04 | Fixed CVE-2022-34265 -- Protected Trunc(kind)/Extract(lookup_name) against ↵ | Mariusz Felisiak | |
| SQL injection. Thanks Takuto Yoshikai (Aeye Security Lab) for the report. | |||
| 2022-06-13 | Fixed #33773 -- Made Index with multiple fields respect ↵ | Bruce Cutler | |
| DEFAULT_INDEX_TABLESPACE. Thanks to Simon Charette for locating where issue lay. | |||
| 2022-06-01 | Fixed #32234 -- Made inspectdb inform about composite primary keys. | Anv3sh | |
| 2022-05-26 | Fixed #23740 -- Fixed removing unique_together constraint if exists primary ↵ | David Wobrock | |
| key/unique constraint on the same field. | |||
| 2022-05-26 | Refs #23740 -- Added BaseDatabaseSchemaEditor._unique_constraint_name(). | David Wobrock | |
| 2022-05-12 | Refs #27064 -- Added RenameIndex migration operation. | David Wobrock | |
| 2022-05-03 | Fixed #29854 -- Made _all_related_fields() return deterministically ordered ↵ | Collin Anderson | |
| fields. Thanks to Rick Yang and Baptiste Mispelon for the investigation. | |||
| 2022-05-02 | Fixed #33413 -- Made migrations propage collations to related fields. | David Wobrock | |
| 2022-04-29 | Refs #33413 -- Added collation to CharField/TextField's db_parameters. | David Wobrock | |
| 2022-04-14 | Expanded QuerySet.explain() error message if a backend supports no formats. | Tim Graham | |
| 2022-04-13 | Fixed #30511 -- Used identity columns instead of serials on PostgreSQL. | Florian Apolloner | |
| 2022-04-11 | Removed DatabaseFeatures.validates_explain_options. | Mariusz Felisiak | |
| Always True since 6723a26e59b0b5429a0c5873941e01a2e1bdbb81. | |||
| 2022-04-06 | Fixed #33471 -- Made AlterField operation a noop when changing "choices". | sarahboyce | |
| This also allows customizing attributes of fields that don't affect a column definition. | |||
| 2022-03-24 | Refs #32365 -- Removed internal uses of utils.timezone.utc alias. | Carlton Gibson | |
| Remaining test case ensures that uses of the alias are mapped canonically by the migration writer. | |||
| 2022-03-04 | Fixed #29865 -- Added logical XOR support for Q() and querysets. | Ryan Heard | |
| 2022-03-04 | Refs #31169 -- Prevented infinite loop in tests on failures. | Mariusz Felisiak | |
| Regression in ae91ecf6a1037fb67d14841b66ac19d4c2ccc4ac. | |||
| 2022-02-23 | Refs #31169 -- Added DatabaseCreation.setup_worker_connection() hook. | Valz | |
| 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 | |
| 2022-01-27 | Fixed #33462 -- Fixed migration crash when altering type of primary key with ↵ | Mariusz Felisiak | |
| MTI and foreign key. This prevents duplicated operations when altering type of primary key with MTI and foreign key. Previously, a foreign key to the base model was added twice, once directly and once by the inheritance model. Thanks bcail for the report. Regression in 325d7710ce9f6155bb55610ad6b4580d31263557. | |||
| 2022-01-25 | Refs #20349 -- Avoided loading testing libraries when not needed. | Collin Anderson | |
| 2022-01-19 | Fixed #31685 -- Added support for updating conflicts to QuerySet.bulk_create(). | sean_c_hsu | |
| Thanks Florian Apolloner, Chris Jerdonek, Hannes Ljungberg, Nick Pope, and Mariusz Felisiak for reviews. | |||
| 2021-12-09 | Fixed #33340 -- Fixed unquoted column names in queries used by DatabaseCache. | Arsa | |
| 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 #33161 -- Enabled durability check for nested atomic blocks in TestCase. | Krzysztof Jagiello | |
| Co-Authored-By: Adam Johnson <me@adamj.eu> | |||
| 2021-11-10 | Removed DatabaseIntrospection.get_key_columns(). | Mariusz Felisiak | |
| Thanks Simon Charette for the report. | |||
| 2021-11-10 | Fixed DatabaseIntrospection.get_relations() docstring. | Tim Graham | |
| The foreign keys are "in" the given table, not "to" it. | |||
| 2021-11-02 | Fixed #33224 -- Removed ↵ | Hasan Ramezani | |
| DatabaseFeatures.supports_mixed_date_datetime_comparisons. | |||
| 2021-10-28 | Fixed #33228 -- Changed value of ↵ | Chinmoy | |
| BaseDatabaseFeatures.has_case_insensitive_like to False. | |||
| 2021-10-22 | Fixed #33214 -- Added ↵ | Manaia Junior | |
| BaseDatabaseOperations.format_for_duration_arithmetic() stub method. | |||
| 2021-09-28 | Fixed #33125 -- Avoided redundant unique constraint when converting a ↵ | Jordan Bae | |
| non-unique field to primary key on MySQL and PostgreSQL. | |||
| 2021-09-16 | Fixed #32365 -- Made zoneinfo the default timezone implementation. | Carlton Gibson | |
| Thanks to Adam Johnson, Aymeric Augustin, David Smith, Mariusz Felisiak, Nick Pope, and Paul Ganssle for reviews. | |||
| 2021-09-01 | Fixed #33080 -- Preserved nullability of textual fields on Oracle. | Mariusz Felisiak | |
| Thanks Matt Hoskins for the report. | |||
| 2021-08-24 | Refs #10929 -- Allowed NowUTC SQL customization for third-party backends. | Tim Graham | |
| 2021-07-28 | Optimized BaseDatabaseSchemaEditor._effective_default() a bit, | Chris Jerdonek | |
| This eliminates an unneeded call to datetime.now() when field.get_internal_type() equals "DateTimeField". | |||
| 2021-07-27 | Refs #32962 -- Simplified NULL logic in ↵ | Chris Jerdonek | |
| BaseDatabaseSchemaEditor._iter_column_sql(). | |||
