org.mongodb:mongodb-driver-core breaking changes
org.mongodb:mongodb-driver-core 5.0.0 (February 27, 2024) is its newest release with breaking changes, 60 of them. The first: Removed com.mongodb.bulk.WriteConcernError.addLabel. Every breaking API change we have recorded in org.mongodb:mongodb-driver-core on Maven Central: 255 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 5.15.0. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.mongodb:mongodb-driver-core 5.0.0 breaking changes
- Removed
com.mongodb.bulk.WriteConcernError.addLabel
WriteConcernError.addLabel was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.bulk.WriteConcernError.getErrorLabels
WriteConcernError.getErrorLabels was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.client.model.Filters.eqFull
Filters.eqFull was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.client.model.Indexes.geoHaystack
Indexes.geoHaystack was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.client.model.IndexOptions.bucketSize
IndexOptions.bucketSize was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.client.model.IndexOptions.getBucketSize
IndexOptions.getBucketSize was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.AsynchronousSocketChannelStreamFactory
com.mongodb.connection.AsynchronousSocketChannelStreamFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory
com.mongodb.connection.AsynchronousSocketChannelStreamFactoryFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.BufferProvider
com.mongodb.connection.BufferProvider was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.netty.NettyStreamFactory
com.mongodb.connection.netty.NettyStreamFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.netty.NettyStreamFactoryFactory
com.mongodb.connection.netty.NettyStreamFactoryFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.SocketStreamFactory
com.mongodb.connection.SocketStreamFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.Stream
com.mongodb.connection.Stream was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.StreamFactory
com.mongodb.connection.StreamFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.StreamFactoryFactory
com.mongodb.connection.StreamFactoryFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.connection.TlsChannelStreamFactoryFactory
com.mongodb.connection.TlsChannelStreamFactoryFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ClusterListenerAdapter
com.mongodb.event.ClusterListenerAdapter was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionAddedEvent
com.mongodb.event.ConnectionAddedEvent was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionPoolListener.connectionAdded
ConnectionPoolListener.connectionAdded was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionPoolListener.connectionPoolOpened
ConnectionPoolListener.connectionPoolOpened was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionPoolListener.connectionRemoved
ConnectionPoolListener.connectionRemoved was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionPoolListenerAdapter
com.mongodb.event.ConnectionPoolListenerAdapter was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionPoolOpenedEvent
com.mongodb.event.ConnectionPoolOpenedEvent was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ConnectionRemovedEvent
com.mongodb.event.ConnectionRemovedEvent was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ServerListenerAdapter
com.mongodb.event.ServerListenerAdapter was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.event.ServerMonitorListenerAdapter
com.mongodb.event.ServerMonitorListenerAdapter was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.management.JMXConnectionPoolListener.connectionAdded
JMXConnectionPoolListener.connectionAdded was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.management.JMXConnectionPoolListener.connectionPoolOpened
JMXConnectionPoolListener.connectionPoolOpened was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.management.JMXConnectionPoolListener.connectionRemoved
JMXConnectionPoolListener.connectionRemoved was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.MongoClientSettings.Builder.streamFactoryFactory
com.mongodb.MongoClientSettings.Builder.streamFactoryFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.MongoClientSettings.getStreamFactoryFactory
MongoClientSettings.getStreamFactoryFactory was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.ReadPreference.isSlaveOk
ReadPreference.isSlaveOk was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.ServerAddress.getSocketAddress
ServerAddress.getSocketAddress was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.ServerAddress.getSocketAddresses
ServerAddress.getSocketAddresses was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.TaggableReadPreference.isSlaveOk
TaggableReadPreference.isSlaveOk was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.UnixServerAddress.getSocketAddresses
UnixServerAddress.getSocketAddresses was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Removed
com.mongodb.UnixServerAddress.getUnixSocketAddress
UnixServerAddress.getUnixSocketAddress was removed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.bulk.BulkWriteResult.acknowledged
The signature of BulkWriteResult.acknowledged changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.bulk.WriteConcernError.<init>
The signature of WriteConcernError.<init> changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.client.model.changestream.ChangeStreamDocument.<init>
The signature of ChangeStreamDocument.<init> changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.connection.ConnectionId.<init>
Was ConnectionId(com.mongodb.connection.ServerId, int, Integer); now ConnectionId(com.mongodb.connection.ServerId, long, Long). central.sonatype.com - Signature changed
com.mongodb.connection.ConnectionId.getLocalValue
Was int getLocalValue(); now long getLocalValue(). central.sonatype.com - Signature changed
com.mongodb.connection.ConnectionId.getServerValue
Was Integer getServerValue(); now Long getServerValue(). central.sonatype.com - Signature changed
com.mongodb.connection.ConnectionId.withServerValue
Was com.mongodb.connection.ConnectionId withServerValue(int); now com.mongodb.connection.ConnectionId withServerValue(long). central.sonatype.com - Signature changed
com.mongodb.connection.SocketSettings.Builder.connectTimeout
Was com.mongodb.connection.SocketSettings.Builder connectTimeout(int, java.util.concurrent.TimeUnit); now com.mongodb.connection.SocketSettings.Builder connectTimeout(long, java.util.concurrent.TimeUnit). central.sonatype.com - Signature changed
com.mongodb.connection.SocketSettings.Builder.readTimeout
Was com.mongodb.connection.SocketSettings.Builder readTimeout(int, java.util.concurrent.TimeUnit); now com.mongodb.connection.SocketSettings.Builder readTimeout(long, java.util.concurrent.TimeUnit). central.sonatype.com - Signature changed
com.mongodb.event.CommandEvent.<init>
The signature of CommandEvent.<init> changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.event.CommandFailedEvent.<init>
The signature of CommandFailedEvent.<init> changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.event.CommandStartedEvent.<init>
The signature of CommandStartedEvent.<init> changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com - Signature changed
com.mongodb.event.CommandSucceededEvent.<init>
The signature of CommandSucceededEvent.<init> changed in org.mongodb:mongodb-driver-core 5.0.0 central.sonatype.com
And 10 more in this version. Sign up to see every change
org.mongodb:mongodb-driver-core 4.0.0 breaking changes
- Removed
com.mongodb.assertions.Assertions.doesNotContainNull
Assertions.doesNotContainNull was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.async.AsyncAggregateResponseBatchCursor
com.mongodb.async.AsyncAggregateResponseBatchCursor was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.async.AsyncBatchCursor
com.mongodb.async.AsyncBatchCursor was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.async.SingleResultCallback
com.mongodb.async.SingleResultCallback was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.AuthenticationMechanism.MONGODB_CR
com.mongodb.AuthenticationMechanism.MONGODB_CR was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.binding.AsyncClusterBinding
com.mongodb.binding.AsyncClusterBinding was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.binding.AsyncConnectionSource
com.mongodb.binding.AsyncConnectionSource was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.binding.AsyncReadBinding
com.mongodb.binding.AsyncReadBinding was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.binding.AsyncReadWriteBinding
com.mongodb.binding.AsyncReadWriteBinding was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com - Removed
com.mongodb.binding.AsyncSingleConnectionReadBinding
com.mongodb.binding.AsyncSingleConnectionReadBinding was removed in org.mongodb:mongodb-driver-core 4.0.0 central.sonatype.com
And 185 more in this version. Sign up to see every change
Related packages
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.