Qingyang Hu
Qingyang Hu
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-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% ~...
GODRIVER-3140 ## Summary Update client-side-encryption spec tests, reflecting spec PR [#1564](https://github.com/mongodb/specifications/pull/1564).
GODRIVER-3291 ## Summary Refactor `bson.valueReader` with bufio. ## Background & Motivation
GODRIVER-3123 GODRIVER-3279 ## Summary - Add an optional parameter `RangeOpts.trimFactor`. - Make `RangeOpts.sparsity` optional. - Modify `rangePreview` to `range`. - Implement prose test "[Range Explicit Encryption applies defaults](https://github.com/mongodb/specifications/blob/master/source/client-side-encryption/tests/README.md#22-range-explicit-encryption-applies-defaults)". - Sync...
GODRIVER-2388 ## Summary Improved Bulk Write API. ## Background & Motivation
GODRIVER-3285 ## Summary Allow update to supply sort option. ## Background & Motivation
GODRIVER-3285 ## Summary Allow v2 update to supply sort option. ## Background & Motivation