mongo-go-driver
mongo-go-driver copied to clipboard
The Official Golang driver for MongoDB
GODRIVER-3218 ## Summary Limit the two tests to server versions less than 8.0 until upstream ticket is addressed.
GODRIVER-3038 ## Summary Add FLE support to IndexView.List and IndexView.Crypt ## Background & Motivation
Cherry-pick of #1637 from v1 to master
GODRIVER-1808 ## Summary This PR fixes BSON's unmarshaling behavior for interfaces by passing `reflect.Value` instead of `reflect.Type`, so the actual value type contained in the interface can be used. Especially...
GODRIVER-2696 ## Summary This PR implements the proposed solution described [here](https://github.com/mongodb/mongo-go-driver/pull/1480#discussion_r1421024693) in the POC PR #1480 with the intention of updating the options pattern to abstract merging. ## Background &...
GODRIVER-2348 # Summary The PR attempts to make CSOT feature-gated behavior the default by dropping support for legacy timeout behavior. ## Workflow Changes ### Remove Contexts From Structs Putting contexts...
GODRIVER-2965 ## Summary Internalize the logic in the description package. ## Background & Motivation Most of the "description" package does not need to be part of the public API. The...
GODRIVER-1765 ## Summary This PR adds `json.Marshaler` and `json.Unmarshaler` for `primitive.D`, so it can handle JSON objects properly. The PR also adds `json.Unmarshaler`s for `primitive.M` and `primitive.A`, so JSON strings...
GODRIVER-3132 ## Summary Use a pool to reuse the dst buffer for `zstd.EncodeAll`. [benchstat](https://pkg.go.dev/golang.org/x/perf/cmd/benchstat) results: ``` name old time/op new time/op delta CompressPayload/CompressorZstd-10 62.8µs ± 1% 62.9µs ± 0% ~...