| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2020-07-20 | Fixed #17653 -- Allowed using zero as AutoFields value on MySQL if ↵ | Mariusz Felisiak | |
| NO_AUTO_VALUE_ON_ZERO SQL mode is enabled. | |||
| 2020-07-17 | Fixed #31731 -- Removed unreachable code for resetting sequences of ↵ | Ravindar Sharma | |
| auto-created m2m tables in sequence_reset_sql(). Unreachable because f.remote_field.through is truthy for all m2m fields. Resetting sequences of auto-created m2m tables in sequence_reset_sql() is also unnecessary: - in sqlsequencereset since c39ec6dccb389fbb4047e44f5247e18bb76ae598 because auto-created tables are included in model_list, - in loaddata because there is no it need to reset sequences for models not loaded directly. - in create_default_site() because it doesn't have m2m fields. | |||
| 2020-07-16 | Stopped adapting DecimalField values to strings on Oracle. | Mariusz Felisiak | |
| cx_Oracle handles decimal.Decimal. expressions_case.tests.CaseExpressionTests.test_update_decimal fails without this change. Follow up to 9c5c9bd7091b60fdccc405890dc4f44a8010e954. | |||
| 2020-07-15 | Fixed #30446 -- Resolved Value.output_field for stdlib types. | Simon Charette | |
| This required implementing a limited form of dynamic dispatch to combine expressions with numerical output. Refs #26355 should eventually provide a better interface for that. | |||
| 2020-07-14 | Stopped adapting DecimalField values to strings on PostgreSQL. | Simon Charette | |
| The psycopg2 backend uses the type information to provide type hints. | |||
| 2020-07-14 | Refs #25425 -- Allowed unresolved Value() instances to be compiled. | Simon Charette | |
| Previously unresolved Value() instances were only allowed to be compiled if they weren't initialized with an output_field. Given the usage of unresolved Value() instances is relatively common in as_sql() overrides it's less controversial to add explicit support for this previously undefined behavior now and revisit whether or not it should be deprecated in the future. | |||
| 2020-07-13 | Fixed #31770 -- Allowed select_for_update(of) on MySQL 8.0.1+. | Simon Charette | |
| 2020-07-10 | Sorted conflicting migrations by names. | François Freitag | |
| 2020-07-09 | Fixed #29789 -- Added support for nested relations to FilteredRelation. | matt ferrante | |
| 2020-07-09 | Fixed #31773 -- Fixed preserving output_field in ExpressionWrapper for ↵ | Mariusz Felisiak | |
| combined expressions. Thanks Thodoris Sotiropoulos for the report and Simon Charette for the implementation idea. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. | |||
| 2020-07-08 | Fixed #31573 -- Made QuerySet.update() respect ordering on MariaDB/MySQL. | davidchorpash | |
| 2020-07-07 | Fixed #31767 -- Fixed QuerySet.none() on combined queryset. | Mariusz Felisiak | |
| 2020-07-06 | Fixed #23797 -- Fixed QuerySet.exclude() when rhs is a nullable column. | Jacob Walls | |
| 2020-07-06 | Fixed #31530 -- Added system checks for invalid model field names in ↵ | Hasan Ramezani | |
| CheckConstraint.check and UniqueConstraint.condition. | |||
| 2020-07-03 | Removed duplicated sqlite3 converter. | Sergey Fedoseev | |
| Converters typenames are case-insensitive. See https://docs.python.org/3/library/sqlite3.html#sqlite3.register_converter. | |||
| 2020-07-02 | Fixed #31758 -- Removed unneeded BytesToCharFieldConversionMixin. | Sergey Fedoseev | |
| Bug was fixed in mysqlclient 1.3.13. | |||
| 2020-07-01 | Fixed #31755 -- Made temporal subtraction resolve output field. | Sergey Fedoseev | |
| 2020-07-01 | Refs #28621 -- Fixed crash of annotations with nested OuterRef. | Sergey Fedoseev | |
| 2020-06-30 | Fixed #31751 -- Fixed database introspection with cx_Oracle 8. | Mariusz Felisiak | |
| 2020-06-30 | Fixed #31701 -- Made FileDescriptor subclass DeferredAttribute. | alosultan | |
| 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-06-30 | Refs #28925 -- Simplified CombinedExpression.as_sql() a bit. | Sergey Fedoseev | |
| 2020-06-29 | Fixed #31745 -- Added error messages when using ↵ | Hannes Ljungberg | |
| UniqueConstraint.include/opclasses with deferrable. | |||
| 2020-06-26 | Fixed #31742 -- Fixed makemigrations crash on ForeignKey to an app with ↵ | Mariusz Felisiak | |
| mixed case label. Regression in 9e1b6b8a66af4c2197e5b1b41eb9dbb36e4f6502. Thanks Ignacio Santolin for the report. | |||
| 2020-06-25 | Fixed #31596 -- Changed ForeignKey.validate() to use the base manager. | Jon Dufresne | |
| 2020-06-24 | Fixed #31529 -- Added support for serialization of pathlib.Path/PurePath and ↵ | Nick Pope | |
| os.PathLike in migrations. | |||
| 2020-06-24 | Fixed #31735 -- Fixed migrations crash on namespaced inline FK addition on ↵ | Simon Charette | |
| PostgreSQL. The namespace of the constraint must be included when making the constraint immediate. Regression in 22ce5d0031bd795ade081394043833e82046016c. Thanks Rodrigo Estevao for the report. | |||
| 2020-06-24 | Fixed #31703 -- Made makemigrations name all initial migrations "initial". | Jon Dufresne | |
| When the MigrationAutodetector creates more than one initial migration in a app, name all initial migrations "initial" rather than the opaque "auto_<DATE>_<TIME>" name. Initial migrations that have a descriptive name continue to use the descriptive name. | |||
| 2020-06-24 | Refs #31703 -- Moved MigrationAutodetector.suggest_name() to Migration. | Jon Dufresne | |
| Allows expanding the method to inspect additional attributes of the migration instance. For example, the Migration.initial attribute. | |||
| 2020-06-22 | Combined MySQL backend server info queries. | Adam Johnson | |
| 2020-06-17 | Refs #28077 -- Added opclasses to Index.__repr__(). | Mariusz Felisiak | |
| This also removes unnecessary commas between attributes. | |||
| 2020-06-16 | Refs #30446 -- Defined default output_field of text database functions. | Simon Charette | |
| This prevented the default behavior of BaseExpression._resolve_output_field from error'ing out when such functions accepted both expressions from mixed types (e.g. SubStr(CharField, IntegerField, IntegerField)). | |||
| 2020-06-16 | Fixed #31702 -- Added support for PostgreSQL opclasses in UniqueConstraint. | Hannes Ljungberg | |
| 2020-06-15 | Fixed #31706 -- Removed unnecessary getattr() call in FileDescriptor.__get__(). | Sultan | |
| refresh_from_db() loads fields values. | |||
| 2020-06-12 | Fixed #31491 -- Allowed 'password' option in DATABASES['OPTIONS'] on MySQL. | Hasan Ramezani | |
| 2020-06-12 | Fixed #31659 -- Made ExpressionWrapper preserve output_field for combined ↵ | Mariusz Felisiak | |
| expressions. Regression in df32fd42b84cc6dbba173201f244491b0d154a63. Thanks Simon Charette for the review. | |||
| 2020-06-11 | Fixed #31667 -- Made __in lookup ignore None values. | Adam Johnson | |
| 2020-06-10 | Fixed #31680 -- Removed unnecessary getattr() call in ↵ | alosultan | |
| DeferredAttribute.__get__(). refresh_from_db() loads fields values. | |||
| 2020-06-10 | Removed unnecessary list() call in ModelBase.__new__(). | SergBobrovsky | |
| Unnecessary since 58ad030d05fa50cfed327368ab61defca3303e02. | |||
| 2020-06-10 | Fixed #31657 -- Fixed ordering by attnames of self-referential ForeignKeys. | Hasan Ramezani | |
| 2020-06-08 | Fixed #31664 -- Reallowed using non-expressions having filterable attribute ↵ | Nicolas Baccelli | |
| as rhs in queryset filters. Regression in 4edad1ddf6203326e0be4bdb105beecb0fe454c4. | |||
| 2020-06-08 | Fixed #31660 -- Fixed queryset crash when grouping by m2o relation. | Mariusz Felisiak | |
| Regression in 3a941230c85b2702a5e1cd97e17251ce21057efa. Thanks Tomasz Szymański for the report. | |||
| 2020-06-05 | Fixed #31663 -- Made DecimalField.to_python() handle non-numeric invalid values. | Sasha Pachev | |
| 2020-06-04 | Refs #30913 -- Added system checks for covering indexes and unique ↵ | Mariusz Felisiak | |
| constraints support. | |||
| 2020-06-04 | Fixed #30913 -- Added support for covering indexes on PostgreSQL 11+. | Hannes Ljungberg | |
| 2020-06-04 | Refs #31630 -- Added CharField and IntegerField to ↵ | Tim Graham | |
| DatabaseFeatures.introspected_field_types. CockroachDB introspects CharField as TextField and IntegerField as BigIntegerField. | |||
| 2020-06-04 | Refs #31630 -- Removed DatabaseFeatures.can_introspect_autofield. | Tim Graham | |
| 2020-06-04 | Fixed #31630 -- Replaced introspection features with ↵ | Hasan Ramezani | |
| DatabaseFeatures.introspected_field_types. | |||
| 2020-06-03 | Fixed #31651 -- Made ExpressionWrapper use grouping columns from wrapped ↵ | Thodoris Sotiropoulos | |
| expression. | |||
| 2020-05-29 | Refs #21171 -- Made Collector.delete() rollback in the correct database. | Simon Charette | |
| Regression in c7dd8490b882b2cefdc7faf431dc64c532b79c9. | |||
