Note deprecation of 'empty' in changelog
This commit is contained in:
parent
1b38309d70
commit
e83132f32c
@ -17,6 +17,9 @@ Development
|
|||||||
- If you catch/use ``MongoEngineConnectionError`` in your code, you'll have to rename it.
|
- If you catch/use ``MongoEngineConnectionError`` in your code, you'll have to rename it.
|
||||||
- BREAKING CHANGE: Positional arguments when instantiating a document are no longer supported. #2103
|
- BREAKING CHANGE: Positional arguments when instantiating a document are no longer supported. #2103
|
||||||
- From now on keyword arguments (e.g. ``Doc(field_name=value)``) are required.
|
- From now on keyword arguments (e.g. ``Doc(field_name=value)``) are required.
|
||||||
|
- 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.
|
||||||
|
- Instead of ``Q(name="John").empty`` use ``not Q(name="John")``.
|
||||||
- Improve error message related to InvalidDocumentError #2180
|
- 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
|
||||||
@ -25,7 +28,6 @@ Development
|
|||||||
- In bulk write insert, the detailed error message would raise in exception.
|
- 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
|
||||||
- Added ability to check if Q or Q operations is empty by parsing them to bool #2210
|
|
||||||
|
|
||||||
Changes in 0.18.2
|
Changes in 0.18.2
|
||||||
=================
|
=================
|
||||||
|
Loading…
x
Reference in New Issue
Block a user