You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.rst
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,9 @@ Changelog
7
7
Development
8
8
===========
9
9
- (Fill this out as you fix issues and develop your features).
10
+
- Further to the deprecation warning, remove ability to use an unpacked list to `Queryset.aggregate(*pipeline)`, a plain list must be provided instead `Queryset.aggregate(pipeline)`, as it's closer to pymongo interface
11
+
- Further to the deprecation warning, remove `full_response` from `QuerySet.modify` as it wasn't supported with Pymongo 3+
12
+
- Fixed stacklevel of many warnings (to point places emitting the warning more accurately)
msg="Calling .aggregate() with un unpacked list (*pipeline) is deprecated, it will soon change and will expect a list (similar to pymongo.Collection.aggregate interface), see documentation"
1351
-
warnings.warn(msg, DeprecationWarning)
1352
-
1353
-
user_pipeline+=suppl_pipeline
1329
+
ifnotisinstance(pipeline, (tuple, list)):
1330
+
raiseTypeError(
1331
+
f"Starting from 1.0 release pipeline must be a list/tuple, received: {type(pipeline)}"
0 commit comments