org.springframework:spring-context-support 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-support 7.0.0 breaking changes
- Removed
Theme support was removed from the framework. github.com - Removed
The spring-jcl module is gone in favor of Apache Commons Logging 1.3.0. Most applications should be unaffected since it was a transitive dependency. github.com - Removed
Undertow-specific classes for WebSocket and low-level WebFlux HTTP support were dropped because Undertow lacks Servlet 6.1 support. github.com - Removed
OkHttp3 support was removed from the framework. github.com - Removed
favorPathExtension
favorPathExtension and ignoreUnknownPathExtensions, and the path extension negotiation strategies, were removed. github.com - Removed
HttpComponentsClientHttpRequestFactory.setConnectTimeout
The setConnectTimeout methods were removed from HttpComponentsClientHttpRequestFactory. github.com - Removed
javax.inject.Inject
Annotations from javax.annotation and javax.inject are no longer supported. Migrate to the jakarta.annotation and jakarta.inject equivalents. github.com - Removed
ListenableFuture
ListenableFuture was removed in favor of CompletableFuture. github.com - Removed
org.springframework.cache.caffeine.CaffeineCacheManager.resetCaches
CaffeineCacheManager.resetCaches was removed in org.springframework:spring-context-support 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5
Native Hibernate support moved from the hibernate5 package to orm.jpa.hibernate. github.com - Removed
org.springframework.scheduling.quartz.SimpleThreadPoolTaskExecutor.submitListenable
SimpleThreadPoolTaskExecutor.submitListenable was removed in org.springframework:spring-context-support 7.0.0 central.sonatype.com - Removed
org.webjars:webjars-locator-core
WebJars support with webjars-locator-core was removed. Use webjars-locator-lite instead. github.com - Removed
PathPatternParser.matchOptionalTrailingSeparator
The matchOptionalTrailingSeparator option was removed from PathPatternParser. github.com - Removed
suffixPatternMatch
The deprecated suffixPatternMatch and registeredSuffixPatternMatch options were removed. github.com - Removed
trailingSlashMatch
The trailingSlashMatch option was removed from AbstractHandlerMapping extensions. github.com - Renamed
MemberCategory.PUBLIC_FIELDS
PUBLIC_FIELDS and DECLARED_FIELDS were replaced by INVOKE_PUBLIC_FIELDS and INVOKE_DECLARED_FIELDS. github.com - Renamed
RequestContext.jstPresent
The protected static field jstPresent was renamed to JSTL_PRESENT. github.com - Behavior changed
Wildcard resource hints now use glob syntax and only match the single-level pattern; use ** to match subfolders. Excludes registration was removed. github.com - Behavior changed
Kotlin Serialization converters now only process types annotated as serializable by default. github.com - Behavior changed
Nullability of Kotlin-visible Spring APIs changed, so Kotlin projects may need code changes. github.com - Behavior changed
Contexts are paused only when the next cached context differs, configurable via spring.test.context.cache.pause. github.com - Behavior changed
HttpHeaders
HttpHeaders no longer implements the MultiValueMap contract and several map-like methods were removed. github.com - Behavior changed
MethodParameter.isOptional
Inherited @Nullable annotations are no longer considered, so Java callers may need adjustments. 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. github.com - Behavior changed
SpringExtension
Nested test hierarchies now use a test-method scoped context, which may break custom TestExecutionListeners. Annotate the top-level class to restore the old scope if needed. github.com - Behavior changed
TestContext.getTestClass
Listeners overriding prepareTestInstance should look up the test class via testContext.getTestInstance().getClass(). github.com - Default changed
The global CGLIB proxy default now applies to all proxy processors, including @Async. github.com - Default changed
JmsTemplate
The default is now SimpleDestinationResolver, which caches Queue and Topic instances. Configure DynamicDestinationResolver to resolve fresh each time. github.com - Default changed
SimpleEvaluationContext
Compilation is off by default; call withCompilationSupported() on the builder to opt in for trusted expressions. github.com - Default changed
SpelParserConfiguration
Evaluation halts with an exception past 10,000 operations. Raise the limit via maxOperations or spring.expression.maxOperations if needed. 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 - Signature changed
org.springframework.cache.jcache.interceptor.JCacheInterceptor.<init>
Was JCacheInterceptor(java.util.function.Supplier<org.springframework.cache.interceptor.CacheErrorHandler>); now JCacheInterceptor(java.util.function.Supplier<? extends org.springframework.cache.interceptor.CacheErrorHandler>). central.sonatype.com - Signature changed
org.springframework.scheduling.quartz.SimpleThreadPoolTaskExecutor
Was class SimpleThreadPoolTaskExecutor extends org.quartz.simpl.SimpleThreadPool implements org.springframework.core.task.AsyncListenableTaskExecutor, org.springframework.scheduling.SchedulingTaskExecutor... central.sonatype.com
org.springframework:spring-context-support 7.0.0-RC1 breaking changes
- Behavior changed
ConfigurationBeanNameGenerator
ConfigurationBeanNameGenerator is now invoked even when a @Bean name is provided, changing bean naming. github.com - Behavior changed
HttpMessageConverters
Configuration of HttpMessageConverters in RestClient and RestTestClient is changed. github.com - Behavior changed
TransactionCallback
Nullability of TransactionCallback, TransactionOperations and TransactionalOperator is revised. github.com
org.springframework:spring-context-support 7.0.0-M9 breaking changes
- Behavior changed
ApiVersionConfigurer.setVersionRequired
Calling setVersionRequired and setDefaultVersion together may now raise an error. github.com - Behavior changed
JpaTransactionManager.nestedTransactionAllowed
The default for nestedTransactionAllowed in JpaTransactionManager is aligned, changing existing behavior. github.com - Behavior changed
RetryException
RetryException#getCause is no longer nullable, which may affect callers handling null causes. github.com - Default changed
JpaTransactionManager.nestedTransactionAllowed
The nestedTransactionAllowed flag now defaults differently in JpaTransactionManager. github.com
org.springframework:spring-context-support 7.0.0-M7 breaking changes
- Removed
org.springframework.orm.hibernate5
The orm.hibernate5 package is migrated to orm.jpa.hibernate for Hibernate ORM 7.0; update imports. github.com - Removed
RetryPolicy.maxDuration
Support for maxDuration/maxElapsedTime in RetryPolicy is removed; code using them must be changed. github.com - Behavior changed
ExceptionTypeFilter
ExceptionTypeFilter now sets matchIfEmpty to true by default. github.com - Behavior changed
HttpMessageConverters
Converter registration defaults change; review custom HttpMessageConverters setup. github.com - Behavior changed
InstanceFilter
InstanceFilter and ExceptionTypeFilter now set matchIfEmpty to true by default, changing matching for empty filters. github.com
org.springframework:spring-context-support 7.0.0-M6 breaking changes
- Removed
MockEnvironment.setProperty
The (String, String) overloads of setProperty() and withProperty() in MockEnvironment are removed. github.com - Removed
MockEnvironment.withProperty
The (String, String) overload of withProperty() in MockEnvironment is removed. github.com - Behavior changed
HttpServiceGroupConfigurer
The HttpServiceGroupConfigurer API is updated, which may affect existing implementations. github.com - Behavior changed
JacksonJsonMessageConverter
Jackson 3 is now used, which may change existing Jackson behavior. github.com - Behavior changed
StringUtils.getFilename
Nullability contracts for quote and getFilename in StringUtils are declared. github.com
org.springframework:spring-context-support 7.0.0-M5 breaking changes
- Behavior changed
Jackson support
Jackson support is revisited, which may alter existing Jackson behavior. github.com
Older versions
12 older versions, each with its first changes. Sign up to see every change
Show 12 older versions
org.springframework:spring-context-support 7.0.0-M4 breaking changes
- Behavior changed
Servlet 6.1 and WebSocket 2.2 are now required baselines. github.com - Behavior changed
Compiled SpEL expressions now use Java 17 bytecode level. github.com
And 2 more in this version.
org.springframework:spring-context-support 7.0.0-M3 breaking changes
- Removed
Convention-based annotation attribute overrides are removed; use explicit @AliasFor declarations. github.com - Removed
BeanRegistrar
BeanRegistrar no longer supports Aware interfaces. github.com
And 2 more in this version.
org.springframework:spring-context-support 7.0.0-M2 breaking changes
- Removed
Netty 5 support is removed from the framework. github.com - Behavior changed
AnnotatedElementUtils.getAllAnnotationAttributes
The explicitly aliased value attribute is no longer used as the @Component bean name. github.com
org.springframework:spring-context-support 7.0.0-M1 breaking changes
- Removed
Path mapping options previously marked as deprecated for removal are removed. github.com - Removed
ClassUtils.forName
ClassUtils.forName() no longer accepts binary array names; use the standard array class names instead. github.com
And 1 more in this version.
org.springframework:spring-context-support 6.0.0 breaking changes
- Removed
org.springframework.cache.ehcache.EhCacheCache
org.springframework.cache.ehcache.EhCacheCache was removed in org.springframework:spring-context-support 6.0.0 central.sonatype.com - Removed
org.springframework.cache.ehcache.EhCacheCacheManager
org.springframework.cache.ehcache.EhCacheCacheManager was removed in org.springframework:spring-context-support 6.0.0 central.sonatype.com
And 48 more in this version.
org.springframework:spring-context-support 6.0.0-RC4 breaking changes
- Configuration changed
The build now targets Servlet 6.0, while runtime remains compatible with Servlet 5.0. Build setups must provide Servlet 6.0 APIs. github.com
org.springframework:spring-context-support 6.0.0-RC3 breaking changes
- Behavior changed
Server observation contextual names were aligned with OpenTelemetry semantic conventions. Code or dashboards matching the old names must be updated. github.com
org.springframework:spring-context-support 6.0.0-RC2 breaking changes
- Behavior changed
SimpleEvaluationContext
SimpleEvaluationContext now disables array allocation. Expressions that relied on array allocation will behave differently. github.com - Default changed
DateTimeFormatterRegistrar
DateTimeFormatterRegistrar now falls back to ISO parsing by default. Code depending on the previous parsing behavior must configure it explicitly. github.com
And 1 more in this version.
org.springframework:spring-context-support 6.0.0-RC1 breaking changes
- Renamed
ApplicationContextAotInitializer
The AOT context initializer type was replaced by AotApplicationContextInitializer. Code that references the old type must switch to the new interface. github.com - Behavior changed
The key value name in server observations changed to http.url. Dashboards or code matching the old name must be updated. github.com
And 3 more in this version.
org.springframework:spring-context-support 6.0.0-M6 breaking changes
- Removed
Support for setting the default CacheAwareContextLoaderDelegate via a system property has been removed. Configure it another way. github.com - Removed
GenericPropertiesContextLoader
The deprecated GenericPropertiesContextLoader has been removed from the TestContext framework. Use a replacement loader instead. github.com
And 4 more in this version.
org.springframework:spring-context-support 6.0.0-M5 breaking changes
- Behavior changed
Nested exception messages no longer include the messages from the causal chain. Code that parses these messages must be updated. github.com - Default changed
Spring MVC now uses PathPatternParser by default instead of the previous path matching parser. Check that your path patterns still match. github.com
And 1 more in this version.
org.springframework:spring-context-support 6.0.0-M1 breaking changes
- Renamed
Annotations and interfaces move from the javax.* to the jakarta.* namespace, so code importing the old javax.* types must be updated to the jakarta.* imports. github.com - Behavior changed
Spring Context Support now uses the Jakarta EE com.sun.mail:jakarta.mail and com.sun.activation:jakarta.activation artifacts, so code relying on the javax.mail classes must switch to the jakarta.mail dependencies and packages. github.com
Related packages
- org.springframework:spring-aop
- org.springframework:spring-aspects
- org.springframework:spring-beans
- org.springframework:spring-context
- 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.