From 05cce083ad662913008e107bc6332e7ffe1502e6 Mon Sep 17 00:00:00 2001 From: Natalia <124304+nessita@users.noreply.github.com> Date: Fri, 3 May 2024 14:39:43 -0300 Subject: Removed versionadded/changed annotations for 5.0. This also removes remaining versionadded/changed annotations for older versions. --- docs/ref/contrib/postgres/aggregates.txt | 18 ------------------ docs/ref/contrib/postgres/constraints.txt | 2 -- 2 files changed, 20 deletions(-) (limited to 'docs/ref/contrib/postgres') diff --git a/docs/ref/contrib/postgres/aggregates.txt b/docs/ref/contrib/postgres/aggregates.txt index 2675a90af2..fd4fabe853 100644 --- a/docs/ref/contrib/postgres/aggregates.txt +++ b/docs/ref/contrib/postgres/aggregates.txt @@ -55,12 +55,6 @@ General-purpose aggregation functions F("some_field").desc() - .. versionchanged:: 5.0 - - In older versions, if there are no rows and ``default`` is not - provided, ``ArrayAgg`` returned an empty list instead of ``None``. If - you need it, explicitly set ``default`` to ``Value([])``. - ``BitAnd`` ---------- @@ -182,12 +176,6 @@ General-purpose aggregation functions {'parking': True, 'double_bed': True} ]}]> - .. versionchanged:: 5.0 - - In older versions, if there are no rows and ``default`` is not - provided, ``JSONBAgg`` returned an empty list instead of ``None``. If - you need it, explicitly set ``default`` to ``Value([])``. - ``StringAgg`` ------------- @@ -243,12 +231,6 @@ General-purpose aggregation functions 'headline': 'NASA uses Python', 'publication_names': 'Science News, The Python Journal' }]> - .. versionchanged:: 5.0 - - In older versions, if there are no rows and ``default`` is not - provided, ``StringAgg`` returned an empty string instead of ``None``. - If you need it, explicitly set ``default`` to ``Value("")``. - Aggregate functions for statistics ================================== diff --git a/docs/ref/contrib/postgres/constraints.txt b/docs/ref/contrib/postgres/constraints.txt index ce9f0cf78f..4d13eddd24 100644 --- a/docs/ref/contrib/postgres/constraints.txt +++ b/docs/ref/contrib/postgres/constraints.txt @@ -136,8 +136,6 @@ used for queries that select only included fields ``violation_error_code`` ------------------------ -.. versionadded:: 5.0 - .. attribute:: ExclusionConstraint.violation_error_code The error code used when ``ValidationError`` is raised during -- cgit v1.3