| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2025-06-18 | Fixed #32770 -- Added system check to ensure django.contrib.postgres is ↵ | Clifford Gama | |
| installed when using its features. Added postgres.E005 to validate 'django.contrib.postgres' is in INSTALLED_APPS when using: * PostgreSQL-specific fields (ArrayField, HStoreField, range fields, SearchVectorField), * PostgreSQL indexes (PostgresIndex and all subclasses), and * ExclusionConstraint The check provides immediate feedback during system checks rather than failing later with obscure runtime and database errors. Thanks to Simon Charette and Sarah Boyce for reviews. | |||
| 2025-03-25 | Fixed #36276 -- Omitted size=None from ArrayField.deconstruct(). | Tim Graham | |
| 2025-01-03 | Removed stray comment in ArrayField.check(). | Tim Graham | |
| 2024-12-05 | Fixed #35944 -- Handled serialization of Unicode values in ArrayField and ↵ | Oleg Sverdlov | |
| HStoreField. | |||
| 2023-12-30 | Fixed #29049 -- Added slicing notation to F expressions. | Nick Pope | |
| Co-authored-by: Priyansh Saxena <askpriyansh@gmail.com> Co-authored-by: Niclas Olofsson <n@niclasolofsson.se> Co-authored-by: David Smith <smithdc@gmail.com> Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> Co-authored-by: Abhinav Yadav <abhinav.sny.2002@gmail.com> | |||
| 2023-02-07 | Fixed #34285 -- Fixed index/slice lookups on filtered aggregates with ↵ | Nils VAN ZUIJLEN | |
| ArrayField. Thanks Simon Charette for the review. | |||
| 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-10 | Fixed #34205 -- Fixed Meta.constraints validation crash with ArrayField and ↵ | James Gillard | |
| __len lookup. Regression in 88fc9e2826044110b7b22577a227f122fe9c1fb5 that began manifesting in Django 4.1. | |||
| 2022-11-03 | Fixed #34080 -- Fixed __exact lookup when nested arrays contain only NULL ↵ | Ion Alberdi | |
| values. Thanks jerch and David Sanders for reviews. | |||
| 2022-08-03 | Fixed #33872 -- Deprecated ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. | |||
| 2022-08-02 | Fixed #33881 -- Added support for database collations to ↵ | Mariusz Felisiak | |
| ArrayField(Char/TextFields). | |||
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2020-11-26 | Refs #27095 -- Allowed (non-nested) arrays containing expressions for ↵ | Hannes Ljungberg | |
| ArrayField lookups. | |||
| 2019-11-05 | Fixed #30095 -- Fixed system check for RangeField/ArrayField.choices with ↵ | Hasan Ramezani | |
| lists and tuples. | |||
| 2019-10-17 | Refs #12990 -- Moved CheckFieldDefaultMixin to the ↵ | sage | |
| django.db.models.fields.mixins. | |||
| 2019-08-23 | Fixed #30715 -- Fixed crash of ArrayField lookups on ArrayAgg annotations ↵ | Mariusz Felisiak | |
| over AutoField. | |||
| 2019-08-23 | Reduced code duplication in ArrayField's lookups. | Mariusz Felisiak | |
| 2019-08-05 | Moved indexes in ArrayField's Index and Slice transforms to SQL params. | Mariusz Felisiak | |
| Follow up to 7deeabc7c7526786df6894429ce89a9c4b614086. These lookups aren't vulnerable to SQL injection because both accept only integer indexes. It is a part of good practices. | |||
| 2019-03-21 | Removed obsolete Lookup hook to prepare rhs expressions. | Simon Charette | |
| After 3a505c70e7b228bf1212c067a8f38271ca86ce09, all _prepare() methods return self. | |||
| 2019-03-03 | Reverted "Fixed relative paths imports per isort 4.3.5." | Mariusz Felisiak | |
| This reverts commit 463fe11bc8b2d068e447c5df677e7a31c2af7e03 due to restore of relative paths sorting from isort < 4.3.5 in isort 4.3.10. | |||
| 2019-02-25 | Fixed relative paths imports per isort 4.3.5. | Mariusz Felisiak | |
| 2019-01-17 | Refs #28370 -- Removed support for the context arg of Field.from_db_value() ↵ | Tim Graham | |
| and Expression.convert_value(). Per deprecation timeline. | |||
| 2018-09-28 | Refs #28909 -- Simplifed code using unpacking generalizations. | Sergey Fedoseev | |
| 2018-07-27 | Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields. | vinay karanam | |
| 2018-05-13 | Refs #29131 -- Fixed space handling in ArrayField's item_invalid message. | Hasan Ramezani | |
| 2018-04-22 | Refs #29131 -- Made ArrayField error messages index from 1 instead of 0. | Hasan Ramezani | |
| 2017-12-11 | Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking. | Nick Pope | |
| 2017-11-01 | Fixed #28749 -- Added subquery support for ArrayField's __in lookup. | Michał Pasternak | |
| 2017-10-20 | Fixed #28577 -- Added checks for ArrayField and JSONField to prevent mutable ↵ | Flávio Juvenal | |
| defaults. | |||
| 2017-09-13 | Merged isinstance() calls. | Mariusz Felisiak | |
| 2017-07-20 | Fixed #28370 -- Deprecated the context arg of Field.from_db_value() and ↵ | Tim Graham | |
| Expression.convert_value(). Unused since a0d166306fbdc41f49e6fadf4ec84b17eb147daa. | |||
| 2017-02-07 | Converted usage of ugettext* functions to their gettext* aliases | Claude Paroz | |
| Thanks Tim Graham for the review. | |||
| 2017-01-25 | Refs #23919 -- Replaced super(ClassName, self) with super(). | chillaranand | |
| 2017-01-19 | Refs #23919 -- Stopped inheriting from object to define new style classes. | Simon Charette | |
| 2017-01-18 | Refs #23919 -- Removed six.<various>_types usage | Claude Paroz | |
| Thanks Tim Graham and Simon Charette for the reviews. | |||
| 2017-01-14 | Refs #25226 -- Cloned ArrayField.base_field on deconstruction. | Simon Charette | |
| This prevents the base_field from sharing attributes with the one used during migrations. | |||
| 2016-09-20 | Refs #27025 -- Fixed ArrayField querying on Python 3.6. | Tim Graham | |
| Python 3.6 parses strings like '0_1' as numeric literals. http://bugs.python.org/issue26331 | |||
| 2016-08-19 | Fixed #22288 -- Fixed F() expressions with the __range lookup. | Matthew Wilkes | |
| 2016-03-15 | Fixed #25579 -- Fixed ArrayField.get_db_prep_value() to allow complex types. | Matt C | |
| 2016-03-12 | Fixed #25143 -- Added ArrayField.from_db_value(). | Fernando Miranda | |
| Thanks Karan Lyons for contributing to the patch. | |||
| 2016-02-16 | Fixed #26215 -- Fixed RangeField/ArrayField serialization with None values | Claude Paroz | |
| Also added tests for HStoreField and JSONField. Thanks Aleksey Bukin for the report and Tim Graham for the initial patch and the review. | |||
| 2016-02-12 | Removed unneeded hint=None/obj=None in system check messages. | Tim Graham | |
| 2015-12-17 | Fixed #25841 -- Handled base array fields validation errors with params. | Simon Charette | |
| Thanks to Trac alias benzid-wael for the report. | |||
| 2015-12-17 | Fixed #25544 -- Removed duplicate ids in prefetch_related() queries. | Ian Foote | |
| 2015-12-07 | Fixed #25867 -- Fixed a system check crash with nested ArrayFields. | Simon Charette | |
| Thanks to Jean Gourds for the report, Tim and Claude for the review. | |||
| 2015-11-25 | Fixed #25772 -- Corrected __len lookup on ArrayField for empty arrays. | Attila Tovt | |
| 2015-11-14 | Fixed #25666 -- Fixed the exact lookup of ArrayField. | Dmitry Dygalo | |
| 2015-08-05 | Fixed #25226 -- Set the model attribute on ArrayField's base_field | Ion Scerbatiuc | |
| 2015-07-14 | Fixed #24716 -- Deprecated Field._get_val_from_obj() | Thomas Stephenson | |
| The method duplicates the functionality of Field.value_from_object() and has the additional downside of being a privately named public API method. | |||
| 2015-06-06 | Instead of using DjangoJSONEncoder, use base_field's value_to_string. | Matthew Somerville | |
| Note this means the serialization of e.g. IntegerRangeField now has strings for lower and upper, so use to_python when they came back in (same behaviour as ArrayField, hopefully, from where I also got the set_attributes_from_name function). | |||
