Drop the deprecated "format" param from BaseQuerySet.explain (#2113)

That option was pretty useless. You can very easily do:
```
import pprint
(...)

plan = SomeDoc.objects(...).explain()
pprint.pformat(plan)
```
This commit is contained in:
Stefan Wójcik
2019-07-01 10:18:47 +02:00
committed by GitHub
parent bc14f2cdaa
commit d0b87f7f82
2 changed files with 3 additions and 17 deletions

View File

@@ -6,6 +6,7 @@ Changelog
Development
===========
- (Fill this out as you fix issues and develop your features).
- BREAKING CHANGE: Removed the deprecated `format` param from `QuerySet.explain` #2113
- BREAKING CHANGE: Renamed `MongoEngineConnectionError` to `ConnectionFailure` #2111
- 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