org.springframework.boot:spring-boot-starter-data-mongodb breaking changes
Updated December 4, 2026
On this page
Latest version 4.2.0. Source repository
Its 3.0.0-M1 release requires Java 17 or later. Java end of life dates.
org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC2 breaking changes
- Removed
spring-boot-micrometer-tracing
The spring-boot-micrometer-tracing module was split; depend on the Brave or OpenTelemetry specific module instead. github.com - Renamed
management.opentelemetry.logging.export
The management.opentelemetry.logging.export properties were renamed; update configuration to the new names. github.com - Renamed
management.zipkin.tracing
Use the new property name; the old management.zipkin.tracing name no longer applies. github.com - Renamed
OnlyOnceLoggingDenyMeterFilter
The OnlyOnceLoggingDenyMeterFilter class was renamed; update references to the new name. github.com - Configuration changed
management.logging.export.{name}.enabled
Logging exporters are now toggled by management.logging.export.{name}.enabled instead of the previous property. github.com - Configuration changed
management.tracing.export.{name}.enabled
Tracing exporters are now toggled by management.tracing.export.{name}.enabled instead of the previous property. github.com
org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC1 breaking changes
- Renamed
…DataAutoConfiguration
Auto-configuration class names that ended in DataAutoConfiguration now start with Data, so update any direct references to them. github.com
org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M3 breaking changes
- Removed
Spring Retry is no longer managed by Spring Boot, so builds relying on its managed version must declare it. github.com - Removed
Jersey is no longer supported until it supports JAX-RS 4, so Jersey applications must move to another framework. github.com - Removed
@HttpServiceClient
Auto-configuration for @HttpServiceClient is removed, so code relying on it must configure HTTP service clients another way. github.com - Removed
MongoConnectionDetails
GridFs is removed from MongoConnectionDetails, so code that reads it must be changed. github.com - Removed
OriginLookup.getPrefix
The getPrefix method is removed from OriginLookup. github.com - Removed
OriginLookup.isImmutable
The isImmutable method is removed from OriginLookup. github.com - Renamed
MongoDB-related configuration property names now use mongodb rather than mongo, so existing property names must be updated. github.com - Renamed
ConditionalOnEnabledTracing
The annotation is renamed to ConditionalOnEnabledTracingExport. github.com - Renamed
ScheduledTasksObservabilityAutoConfiguration
The auto-configuration class is renamed to ScheduledTasksObservationAutoConfiguration. github.com - Renamed
spring-boot-starter-aop
The starter is renamed, so dependencies on spring-boot-starter-aop must switch to spring-boot-starter-aspectj. github.com
And 5 more in this version. Sign up to see every change
org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M2 breaking changes
- Removed
Undertow is no longer supported as a servlet container because it is not Servlet 6.1 compatible. Applications using Undertow must switch to another supported server. github.com - Removed
Auto-configuration classes are now final and their public members are removed, so code that extends or references them may break. github.com - Removed
StreamBuilderFactoryBeanCustomizer
Use Spring Kafka's StreamsBuilderFactoryBeanConfigurer instead of StreamBuilderFactoryBeanCustomizer. github.com - Renamed
Module and package names for metrics, observation and tracing change, so imports and dependencies must be updated. github.com - Behavior changed
Logback's console and file logging now use a harmonized charset, which can change logged output encoding. github.com
org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M1 breaking changes
- Removed
APIs that were deprecated for removal in 4.0 or earlier have been removed. Move off any remaining uses of them. github.com - Removed
Support for Wavefront has been dropped, so code relying on it will no longer work. github.com - Renamed
ClientHttpRequestFactorySettings.Redirects
ClientHttpRequestFactorySettings.Redirects was replaced with HttpRedirects. Use HttpRedirects instead. github.com - Renamed
org.springframework.boot.autoconfigure.thread
The org.springframework.boot.autoconfigure.thread package was moved to org.springframework.boot.thread. Update imports to the new package. github.com - Behavior changed
Environment variables using the legacy dash format can no longer be bound. Rename them to the current format. github.com - Behavior changed
DefaultErrorAttributes
The shape of API validation error responses produced by DefaultErrorAttributes changed. Check clients that parse these responses. github.com - Configuration changed
server.servlet.encoding
The server.servlet.encoding properties were reworked to clarify when they apply. Review your encoding configuration. github.com
org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0 breaking changes
- Behavior changed
Actuator responses now return timestamps in a different format than ISO-8601. Code that parses these timestamps may need to change. github.com - Default changed
The default value for the Spring Security filter dispatcher types changed. Check your configuration if you rely on the previous default. github.com
Older versions
3 older versions, each with its first changes. Sign up to see every change
Show 3 older versions
org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M4 breaking changes
- Removed
String path matching for MVC endpoint handler mappings is no longer supported. github.com - Removed
Running multiple Spring Batch jobs in one application is no longer supported. github.com
And 6 more in this version.
org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M3 breaking changes
- Removed
Solr auto-configuration was removed until it works with Jetty 11, so applications using it must configure Solr themselves. github.com - Removed
Support for the Embedded Mongo library was removed, so applications using it must move to the new built-in Spring Boot support. github.com
And 1 more in this version.
org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M1 breaking changes
- Removed
Spring Boot 3.0 no longer supports older Java versions, so applications must run on Java 17 or later. github.com
Related packages
- org.springframework.boot:spring-boot
- org.springframework.boot:spring-boot-starter
- org.springframework.boot:spring-boot-starter-data-jpa
- org.springframework.boot:spring-boot-starter-data-redis
- org.springframework.boot:spring-boot-starter-cache
- org.springframework.boot:spring-boot-starter-hateoas
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.