summaryrefslogtreecommitdiff
path: root/django/contrib/postgres
AgeCommit message (Collapse)Author
2019-10-11[2.2.x] Fixed #30826 -- Fixed crash of many JSONField lookups when one hand ↵Louise Grandjonc
side is key transform. Regression in 6c3dfba89215fc56fc27ef61829a6fff88be4abb. Backport of 7d1bf29977bb368d7c28e7c6eb146db3b3009ae7 from master
2019-09-16[2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subquery ↵Simon Charette
JSON/HStoreField annotation. This was a regression introduced by 7deeabc7c7526786df6894429ce89a9c4b614086 to address CVE-2019-14234. Thanks Tim Kleinschmidt for the report and Mariusz for the tests. Backport of 6c3dfba89215fc56fc27ef61829a6fff88be4abb from master
2019-08-14[2.2.x] Fixed #30672 -- Fixed crash of JSONField/HStoreField key transforms ↵Mariusz Felisiak
on expressions with params. Regression in 4f5b58f5cd3c57fee9972ab074f8dc6895d8f387. Thanks Florian Apolloner for the report and helping with tests. Backport of 1f8382d34d54061eddc41df6994e20ee38c60907 from master.
2019-07-29[2.2.x] Fixed CVE-2019-14234 -- Protected JSONField/HStoreField key and ↵Mariusz Felisiak
index lookups against SQL injection. Thanks to Sage M. Abdullah for the report and initial patch. Thanks Florian Apolloner for reviews.
2019-07-10[2.2.x] Fixed #30621 -- Fixed crash of __contains lookup for ↵Mariusz Felisiak
Date/DateTimeRangeField when the right hand side is the same type. Thanks Tilman Koschnick for the report and initial patch. Thanks Carlton Gibson for the review. Regression in 6b048b364ca1e0e56a0d3815bf2be33ac9998355. Backport of 7991111af12056ec9a856f35935d273526338c1f from master
2019-06-29[2.2.x] Updated translations from TransifexClaude Paroz
2019-05-28[2.2.x] Fixed #30315 -- Fixed crash of ArrayAgg and StringAgg with ordering ↵Caio Ariede
when used in Subquery. Backport of a3f91891d2c7f4bdc33f48ae70820ef6f36da26e from master.
2019-05-20[2.2.x] Fixed #30488 -- Removed redundant Coalesce call in SQL generated by ↵Thomasina Lee
SearchVector. Regression in 405c8363362063542e9e79beac53c8437d389520. Backport of c38e7a79f4354ee831f92deb7a658fc0387e3bec from master
2019-04-23[2.2.x] Fixed #30385 -- Restored SearchVector(config) immutability.Simon Charette
Regression in 1a28dc3887e8d66d5e3ff08cf7fb0a6212b873e5. The usage of CONCAT to allow SearchVector to deal with non-text fields made the generated expression non-IMMUTABLE which prevents a functional index to be created for it. Using a combination of COALESCE and ::text makes sure the expression preserves its immutability. Refs #29582. Thanks Andrew Brown for the report, Nick Pope for the review. Backport of 405c8363362063542e9e79beac53c8437d389520 from master
2019-04-06[2.2.x] Fixed #30332 -- Fixed crash of ordering by expressions with params ↵Simone Pellizzari
in ArrayAgg and StringAgg. Backport of d0315584b5ed6a47b486e65f6c88f80189f337ef from master.
2019-04-01[2.2.x] Updated contrib translations from TransifexClaude Paroz
2019-03-03[2.2.x] 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. Backport of b435f82939edf70674856e0e1cd63973c2e0a1d1 from master
2019-02-25[2.2.x] Fixed relative paths imports per isort 4.3.5.Mariusz Felisiak
Backport of 463fe11bc8b2d068e447c5df677e7a31c2af7e03 from master
2019-01-11Fixed #29738 -- Allowed serializing psycopg2 range types in migrations.can
2019-01-10Fetched Armenian translations from TransifexClaude Paroz
2019-01-09Fixed #28658 -- Added DISTINCT handling to the Aggregate class.Simon Charette
2018-11-30Fixed #29997 -- Allowed combining SearchQuerys with different configs.Jaap Roes
Seems to be a needless restriction in 978a00e39fee25cfa99065285b0de88366710fad.
2018-11-12Fixed #29945 -- Moved contrib.postgres uninstallation logic to the app config.Simon Charette
2018-10-02Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino
2018-09-29Updated translations from TransifexClaude Paroz
Forward port of d5ed08263b58ec972a1e009f23d7b90c30b6b9c1 from master.
2018-09-28Refs #28909 -- Simplifed code using unpacking generalizations.Sergey Fedoseev
2018-09-17Fixed #27899 -- Added support for phrase/raw searching in SearchQuery.Claude Paroz
Thanks Tim Graham, Nick Pope, and Claude Paroz for contribution and review.
2018-08-15Fixed #29644 -- Made SearchQuery.__str__() reflect negation and grouping.Tom Forbes
2018-08-02Refs #27869 -- Added PostgreSQL version check for GinIndex support.Nick Pope
2018-08-02Refs #25809, #28990 -- Added PostgreSQL version check for BrinIndex support.Nick Pope
2018-08-02Fixed #29614 -- Added BTreeIndex to django.contrib.postres.Nick Pope
2018-08-02Fixed #28990 -- Added autosummarize parameter to BrinIndex.Nick Pope
2018-08-02Fixed #28887 -- Added SpGistIndex to django.contrib.postgres.Nick Pope
2018-08-02Fixed #26974 -- Added HashIndex to django.contrib.postgres.Nick Pope
Thanks Akshesh Doshi for the initial implementation.
2018-08-01Updated contrib translations from TransifexClaude Paroz
Forwardport of cbf7e7dc52db2834e95817bbbfb56a693c83b84f from stable/2.1.x.
2018-07-27Fixed #28291, #24726 -- Fixed ArrayField with JSONField and RangeFields.vinay karanam
2018-07-21Fixed #29582 -- Fixed a crash when using SearchVector with non text-fields.Simon Charette
The PostgreSQL concat() function handles nulls and non-text values better than the || operator.
2018-06-28Fixed #26067 -- Added ordering support to ArrayAgg and StringAgg.Floris den Hengst
2018-05-17Updated translation catalogsClaude Paroz
2018-05-13Refs #29131 -- Fixed space handling in ArrayField's item_invalid message.Hasan Ramezani
2018-04-22Refs #29131 -- Made ArrayField error messages index from 1 instead of 0.Hasan Ramezani
2018-04-10Fixed #29307 -- Fixed inspectdb import paths for django.contrib.postgres fields.Alasdair Nicol
Thanks erindy for the report.
2018-04-07Fixed #28950 -- Fixed ArrayField.has_changed() for empty values.Vinay Karanam
2018-04-04Fixed #25718 -- Made a JSONField lookup value of None match keys that have a ↵Dmitry Dygalo
null value.
2018-04-03Refs #28577 -- Added check for HStoreField to prevent mutable default.Tim Graham
2018-02-28Updated translations from TransifexClaude Paroz
Forward port of 2126e9317e80a7d4c42e033dd33d7e3378fdfcf8 from stable/2.0.x.
2018-01-12Fixed string format specifier for fillfactor in GistIndex.Nick Pope
2018-01-10Unified construction of WITH SQL in contrib.postgres.indexes.Tim Graham
2018-01-09Allowed indexes in contrib.postgres to have suffixes of any length.Nick Pope
2017-12-30Fixed #28908 -- Allowed ArrayField lookups on ArrayAgg annotations.Sergey Fedoseev
2017-12-11Fixed #28909 -- Simplified code using tuple/list/set/dict unpacking.Nick Pope
2017-12-01Updated contrib translations from TransifexClaude Paroz
Forward port of 765e6de92493aa638555408172597e054e813ce3 from stable/2.0.x
2017-11-29Fixed #28702 -- Made query lookups for CIText fields use citext.Mads Jensen
2017-11-11Fixed #28534 -- Made JSONField.has_changed() ignore key order and consider ↵shanghui
True/1 values as different.
2017-11-07Fixed #28758 -- Fixed RangeMax/MinValueValidators crash with unbound ranges.Imran Iqbal