Add breaking change to changelog for LazyReferenceField representation in _data
This commit is contained in:
		| @@ -17,6 +17,7 @@ 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. | ||||||
|  | - BREAKING CHANGE: A ``LazyReferenceField`` is now stored in the ``_data`` field of its parent as a ``DBRef``, ``Document``, or ``EmbeddedDocument`` (``ObjectId`` is no longer allowed). #2182 | ||||||
| - 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")``. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user