What's New
Learn what's new in:
What's New in 2.25
The 2.25 driver release includes the following new features:
Added support for the
MONGODB-OIDC
authentication mechanism and automatic token acquisition for Azure Identity Provider.Added the class name to the error message reported when
BsonClassMapSerializer
cannot locate a matching creator.Added a
LoggedStages
field to surface the MQL executed after performing a LINQ query.Added support for overriding the
"mongodb"
service name with a custom one by using thesrvServiceName
connection option.Improved behavior of bulk write operations to preven enumerating the requests parameter more than once.
What's New in 2.24
The 2.24 driver release includes the following new features:
Added the IMongoCollection.DistinctMany() method.
Added support for the latest optional arguments for the $dateFromString aggregation expression.
Added support for sorting by score in the $search aggregation stage.
Added the
VectorSearchScore
builder for the $vectorSearch aggregation stage.Added support for the $in operator in Atlas Search.
Added the
Mql.Exists()
,Mql.IsMissing()
, andMql.IsNullOrMissing()
methods for LINQ queries.Added support for the
IComparable.CompareTo()
method in LINQ queries.Added support for nested calls to the
AsQueryable()
method to support LINQ queries by the MongoDB Entity Framework Core Provider.Added support for TLS 1.3.
Updated the
libmongocrypt
package version to 1.8.2.Fixed a segfault in Kerberos (
libgssapi
) on newer Linux distributions.Fixed a GridFS bug in which downloading a file caused an error if a larger file with the same ID had also been uploaded.
The
ExceededTimeLimit
server error is now retryable for both read and write operations.When running within a function-as-a-service (FaaS) environment, such as AWS Lambda, the driver now uses the polling monitoring mechanism.
To improve MongoDB Atlas Serverless compatibility, the driver now uses OP_MSG for authentication if the server supports it.
What's New in 2.23
The 2.23 driver release includes the following new features:
Improvements and bug fixes to the LINQ3 integration.
Added support for aggregation bitwise operators.
Added support for the
$out
operator in MongoDB time series collections.Added ChangeStreamSplitLargeEvent to handle change stream events greater than 16 MB.
What's New in 2.22
The 2.22 driver release includes the following new features:
Improvements and bug fixes to the LINQ3 integration.
Added support for $set and $vectorSearch aggregation stages.
Added synonym support for Atlas Search.
Reduced memory allocation when using encryption.
Added logging messages for server discovery and monitoring (SDAM) events. For more information on these events, see the MongoDB SDAM Logging and Monitoring specification.