Skip to content

Commit bd88a17

Browse files
author
erdenezul
authored
Merge pull request #2224 from bagerard/release_0_19_0
Release 0 19 0
2 parents dcf3edb + 8e892dc commit bd88a17

File tree

2 files changed

+13
-7
lines changed

2 files changed

+13
-7
lines changed

docs/changelog.rst

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,9 @@ Changelog
66
Development
77
===========
88
- (Fill this out as you fix issues and develop your features).
9-
- Documentation improvements:
10-
- Documented how `pymongo.monitoring` can be used to log all queries issued by MongoEngine to the driver.
9+
10+
Changes in 0.19.0
11+
=================
1112
- BREAKING CHANGE: ``class_check`` and ``read_preference`` keyword arguments are no longer available when filtering a ``QuerySet``. #2112
1213
- Instead of ``Doc.objects(foo=bar, read_preference=...)`` use ``Doc.objects(foo=bar).read_preference(...)``.
1314
- Instead of ``Doc.objects(foo=bar, class_check=False)`` use ``Doc.objects(foo=bar).clear_cls_query(...)``.
@@ -21,14 +22,19 @@ Development
2122
- DEPRECATION: ``Q.empty`` & ``QNode.empty`` are marked as deprecated and will be removed in a next version of MongoEngine. #2210
2223
- Added ability to check if Q or QNode are empty by parsing them to bool.
2324
- Instead of ``Q(name="John").empty`` use ``not Q(name="John")``.
24-
- Improve error message related to InvalidDocumentError #2180
2525
- Fix updating/modifying/deleting/reloading a document that's sharded by a field with ``db_field`` specified. #2125
26+
- Only set no_cursor_timeout when requested (fixes an incompatibility with MongoDB 4.2) #2148
2627
- ``ListField`` now accepts an optional ``max_length`` parameter. #2110
27-
- Switch from nosetest to pytest as test runner #2114
28-
- The codebase is now formatted using ``black``. #2109
29-
- In bulk write insert, the detailed error message would raise in exception.
28+
- Improve error message related to InvalidDocumentError #2180
29+
- Added BulkWriteError to replace NotUniqueError which was misleading in bulk write insert #2152
3030
- Added ability to compare Q and Q operations #2204
3131
- Added ability to use a db alias on query_counter #2194
32+
- Added ability to specify collations for querysets with ``Doc.objects.collation`` #2024
33+
- Fix updates of a list field by negative index #2094
34+
- Switch from nosetest to pytest as test runner #2114
35+
- The codebase is now formatted using ``black``. #2109
36+
- Documentation improvements:
37+
- Documented how `pymongo.monitoring` can be used to log all queries issued by MongoEngine to the driver.
3238

3339
Changes in 0.18.2
3440
=================

mongoengine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
)
2929

3030

31-
VERSION = (0, 18, 2)
31+
VERSION = (0, 19, 0)
3232

3333

3434
def get_version():

0 commit comments

Comments
 (0)