org.springframework:spring-context breaking changes
Updated December 4, 2026
On this page
Latest version 7.1.0. Source repository
Packages on Maven Central run on Java. Java end of life dates.
org.springframework:spring-context 7.0.0 breaking changes
- Removed
Undertow-specific WebSocket and WebFlux low-level HTTP classes were dropped; use standard Servlet support once a Servlet 6.1 compatible Undertow is released. github.com - Removed
favorPathExtension
Deprecated path mapping options were removed completely in this release. github.com - Removed
HttpComponentsClientHttpRequestFactory.setConnectTimeout
The setConnectTimeout methods of HttpComponentsClientHttpRequestFactory were removed. github.com - Removed
ignoreUnknownPathExtensions
Deprecated path mapping options were removed completely in this release. github.com - Removed
javax.annotation
Annotations such as @javax.annotation.Resource and @javax.annotation.PostConstruct are no longer supported; migrate to jakarta.annotation. github.com - Removed
javax.inject
Annotations such as @javax.inject.Inject are no longer supported; migrate to jakarta.inject. github.com - Removed
ListenableFuture
ListenableFuture was removed in favor of CompletableFuture. github.com - Removed
matchOptionalTrailingSeparator
Deprecated path mapping options were removed completely in this release. github.com - Removed
OkHttp3 support
OkHttp3 support was removed from the framework. github.com - Removed
org.springframework.cache.concurrent.ConcurrentMapCacheManager.resetCaches
ConcurrentMapCacheManager.resetCaches was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.canRead
MapAccessor.canRead was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.canWrite
MapAccessor.canWrite was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.generateCode
MapAccessor.generateCode was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.getPropertyType
MapAccessor.getPropertyType was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.getSpecificTargetClasses
MapAccessor.getSpecificTargetClasses was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.isCompilable
MapAccessor.isCompilable was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.read
MapAccessor.read was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.expression.MapAccessor.write
MapAccessor.write was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.context.support.SimpleThreadScope.resolveContextualObject
SimpleThreadScope.resolveContextualObject was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.scheduling.annotation.AsyncResult.addCallback
AsyncResult.addCallback was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.scheduling.annotation.AsyncResult.completable
AsyncResult.completable was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.scheduling.concurrent.ConcurrentTaskExecutor.submitListenable
ConcurrentTaskExecutor.submitListenable was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.scheduling.concurrent.SimpleAsyncTaskScheduler.submitListenable
SimpleAsyncTaskScheduler.submitListenable was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.scheduling.concurrent.ThreadPoolTaskExecutor.submitListenable
ThreadPoolTaskExecutor.submitListenable was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler.submitListenable
ThreadPoolTaskScheduler.submitListenable was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.HierarchicalThemeSource
org.springframework.ui.context.HierarchicalThemeSource was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.support.DelegatingThemeSource
org.springframework.ui.context.support.DelegatingThemeSource was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.support.ResourceBundleThemeSource
org.springframework.ui.context.support.ResourceBundleThemeSource was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.support.SimpleTheme
org.springframework.ui.context.support.SimpleTheme was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.support.UiApplicationContextUtils
org.springframework.ui.context.support.UiApplicationContextUtils was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.Theme
org.springframework.ui.context.Theme was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.ui.context.ThemeSource
org.springframework.ui.context.ThemeSource was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
org.springframework.validation.method.MethodValidationResult.getAllValidationResults
MethodValidationResult.getAllValidationResults was removed in org.springframework:spring-context 7.0.0 central.sonatype.com - Removed
registeredSuffixPatternMatch
Deprecated path mapping options were removed completely in this release. github.com - Removed
spring-jcl
The spring-jcl module is gone; use Apache Commons Logging 1.3.0 instead. Most applications should be unaffected since logging API calls do not change. github.com - Removed
suffixPatternMatch
Deprecated path mapping options were removed completely in this release. github.com - Removed
Theme support
Theme support was removed from the framework. github.com - Removed
trailingSlashMatch
Deprecated path mapping options were removed completely in this release. github.com - Removed
WebJars support with org.webjars:webjars-locator-core
WebJars support based on webjars-locator-core was removed; use webjars-locator-lite. github.com - Renamed
@Retryable
The maxAttempts attribute of @Retryable is renamed to maxRetries. Update code that uses the old name. github.com - Renamed
MemberCategory.DECLARED_FIELDS
Renamed to INVOKE_DECLARED_FIELDS. github.com - Renamed
MemberCategory.PUBLIC_FIELDS
Renamed to INVOKE_PUBLIC_FIELDS. github.com - Renamed
org.springframework.orm.hibernate5
Native Hibernate support moved from the hibernate5 package to orm.jpa.hibernate. github.com - Renamed
RequestContext.jstPresent
The protected static field jstPresent was renamed to JSTL_PRESENT. github.com - Renamed
RetryPolicy
The maxAttempts property of RetryPolicy is renamed to maxRetries. Update code that uses the old name. github.com - Behavior changed
Pre-flight CORS requests are now accepted when no CORS configuration is present, instead of being rejected. Code that relied on the rejection must add explicit CORS configuration. github.com - Behavior changed
Kotlin nullability of Spring APIs changed, so Kotlin projects may need code changes. github.com - Behavior changed
Kotlin Serialization converters and codecs now only process types annotated as serializable, to avoid conflicts with Jackson. github.com - Behavior changed
Jackson CBOR codecs are now configured by default when present on the classpath, which may change message conversion for existing code. github.com - Behavior changed
@MockitoSpyBean
Using @MockitoSpyBean with a scoped proxy is now rejected, so tests that used this combination will fail and must be changed. github.com
And 27 more in this version. Sign up to see every change
org.springframework:spring-context 7.0.0-RC3 breaking changes
- Removed
BeanRegistrarDsl
Callable references are no longer supported in BeanRegistrarDsl. Use another form, such as a lambda. github.com - Removed
RestTestClient
RestTestClient no longer depends on Hamcrest, so code relying on Hamcrest through RestTestClient may break. github.com - Behavior changed
SpringExtension
SpringExtension now uses a test-method scoped ExtensionContext, which may change code that depends on the previous context scope. github.com
org.springframework:spring-context 7.0.0-RC1 breaking changes
- Behavior changed
ConfigurationBeanNameGenerator
ConfigurationBeanNameGenerator is invoked even when a @Bean name is provided, which can change bean naming. github.com - Behavior changed
HttpMessageConverters
Configuration of HttpMessageConverters in RestClient and RestTestClient was improved, which may change converter setup. github.com - Behavior changed
UriComponentsBuilder.query
Passing null to UriComponentsBuilder#query no longer clears existing query parameters. github.com - Default changed
EnableAsync
The default order between @EnableAsync and @EnableResilientMethods was aligned, changing the default. github.com
org.springframework:spring-context 7.0.0-M9 breaking changes
- Removed
Undertow
Support for Undertow was dropped because it is not Servlet 6.1 compatible. github.com - Behavior changed
ApiVersionConfigurer
Calling setVersionRequired and setDefaultVersion together on ApiVersionConfigurer may now raise an error. github.com - Behavior changed
ContextCache
ContextCache now closes an evicted context before loading a new context. github.com - Behavior changed
RetryException.getCause
RetryException#getCause is no longer nullable, which may affect null checks in callers. github.com - Default changed
JpaTransactionManager.nestedTransactionAllowed
The default for the nestedTransactionAllowed flag on JpaTransactionManager was aligned, changing its default value. github.com
org.springframework:spring-context 7.0.0-M7 breaking changes
- Removed
org.springframework.orm.hibernate5
Hibernate ORM 7.0 support lives in the orm.jpa.hibernate package; update imports from orm.hibernate5. github.com - Behavior changed
ExceptionTypeFilter
ExceptionTypeFilter now sets matchIfEmpty to true by default, so empty filters match differently than before. github.com - Behavior changed
HttpMessageConverters
Multipart converter registration in HttpMessageConverters was refined, which may change configured converters. github.com - Behavior changed
InstanceFilter
InstanceFilter now sets matchIfEmpty to true by default, so empty filters match differently than before. github.com - Behavior changed
RetryPolicy
RetryPolicy no longer supports the maxDuration or maxElapsedTime settings; configure retries another way. github.com - Behavior changed
RetryTemplate
RetryTemplate was revised to align with Reactor, which may change its behavior. github.com - Signature changed
RetryPolicy
RetryPolicy now incorporates BackOff directly, so code building or using retry policies must change. github.com
org.springframework:spring-context 7.0.0-M6 breaking changes
- Removed
MockEnvironment.setProperty
The (String, String) variant of setProperty() on MockEnvironment has been removed. Code using it must change. github.com - Removed
MockEnvironment.withProperty
The (String, String) variant of withProperty() on MockEnvironment has been removed. Code using it must change. github.com
Older versions
13 older versions, each with its first changes. Sign up to see every change
Show 13 older versions
org.springframework:spring-context 7.0.0-M4 breaking changes
- Configuration changed
The framework now requires Servlet 6.1 and WebSocket 2.2. Applications on older servlet containers must upgrade. github.com
org.springframework:spring-context 7.0.0-M3 breaking changes
- Removed
Convention-based annotation attribute overrides are no longer supported. Annotations relying on them must use explicit @AliasFor. github.com - Removed
BeanRegistrar
BeanRegistrar no longer supports Aware interfaces. Code relying on them must change. github.com
And 1 more in this version.
org.springframework:spring-context 7.0.0-M2 breaking changes
- Removed
Netty 5 support has been removed. Users on Netty 5 must change their setup. github.com - Behavior changed
@Component
An explicitly aliased value attribute is no longer used as the @Component bean name. Components may get different bean names. github.com
And 2 more in this version.
org.springframework:spring-context 7.0.0-M1 breaking changes
- Removed
Path mapping options that were already marked deprecated for removal have been removed. Code using them will no longer compile or work. github.com - Behavior changed
ClassUtils.forName
ClassUtils.forName() no longer handles binary array class names. Code relying on that form must change how it resolves array types. github.com
org.springframework:spring-context 6.0.0 breaking changes
- Removed
org.springframework.cache.support.AbstractCacheManager.addCache
AbstractCacheManager.addCache was removed in org.springframework:spring-context 6.0.0 central.sonatype.com - Removed
org.springframework.context.annotation.AnnotationConfigUtils.REQUIRED_ANNOTATION_PROCESSOR_BEAN_NAME
org.springframework.context.annotation.AnnotationConfigUtils.REQUIRED_ANNOTATION_PROCESSOR_BEAN_NAME was removed in org.springframework:spring-context 6.0.0 central.sonatype.com
And 108 more in this version.
org.springframework:spring-context 6.0.0-RC2 breaking changes
- Behavior changed
SimpleEvaluationContext
SimpleEvaluationContext no longer allocates arrays, which can change expression evaluation results for code relying on that. github.com - Default changed
DateTimeFormatterRegistrar
DateTimeFormatterRegistrar now falls back to ISO parsing by default, so date parsing may accept different inputs than before. github.com
And 1 more in this version.
org.springframework:spring-context 6.0.0-RC1 breaking changes
- Renamed
ApplicationContextAotInitializer
ApplicationContextAotInitializer was replaced by the AotApplicationContextInitializer interface, so code referring to the old name must switch to the new one. github.com - Renamed
TestCompiler
TestCompiler was moved to a dedicated package, so existing imports of its old location must be updated. github.com
And 7 more in this version.
org.springframework:spring-context 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 5 more in this version.
org.springframework:spring-context 6.0.0-M5 breaking changes
- Behavior changed
Spring MVC now uses PathPatternParser by default for request mapping. Patterns that depend on the older matcher may match differently. github.com - Behavior changed
Nested exception messages no longer include the messages from the causal chain. Code parsing exception messages may see different text. github.com
And 2 more in this version.
org.springframework:spring-context 6.0.0-M4 breaking changes
- Removed
org.springframework.core.NestedIOException
org.springframework.core.NestedIOException is removed; use standard Java exception handling instead. github.com - Removed
TYPE_HIERARCHY_AND_ENCLOSING_CLASSES
The TYPE_HIERARCHY_AND_ENCLOSING_CLASSES search strategy for MergedAnnotations is removed. github.com
And 1 more in this version.
org.springframework:spring-context 6.0.0-M3 breaking changes
- Removed
SocketUtils
The deprecated SocketUtils class is removed. github.com - Behavior changed
Overloaded @Bean methods are no longer allowed by default, so beans with overloaded factory methods must be renamed. github.com
org.springframework:spring-context 6.0.0-M2 breaking changes
- Behavior changed
WebSocketConfigurationSupport
WebSocketConfigurationSupport stops defining a TaskScheduler bean, so applications relying on that bean must provide their own. github.com
org.springframework:spring-context 6.0.0-M1 breaking changes
- Removed
Support for the deprecated Java SecurityManager is removed. github.com - Behavior changed
Each method executed asynchronously, including through class-level @Async, must declare a Future or void return type. github.com
And 3 more in this version.
Related packages
- org.springframework:spring-aop
- org.springframework:spring-aspects
- org.springframework:spring-beans
- org.springframework:spring-context-support
- org.springframework:spring-core
- org.springframework:spring-expression
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.