v2.24.0
版本发布时间: 2024-02-22 03:15:26
mongodb/mongo-csharp-driver最新发布版本:v2.29.0(2024-09-19 07:54:58)
.NET Driver Version 2.24.0 Release Notes
This is the general availability release for the 2.24.0 version of the driver.
The main new features in 2.24.0 include:
- New DistinctMany method in IMongoCollection
- Support for latest $dateFromString optional arguments
- ExceededTimeLimit server error is now retryable for reads as well as writes
- Support sort by score in $search stage
- New custom method to test if a field exists or is missing in LINQ (Mql.Exists, Mql.IsMissing, Mql.IsNullOrMissing)
- Enable TLS 1.3 support
- Fix a GridFS error when attempting to upload a GridFS file with a duplicate id and the new file is smaller than the original file
- Add support for Atlas Search $in operator
- Add support for IComparable CompareTo method in LINQ queries
- Add VectorSearchScore builder for $vectorSearch stage
- Update libmongocrypt package version
- Support for nested AsQueryable in LINQ queries (not a common use case but legal, primarily added for use by the EF Core Provider)
- Updated authentication to occur over OP_MSG on supporting servers to improve MongoDB Atlas Serverless compatibility
- Use polling monitoring when running within a FaaS environment such as AWS Lambda
- Fixed segfault in Kerberos (libgssapi) on newer Linux distros
An online version of these release notes is available here.
The full list of issues resolved in this release is available at CSHARP JIRA project.
Documentation on the .NET driver can be found here.