Skip to content

Update mongoengine to 0.11.0#654

Closed
pyup-bot wants to merge 1 commit intodevfrom
pyup-update-mongoengine-0.10.6-to-0.11.0
Closed

Update mongoengine to 0.11.0#654
pyup-bot wants to merge 1 commit intodevfrom
pyup-update-mongoengine-0.10.6-to-0.11.0

Conversation

@pyup-bot
Copy link
Collaborator

@pyup-bot pyup-bot commented Jan 5, 2017

There's a new version of mongoengine available.
You are currently using 0.10.6. I have updated it to 0.11.0

These links might come in handy: PyPI | Changelog | Homepage

Changelog

0.11.0

=================

  • BREAKING CHANGE: Renamed ConnectionError to MongoEngineConnectionError since the former is a built-in exception name in Python v3.x. 1428
  • BREAKING CHANGE: Dropped Python 2.6 support. 1428
  • BREAKING CHANGE: from mongoengine.base import ErrorClass won't work anymore for any error from mongoengine.errors (e.g. ValidationError). Use from mongoengine.errors import ErrorClass instead. 1428
  • Fixed absent rounding for DecimalField when force_string is set. 1103

0.10.8

=================

  • Added support for QuerySet.batch_size (1426)
  • Fixed query set iteration within iteration 1427
  • Fixed an issue where specifying a MongoDB URI host would override more information than it should 1421
  • Added ability to filter the generic reference field by ObjectId and DBRef 1425
  • Fixed delete cascade for models with a custom primary key field 1247
  • Added ability to specify an authentication mechanism (e.g. X.509) 1333
  • Added support for falsey primary keys (e.g. doc.pk = 0) 1354
  • Fixed QuerySetsum/average for fields w/ explicit db_field 1417
  • Fixed filtering by embedded_doc=None 1422
  • Added support for cursor.comment 1420
  • Fixed doc.get_<field>_display 1419
  • Fixed repr method of the StrictDict 1424
  • Added a deprecation warning for Python 2.6

0.10.7

=================

  • Dropped Python 3.2 support 1390
  • Fixed the bug where dynamic doc has index inside a dict field 1278
  • Fixed: ListField minus index assignment does not work 1128
  • Fixed cascade delete mixing among collections 1224
  • Add signal_kwargs argument to Document.save, Document.delete and BaseQuerySet.insert to be passed to signals calls 1206
  • Raise OperationError when trying to do a drop_collection on document with no collection set.
  • count on ListField of EmbeddedDocumentField fails. 1187
  • Fixed long fields stored as int32 in Python 3. 1253
  • MapField now handles unicodes keys correctly. 1267
  • ListField now handles negative indicies correctly. 1270
  • Fixed AttributeError when initializing EmbeddedDocument with positional args. 681
  • Fixed no_cursor_timeout error with pymongo 3.0+ 1304
  • Replaced map-reduce based QuerySet.sum/average with aggregation-based implementations 1336
  • Fixed support for __ to escape field names that match operators names in update 1351
  • Fixed BaseDocument_mark_as_changed 1369
  • Added support for pickling QuerySet instances. 1397
  • Fixed connecting to a list of hosts 1389
  • Fixed a bug where accessing broken references wouldn't raise a DoesNotExist error 1334
  • Fixed not being able to specify use_db_field=False on ListField(EmbeddedDocumentField) instances 1218
  • Improvements to the dictionary fields docs 1383

Got merge conflicts? Close this PR and delete the branch. I'll create a new PR for you.

Happy merging! 🤖

@davidbgk
Copy link
Member

davidbgk commented Jan 5, 2017

BREAKING CHANGE: from mongoengine.base import ErrorClass won't work anymore for any error from mongoengine.errors (e.g. ValidationError). Use from mongoengine.errors import ErrorClass instead.

That's why tests are failing.

@noirbizarre noirbizarre modified the milestone: 1.0 Jan 9, 2017
@jdesboeufs jdesboeufs modified the milestones: 1.0, 1.1 Jan 12, 2017
@noirbizarre
Copy link
Contributor

Merged in #812

@noirbizarre noirbizarre closed this Mar 3, 2017
@noirbizarre noirbizarre deleted the pyup-update-mongoengine-0.10.6-to-0.11.0 branch March 3, 2017 11:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments