org.springframework:spring-framework-bom breaking changes
Updated December 4, 2026
On this page
Latest version 7.1.0, released November 23, 2026. Source repository
Packages on Maven Central run on Java. Java end of life dates.
- From 6.0.0-RC2 to 7.0.0: 76 breaking changes in 12 versions.
- From 6.0.0-M1 to 7.0.0: 101 breaking changes in 19 versions.
org.springframework:spring-framework-bom 7.0.0 breaking changes
- Removed
OkHttp3 support was removed. github.com - Removed
Annotations from the javax.annotation and javax.inject packages are no longer supported. Migrate them to the jakarta.annotation and jakarta.inject equivalents. github.com - Removed
WebJars support with webjars-locator-core was removed in favor of webjars-locator-lite. github.com - Removed
Undertow-specific classes for WebSocket support and low-level WebFlux HTTP support were dropped because Undertow does not support Servlet 6.1. github.com - Removed
Theme support was removed. github.com - Removed
favorPathExtension
The favorPathExtension and ignoreUnknownPathExtensions options and the path extension negotiation strategies were removed. github.com - Removed
HttpComponentsClientHttpRequestFactory.setConnectTimeout
The setConnectTimeout methods were removed from HttpComponentsClientHttpRequestFactory. github.com - Removed
ListenableFuture
ListenableFuture was removed in favor of CompletableFuture. github.com - Removed
matchOptionalTrailingSeparator
The matchOptionalTrailingSeparator option in PathPatternParser was removed. github.com - Removed
spring-jcl
The spring-jcl module was removed in favor of Apache Commons Logging 1.3.0. Applications should use the Commons Logging API directly. github.com - Removed
suffixPatternMatch
The suffixPatternMatch and registeredSuffixPatternMatch options for annotated controller methods were removed. github.com - Removed
trailingSlashMatch
The trailingSlashMatch option for extensions of AbstractHandlerMapping was removed. github.com - Renamed
MemberCategory.DECLARED_FIELDS
The constant was replaced by INVOKE_DECLARED_FIELDS. github.com - Renamed
MemberCategory.PUBLIC_FIELDS
The constant was replaced by INVOKE_PUBLIC_FIELDS. github.com - Renamed
RequestContext.jstPresent
The protected static field jstPresent was renamed to JSTL_PRESENT. github.com - Renamed
Retryable.maxAttempts
The maxAttempts attribute is renamed to maxRetries in @Retryable and RetryPolicy. Update existing code to use the new name. github.com - Behavior changed
SpEL evaluation now fails when it exceeds 10,000 operations by default. Keep the default, reduce the expression complexity, or raise the limit explicitly. github.com - Behavior changed
Jackson CBOR codecs are now configured automatically if the library is on the classpath, which may change existing codec behavior. github.com - Behavior changed
Kotlin Serialization converters now only process types annotated with KotlinDetector#hasSerializableAnnotation by default. github.com - Behavior changed
Preflight requests are no longer rejected when the CORS configuration is empty. github.com - Behavior changed
Resource hints use glob patterns instead of regex, so wildcards match differently. Update wildcard registrations, and the excludes registration was removed. github.com - Behavior changed
@MockitoSpyBean
Using @MockitoSpyBean with a scoped proxy is now rejected, so existing tests using that combination will fail. github.com - Behavior changed
HttpHeaders
HttpHeaders no longer implements the MultiValueMap contract and several methods were removed. Fallbacks such as asMultiValueMap are deprecated. github.com - Behavior changed
MethodParameter.isOptional
The check now looks only at local @Nullable annotations on the parameter, not inherited ones. github.com - Behavior changed
MutablePersistenceUnitInfo
It can no longer be assigned to jakarta.persistence.spi.PersistenceUnitInfo. Use SpringPersistenceUnitInfo for custom bootstrapping. github.com - Behavior changed
ReactorClientHttpRequestFactory
The Reactor client now automatically uses https.proxyHost and https.proxyPort system properties for proxy configuration. github.com - Behavior changed
SimpleEvaluationContext
Expression compilation is off by default. Applications that need it for trusted expressions must opt in with withCompilationSupported(). github.com - Behavior changed
SpringExtension
Nested test hierarchies now use a test-method scoped ExtensionContext, which may break custom TestExecutionListener implementations. github.com - Behavior changed
WebSocketHttpRequestHandler
A same-origin policy is enforced by default when the handler is configured directly. Configure an OriginHandshakeInterceptor to allow other origins. github.com - Default changed
The stack now defaults to Jackson 3.x and falls back to Jackson 2.x. Jackson 2.x auto-detection is planned to be disabled in 7.1. github.com - Default changed
The CGLIB global proxy default is now applied consistently to all proxy processors, including @Async. Use @Proxyable to opt out per bean. github.com - Default changed
DestinationResolver
The default is now SimpleDestinationResolver, which caches Queue and Topic instances. Configure DynamicDestinationResolver to resolve on every call. github.com - Signature changed
JdbcOperations.queryForList
The Kotlin extension taking an array of arguments was replaced by a vararg variant. github.com - Signature changed
JdbcOperations.queryForObject
The Kotlin extension taking an array of arguments was replaced by a vararg variant. github.com
org.springframework:spring-framework-bom 7.0.0-RC3 breaking changes
- Removed
BeanRegistrarDsl
BeanRegistrarDsl no longer supports callable references, so code using them must be rewritten. github.com - Removed
RestTestClient
RestTestClient no longer depends on Hamcrest, so code relying on Hamcrest support through it may need changes. github.com - Behavior changed
SpringExtension
SpringExtension uses a test-method scoped ExtensionContext, which may change how test-level state behaves for existing tests. github.com
org.springframework:spring-framework-bom 7.0.0-RC1 breaking changes
- Behavior changed
ConfigurationBeanNameGenerator
ConfigurationBeanNameGenerator is now invoked even when a @Bean name is provided. github.com - Behavior changed
ExceptionTypeFilter
ExceptionTypeFilter now supports matching against exception causes, changing match results. github.com - Behavior changed
HttpMessageConverters
Configuration of HttpMessageConverters in RestClient and RestTestClient was improved, which may change setup code. github.com - Behavior changed
ParameterizedTypeReference
Nullability of TransactionCallback, TransactionOperations, and TransactionalOperator was revised. github.com
org.springframework:spring-framework-bom 7.0.0-M9 breaking changes
- Removed
HttpServiceClient
HttpServiceClient annotation support is removed. github.com - Behavior changed
ContextCache.put
The put(MergedContextConfiguration, ApplicationContext) method in ContextCache is deprecated. github.com - Behavior changed
Jackson 3 constructors
Jackson 3 constructors now accept only JsonMapper instances for JSON. github.com - Behavior changed
RetryException
RetryException#getCause should not be nullable, which can change null handling. github.com - Behavior changed
StartupStep
StartupStep now implements AutoCloseable, which affects code that relies on its current shape. github.com - Default changed
JpaTransactionManager.nestedTransactionAllowed
The default for the nestedTransactionAllowed flag on JpaTransactionManager was aligned, changing behavior for code relying on the old default. github.com
org.springframework:spring-framework-bom 7.0.0-M8 breaking changes
- Renamed
ApiVersionConfigurer.useRequestParam
Replace useRequestParam with useQueryParam when configuring API versioning. github.com - Behavior changed
PathApiVersionResolver
PathApiVersionResolver should not be nullable, which can change configuration code that passed null. github.com
org.springframework:spring-framework-bom 7.0.0-M7 breaking changes
- Renamed
org.springframework.orm.hibernate5
The Hibernate ORM 7.0 integration package moved from orm.hibernate5 to orm.jpa.hibernate; update imports. github.com - Behavior changed
@Contract
Usages of @Contract must now declare constraints explicitly. github.com - Behavior changed
ExceptionTypeFilter
ExceptionTypeFilter now sets matchIfEmpty to true by default. github.com - Behavior changed
HttpMessageConverters
Multipart converter registration in HttpMessageConverters changed. github.com - Behavior changed
InstanceFilter
InstanceFilter and ExceptionTypeFilter now set matchIfEmpty to true by default, changing results for empty filters. github.com
Older versions
14 older versions, each with its first changes. Sign up to see every change
Show 14 older versions
org.springframework:spring-framework-bom 7.0.0-M6 breaking changes
- Removed
MockEnvironment.setProperty
The (String, String) variants of setProperty() and withProperty() are removed from MockEnvironment. github.com - Behavior changed
Jackson 3 is now the target dependency; review Jackson integration code. github.com
And 2 more in this version.
org.springframework:spring-framework-bom 7.0.0-M5 breaking changes
- Behavior changed
ReactorClientHttpRequestFactory
The default HttpClient in ReactorClientHttpRequestFactory now evaluates system properties. github.com
org.springframework:spring-framework-bom 7.0.0-M4 breaking changes
- Removed
Servlet 6.1 and WebSocket 2.2 are now required baselines. github.com
org.springframework:spring-framework-bom 7.0.0-M3 breaking changes
- Removed
convention-based annotation attribute override
Convention-based annotation attribute overrides are removed; use @AliasFor instead. github.com - Removed
SqlQuery.rowsExpected
The deprecated rowsExpected property of SqlQuery is removed. github.com
And 2 more in this version.
org.springframework:spring-framework-bom 7.0.0-M2 breaking changes
- Removed
Netty 5 is no longer supported. github.com - Behavior changed
@Component
An explicitly aliased value attribute no longer serves as the @Component bean name. github.com
And 3 more in this version.
org.springframework:spring-framework-bom 7.0.0-M1 breaking changes
- Removed
Dependencies move to Jakarta EE 11 APIs, which may require updating Jakarta-based code. github.com - Removed
Kotlin Script Templates
Removes Kotlin Script Templates documentation in org.springframework:spring-framework-bom 7.0.0-M1 github.com
And 5 more in this version.
org.springframework:spring-framework-bom 6.0.0-RC2 breaking changes
- Signature changed
HttpServiceFactory
Programmatic configuration of HttpServiceFactory now goes through a builder, so existing construction code must be updated. github.com - Signature changed
RSocketServiceProxyFactory
Programmatic configuration of RSocketServiceProxyFactory now goes through a builder, so existing construction code must be updated. github.com
org.springframework:spring-framework-bom 6.0.0-RC1 breaking changes
- Renamed
ApplicationContextAotInitializer
Use the AotApplicationContextInitializer interface in place of ApplicationContextAotInitializer. github.com - Behavior changed
Base test classes for JUnit 4 and TestNG now enable default TestExecutionListeners, which changes test behavior for existing tests. github.com
And 5 more in this version.
org.springframework:spring-framework-bom 6.0.0-M6 breaking changes
- Removed
Support for setting the default CacheAwareContextLoaderDelegate via a system property has been removed. github.com - Removed
GenericPropertiesContextLoader
The deprecated GenericPropertiesContextLoader has been removed from the TestContext framework. github.com
And 4 more in this version.
org.springframework:spring-framework-bom 6.0.0-M5 breaking changes
- Behavior changed
Default locale and timezone resolution in cookie and session locale resolvers was simplified, which may change resolved values. github.com - Behavior changed
Nested exception messages no longer include the messages from the causal chain. Code parsing exception messages may need updating. github.com
And 2 more in this version.
org.springframework:spring-framework-bom 6.0.0-M4 breaking changes
- Removed
org.springframework.core.NestedIOException
The obsolete org.springframework.core.NestedIOException class has been removed. github.com - Removed
TYPE_HIERARCHY_AND_ENCLOSING_CLASSES
The TYPE_HIERARCHY_AND_ENCLOSING_CLASSES search strategy for MergedAnnotations has been removed. github.com
And 1 more in this version.
org.springframework:spring-framework-bom 6.0.0-M3 breaking changes
- Removed
SocketUtils
The deprecated SocketUtils class has been removed. github.com - Behavior changed
@Bean
Overloaded @Bean methods are now prevented by default, so code with overloaded bean methods must rename them or change configuration. github.com
org.springframework:spring-framework-bom 6.0.0-M2 breaking changes
- Behavior changed
WebSocketConfigurationSupport
WebSocketConfigurationSupport no longer defines a TaskScheduler bean, so applications relying on it must provide their own. github.com
org.springframework:spring-framework-bom 6.0.0-M1 breaking changes
- Removed
Support for the deprecated Java SecurityManager has been removed. github.com - Behavior changed
Each method executed asynchronously, such as through class-level @Async, must declare a Future or void return type. github.com
And 4 more in this version.
Related packages
- org.springframework:spring-aop
- org.springframework:spring-aspects
- org.springframework:spring-beans
- org.springframework:spring-context
- org.springframework:spring-context-support
- org.springframework:spring-core
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.