MongoEngine 0.5 Released!

Hurray! MongoEngine 0.5 has finally been released!

With many improvements and bug fixes means that MongoEngine is more powerful than ever!

Core improvements include:

  • Efficient save
    Now when you save an existing object it atomically updates only what has been changed. Making it super efficient and so easy to use, without having to worrying about race conditions.
  • Efficient Database Referencing
    MongoEngine saves you queries by intelligently identifiying and dereferencing DBReference fields.
  • Complex fields
    Dictionary and List fields can store any complex data you require; other dictionaries, lists and other documents.
  • Signal support
    pre and post save / delete.
  • Subfield slicing
    For retrieving parts of subsets of lists, keeping data transfer down.
  • Abstract Base Classes
    Helps keep your document definitions dry so you can easily extend Documents.
  • Custom Object Managers
    When used with Astract Base Classes you can easily apply behaviour across all querysets.
  • query_counter
    A context manager, that helps you determine the cost of some queries / code - great for testing!

If you are using Flask - then check out our Flask-MongoEngine library, which provides MongoEngine connection and WTForms support.

With Multi Database support coming quickly in 0.6, we promise it wont take so long between release cycles!  Checkout the documentation to get you started!