Changelog tweaks [ci skip]

This commit is contained in:
Stefan Wojcik 2019-07-03 11:08:51 +02:00
parent 50555ec73e
commit 8fdf664968

View File

@ -10,8 +10,8 @@ Development
- 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(...)`.
- This change also renames the private `QuerySet._initial_query` attribute to `_cls_query`. - This change also renames the private `QuerySet._initial_query` attribute to `_cls_query`.
- BREAKING CHANGE: Removed the deprecated `format` param from `QuerySet.explain` #2113 - BREAKING CHANGE: Removed the deprecated `format` param from `QuerySet.explain`. #2113
- BREAKING CHANGE: Renamed `MongoEngineConnectionError` to `ConnectionFailure` #2111 - BREAKING CHANGE: Renamed `MongoEngineConnectionError` to `ConnectionFailure`. #2111
- 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.
@ -20,7 +20,7 @@ Development
Changes in 0.18.2 Changes in 0.18.2
================= =================
- Replace deprecated PyMongo v2.x methods with their v3.x equivalents in the `SequenceField` #2097 - Replace deprecated PyMongo v2.x methods with their v3.x equivalents in the `SequenceField`. #2097
- Various code clarity and documentation improvements. - Various code clarity and documentation improvements.
Changes in 0.18.1 Changes in 0.18.1