github mongomock/mongomock 3.11.0

latest releases: 4.1.3, 4.1.2, 4.1.1...
5 years ago
  • Unleash pymongo version for testing to propose advanced features in mongomock as well
  • Update documentation: - stop using deprecated methods (insert, update) - document how to use mongomock in combination with mock
  • Implement the `$cond` operator in the aggregate pipeline. For #349
  • Fix pep8 lints
  • Final tweaks on #409
  • Mark the subfield projection feature as not implemented yet. For #397
  • Add comment and update tests to reflect that $group does not order results
  • Properly raise InvalidDocument exception when trying to update or replace a document with an invalid type (e.g. a Python set)
  • Fix exception in python3 when aggregating with $group on composite _id. Fixes #419
  • Add tests for $group with composite key
  • Fix using expression in fallback parameter of $ifNull operator. Fixes #404
  • Raise `NotImplementedError`s for non-default values
  • Fix exception when filtering with $regex on a list containing non-strings. Fixes #390
  • Addresses PR comments for aggregate $lookup
  • Simplifies code and adds and restructures test cases for aggregate $project
  • make exception message more explicit
  • Add @drewbrew to the acknowledgements list
  • Rename operations to requests to match pymongo's method signature
  • Add missing arguments to bulk_write()
  • Addresses PR comments for aggregate $project
  • handle edge case with dots in source or destination
  • remove unused variables
  • remove unused variables
  • adding test in test_mongomock.py
  • Fixes $project stage in aggregation
  • Adds $lookup stage in aggregation
  • fix(re): fix error in python3.7 (#403)
  • Update Missing_Features.rst
  • Fix bulk updating when not using array filters
  • Fix handling of duplicate key errors when inserting many documents and pymongo lib is present
  • Fix unique check during update
  • Add unittest for unique check during update
  • Added a gridfs mock (mongomock.gridfs.MockGridFS). Implemented through monkey patching isinstance
  • back to support only the 'session' parameter
  • added session as find() parameter
  • added collection calls options for 3.6 compatibility
  • Fix Travis build
  • Fix hacking dependency version to avoid unexpected flake8 complains
  • Remove useless Collection._has_key and Collection._remove_key methods
  • Fix nested field unique index in insert
  • Improve get_value_by_dot and set_value_by_dot
  • back to support only the 'session' parameter
  • added session as find() parameter
  • added collection calls options for 3.6 compatibility
  • Improve the $push feature to allow using a field nested in an array

Don't miss a new mongomock release

NewReleases is sending notifications on new releases.