What's New
On this page
Learn what's new in:
What's New in 4.10
New features of the 4.10 driver release include:
Implementation of the
Accumulators.percentile()
andAccumulators.median()
methods for statistical aggregations.Interfaces in the
com.mongodb.client.model.search
package are now marked as@Sealed
instead of@Evolving
. Sealed interfaces must not be extended or implemented by consumers of the library.Resolved an issue where the driver emitted duplicate log messages for retry operations. The driver now correctly emits one log message for each retry operation.
The
org.bson.codecs.Parameterizable
interface is deprecated. Instead of implementing this interface on a customCodec
type, you should override theCodecProvider.get()
method on the codec'sCodecProvider
if the codec is intended for a parameterized type.Support for custom DNS resolvers.
Support for Queryable Encryption (QE). To learn more about the requirements for using the QE feature, see the Queryable Encryption Driver Compatibility Table.