updated changelog for upcoming 0.19.0
This commit is contained in:
		| @@ -6,8 +6,9 @@ Changelog | |||||||
| Development | Development | ||||||
| =========== | =========== | ||||||
| - (Fill this out as you fix issues and develop your features). | - (Fill this out as you fix issues and develop your features). | ||||||
| - Documentation improvements: |  | ||||||
|     - Documented how `pymongo.monitoring` can be used to log all queries issued by MongoEngine to the driver. | Changes in 0.19.0 | ||||||
|  | ================= | ||||||
| - BREAKING CHANGE: ``class_check`` and ``read_preference`` keyword arguments are no longer available when filtering a ``QuerySet``. #2112 | - BREAKING CHANGE: ``class_check`` and ``read_preference`` keyword arguments are no longer available when filtering a ``QuerySet``. #2112 | ||||||
|     - Instead of ``Doc.objects(foo=bar, read_preference=...)`` use ``Doc.objects(foo=bar).read_preference(...)``. |     - Instead of ``Doc.objects(foo=bar, read_preference=...)`` use ``Doc.objects(foo=bar).read_preference(...)``. | ||||||
|     - Instead of ``Doc.objects(foo=bar, class_check=False)`` use ``Doc.objects(foo=bar).clear_cls_query(...)``. |     - Instead of ``Doc.objects(foo=bar, class_check=False)`` use ``Doc.objects(foo=bar).clear_cls_query(...)``. | ||||||
| @@ -21,14 +22,16 @@ Development | |||||||
| - DEPRECATION: ``Q.empty`` & ``QNode.empty`` are marked as deprecated and will be removed in a next version of MongoEngine. #2210 | - DEPRECATION: ``Q.empty`` & ``QNode.empty`` are marked as deprecated and will be removed in a next version of MongoEngine. #2210 | ||||||
|     - Added ability to check if Q or QNode are empty by parsing them to bool. |     - Added ability to check if Q or QNode are empty by parsing them to bool. | ||||||
|     - Instead of ``Q(name="John").empty`` use ``not Q(name="John")``. |     - Instead of ``Q(name="John").empty`` use ``not Q(name="John")``. | ||||||
| - Improve error message related to InvalidDocumentError #2180 |  | ||||||
| - Fix updating/modifying/deleting/reloading a document that's sharded by a field with ``db_field`` specified. #2125 | - Fix updating/modifying/deleting/reloading a document that's sharded by a field with ``db_field`` specified. #2125 | ||||||
| - ``ListField`` now accepts an optional ``max_length`` parameter. #2110 | - ``ListField`` now accepts an optional ``max_length`` parameter. #2110 | ||||||
| - Switch from nosetest to pytest as test runner #2114 | - Improve error message related to InvalidDocumentError #2180 | ||||||
| - The codebase is now formatted using ``black``. #2109 | - Added BulkWriteError to replace NotUniqueError which was misleading in bulk write insert #2152 | ||||||
| - In bulk write insert, the detailed error message would raise in exception. |  | ||||||
| - Added ability to compare Q and Q operations #2204 | - Added ability to compare Q and Q operations #2204 | ||||||
| - Added ability to use a db alias on query_counter #2194 | - Added ability to use a db alias on query_counter #2194 | ||||||
|  | - Switch from nosetest to pytest as test runner #2114 | ||||||
|  | - The codebase is now formatted using ``black``. #2109 | ||||||
|  | - Documentation improvements: | ||||||
|  |     - Documented how `pymongo.monitoring` can be used to log all queries issued by MongoEngine to the driver. | ||||||
|  |  | ||||||
| Changes in 0.18.2 | Changes in 0.18.2 | ||||||
| ================= | ================= | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user