You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/changelog.rst
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,9 @@ Development
15
15
- Added meta ``auto_create_index_on_save`` so you can enable index creation
16
16
on :meth:`~mongoengine.Document.save()` (as it was < 0.26.0).
17
17
- BREAKING CHANGE: remove deprecated method ``ensure_index`` (replaced by ``create_index`` long time ago).
18
-
18
+
- Addition of Decimal128Field: :class:`~mongoengine.fields.Decimal128Field` for accurate representation of Decimals (much better than the legacy field DecimalField).
19
+
Although it could work to switch an existing DecimalField to Decimal128Field without applying a migration script,
20
+
it is not recommended to do so (DecimalField uses float/str to store the value, Decimal128Field uses Decimal128).
0 commit comments