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
- Fix issue when using multiple connections to the same mongo with different credentials #2047
15
+
- `connect` fails immediately when db name contains invalid characters #2031 #1718
16
+
- Fix the default write concern of `Document.save` that was overwriting the connection write concern #568
17
+
- Fix querying on `List(EmbeddedDocument)` subclasses fields #1961 #1492
18
+
- Fix querying on `(Generic)EmbeddedDocument` subclasses fields #475
19
+
- Generate unique indices for `SortedListField` and `EmbeddedDocumentListFields` #2020
20
+
- BREAKING CHANGE: Changed the behavior of a custom field validator (i.e `validation` parameter of a `Field`). It is now expected to raise a `ValidationError` instead of returning True/False #2050
21
+
- BREAKING CHANGE: `QuerySet.aggregate` now takes limit and skip value into account #2029
22
+
- BREAKING CHANGES (associated with connect/disconnect fixes):
23
+
- Calling `connect` 2 times with the same alias and different parameter will raise an error (should call `disconnect` first).
24
+
- `disconnect` now clears `mongoengine.connection._connection_settings`.
25
+
- `disconnect` now clears the cached attribute `Document._collection`.
7
26
- (Fill this out as you fix issues and develop your features).
27
+
28
+
Changes in 0.17.0
29
+
=================
8
30
- Fix .only() working improperly after using .count() of the same instance of QuerySet
31
+
- Fix batch_size that was not copied when cloning a queryset object #2011
9
32
- POTENTIAL BREAKING CHANGE: All result fields are now passed, including internal fields (_cls, _id) when using `QuerySet.as_pymongo` #1976
33
+
- Document a BREAKING CHANGE introduced in 0.15.3 and not reported at that time (#1995)
10
34
- Fix InvalidStringData error when using modify on a BinaryField #1127
11
35
- DEPRECATION: `EmbeddedDocument.save` & `.reload` are marked as deprecated and will be removed in a next version of mongoengine #1552
36
+
- Fix test suite and CI to support MongoDB 3.4 #1445
37
+
- Fix reference fields querying the database on each access if value contains orphan DBRefs
12
38
13
39
=================
14
40
Changes in 0.16.3
@@ -66,6 +92,7 @@ Changes in 0.16.0
66
92
67
93
Changes in 0.15.3
68
94
=================
95
+
- BREAKING CHANGES: `Queryset.update/update_one` methods now returns an UpdateResult when `full_result=True` is provided and no longer a dict (relates to #1491)
69
96
- Subfield resolve error in generic_emdedded_document query #1651 #1652
70
97
- use each modifier only with $position #1673 #1675
71
98
- Improve LazyReferenceField and GenericLazyReferenceField with nested fields #1704
0 commit comments