Skip to content

v0.10.2

Latest

Choose a tag to compare

@github-actions github-actions released this 10 Nov 21:07
· 7 commits to master since this release
8d7f59b

Mongoc v0.10.2

Diff since v0.10.1

Fixed

  • Mongoc.read_command(collection, command) called the wrong C function. It always returned an empty document, and when the command failed, the driver wrote its error past the end of the reply buffer. (#162, thanks @hhaensel)
  • A bulk write keeps its reply when execution throws, including through sessions. (#157)
  • Default stream reads use the destination buffer's length, and failed native reads and writes reach the existing error handling. (#155)
  • At exit, the native driver is cleaned up after client and pool finalizers have run. (#153)

Added

  • BSON accepts nested AbstractDict values and keeps their field order. (#156)

(Release notes generated via AI.)

Merged pull requests:

  • Remove AppVeyor integration (#144) (@fingolfin)
  • Bump supercharge/mongodb-github-action from 1.12.0 to 1.12.1 (#147) (@dependabot[bot])
  • Bump actions/checkout from 5 to 6 (#148) (@dependabot[bot])
  • Run driver cleanup after client finalizers at exit (#153) (@quinnj)
  • Document BSON value semantics and enforce strict docs (#154) (@quinnj)
  • Fix default stream reads and native I/O errors (#155) (@quinnj)
  • Accept nested AbstractDict values in BSON (#156) (@quinnj)
  • Retain bulk write replies when execution throws (#157) (@quinnj)
  • Fix collection read_command calling mongoc_collection_command_simple (#162) (@hhaensel)
  • Bump GitHub Actions and group future action updates (#163) (@quinnj-bot[bot])
  • Bump version to 0.10.2 (#164) (@quinnj-bot[bot])

Closed issues:

  • How to create the collection with time stamp (#95)
  • Error using match with a timeseries database unknown operator: $match (#105)
  • OrderedDict gives error in Mongoc.BSON() (#111)
  • insert_many(..., bulk_options={ordered : false}) throws exception (#118)
  • Crash when Mongoc.Client finalizers run at exit (#124)