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
Bastien Gérard
44b7f792fe
fix benchmarks prints
2019-12-13 23:52:59 +01:00
Bastien Gérard
a3e432eb68
remove references to '2to3' in doc, travis, etc
2019-12-13 23:46:13 +01:00
Bastien Gérard
009f9a2b14
set dist as xenial to avoid relying on flaky travis default dist
2019-12-13 23:43:04 +01:00
Bastien Gérard
2ca905b6e5
Finalize python2/3 codebase compatibility and get rid of 2to3
2019-12-13 23:43:04 +01:00
Bastien Gérard
3b099f936a
provide additional details on how inheritance works in doc
2019-12-13 21:32:45 +01:00
Bastien Gérard
4d6ddb070e
Merge pull request #2210 from Pacu2/fix/implement-bool-on-q-and-qcombination
...
Add __bool__ to Q and QCombination
2019-12-13 20:53:33 +01:00
Matt Simpson
b205314424
Add ability for dict keys to have . or $ in MongoDB >= 3.6
...
Starting in MongoDB >= 3.6, it is valid for dictionary keys to have $ or . in them as long as they don't start with $. Additional tests added.
2019-12-10 11:09:29 -05:00
Filip Kucharczyk
e83132f32c
Note deprecation of 'empty' in changelog
2019-12-10 11:54:52 +01:00
Filip Kucharczyk
1b38309d70
Revert 'empty' usage to it's previous state
2019-12-06 10:14:22 +01:00
Filip Kucharczyk
6e8196d475
Python 2.x compatibility
2019-12-05 01:41:48 +01:00
Filip Kucharczyk
90fecc56dd
Reformat with black
2019-12-05 01:33:35 +01:00
Filip Kucharczyk
d3d7f0e670
Changelog
2019-12-05 01:18:29 +01:00