summaryrefslogtreecommitdiff
path: root/docs/releases
AgeCommit message (Collapse)Author
2018-10-17Fixed #21171 -- Avoided starting a transaction when a single (or atomic ↵Florian Apolloner
queries) are executed. Checked the following locations: * Model.save(): If there are parents involved, take the safe way and use transactions since this should be an all or nothing operation. If the model has no parents: * Signals are executed before and after the previous existing transaction -- they were never been part of the transaction. * if `force_insert` is set then only one query is executed -> atomic by definition and no transaction needed. * same applies to `force_update`. * If a primary key is set and no `force_*` is set Django will try an UPDATE and if that returns zero rows it tries an INSERT. The first case is completly save (single query). In the second case a transaction should not produce different results since the update query is basically a no-op then (might miss something though). * QuerySet.update(): no signals issued, single query -> no transaction needed. * Model/Collector.delete(): This one is fun due to the fact that is does many things at once. Most importantly though: It does send signals as part of the transaction, so for maximum backwards compatibility we need to be conservative. To ensure maximum compatibility the transaction here is removed only if the following holds true: * A single instance is being deleted. * There are no signal handlers attached to that instance. * There are no deletions/updates to cascade. * There are no parents which also need deletion.
2018-10-15Fixed #29817 -- Deprecated settings.FILE_CHARSET.Jon Dufresne
2018-10-11Fixed #29814 -- Added support for NoneType serialization in migrations.Patrik Sletmo
2018-10-11Fixed #29836 -- Bumped required cx_Oracle to 6.0.Mariusz Felisiak
2018-10-10Refs #27795 -- Removed force_bytes() usage from django/utils/http.py.Jon Dufresne
django.utils.http.urlsafe_base64_encode() now returns a string, not a bytestring. Since URLs are represented as strings, urlsafe_base64_encode() should return a string. All uses immediately decoded the bytestring to a string anyway. As the inverse operation, urlsafe_base64_decode() accepts a string.
2018-10-09Capitalized "Python" in docs and comments.Jon Dufresne
2018-10-02Fixed #29598 -- Deprecated FloatRangeField in favor of DecimalRangeField.Stefano Chiodino
2018-10-02Refs #29722 -- Added introspection of materialized views for PostgreSQL.Nick Pope
2018-10-02Fixed #29719 -- Added introspection of foreign tables for PostgreSQL.Nick Pope
Thanks infinite-l00p for the initial patch.
2018-10-01Adjusted text for CVE-2018-16984 in security release archive.Carlton Gibson
2018-10-01Added CVE-2018-16984 to the security release archive.Carlton Gibson
2018-10-01Added stub release notes for 2.1.3 release.Carlton Gibson
2018-10-01Added stub release notes for 2.0.10 release.Carlton Gibson
2018-10-01Added stub release notes for 1.11.17 release.Carlton Gibson
2018-10-01Added release date for 2.1.2 release.Carlton Gibson
2018-10-01Fixed #29809 -- Fixed a crash when a "view only" user POSTs to the admin ↵Tim Graham
user change form.
2018-10-01Fixed CVE-2018-16984 -- Fixed password hash disclosure to admin "view only" ↵Carlton Gibson
users. Thanks Claude Paroz & Tim Graham for collaborating on the patch.
2018-10-01Added release date for 2.0.9 release.Carlton Gibson
2018-10-01Added release date for 1.11.16.Carlton Gibson
2018-09-29Updated translations from TransifexClaude Paroz
Forward port of d5ed08263b58ec972a1e009f23d7b90c30b6b9c1 from master.
2018-09-26Fixed #29630 -- Fixed crash of sliced queries with multiple columns with the ↵Mariusz Felisiak
same name on Oracle 12.1. Regression in 0899d583bdb140910698d00d17f5f1abc8774b07. Thanks Tim Graham for the review and Jani Tiainen for help.
2018-09-26Refs #29784 -- Switched to https:// links where available.Jon Dufresne
2018-09-25Fixed #29778 -- Fixed quoting of unique index names.Oleg
Regression in 3b429c96736b8328c40e5d77282b0d30de563c3c.
2018-09-25Refs #27795 -- Removed force_bytes() usage in utils/_os.py.Jon Dufresne
2018-09-18Fixed #23646 -- Added QuerySet.bulk_update() to efficiently update many models.Tom Forbes
2018-09-18Fixed typo in docs/releases/2.1.txt.Tim Graham
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-09-16Fixed #29759 -- Fixed crash on Oracle when fetching a returned insert id ↵Mariusz Felisiak
with cx_Oracle 7.
2018-09-14Fixed #29755 -- Made migrations detect changes to Meta.default_related_name.Simon Charette
2018-09-13Refs #14357 -- Deprecated Meta.ordering affecting GROUP BY queries.Ramiro Morales
Thanks Ramiro Morales for contributing to the patch.
2018-09-11Fixed #29749 -- Made the migrations loader ignore files starting with a ↵Tim Graham
tilde or underscore. Regression in 29150d5da880ac1db15e47052330790cf1b802d2.
2018-09-11Fixed #29560 -- Added --force-color management command option.Hasan Ramezani
2018-09-10Refs #20910 -- Replaced snippet directive with code-block.Curtis Maloney
2018-09-08Fixed #29727 -- Made nonexistent joins in F() raise FieldError.Alexander Holmbäck
Regression in 2162f0983de0dfe2178531638ce7ea56f54dd4e7.
2018-08-31Refs #29426 -- Fixed typo in docs/releases/2.2.txt.Josh Schneier
2018-08-31Added stub release notes for 2.1.2.Carlton Gibson
2018-08-31Added release date for 2.1.1.Carlton Gibson
2018-08-30Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't ↵Tim Graham
accept the obj argument. * Refs #27991 -- Added testing for ModelAdmin.get_inline_instances() if the inline's has_add_permission() doesn't accept 'obj'. * Fixed #29723 -- Fixed crash if InlineModelAdmin.has_add_permission() doesn't accept the obj argument.
2018-08-29Fixed #29694 -- Fixed column mismatch crash with QuerySet.values() or ↵Mariusz Felisiak
values_list() after combining querysets with extra() with union(), difference(), or intersection(). Regression in 0b66c3b442875627fa6daef4ac1e90900d74290b.
2018-08-28Fixed #29718 -- Doc'd admin template collision backwards incompatibility in ↵Tim Graham
Django 2.1.
2018-08-27Fixed #29703 -- Deprecated QuerySetPaginator alias.Nick Pope
Unused since 4406d283e13819b04556df21044089b7d119edb0.
2018-08-25Fixed #29687 -- Allowed the test client to serialize list/tuple as JSON.Dan Palmer
2018-08-21Fixed #29654 -- Made text truncation an ellipsis character instead of three ↵Claude Paroz
dots. Thanks Sudhanshu Mishra for the initial patch and Tim Graham for the review.
2018-08-21Fixed typo in docs/releases/2.0.5.txt.Tim Graham
2018-08-20Fixed #29682 -- Fixed admin change form crash if a view-only model's form ↵Tim Graham
has an extra field.
2018-08-18Fixed #28649 -- Added ExtractIsoYear database function and iso_year lookup.Sigurd Ljødal
2018-08-18Refs #29426 -- Made UUIDField render values with dashes.Tim Graham
2018-08-17Fixed #29663 -- Made admin change view redirect to changelist with view ↵Jon Dufresne
permission.
2018-08-15Fixed #29662 -- Allowed test client to accept structured suffix JSON content ↵Marnanel Thurman
types.
2018-08-11Refs #29449 -- Removed release note for "Allowed using contrib.auth forms ↵Dragoon Aethis
without installing contrib.auth." The code was reverted in f3fa86a89b3b85242f49b2b9acf58b5ea35acc1f.