---
title: "spring-boot-starter-data-mongodb 4.0.0-RC2 Breaking Changes"
description: "What each org.springframework.boot:spring-boot-starter-data-mongodb release on Maven Central removed, renamed or changed, each with its source."
canonical_url: https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-data-mongodb
last_updated: 2026-12-04
---

# org.springframework.boot:spring-boot-starter-data-mongodb breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC2 (November 20, 2025) is its newest release with breaking changes, 6 of them. The first: Removed spring-boot-micrometer-tracing. Every breaking API change we have recorded in org.springframework.boot:spring-boot-starter-data-mongodb on Maven Central: 48 breaking changes in 9 versions. Below, its 9 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `4.2.0`. [Source repository](https://github.com/spring-projects/spring-boot)

Its 3.0.0-M1 release requires [Java 17](https://since.dev/calendar/eclipse-temurin/17.md) or later. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [3.0.0](#v-3-0-0) to [4.0.0-RC2](#v-4-0-0-RC2): 34 breaking changes in 5 versions.

## org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC2 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC2, released November 20, 2025: 6 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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `management.opentelemetry.logging.export`  

The management.opentelemetry.logging.export properties were renamed; update configuration to the new names. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `management.zipkin.tracing`  

Use the new property name; the old management.zipkin.tracing name no longer applies. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `OnlyOnceLoggingDenyMeterFilter`  

The OnlyOnceLoggingDenyMeterFilter class was renamed; update references to the new name. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)

## org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC1 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-RC1, released November 20, 2025: 1 breaking change.

- **Renamed** `…DataAutoConfiguration`  

Auto-configuration class names that ended in DataAutoConfiguration now start with Data, so update any direct references to them. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)

## org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M3 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M3, released November 20, 2025: 15 breaking changes.

- **Removed**  

Spring Retry is no longer managed by Spring Boot, so builds relying on its managed version must declare it. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed**  

Jersey is no longer supported until it supports JAX-RS 4, so Jersey applications must move to another framework. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `@HttpServiceClient`  

Auto-configuration for @HttpServiceClient is removed, so code relying on it must configure HTTP service clients another way. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `MongoConnectionDetails`  

GridFs is removed from MongoConnectionDetails, so code that reads it must be changed. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `OriginLookup.getPrefix`  

The getPrefix method is removed from OriginLookup. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Removed** `OriginLookup.isImmutable`  

The isImmutable method is removed from OriginLookup. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed**  

MongoDB-related configuration property names now use mongodb rather than mongo, so existing property names must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed** `ConditionalOnEnabledTracing`  

The annotation is renamed to ConditionalOnEnabledTracingExport. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **Renamed** `ScheduledTasksObservabilityAutoConfiguration`  

The auto-configuration class is renamed to ScheduledTasksObservationAutoConfiguration. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)
- **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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M3)

And 5 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M2 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M2, released November 20, 2025: 5 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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Removed**  

Auto-configuration classes are now final and their public members are removed, so code that extends or references them may break. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Removed** `StreamBuilderFactoryBeanCustomizer`  

Use Spring Kafka's StreamsBuilderFactoryBeanConfigurer instead of StreamBuilderFactoryBeanCustomizer. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Renamed**  

Module and package names for metrics, observation and tracing change, so imports and dependencies must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Behavior changed**  

Logback's console and file logging now use a harmonized charset, which can change logged output encoding. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)

## org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M1 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 4.0.0-M1, released November 20, 2025: 7 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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Removed**  

Support for Wavefront has been dropped, so code relying on it will no longer work. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Renamed** `ClientHttpRequestFactorySettings.Redirects`  

ClientHttpRequestFactorySettings.Redirects was replaced with HttpRedirects. Use HttpRedirects instead. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **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](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Behavior changed**  

Environment variables using the legacy dash format can no longer be bound. Rename them to the current format. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Behavior changed** `DefaultErrorAttributes`  

The shape of API validation error responses produced by DefaultErrorAttributes changed. Check clients that parse these responses. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Configuration changed** `server.servlet.encoding`  

The server.servlet.encoding properties were reworked to clarify when they apply. Review your encoding configuration. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)

## org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0, released November 24, 2022: 2 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](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0)
- **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](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0)

## Older versions

3 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M4 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M4, released November 24, 2022: 8 breaking changes.

- **Removed**  

String path matching for MVC endpoint handler mappings is no longer supported. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Removed**  

Running multiple Spring Batch jobs in one application is no longer supported. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)

And 6 more in this version.

### org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M3 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M3, released November 24, 2022: 3 breaking changes.

- **Removed**  

Solr auto-configuration was removed until it works with Jetty 11, so applications using it must configure Solr themselves. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M3)
- **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](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M3)

And 1 more in this version.

### org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M1 breaking changes

org.springframework.boot:spring-boot-starter-data-mongodb 3.0.0-M1, released November 24, 2022: 1 breaking change.

- **Removed**  

Spring Boot 3.0 no longer supports older Java versions, so applications must run on Java 17 or later. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M1)

## Related packages

- [org.springframework.boot:spring-boot](https://since.dev/packages/maven/org.springframework.boot:spring-boot.md)
- [org.springframework.boot:spring-boot-starter](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter.md)
- [org.springframework.boot:spring-boot-starter-data-jpa](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-data-jpa.md)
- [org.springframework.boot:spring-boot-starter-data-redis](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-data-redis.md)
- [org.springframework.boot:spring-boot-starter-cache](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-cache.md)
- [org.springframework.boot:spring-boot-starter-hateoas](https://since.dev/packages/maven/org.springframework.boot:spring-boot-starter-hateoas.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
