document breaking change where we dont allow outdated "from mongoengine.base import ErrorClass" imports
This commit is contained in:
parent
953123b3dc
commit
60571ce1de
@ -10,6 +10,7 @@ Changes in 0.11.0
|
|||||||
=================
|
=================
|
||||||
- BREAKING CHANGE: Renamed `ConnectionError` to `MongoEngineConnectionError` since the former is a built-in exception name in Python v3.x. #1428
|
- BREAKING CHANGE: Renamed `ConnectionError` to `MongoEngineConnectionError` since the former is a built-in exception name in Python v3.x. #1428
|
||||||
- BREAKING CHANGE: Dropped Python 2.6 support. #1428
|
- BREAKING CHANGE: Dropped Python 2.6 support. #1428
|
||||||
|
- BREAKING CHANGE: `from mongoengine.base import ErrorClass` won't work anymore for any error from `mongoengine.errors` (e.g. `ValidationError`). Use `from mongoengine.errors import ErrorClass instead`. #1428
|
||||||
- Fixed absent rounding for DecimalField when `force_string` is set. #1103
|
- Fixed absent rounding for DecimalField when `force_string` is set. #1103
|
||||||
|
|
||||||
Changes in 0.10.8
|
Changes in 0.10.8
|
||||||
|
@ -5,7 +5,7 @@ Upgrading
|
|||||||
0.11.0
|
0.11.0
|
||||||
******
|
******
|
||||||
This release includes a major rehaul of MongoEngine's code quality and
|
This release includes a major rehaul of MongoEngine's code quality and
|
||||||
introduces a couple breaking changes. It also touches many different parts of
|
introduces a few breaking changes. It also touches many different parts of
|
||||||
the package and although all the changes have been tested and scrutinized,
|
the package and although all the changes have been tested and scrutinized,
|
||||||
you're encouraged to thorougly test the upgrade.
|
you're encouraged to thorougly test the upgrade.
|
||||||
|
|
||||||
@ -15,6 +15,12 @@ If you import or catch this exception, you'll need to rename it in your code.
|
|||||||
Second breaking change drops Python v2.6 support. If you run MongoEngine on
|
Second breaking change drops Python v2.6 support. If you run MongoEngine on
|
||||||
that Python version, you'll need to upgrade it first.
|
that Python version, you'll need to upgrade it first.
|
||||||
|
|
||||||
|
Third breaking change drops an old backward compatibility measure where
|
||||||
|
`from mongoengine.base import ErrorClass` would work on top of
|
||||||
|
`from mongoengine.errors import ErrorClass` (where `ErrorClass` is e.g.
|
||||||
|
`ValidationError`). If you import any exceptions from `mongoengine.base`,
|
||||||
|
change it to `mongoengine.errors`.
|
||||||
|
|
||||||
0.10.8
|
0.10.8
|
||||||
******
|
******
|
||||||
This version fixed an issue where specifying a MongoDB URI host would override
|
This version fixed an issue where specifying a MongoDB URI host would override
|
||||||
|
Loading…
x
Reference in New Issue
Block a user