Skip to content

Commit 904fcd1

Browse files
authored
Merge pull request #2424 from bagerard/bump_0_21_0
Prepare 0.21.0 release
2 parents ecd297e + 2ec4544 commit 904fcd1

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

docs/changelog.rst

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,23 @@ Changelog
66
Development
77
===========
88
- (Fill this out as you fix issues and develop your features).
9+
10+
Changes in 0.21.0
11+
=================
912
- Bug fix in DynamicDocument which is not parsing known fields in constructor like Document do #2412
1013
- When using pymongo >= 3.7, make use of Collection.count_documents instead of Collection.count
1114
and Cursor.count that got deprecated in pymongo >= 3.7.
1215
This should have a negative impact on performance of count see Issue #2219
1316
- Fix a bug that made the queryset drop the read_preference after clone().
1417
- Remove Py3.5 from CI as it reached EOL and add Python 3.9
15-
- Fix some issues related with db_field conflict in constructor #2414
16-
- Fix the behavior of Doc.objects.limit(0) which should return all documents (similar to mongodb) #2311
18+
- Fix some issues related with db_field/field conflict in constructor #2414
19+
- BREAKING CHANGE: Fix the behavior of Doc.objects.limit(0) which should return all documents (similar to mongodb) #2311
1720
- Bug fix in ListField when updating the first item, it was saving the whole list, instead of
18-
just replacing the first item (as it's usually done) #2392
21+
just replacing the first item (as usually done when updating 1 item of the list) #2392
1922
- Add EnumField: ``mongoengine.fields.EnumField``
2023
- Refactoring - Remove useless code related to Document.__only_fields and Queryset.only_fields
24+
- Fix query transformation regarding special operators #2365
25+
- Bug Fix: Document.save() fails when shard_key is not _id #2154
2126

2227
Changes in 0.20.0
2328
=================

mongoengine/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
)
2929

3030

31-
VERSION = (0, 20, 0)
31+
VERSION = (0, 21, 0)
3232

3333

3434
def get_version():

0 commit comments

Comments
 (0)