3780 Commits

Author SHA1 Message Date
Bastien Gérard
bc0e04d833
Merge pull request #2447 from bagerard/_changelog_0_22_0
prepare 0.22.0
v0.22.0
2020-12-14 22:49:09 +01:00
Bastien Gerard
dd11911ed7 update changelog and bump version to 0.22.0 2020-12-14 22:39:48 +01:00
Bastien Gérard
0b3feedf94
Merge pull request #2446 from bagerard/improve_mongomock_tests
Improve mongomock tests to avoid regression
2020-12-14 21:24:33 +01:00
Bastien Gerard
65b8cfc96a Improve mongomock tests to avoid regression 2020-12-14 00:03:39 +01:00
Bastien Gérard
2e284b93b8
Merge pull request #2445 from bagerard/fix_count_mongomock
Use Queryset._query instead of Cursor.__spec for count()
2020-12-13 23:26:39 +01:00
Bastien Gerard
c28bb517cb Use Queryset._query instead of Cursor.__spec for count() 2020-12-13 10:43:26 +01:00
Bastien Gérard
aa3ff39ef8
Merge pull request #2444 from bagerard/improve_code_health
Improve code health
2020-12-13 10:27:37 +01:00
Bastien Gerard
149fb953e7 fix recent update not aligned with latest black 2020-12-13 00:16:10 +01:00
Bastien Gerard
bf12621ce9 update flake8 version in pre-commit 2020-12-13 00:14:53 +01:00
Bastien Gerard
8a1a68ea7c fix flake8 warnings 2020-12-13 00:14:53 +01:00
Bastien Gerard
eabb8f60f5 autoformat with pyupgrade 2020-12-13 00:14:53 +01:00
Bastien Gerard
c00a378776 autoformat with updated black 2020-12-13 00:14:52 +01:00
Bastien Gerard
ee6ef1ff4b autoformat w prettier 2020-12-13 00:14:52 +01:00
Bastien Gérard
fb8f02d0c0
Merge pull request #2441 from bagerard/remove_useless_cls_var
minor improvement in code
2020-12-08 23:22:57 +01:00
Bastien Gerard
a025199294 Merge branch 'master' of github.com:MongoEngine/mongoengine into remove_useless_cls_var 2020-12-08 23:02:17 +01:00
Bastien Gérard
87babaaa30
Merge pull request #2439 from bagerard/improve_doc
Improve Fields documentation
2020-12-08 22:58:00 +01:00
Bastien Gerard
a4fff15491 minor improvement in code 2020-12-08 22:41:27 +01:00
Bastien Gerard
a190dfe2c4 additional improvements to fields constructor 2020-12-08 21:48:54 +01:00
Bastien Gerard
3926473917 Improve Fields documentation + remove versionadded/changed as it's not maintained 2020-12-06 22:25:12 +01:00
Bastien Gérard
9ffe0bcdee
Merge pull request #2432 from bagerard/remove_deprecated_landscape
remove landscape integration
2020-12-01 21:40:56 +01:00
Bastien Gérard
4fa3134294 remove landscape integration as it is dead 2020-11-29 21:15:02 +01:00
Bastien Gérard
92f6fce77d
Merge pull request #2431 from bagerard/remove_pillow_test_restriction
Remove restriction on Pillow version in tests
2020-11-29 20:48:13 +01:00
Bastien Gérard
b1a2cf061d update test requirement for pillow > 7.0 2020-11-29 10:22:59 +01:00
Bastien Gérard
0a05c1f590 Fix image size that needs to be forced in test 2020-11-29 10:08:58 +01:00
Bastien Gérard
7dbc217768 Remove restriction on Pillow version as it was there due to Py2 support 2020-11-28 22:27:24 +01:00
Bastien Gérard
bf411ab2ca Update changelog with recent changes that were merged 2020-11-28 22:21:51 +01:00
Bastien Gérard
277b827d4d
Merge pull request #2426 from volfpeter/master
Fix LazyReferenceField dereferencing in embedded documents
2020-11-26 21:45:12 +01:00
Peter Volf
e0bec881bc removed unused variable to fix a warning 2020-11-25 15:17:52 +01:00
Peter Volf
cc5e2ba054 fix LazyReferenceField dereferencing bug in embedded documents, refs #2375 2020-11-25 11:05:37 +01:00
Bastien Gérard
904fcd1a0a
Merge pull request #2424 from bagerard/bump_0_21_0
Prepare 0.21.0 release
v0.21.0
2020-11-19 09:02:22 +01:00
Bastien Gérard
2ec454447f Bump version to 0.21.0 and update changelog 2020-11-18 22:28:06 +01:00
Bastien Gérard
ecd297e227
Merge pull request #2414 from bagerard/fix_db_fields_inconsistencies_in_constructor
Fix some issues related with db_field in constructor
2020-11-18 22:25:25 +01:00
Bastien Gérard
079ee3c191
Merge pull request #2417 from bagerard/add_migration_documentation
Add migration documentation
2020-11-18 22:19:19 +01:00
Bastien Gérard
f2638ecd02 update changelog 2020-11-14 15:31:39 +01:00
Bastien Gérard
ad6ff819fe Merge branch 'master' of github.com:MongoEngine/mongoengine into fix_db_fields_inconsistencies_in_constructor 2020-11-14 14:44:08 +01:00
Bastien Gérard
48357640c6 improve deprecated pymongo call 2020-11-14 14:41:59 +01:00
Bastien Gérard
e6c2169f76
Merge pull request #2418 from bagerard/add_black_formatting_badge
Add black badge to readme
2020-11-14 13:42:57 +01:00
Bastien Gérard
1d17dc4663 Add black badge to readme to emphasize that repo is using autoformatter black as it is often forgotten in PR and makes CI failing 2020-11-12 22:13:53 +01:00
Bastien Gérard
eeac3bd2e6
Merge pull request #2416 from bagerard/remove_python_35
Remove Py3.5 as it is EOL and added 3.9 to CI
2020-11-12 09:47:44 +01:00
Bastien Gérard
3f5a15d236 improve changelog 2020-11-12 00:43:22 +01:00
Bastien Gérard
91493a1e79 improve migration doc 2020-11-12 00:40:52 +01:00
Bastien Gérard
0c274908ec Merge branch 'master' of github.com:MongoEngine/mongoengine into add_migration_documentation 2020-11-11 21:18:52 +01:00
Bastien Gérard
338c40b5d5 Remove Py3.5 as it is EOL and added 3.9 to CI 2020-11-11 21:14:54 +01:00
Bastien Gérard
fc3ccf9606
Merge pull request #2415 from bagerard/add_srv_uri_connect_doc
Document fact that srv URI can be used with host #1956
2020-11-11 21:05:52 +01:00
Bastien Gérard
746faceb5c Document fact that srv URI can be used with host #1956 2020-11-08 22:55:24 +01:00
Bastien Gérard
8c3058d99b Fix some issues related with db_field in constructor by removing field/db_field translation that shouldn't occur in constructor 2020-11-08 22:36:58 +01:00
Bastien Gérard
eb56fb9bda
Merge pull request #2413 from bagerard/dynamic_document_parsing_known_fields
Bug fix in DynamicDocument which is not parsing known fields
2020-11-08 13:17:07 +01:00
Bastien Gérard
161493c0d2
Merge pull request #2408 from bagerard/refactoring_remove_useless_code_only_fields
Removed code related to Document.__only_fields
2020-11-08 13:16:03 +01:00
Bastien Gérard
cb9f329d11
Merge pull request #2401 from SMASHDOCs/bugfix-save-sharding
Bugfix #2154
2020-11-07 21:43:49 +01:00
Bastien Gérard
03af784ebe Bug fix in DynamicDocument which isn not parsing known fields in constructor like Document do #2412 2020-11-07 21:30:23 +01:00