| Age | Commit message (Collapse) | Author | |
|---|---|---|---|
| 2026-01-20 | Refs #36639 -- Updated test migrations to match models. | Skyiesac | |
| 2025-11-20 | Fixed #36748 -- Filtered non-standard placeholders from UNNEST queries. | Chris Wesseling | |
| 2025-09-05 | Fixed #36564 -- Changed DEFAULT_AUTO_FIELD from AutoField to BigAutoField. | Tim Graham | |
| 2025-03-25 | Fixed #36276 -- Omitted size=None from ArrayField.deconstruct(). | Tim Graham | |
| 2025-01-20 | Fixed #36107 -- Adjusted UNNEST bulk_create strategy to opt-out sized arrays. | Simon Charette | |
| The array fields opt-out heuristic failed to account for sized arrays. Note that we keep relying on db_type as opposed to performing an ArrayField instance check against the column's field as there could be other implementations of model fields that use Postgres arrays to store the optimization must be disabled for all of them. Refs #35936. Thanks Claude Paroz for the report and test. | |||
| 2024-08-05 | Fixed #35638 -- Updated validate_constraints to consider db_default. | David Sanders | |
| 2023-09-18 | Refs #33872 -- Removed ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. Per deprecation timeline. | |||
| 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 | |||
| 2022-08-03 | Fixed #33872 -- Deprecated ↵ | Mariusz Felisiak | |
| django.contrib.postgres.fields.CIText/CICharField/CIEmailField/CITextField. | |||
| 2022-05-13 | Fixed #33704 -- Updated postgres_tests migrations. | Mariusz Felisiak | |
| 2022-02-07 | Refs #33476 -- Reformatted code with Black. | django-bot | |
| 2021-11-04 | Fixed #27147 -- Allowed specifying bounds of tuple inputs for non-discrete ↵ | Guilherme Martins Crocetti | |
| range fields. | |||
| 2021-10-01 | Refs #32943 -- Added support for covering SP-GiST indexes on PostgreSQL 14+. | Nick Pope | |
| 2021-09-27 | Fixed #33114 -- Defined default output_field of StringAgg. | ali | |
| Thanks Simon Charette for the review. | |||
| 2021-09-17 | Fixed #32492 -- Added TrigramWordSimilarity() and TrigramWordDistance() on ↵ | Nikita Marchant | |
| PostgreSQL. | |||
| 2020-12-03 | Refs #27095 -- Fixed test_contained_by_including_F_object when run in reverse. | Mariusz Felisiak | |
| Tests should not rely on auto PKs. Test regression in 33403bf80f635577a18426bc99c8a65e31fd8dfa. | |||
| 2020-10-14 | Refs #32096 -- Fixed ExclusionConstraint crash with JSONField key transforms ↵ | Mariusz Felisiak | |
| in expressions. Regression in 6789ded0a6ab797f0dcdfa6ad5d1cfa46e23abcd. | |||
| 2020-10-14 | Refs #32096 -- Added test for ArrayAgg over JSONField key transforms. | Mariusz Felisiak | |
| 2020-05-08 | Fixed #12990, Refs #27694 -- Added JSONField model field. | sage | |
| Thanks to Adam Johnson, Carlton Gibson, Mariusz Felisiak, and Raphael Michel for mentoring this Google Summer of Code 2019 project and everyone else who helped with the patch. Special thanks to Mads Jensen, Nick Pope, and Simon Charette for extensive reviews. Co-authored-by: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2020-03-16 | Fixed #31340 -- Allowed query expressions in SearchQuery.value and __search ↵ | Baptiste Mispelon | |
| lookup. | |||
| 2019-12-05 | Fixed #31039 -- Added support for contained_by lookup with AutoFields, ↵ | Hasan Ramezani | |
| SmallIntegerField, and DecimalField. | |||
| 2019-11-01 | Refs #27808 -- Added test for saving nested ArrayField with nullable base field. | Hasan Ramezani | |
| 2019-07-16 | Fixed #29824 -- Added support for database exclusion constraints on PostgreSQL. | Mads Jensen | |
| Thanks to Nick Pope and Mariusz Felisiak for review. Co-Authored-By: Mariusz Felisiak <felisiak.mariusz@gmail.com> | |||
| 2019-07-10 | Fixed #30621 -- Fixed crash of __contains lookup for Date/DateTimeRangeField ↵ | Mariusz Felisiak | |
| when the right hand side is the same type. Thanks Tilman Koschnick for the report and initial patch. Thanks Carlton Gibson the review. Regression in 6b048b364ca1e0e56a0d3815bf2be33ac9998355. | |||
| 2019-02-09 | Fixed #29391 -- Made PostgresSimpleLookup respect Field.get_db_prep_value(). | Vinay Karanam | |
| 2018-10-02 | Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField. | Stefano Chiodino | |
| 2018-09-18 | Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models. | Tom Forbes | |
| 2018-07-27 | Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields. | vinay karanam | |
| 2018-03-20 | Fixed #29227 -- Allowed BooleanField to be null=True. | Tim Graham | |
| Thanks Lynn Cyrin for contributing to the patch, and Nick Pope for review. | |||
| 2017-09-27 | Fixed #28626 -- Dropped support for PostgreSQL 9.3. | Tim Graham | |
| Thanks Simon Charette for the introspection changes. | |||
| 2017-05-04 | Fixed #28161 -- Fixed return type of ArrayField(CITextField()). | Simon Charette | |
| Thanks Tim for the review. | |||
| 2017-05-03 | Added a test for ArrayField(HStoreField()). | Simon Charette | |
| 2017-04-25 | Fixed #27996 -- Added RandomUUID function and CryptoExtension to ↵ | Paolo Melchiorre | |
| contrib.postgres. | |||
| 2017-02-11 | Refs #26610 -- Added CIText mixin and CIChar/Email/TextField. | Mads Jensen | |
| 2017-01-18 | Refs #23919 -- Removed encoding preambles and future imports | Claude Paroz | |
| 2016-09-21 | Fixed #26610 -- Added CITextField to contrib.postgres. | Mads Jensen | |
| 2016-09-12 | Used a database feature to prevent the jsonb test model from being migrated. | Simon Charette | |
| Thanks Tim for the review. | |||
| 2016-08-25 | Fixed #25995 -- Added an encoder option to JSONField | Claude Paroz | |
| Thanks Berker Peksag and Tim Graham for the reviews. | |||
| 2016-06-16 | Fixed flake8 2.6 warnings. | Tim Graham | |
| 2016-04-22 | Refs #3254 -- Added full text search to contrib.postgres. | Marc Tamlyn | |
| Adds a reasonably feature complete implementation of full text search using the built in PostgreSQL engine. It uses public APIs from Expression and Lookup. With thanks to Tim Graham, Simon Charettes, Josh Smeaton, Mikey Ariel and many others for their advice and review. Particular thanks also go to the supporters of the contrib.postgres kickstarter. | |||
| 2016-03-12 | Fixed #25143 -- Added ArrayField.from_db_value(). | Fernando Miranda | |
| Thanks Karan Lyons for contributing to the patch. | |||
| 2016-02-12 | Refs #25979 -- Dropped compatiblity for running tests on PostgreSQL < 9.2. | Tim Graham | |
| 2015-07-27 | Fixed #21127 -- Started deprecation toward requiring on_delete for ↵ | Flavio Curella | |
| ForeignKey/OneToOneField | |||
| 2015-06-15 | Fixed #24894 -- Added contrib.postgres.functions.TransactionNow | Adam Chainz | |
| 2015-06-04 | Fixed #24837 -- field__contained_by=Range | Marc Tamlyn | |
| Provide `contained_by` lookups for the equivalent single valued fields related to the range field types. This acts as the opposite direction to rangefield__contains. With thanks to schinckel for the idea and initial tests. | |||
| 2015-05-30 | Fixed #24604 -- Added JSONField to contrib.postgres. | Marc Tamlyn | |
| 2015-04-18 | Stopped special-casing postgres-specific tests | Claude Paroz | |
| Refs #23879. | |||
| 2015-03-30 | Fixed #24301 -- Added PostgreSQL-specific aggregate functions | Andriy Sokolovskiy | |
| 2015-02-06 | Sorted imports with isort; refs #23860. | Tim Graham | |
| 2015-01-16 | Fixed #24092 -- Widened base field support for ArrayField. | Marc Tamlyn | |
| Several issues resolved here, following from a report that a base_field of GenericIpAddressField was failing. We were using get_prep_value instead of get_db_prep_value in ArrayField which was bypassing any extra modifications to the value being made in the base field's get_db_prep_value. Changing this broke datetime support, so the postgres backend has gained the relevant operation methods to send dates/times/datetimes directly to the db backend instead of casting them to strings. Similarly, a new database feature has been added allowing the uuid to be passed directly to the backend, as we do with timedeltas. On the other side, psycopg2 expects an Inet() instance for IP address fields, so we add a value_to_db_ipaddress method to wrap the strings on postgres. We also have to manually add a database adapter to psycopg2, as we do not wish to use the built in adapter which would turn everything into Inet() instances. Thanks to smclenithan for the report. | |||
