github mongomock/mongomock 3.18.0

latest releases: 4.1.3, 4.1.2, 4.1.1...
4 years ago
  • Implement the $facet operator. (#563)
  • Fix index creation when a value used in the indexed fields is not hashable (e.g. dict)
  • Support bson.regex on $not queries (#560)
  • Mark Cursor.count method as deprecated, as it is in pymongo since v3.7.0
  • Skip tests that cannot be run if there are no local Mongo server, or no available Js runtime
  • Handle bytes sort as BinData sort in python3. (#559)
  • Time the creation of GridFS file to account for that when checking the time difference
  • Handle bson.Regex objects as regular expression
  • Fix flaky test (again)
  • Run all tests with an old version of pymongo to make sure we stay compatible
  • Raises an error if the operand of $in is not an array
  • Relax the restriction on WriteConcern so that it works with pymongo 3.6.1
  • Generate an error on unknown operator as MongoDB server does. For #553
  • Fix flaky test in gridfs
  • Fix aggregate's $project for the _id field when it uses an expression
  • Fix Travis Python version
  • Handle array subfields in the stage of the aggregate pipeline. (#549)
  • Ensure valid collection names when using the [...] accessor on a DB
  • Consider "name" argument to create_index for index name (#550)
  • Add support for $slice (aggregate). (#547)
  • Handle aggregate $first and $last operator when data is missing
  • Fix demo code in documentation
  • Fix propagation of codec_options from client to database to collection, and set its tz_aware flag
  • Fix behaviour of $all when applied to an array

Don't miss a new mongomock release

NewReleases is sending notifications on new releases.