org.springframework:spring-aspects 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.
- From 6.0.0-RC2 to 7.0.0: 71 breaking changes in 12 versions.
- From 6.0.0-M5 to 7.0.0: 88 breaking changes in 15 versions.
org.springframework:spring-aspects 7.0.0 breaking changes
- Removed
Support for OkHttp3 has been removed. github.com - Removed
Undertow-specific WebSocket and WebFlux low-level HTTP classes were dropped; use standard Servlet support once Undertow supports Servlet 6.1. github.com - Removed
Theme support has been removed. github.com - Removed
excludes
Registration of excludes for resource hints has been removed completely. github.com - Removed
favorPathExtension
favorPathExtension and ignoreUnknownPathExtensions, and the path extension negotiation strategies, have been removed. github.com - Removed
HttpComponentsClientHttpRequestFactory.setConnectTimeout
The setConnectTimeout methods of HttpComponentsClientHttpRequestFactory have been removed. github.com - Removed
Jackson2ObjectMapperBuilder
Use Jackson's JsonMapper.builder() or CBORMapper.builder() instead. github.com - Removed
javax.annotation.Resource
Annotations from javax.annotation and javax.inject are no longer supported; migrate to the jakarta.annotation and jakarta.inject equivalents. github.com - Removed
ListenableFuture
Use CompletableFuture instead of ListenableFuture. github.com - Removed
matchOptionalTrailingSeparator
The matchOptionalTrailingSeparator option in PathPatternParser has been removed. github.com - Removed
org.webjars:webjars-locator-core
WebJars support based on webjars-locator-core is removed; use webjars-locator-lite. github.com - Removed
spring-jcl
The spring-jcl module is gone; use Apache Commons Logging 1.3.0 instead. github.com - Removed
suffixPatternMatch
The suffixPatternMatch option for annotated controller methods has been removed completely. github.com - Removed
trailingSlashMatch
The trailingSlashMatch option has been removed completely. 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
org.springframework.orm.hibernate5
The Hibernate support formerly in orm.hibernate5 now lives in orm.jpa.hibernate. github.com - Renamed
RequestContext.jstPresent
The protected static field jstPresent was renamed to JSTL_PRESENT. github.com - Renamed
Retryable.maxAttempts
The maxAttempts attribute of @Retryable is renamed to maxRetries. github.com - Renamed
RetryPolicy.maxAttempts
The maxAttempts property of RetryPolicy is renamed to maxRetries. github.com - Behavior changed
Resource hints use glob syntax; wildcards must be rewritten, for example to match subfolders use double star. github.com - Behavior changed
SpEL evaluation now fails beyond 10,000 operations by default; raise maxOperations if needed. github.com - Behavior changed
Applications must deploy on Servlet 6.1 containers such as Tomcat 11 or Jetty 12.1 or later. github.com - Behavior changed
Preflight requests are accepted when the CORS configuration is empty. github.com - Behavior changed
@MockitoSpyBean
Using @MockitoSpyBean with a scoped proxy is now rejected. github.com - Behavior changed
MethodParameter.isOptional
The check now only considers nullable annotations on the parameter itself, not inherited ones. github.com - Behavior changed
MutablePersistenceUnitInfo
It cannot be assigned to jakarta.persistence.spi.PersistenceUnitInfo anymore; use SpringPersistenceUnitInfo for custom bootstrapping. github.com - Behavior changed
SpringExtension
Nested test hierarchies now use a test-method scoped context; custom TestExecutionListeners may need changes. github.com - Default changed
Kotlin Serialization converters now only process types annotated with serializable, to avoid clashes with Jackson. github.com - Default changed
Global proxy type defaulting to CGLIB now applies consistently to all proxy processors, including @Async. github.com - Default changed
DestinationResolver
The default is now SimpleDestinationResolver, which caches destinations; configure DynamicDestinationResolver for fresh resolution. github.com - Default changed
SimpleEvaluationContext
Compilation is off by default; call withCompilationSupported() on the builder to opt in. github.com - Default changed
spring.test.context.cache.pause
Since 7.0.3 contexts pause only when the next cached context differs; set the property to always to keep the old behavior. github.com - Signature changed
HttpHeaders
HttpHeaders no longer extends MultiValueMap and several map-like methods were removed; prefer other methods. github.com - Signature changed
JdbcOperations.queryForList
The Kotlin extension with an Array argument was replaced by a vararg variant; update calls. github.com - Signature changed
JdbcOperations.queryForObject
The Kotlin extension with an Array argument was replaced by a vararg variant; update calls. github.com
org.springframework:spring-aspects 7.0.0-RC3 breaking changes
- Removed
BeanRegistrarDsl
Callable references are no longer supported in BeanRegistrarDsl. github.com - Removed
RestTestClient
RestTestClient no longer depends on Hamcrest, so code relying on Hamcrest support through it must change. github.com - Behavior changed
SpringExtension
SpringExtension now uses a test-method scoped ExtensionContext. github.com
org.springframework:spring-aspects 7.0.0-RC1 breaking changes
- Behavior changed
Controllers proxied with CGLIB now reject effectively private handler methods. github.com - Behavior changed
ConfigurationBeanNameGenerator
The ConfigurationBeanNameGenerator is now invoked even if a @Bean name attribute is provided. 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 is aligned, which changes the default. github.com
org.springframework:spring-aspects 7.0.0-M9 breaking changes
- Removed
Undertow is no longer supported because it is not Servlet 6.1 compatible. github.com - Removed
HttpServiceClient
The HttpServiceClient annotation is no longer supported. github.com - Behavior changed
ContextCache
ContextCache now closes an evicted context before loading a new context. github.com - Default changed
JpaTransactionManager.nestedTransactionAllowed
The nestedTransactionAllowed flag of JpaTransactionManager now has a different default. github.com - Signature changed
Jackson 3 constructors now accept only JsonMapper instances for JSON. github.com
org.springframework:spring-aspects 7.0.0-M8 breaking changes
- Renamed
ApiVersionConfigurer.useRequestParam
Call useQueryParam instead of useRequestParam on ApiVersionConfigurer. github.com
org.springframework:spring-aspects 7.0.0-M7 breaking changes
- Removed
RetryPolicy.maxDuration
RetryPolicy no longer accepts maxDuration or maxElapsedTime. Remove calls that set them. github.com - Renamed
org.springframework.orm.hibernate5
The orm.hibernate5 package moved to orm.jpa.hibernate. Update imports to the new package. github.com - Behavior changed
RetryPolicy
Built-in RetryPolicy implementations can no longer be subclassed. github.com - Default changed
ExceptionTypeFilter
ExceptionTypeFilter sets matchIfEmpty to true by default. github.com - Default changed
InstanceFilter
InstanceFilter sets matchIfEmpty to true by default. github.com - Signature changed
HttpRequestValues.Processor
Implementations of HttpRequestValues.Processor receive an extra MethodParameter array. github.com - Signature changed
RetryPolicy
RetryPolicy now includes BackOff directly, so code built on the old design must be updated. github.com
Older versions
10 older versions, each with its first changes. Sign up to see every change
Show 10 older versions
org.springframework:spring-aspects 7.0.0-M6 breaking changes
- Removed
MockEnvironment.setProperty
The (String, String) overloads of setProperty() and withProperty() on MockEnvironment are removed. github.com - Removed
MockEnvironment.withProperty
The (String, String) overload of withProperty() on MockEnvironment is removed. github.com
And 4 more in this version.
org.springframework:spring-aspects 7.0.0-M5 breaking changes
- Behavior changed
ReactorClientHttpRequestFactory
The default HttpClient in ReactorClientHttpRequestFactory now evaluates system properties. github.com
org.springframework:spring-aspects 7.0.0-M4 breaking changes
- Behavior changed
Servlet 6.1 and WebSocket 2.2 are now enforced as baselines. github.com
org.springframework:spring-aspects 7.0.0-M3 breaking changes
- Removed
convention-based annotation attribute override support
Convention-based annotation attribute override support is removed. github.com - Removed
SqlQuery.rowsExpected
The rowsExpected property of SqlQuery has been removed. github.com
org.springframework:spring-aspects 7.0.0-M2 breaking changes
- Removed
Netty 5 is no longer supported. github.com - Behavior changed
@Component
An explicitly aliased value attribute is no longer used as the @Component bean name. github.com
org.springframework:spring-aspects 7.0.0-M1 breaking changes
- Removed
The spring-jcl bridge is replaced by Apache Commons Logging 1.3; build and classpath setups referencing spring-jcl must change. github.com - Removed
ClassUtils.forName
ClassUtils.forName() no longer accepts binary array class names; code relying on that format must change. github.com
And 1 more in this version.
org.springframework:spring-aspects 6.0.0-RC2 breaking changes
- Behavior changed
SimpleEvaluationContext
SimpleEvaluationContext now disables array allocation, which changes expression evaluation for code that relied on it. github.com - Default changed
DateTimeFormatterRegistrar
DateTimeFormatterRegistrar now falls back to ISO parsing by default, so date strings parse differently than before. github.com
org.springframework:spring-aspects 6.0.0-RC1 breaking changes
- Renamed
ApplicationContextAotInitializer
ApplicationContextAotInitializer is replaced by an AotApplicationContextInitializer interface. Code using the old name must switch to the new one. github.com - Renamed
TestCompiler
TestCompiler now lives in a dedicated package, so imports referencing its old location must be updated. github.com
And 6 more in this version.
org.springframework:spring-aspects 6.0.0-M6 breaking changes
- Removed
Setting the default CacheAwareContextLoaderDelegate via a system property is no longer supported. 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-aspects 6.0.0-M5 breaking changes
- Behavior changed
Cookie and session locale resolvers now resolve the default locale and timezone differently. github.com - Behavior changed
The message of a nested exception no longer includes the messages from its causal chain. github.com
And 2 more in this version.
Related packages
- org.springframework:spring-aop
- org.springframework:spring-beans
- org.springframework:spring-context
- 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.