MyGit

v1.10.0-beta1

mongodb/mongo-go-driver

版本发布时间: 2022-06-02 06:17:11

mongodb/mongo-go-driver最新发布版本:v1.16.1(2024-08-08 03:39:35)

The MongoDB Go Driver Team is pleased to release version 1.10.0-beta1 of the official Go driver.

Release Notes

This release supports several new features introduced in MongoDB server version 6.0 (Release Candidate).

Queryable Encryption Support

This release includes new options to AutoEncryptionOpts and EncryptOpts to support Queryable Encryption. Queryable Encryption support requires MongoDB server 6.0 or newer, and libmongocrypt 1.5.0 or newer.

Patch for Decoding Empty Types

A patch is implemented for defaulting data to either primitive.M or primitive.D when decoding empty types.

Encoding Atypical Map Key Types

Allow encoding atypical map key types for data that can unmarshal into a textual representation of itself, i.e. TextMarshaler and TextUnmarshaler.

Improvement of Full Document Request

Add the ability to request the full document both before and after an update in Change Stream events.

PRN and UUID Generation Refactoring

Refactor the pseudo-random number and UUID generation to improve performance and reduce conflict.

Adding Comment Support for CRUD Operations


For a full list of tickets included in this release, please see the links below:

Documentation for the Go driver can be found on pkg.go.dev and the MongoDB documentation site. BSON library documentation is also available on pkg.go.dev. Questions and inquiries can be asked on the MongoDB Developer Community. Bugs can be reported in the Go Driver project in the MongoDB JIRA where a list of current issues can be found. Your feedback on the Go driver is greatly appreciated!

相关地址:原始地址 下载(tar) 下载(zip)

查看:2022-06-02发行的版本