org.springframework.boot:spring-boot-starter-log4j2 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-log4j2 4.0.0-RC2 breaking changes
- Removed
spring-boot-micrometer-tracing was split into Brave- and OpenTelemetry-specific modules. Dependencies on the original module must switch to the matching new module. github.com - Renamed
management.opentelemetry.logging.export
The management.opentelemetry.logging.export properties were renamed. Update configuration to the new property names. github.com - Renamed
management.zipkin.tracing
The management.zipkin.tracing property was renamed to management.tracing.export.zipkin. Update configuration files to use the new name. github.com - Renamed
OnlyOnceLoggingDenyMeterFilter
The OnlyOnceLoggingDenyMeterFilter class was renamed, so code referencing the old name must be updated. github.com - Configuration changed
management.logging.export.{name}.enabled
The property backing the logging export enabled condition changed to management.logging.export.{name}.enabled. Update configuration to use it. github.com - Configuration changed
management.tracing.export.{name}.enabled
The property backing the tracing export enabled condition changed to management.tracing.export.{name}.enabled. Update configuration to use it. github.com
org.springframework.boot:spring-boot-starter-log4j2 4.0.0-RC1 breaking changes
- Removed
Support for Spring Session Data MongoDB is removed. github.com - Removed
Spring Boot 4.0.0 no longer supports Spring Pulsar Reactive. Code that relies on it must move to another approach. github.com - Removed
The SQL and Reactor starters are removed because they were only used transitively; add the needed dependencies directly. github.com - Removed
Support for Bitnami is removed. github.com - Removed
Support for Spring Session Hazelcast is removed. github.com - Removed
Spock support is dropped until it supports Groovy 5. github.com - Removed
Support for embedded jar launch scripts is removed. github.com - Removed
The integration for REST Docs' REST Assured support is removed until REST Assured supports Groovy 5. github.com - Removed
ConcurrentReferenceCachingMetadataReaderFactory
The class ConcurrentReferenceCachingMetadataReaderFactory is removed in this release. github.com - Removed
spring-boot-loader-classic
Support for spring-boot-loader-classic is dropped. github.com
And 11 more in this version. Sign up to see every change
org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M3 breaking changes
- Removed
Jersey support is removed until it supports JAX-RS 4 (Jakarta EE 11). github.com - Removed
@HttpServiceClient
Scanning auto-configuration for @HttpServiceClient is removed. github.com - Removed
MongoConnectionDetails
The GridFs support is removed from MongoConnectionDetails. 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
The auto-configuration class is renamed to ScheduledTasksObservationAutoConfiguration. github.com - Renamed
Classes named *DataProperties are renamed to Data*Properties, so references must be updated. github.com - Renamed
Foundational packages are restructured, so imports from the old org.springframework.boot packages may need updating. github.com - Renamed
Several MongoDB configuration properties are renamed, so configuration files must be updated. github.com - Renamed
@OptionalParameter
The @OptionalParameter annotation is replaced with JSpecify's @Nullable. github.com
And 6 more in this version. Sign up to see every change
org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M2 breaking changes
- Removed
Auto-configuration classes are made final and their public members are removed, so code extending or calling them will break. github.com - Removed
Actuator endpoints no longer accept the javax.annotations.NonNull annotation on parameters. github.com - Removed
Undertow is no longer supported because it is not Servlet 6.1 compatible. Applications using Undertow must move to another servlet container. github.com - Removed
StreamBuilderFactoryBeanCustomizer
StreamBuilderFactoryBeanCustomizer is removed in favor of Spring Kafka's StreamsBuilderFactoryBeanConfigurer. github.com - Renamed
Module and package names for metrics, observation and tracing now include micrometer, so imports and dependencies must be updated. github.com - Behavior changed
Logback's console and file logging charset is harmonized, so output encoding may change for existing setups. github.com - Behavior changed
Auto-configuration now provides Elasticsearch's new Rest5Client rather than the legacy RestClient. github.com - Configuration changed
Projects using an older Gradle version must upgrade to Gradle 8.14 or later. github.com
org.springframework.boot:spring-boot-starter-log4j2 4.0.0-M1 breaking changes
- Removed
Support for Wavefront was dropped, so code relying on it must be removed or moved to another monitoring option. github.com - Removed
APIs that were deprecated for removal in 4.0 or earlier were removed, so code using them must be updated. github.com - Renamed
ClientHttpRequestFactorySettings.Redirects
ClientHttpRequestFactorySettings.Redirects was replaced with HttpRedirects, so code using the old type must switch to it. github.com - 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 - Behavior changed
Environment variables using the legacy dash format can no longer be bound, so they must be renamed to the supported format. github.com - Behavior changed
DefaultErrorAttributes
A change in DefaultErrorAttributes alters the shape of API validation error responses, so clients parsing them may need updates. github.com - Configuration changed
server.servlet.encoding
The server.servlet.encoding properties were reworked to clarify when they apply, so existing settings may take effect differently. github.com
org.springframework.boot:spring-boot-starter-log4j2 3.0.0 breaking changes
- Behavior changed
Actuator responses now output timestamps in a different format than the ISO-8601 format used before, so code parsing those timestamps may need updating. github.com - Default changed
The default value for Spring Security filter dispatcher types changed in this release, so check any filter dispatcher configuration that relied on the old default. github.com
Older versions
5 older versions, each with its first changes. Sign up to see every change
Show 5 older versions
org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M5 breaking changes
- Removed
Spring Boot no longer manages the ANTLR 2 dependency version, so projects relying on it must declare the version themselves. github.com - Removed
AnsiColors
AnsiColors was removed, so code that references it will no longer compile. github.com
And 11 more in this version.
org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M4 breaking changes
- Removed
String path matching for MVC endpoint handler mappings is no longer supported, so code relying on it must change. github.com - Removed
The --allow-incomplete-classpath argument is no longer passed to native-image. github.com
And 10 more in this version.
org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M3 breaking changes
- Removed
The AppEngine SDK is no longer managed by Spring Boot, so its version must be declared explicitly. github.com - Removed
Solr auto-configuration has been removed until it supports Jetty 11, so Solr must be configured manually. github.com
And 6 more in this version.
org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M2 breaking changes
- Removed
Image banners are no longer supported, so banner configuration using images must be replaced with text banners. github.com - Removed
JavaVersion
Enum values for Java versions less than 17 were removed, so code referencing them will no longer compile. github.com
org.springframework.boot:spring-boot-starter-log4j2 3.0.0-M1 breaking changes
- Removed
Java 17 is now the minimum supported version. Applications on older Java versions must upgrade. github.com - Removed
Hazelcast 3 is no longer supported. Applications using it must move to a supported Hazelcast version. github.com
And 7 more in this version.
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.