github mongomock/mongomock 3.9.0

latest releases: 4.1.3, 4.1.2, 4.1.1...
5 years ago
  • Bump version to 3.9.0
  • Avoid useless data copy in collection when only looking for document count
  • Fixes #364. Support no-argument get_database() semantics
  • Depend on pymongo<3.6 to fix Travis tests
  • Add test for aggregate $size and $ifNull
  • Fix creating unwanted field in document when doing a $aggregate on a non-existing nested field
  • Add $size and $ifNull operator in aggregate pipeline
  • Remove whitespaces in black line
  • Fix bug when modifying fields part of the filter in iteration
  • Add 'With ... as' statement support
  • #356 Fail when projection kwarg used in find_and_modify
  • #356 Fix fields kwarg in find_and_modify
  • Add a missing comma
  • implement support for the $rename operator
  • add pep8 back
  • fix comments
  • Fix travis tests due to broken 3.5 and pypy and use mongo service due to dist:trusty being default
  • Fix bug with sort when copying cursor
  • #341 Fix querying empty sub-documents returning everything
  • Add Collection.drop_indexes and fix not destroyed index on collection drop
  • Update README.rst
  • Update README install/test instructions
  • Add error code to message for DuplicateKeyError
  • fixed bug with removing elements from list while iterating on it
  • Add dummy missing Collection.reindex/list_indexes
  • Fix cursor outdating error when database is updated
  • Fix crash when mixing naive and aware datetime
  • Fix upsert operation when document has `0` as _id
  • Fix cursor limit&skip when passed as slice
  • Fix unique_index checking with upsert insertion
  • Improve test_sparse_unique_index to test case field set to None
  • Making reference to a collection in a driver doesn't create it in Mongo
  • MongoClient accept list of URIs as host param
  • system.indexes is no longer defined by default (deprecated since MongoDB 3.0)
  • Add MongoClient.is_mongos and MongoClient.is_primary
  • adding support for the $in operator on a list contains regex objects
  • Add 'looking for maintainers' note
  • remove me
  • add check for empty collection name, incl dotted form
  • Update Missing_Features.rst
  • Remove unused import
  • Fix issue with skipping twice in find (#321)
  • #217 find project fields in array (inlucde)
  • ignore tmp folders .cache & .eggs
  • #273 omit $comment when filtering
  • #275 create_index support sparse kwargs
  • #313 insert check bson validation
  • #312 insert_many raises BulkWriteError on duplicate key
  • fix broken build badge
  • {$eq: None} match non-exists field
  • Remove broken image link from README

Don't miss a new mongomock release

NewReleases is sending notifications on new releases.