| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2023-11-22 | [5.0.x] Fixed #34985 -- Fixed GeneratedFields.contribute_to_class() crash ↵ | Mariusz Felisiak | |
| when apps are not populated. Thanks Paolo Melchiorre for the report. Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of 101a85a5a06585ba16ecb25860146d034a8a55ec from main | |||
| 2023-11-14 | [5.0.x] Refs #34944 -- Propagated system checks for GeneratedField.output_field. | Mariusz Felisiak | |
| Backport of c705625ebff0141ed2b95dd3c8174bda8270a47f from main | |||
| 2023-11-14 | [5.0.x] Fixed #34944 -- Made GeneratedField.output_field required. | Mariusz Felisiak | |
| Regression in f333e3513e8bdf5ffeb6eeb63021c230082e6f95. Backport of 5875f03ce61b85dfd9ad34f7b871c231c358d432 from main | |||
| 2023-10-23 | [5.0.x] Fixed #34899 -- Added blank choice to forms' callable choices lazily. | Nick Pope | |
| Backport of 171f91d9ef5177850c2f12b26dd732785f6ac034 from main | |||
| 2023-10-23 | [5.0.x] Refs #34899 -- Extracted Field.flatchoices to flatten_choices helper ↵ | Nick Pope | |
| function. Co-authored-by: Natalia Bidart <124304+nessita@users.noreply.github.com> Backport of 74afcee234f8be989623ccc7c28b9fb97fb548f0 from main | |||
| 2023-10-22 | [5.0.x] Fixed #34921 -- Fixed crash of warning for unbound naive datetimes. | David Sanders | |
| Backport of b5311ee23219cfb676e2e67667ecba1e5d363aa0 from main | |||
| 2023-09-28 | [5.0.x] Fixed #34877 -- Fixed migrations crash when adding GeneratedField ↵ | Paolo Melchiorre | |
| with output_field with params. Backport of e7e8eb44a30bcab004a582760752b5eb3fcd6e91 from main | |||
| 2023-09-22 | [5.0.x] Fixed #34861 -- Fixed crash when adding GeneratedField with some ↵ | Paolo Melchiorre | |
| expressions. Co-authored-by: Simon Charette <charette.s@gmail.com> Backport of 574ee4023e15cfb195833edfbaed353f8021c62f from main | |||
| 2023-09-18 | Fixed #33651 -- Added support for prefetching GenericForeignKey. | Clément Escolano | |
| Co-authored-by: revanthgss <revanthgss@almabase.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-09-14 | Fixed #34838 -- Corrected output_field of resolved columns for GeneratedFields. | Paolo Melchiorre | |
| Thanks Simon Charette for the implementation idea. | |||
| 2023-09-14 | Fixed #24561 -- Added support for callables on model fields' choices. | Natalia | |
| 2023-09-07 | Fixed #31300 -- Added GeneratedField model field. | Jeremy Nauta | |
| Thanks Adam Johnson and Paolo Melchiorre for reviews. Co-Authored-By: Lily Foote <code@lilyf.org> Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-08-30 | Fixed #31262 -- Added support for mappings on model fields and ↵ | Nick Pope | |
| ChoiceField's choices. | |||
| 2023-08-02 | Fixed #33507 -- Used UUID data type on MariaDB 10.7+. | Albert Defler | |
| Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2023-06-19 | Refs #34517 -- Restored skipping ImageFileField.update_dimension_fields ↵ | François Freitag | |
| without width/height fields. This avoids reading the image size when the dimensions fields (image_width, image_height) do not exist, as that operation may be expensive. Partially reverts ea53e7c09f1b8864c20c65976bbeaeab77abdaec, that dropped the check for the dimension fields in update_dimension_fields(), because the post_init signal was no longer registered without dimension fields. However, another code path to that function exists: when the ImageFileField is save()d, the name from the storage is setattr()ed on the field, and ImageFileDescriptor calls update_dimension_fields() because the image size might have changed. Keep bailing out early when dimensions are unused. Besides, computing the image dimensions causes to close() the file, resulting in a backward-incompatible change. The test protects against that change. | |||
| 2023-05-24 | Fixed #34590 -- Reverted "Refs #33308 -- Improved adapting DecimalField ↵ | David Sanders | |
| values to decimal." This reverts 7990d254b0af158baf827fafbd90fe8e890f23bd. Thanks Marc Odermatt for the report. | |||
| 2023-05-16 | Fixed #34539 -- Restored get_prep_value() call when adapting JSONFields. | Julie Rymer | |
| Regression in 5c23d9f0c32f166c81ecb6f3f01d5077a6084318. | |||
| 2023-05-12 | Fixed #470 -- Added support for database defaults on fields. | Ian Foote | |
| Special thanks to Hannes Ljungberg for finding multiple implementation gaps. Thanks also to Simon Charette, Adam Johnson, and Mariusz Felisiak for reviews. | |||
| 2023-05-10 | Removed obsolete docstring from Field.db_returning. | Lily Foote | |
| It's also supported on SQLite 3.35+ and MariaDB 10.5+. | |||
| 2023-05-03 | Fixed #34517 -- Avoided connection post_init signal to ImageField without ↵ | Orhan Hirsch | |
| width/height fields. | |||
| 2023-05-02 | Refs #31369 -- Improved hint message in NullBooleanField's deprecation warning. | Paul Brown | |
| 2023-04-18 | Refs #16055 -- Deprecated ↵ | David Wobrock | |
| get_joining_columns()/get_reverse_joining_columns() methods. | |||
| 2023-04-18 | Fixed #16055 -- Fixed crash when filtering against char/text GenericRelation ↵ | David Wobrock | |
| relation on PostgreSQL. | |||
| 2023-03-28 | Fixed #34443 -- Fixed filtering by transforms on reverse relations. | Mariusz Felisiak | |
| Regression in ce6230aa976e8d963226a3956b45a8919215dbd8. | |||
| 2023-03-21 | Fixed #34388 -- Allowed using choice enumeration types directly on model and ↵ | T. Franzel | |
| form fields. | |||
| 2023-03-14 | Refs #28329 -- Fixed Cast() with ForeignKey to integer fields on MySQL. | David Wobrock | |
| 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-23 | Fixed #34192 -- Preserved callable storage when it returns default_storage. | Matt Westcott | |
| 2023-01-18 | Refs #34233 -- Used @functools.cache. | Nick Pope | |
| Python 3.9+ supports @functools.cache as an alias for @functools.lru_cache(maxsize=None). | |||
| 2023-01-17 | Refs #31486 -- Removed ability to pass unsaved model instances to related ↵ | Mariusz Felisiak | |
| filters. Per deprecation timeline. | |||
| 2022-12-28 | Fixed #14094 -- Added support for unlimited CharField on PostgreSQL. | Adrian Torres | |
| Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2022-12-28 | Fixed #18468 -- Added support for comments on columns and tables. | kimsoungryoul | |
| Thanks Jared Chung, Tom Carrick, David Smith, Nick Pope, and Mariusz Felisiak for reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Nick Pope <nick@nickpope.me.uk> | |||
| 2022-12-24 | Used allow_migrate_model() shortcut in Field._check_backend_specific_checks(). | Mariusz Felisiak | |
| 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-01 | Refs #33308 -- Deprecated support for passing encoded JSON string literals ↵ | Simon Charette | |
| to JSONField & co. JSON should be provided as literal Python objects an not in their encoded string literal forms. | |||
| 2022-11-18 | Removed unnecessary ForeignKey.get_reverse_path_info(). | Mariusz Felisiak | |
| get_reverse_path_info() is already inherited from ForeignObject. | |||
| 2022-11-15 | Refs #33308 -- Used get_db_prep_value() to adapt JSONFields. | Simon Charette | |
| 2022-11-09 | Fixed #34135 -- Added async-compatible interface to related managers. | Jon Janzen | |
| 2022-11-08 | Fixed #34139 -- Fixed acreate(), aget_or_create(), and aupdate_or_create() ↵ | Jon Janzen | |
| methods for related managers. Bug in 58b27e0dbb3d31ca1438790870b2b51ecdb10500. | |||
| 2022-11-07 | Refs #33374 -- Adjusted full match condition handling. | Simon Charette | |
| Adjusting WhereNode.as_sql() to raise an exception when encoutering a full match just like with empty matches ensures that all case are explicitly handled. | |||
| 2022-11-07 | Refs #33308 -- Improved adapting DecimalField values to decimal. | Florian Apolloner | |
| 2022-11-04 | Fixed #27654 -- Propagated alters_data attribute to callables overridden in ↵ | LightDiscord | |
| subclasses. Thanks Shai Berger and Adam Johnson for reviews and the implementation idea. | |||
| 2022-10-31 | Used more augmented assignment statements. | Nick Pope | |
| Identified using the following command: $ git grep -I '\(\<[_a-zA-Z0-9]\+\>\) *= *\1 *[-+/*^%&|<>@]' | |||
| 2022-09-30 | Fixed #33984 -- Reverted "Fixed #32980 -- Made models cache related managers." | Mariusz Felisiak | |
| This reverts 4f8c7fd9d91b35e2c2922de4bb50c8c8066cbbc6 and adds two regression tests: - test_related_manager_refresh(), and - test_create_copy_with_m2m(). Thanks joeli for the report. | |||
| 2022-09-16 | Fixed #33966 -- Added support for using KeyTextTransform from lookup. | Allen Jonathan David | |
| 2022-09-09 | Fixed #33975 -- Fixed __in lookup when rhs is a queryset with annotate() and ↵ | DevilsAutumn | |
| alias(). This fixes clearing selected fields. | |||
| 2022-09-06 | Refs #26780 -- Made prefetch_related() don't use window expressions fo ↵ | Mariusz Felisiak | |
| sliced queries if not supported. | |||
| 2022-09-02 | Fixed #29799 -- Allowed registering lookups per field instances. | Allen Jonathan David | |
| Thanks Simon Charette and Mariusz Felisiak for reviews and mentoring this Google Summer of Code 2022 project. | |||
| 2022-08-27 | Fixed #33954 -- Prevented models.DecimalField from accepting NaN, Inf, and ↵ | Mohamed Karam | |
| -Inf values. | |||
| 2022-08-27 | Fixed #33952 -- Reallowed creating reverse foreign key managers on unsaved ↵ | David Wobrock | |
| instances. Thanks Claude Paroz for the report. Regression in 7ba6ebe9149ae38257d70100e8bfbfd0da189862. | |||
