Bastien Gérard
d738462139
Fix bug introduced in -1.19 related to DictField validate failing without default connection
2020-01-11 23:17:05 +01:00
Bastien Gérard
9490ad2bf7
Merge pull request #2238 from bagerard/test_latest_pymongo
...
include latest pymongo version in travis
2020-01-07 09:35:49 +01:00
Bastien Gérard
705c55ce24
update tox file to account for mg310
2020-01-05 21:01:17 +01:00
Bastien Gérard
59fbd505a0
include latest pymongo version in travis
2020-01-05 20:20:13 +01:00
Bastien Gérard
1cc20c9770
Merge pull request #2237 from timgates42/bugfix/typo_thoroughly
...
Fix simple typo: thorougly -> thoroughly
2020-01-05 11:17:49 +01:00
Tim Gates
f8f267a880
Fix simple typo: thorougly -> thoroughly
...
Closes #2236
2020-01-05 20:48:16 +11:00
erdenezul
80ea1f6883
Merge pull request #2233 from bagerard/release_0_19_1
...
Bump version to 0.19.1 + force pillow to be < 7.0.0
v0.19.1
2020-01-03 21:11:17 +01:00
Bastien Gérard
75ee282a3d
black setup.py to please CI
2020-01-03 14:15:24 +01:00
Bastien Gérard
4edad4601c
Bump version to 0.19.1 + force pillow to be < 7.0.0
2020-01-03 14:03:17 +01:00
Bastien Gérard
152b51fd33
improve gridfs example (properly opening file)
2019-12-29 14:36:50 +01:00
erdenezul
66a0fca4ad
Merge pull request #2229 from bagerard/improve_doc_gridfs
...
improve doc of GridFS
2019-12-27 16:46:38 +01:00
Bastien Gérard
e7c7a66cd1
improve doc of GridFS, emphasize that subsequent call to read() requires to rewind the file with seek(0)
2019-12-27 10:38:03 +01:00
Bastien Gérard
b3dbb87c3c
improve doc of aggregate kwargs
2019-12-27 10:06:27 +01:00
erdenezul
3d45538998
Merge pull request #2227 from bagerard/test_py38
...
Test py38
2019-12-27 07:05:12 +01:00
erdenezul
8df9d3fef9
Merge pull request #2228 from bagerard/change_aggregate_interface
...
change & deprecate .aggregate interface to mimic pymongo's interface
2019-12-27 07:04:25 +01:00
Bastien Gérard
99e660c66d
update changelog
2019-12-27 09:32:05 +01:00
Bastien Gérard
aa02f87b69
change & deprecate .aggregate api to mimic pymongo's interface + separate the aggregation tests from the large test_queryset.py file
2019-12-27 09:23:15 +01:00
Bastien Gérard
f0d1ee2cb4
update travis config + improve readmecode
2019-12-26 21:03:34 +01:00
Bastien Gérard
ca4967311d
update python 3.8 config
2019-12-26 21:00:34 +01:00
Bastien Gérard
65eb6ab611
Merge branch 'master' of github.com:MongoEngine/mongoengine into test_py38
2019-12-26 20:58:31 +01:00
Bastien Gérard
1cb2f7814c
Merge branch 'mcsimps2-allow-periods-in-dict'
2019-12-26 20:53:50 +01:00
Bastien Gérard
b5485b16e6
Merge branch 'allow-periods-in-dict' of https://github.com/mcsimps2/mongoengine into mcsimps2-allow-periods-in-dict
2019-12-26 20:47:46 +01:00
Bastien Gérard
62c8597a3b
fix pypi deployment version match
v0.19.0
2019-12-24 11:15:23 +01:00
Bastien Gérard
488604ff2e
test python 3.8
2019-12-24 00:00:15 +01:00
erdenezul
bd88a17b8e
Merge pull request #2224 from bagerard/release_0_19_0
...
Release 0 19 0
2019-12-22 18:46:38 +01:00
Bastien Gérard
8e892dccfe
document recent merged PR in changelog
2019-12-20 23:51:01 +01:00
Bastien Gérard
c22eb34017
Merge branch 'master' of github.com:MongoEngine/mongoengine into release_0_19_0
2019-12-20 23:49:41 +01:00
Bastien Gérard
dcf3edb03e
Merge pull request #2094 from divomen/negative_indexes_in_list
...
Supported updates of an array by negative index
2019-12-20 23:48:00 +01:00
Bastien Gérard
c85b59d3b5
Merge branch 'master' of github.com:MongoEngine/mongoengine into negative_indexes_in_list
2019-12-20 23:27:51 +01:00
Bastien Gérard
1170de1e8e
added explicit doc for order_by #2117
2019-12-20 23:20:15 +01:00
Bastien Gérard
332bd767d4
minor fixes in tests
2019-12-20 23:20:15 +01:00
erdenezul
0053b30237
Merge pull request #2217 from bagerard/improve_inheritance_doc
...
provide additional details on how inheritance works in doc
2019-12-20 22:43:45 +01:00
Bastien Gérard
d44533d956
completed the changelog with missing details
2019-12-20 22:41:22 +01:00
Bastien Gérard
12d8bd5a22
bump version to 0.19.0
2019-12-20 22:11:43 +01:00
Bastien Gérard
ae326678ec
updated changelog for upcoming 0.19.0
2019-12-20 22:09:04 +01:00
Bastien Gérard
8d31f165c0
Merge pull request #2182 from daewok/fix-embedded-document-equality-with-lazy-refs
...
Fix EmbeddedDocument equality with LazyReferenceFields
2019-12-16 23:57:50 +01:00
Eric Timmons
cfd4d6a161
Add breaking change to changelog for LazyReferenceField representation in _data
2019-12-15 20:46:48 -05:00
Eric Timmons
329f030a41
Always store a DBRef, Document, or EmbeddedDocument in LazyReferenceField._data
...
This is required to handle the case of equality tests on a LazyReferenceField
with dbref=True when comparing against a field instantiated with an ObjectId.
2019-12-15 20:46:48 -05:00
Eric Timmons
68dc2925fb
Add LazyReferenceField with dbref=True to embedded_document equality test
2019-12-15 20:21:22 -05:00
Eric Timmons
0d4e61d489
Add daewok to AUTHORS per contributing guidelines
2019-12-15 20:21:18 -05:00
Eric Timmons
dc7b96a569
Make python value for LazyReferenceFields be a DBRef
...
Previously, when reading a LazyReferenceField from the DB, it was stored
internally in the parent document's _data field as an ObjectId. However, this
meant that equality tests using an enclosing EmbeddedDocument would not return
True when the EmbeddedDocument being compared to contained a DBRef or Document
in _data. Enclosing Documents were largely unaffected because they look at the
primary key for equality (which EmbeddedDocuments lack).
This makes the internal Python representation of a LazyReferenceField (before
the LazyReference itself has been constructed) a DBRef, using code identical to
ReferenceField.
2019-12-15 20:20:59 -05:00
Eric Timmons
50882e5bb0
Add failing test
...
Test that __eq__ for EmbeddedDocuments with LazyReferenceFields works as
expected.
2019-12-15 20:20:59 -05:00
Bastien Gérard
280a73af3b
minor fix in doc of NULLIFY to improve #834
2019-12-14 21:44:59 +01:00
Bastien Gérard
d8c0631dab
added entry in changelog for py2py3 compatibility
2019-12-14 21:23:28 +01:00
Bastien Gérard
9166ba91d7
fix minor styling issue
2019-12-14 16:11:59 +01:00
Bastien Gérard
6bc4e602bb
additional fix
2019-12-14 00:05:48 +01:00
Bastien Gérard
45a7520fc3
make use past.builtins.long
2019-12-13 23:57:18 +01:00
Bastien Gérard
64c0cace85
fix from code review regarding py2py3 compat
2019-12-13 23:57:18 +01:00
Bastien Gérard
82af5e4a19
fix small finding from review on py2py3 compat
2019-12-13 23:54:42 +01:00
Bastien Gérard
7e0ba1b335
clean remaining references to 2to3
2019-12-13 23:52:59 +01:00