github mongomock/mongomock 3.13.0

latest releases: 4.1.3, 4.1.2, 4.1.1...
5 years ago
  • Introduce a patch method, for an easy replacement of pymongo by mongomock across several clients and servers
  • Implement basic arithmetic operators in the aggregate pipeline
  • Infer query fields when upserting even when subdocuments have the same root
  • Fix the `modified_count` result when update operations do not modify a document
  • Switch maintenance to @pcorpet
  • Fix cursor's sort method: - accept a dict as an input - handle the special case $natural
  • Raise an attribute error when trying to access a sub collection starting by an underscore as an attribute
  • Fix WriteConcern comparison
  • Compute time difference as milliseconds when using $subtract on dates
  • Clean up unused variables
  • Validate find's filter parameter even when the collection is empty
  • Make sure that with_options does not break when used with the collection's own write_concern
  • Fix projection of nested field when using exclusion
  • Also check lint style in the tests package
  • Use unittest's assertRaises instead of nose's one
  • Implements list_collection_names (#454)
  • Import Abstract Base Class from collections.abc module instead of collections
  • ADD : Simple aggregate operations for $project
  • List skipped tests in CI and drop a test that is always skipped
  • Do not insert comparison operators when upserting
  • _inc_updater now handles incrementing values in an array as opposed to dict
  • Add few missing options/functions needed by pymodm 0.4.0
  • Store subclasses of dict as dict, not as themselves
  • List some missing features of map_reduce()
  • Fix index management (properly test this time)

Don't miss a new mongomock release

NewReleases is sending notifications on new releases.