---
title: "spring-boot-starter-mail 4.0.0-RC2 Breaking Changes"
description: "What each org.springframework.boot:spring-boot-starter-mail 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-mail
last_updated: 2026-12-04
---

# org.springframework.boot:spring-boot-starter-mail breaking changes

org.springframework.boot:spring-boot-starter-mail 4.0.0-RC2 (November 20, 2025) is its newest release with breaking changes, 6 of them. The first: Renamed management.opentelemetry.logging.export. Every breaking API change we have recorded in org.springframework.boot:spring-boot-starter-mail on Maven Central: 71 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-M5](#v-3-0-0-M5) to [4.0.0-RC2](#v-4-0-0-RC2): 38 breaking changes in 4 versions.
- From [3.0.0-M1](#v-3-0-0-M1) to [4.0.0-RC2](#v-4-0-0-RC2): 66 breaking changes in 8 versions.

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

org.springframework.boot:spring-boot-starter-mail 4.0.0-RC2, released November 20, 2025: 6 breaking changes.

- **Renamed** `management.opentelemetry.logging.export`  

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

The management.zipkin.tracing property was renamed to management.tracing.export.zipkin. Update any configuration that sets the old name. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Renamed** `OnlyOnceLoggingDenyMeterFilter`  

The OnlyOnceLoggingDenyMeterFilter class was renamed. Update code that references the old name. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Configuration changed**  

spring-boot-micrometer-tracing was split into Brave- and OpenTelemetry-specific modules. Update build dependencies to the new modules. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)
- **Configuration changed** `management.logging.export.{name}.enabled`  

The OnEnabledLoggingExportCondition now reads management.logging.export.{name}.enabled. Update configuration that sets 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`  

The OnEnabledTracingExportCondition now reads management.tracing.export.{name}.enabled. Update configuration that sets the previous property. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC2)

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

org.springframework.boot:spring-boot-starter-mail 4.0.0-RC1, released November 20, 2025: 25 breaking changes.

- **Removed**  

Spring Session Data MongoDB support is removed. Projects using it must find another session store. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Spring Pulsar Reactive support is gone in this release. Code that depends on it must move to another approach or stay on an earlier Boot version. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

The SQL and Reactor starters are removed because they were only used transitively. Projects that depend on them directly must add the underlying dependencies. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Spock support is dropped until Spock supports Groovy 5. Tests that use Spock must change. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Embedded jar launch scripts are no longer supported. Projects that use them must change how they launch the application. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Spring Session Hazelcast support is removed. Projects using it must find another session store. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Bitnami support is removed. Projects that depend on it must configure their services another way. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Integration for REST Docs' REST Assured support is removed until REST Assured supports Groovy 5. Tests relying on it must change. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed**  

Support for spring-boot-loader-classic is dropped. Projects using it must move to the current loader. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)
- **Removed** `ConcurrentReferenceCachingMetadataReaderFactory`  

The class ConcurrentReferenceCachingMetadataReaderFactory has been removed. Code that references it will no longer compile. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-RC1)

And 15 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-mail 4.0.0-M2 breaking changes

org.springframework.boot:spring-boot-starter-mail 4.0.0-M2, released November 20, 2025: 2 breaking changes.

- **Removed**  

Auto-configuration classes are now final and no longer expose public members, so code that subclasses them or calls those members must change. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)
- **Configuration changed**  

Projects using an older Gradle version must upgrade to Gradle 8.14 or later. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M2)

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

org.springframework.boot:spring-boot-starter-mail 4.0.0-M1, released November 20, 2025: 5 breaking changes.

- **Removed**  

APIs previously deprecated for removal in 4.0 or earlier were removed, so code using them must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Removed**  

Wavefront support was removed, so code relying on it must move to another metrics backend. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)
- **Renamed** `ClientHttpRequestFactorySettings.Redirects`  

Use HttpRedirects in place of ClientHttpRequestFactorySettings.Redirects. [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 moved to org.springframework.boot.thread, so imports must be updated. [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 now apply under different conditions, so check existing encoding configuration. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v4.0.0-M1)

## org.springframework.boot:spring-boot-starter-mail 3.0.0-M5 breaking changes

org.springframework.boot:spring-boot-starter-mail 3.0.0-M5, released November 24, 2022: 9 breaking changes.

- **Removed**  

The Spring Boot CLI no longer provides these commands, so scripts that call them will stop working. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Removed**  

Spring Boot no longer manages the ANTLR 2 dependency version, so builds that relied on it must declare the version themselves. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Removed**  

Flyway auto-configuration no longer supports older Flyway versions, so applications on those versions must upgrade. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Removed** `AnsiColors`  

The AnsiColors class has been removed, so code that references it will no longer compile. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Removed** `EventPublishingRunListener`  

EventPublishingRunListener is no longer publicly accessible, so code that uses it directly will break. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Renamed**  

AOT goal and task names have been harmonized, so build scripts that invoke the old names must be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Default changed**  

JMX endpoints are now exposed by default in the same way as web endpoints, so applications relying on the old JMX defaults must adjust their configuration. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Default changed**  

The DefaultServlet is no longer enabled by default, so static content served through it needs explicit configuration. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)
- **Signature changed** `HeapDumper`  

The HeapDumper strategy interface has been reworked to be less HotSpot-specific, so custom implementations may need to be updated. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M5)

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

org.springframework.boot:spring-boot-starter-mail 3.0.0-M4, released November 24, 2022: 10 breaking changes.

- **Removed**  

Running multiple Spring Batch jobs is no longer supported. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **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** `RestHighLevelClient`  

Support for Elasticsearch's RestHighLevelClient was removed; the new ElasticsearchClient is supported instead. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Removed** `spring.session.store-type`  

The spring.session.store-type property was removed; the session store implementation is now chosen by a defined order when several are available. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Removed** `YamlJsonParser`  

YamlJsonParser was removed in this release, so code that uses it will no longer compile or run. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Behavior changed**  

Projects must use Kotlin 1.7 or later. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Behavior changed**  

Projects must use Gradle 7.5 or later. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Behavior changed** `ReactiveUserDetailsService`  

A ReactiveUserDetailsService is no longer auto-configured when an AuthenticationManagerResolver bean is present. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Default changed**  

The default strategy for URL path matching in Spring MVC changed, which can alter how request paths are matched. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)
- **Signature changed**  

Public APIs no longer declare some checked exceptions, which can break catch blocks that handle them. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M4)

## 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-mail 3.0.0-M3 breaking changes

org.springframework.boot:spring-boot-starter-mail 3.0.0-M3, released November 24, 2022: 6 breaking changes.

- **Removed**  

Applications can no longer be run inside the Maven process. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M3)
- **Removed**  

Use the new built-in Spring Boot support for Mongo instead. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M3)

And 4 more in this version.

### org.springframework.boot:spring-boot-starter-mail 3.0.0-M2 breaking changes

org.springframework.boot:spring-boot-starter-mail 3.0.0-M2, released November 24, 2022: 3 breaking changes.

- **Removed**  

Image banners are no longer supported. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M2)
- **Removed** `JavaVersion`  

Code referring to JavaVersion values for Java versions less than 17 will no longer compile. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M2)

And 1 more in this version.

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

org.springframework.boot:spring-boot-starter-mail 3.0.0-M1, released November 24, 2022: 5 breaking changes.

- **Removed**  

Applications relying on SecurityManager support must change their setup. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M1)
- **Removed**  

ActiveMQ auto-configuration and support are no longer provided. [github.com](https://github.com/spring-projects/spring-boot/releases/tag/v3.0.0-M1)

And 3 more in this version.

## 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.
