---
title: "org.springframework:spring-aspects 7.0.0 Breaking Changes"
description: "What each org.springframework:spring-aspects release removed, renamed or changed: 92 breaking changes in 16 versions on Maven Central, each with its source."
canonical_url: https://since.dev/packages/maven/org.springframework:spring-aspects
last_updated: 2026-12-04
---

# org.springframework:spring-aspects breaking changes

org.springframework:spring-aspects 7.0.0 (November 13, 2025) is its newest release with breaking changes, 36 of them. The first: OkHttp3 support removed in org.springframework:spring-aspects 7.0.0. Every breaking API change we have recorded in org.springframework:spring-aspects on Maven Central: 92 breaking changes in 16 versions. Below, its 16 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `7.1.0`. [Source repository](https://github.com/spring-projects/spring-framework)

Packages on Maven Central run on Java. [Java end of life dates](https://since.dev/calendar/eclipse-temurin.md).

- From [6.0.0-RC2](#v-6-0-0-RC2) to [7.0.0](#v-7-0-0): 71 breaking changes in 12 versions.
- From [6.0.0-M5](#v-6-0-0-M5) to [7.0.0](#v-7-0-0): 88 breaking changes in 15 versions.

## org.springframework:spring-aspects 7.0.0 breaking changes

org.springframework:spring-aspects 7.0.0, released November 13, 2025: 36 breaking changes.

- **Removed**  

Support for OkHttp3 has been removed. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed**  

Undertow-specific WebSocket and WebFlux low-level HTTP classes were dropped; use standard Servlet support once Undertow supports Servlet 6.1. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed**  

Theme support has been removed. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `excludes`  

Registration of excludes for resource hints has been removed completely. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `favorPathExtension`  

favorPathExtension and ignoreUnknownPathExtensions, and the path extension negotiation strategies, have been removed. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `HttpComponentsClientHttpRequestFactory.setConnectTimeout`  

The setConnectTimeout methods of HttpComponentsClientHttpRequestFactory have been removed. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `Jackson2ObjectMapperBuilder`  

Use Jackson's JsonMapper.builder() or CBORMapper.builder() instead. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **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](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `ListenableFuture`  

Use CompletableFuture instead of ListenableFuture. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `matchOptionalTrailingSeparator`  

The matchOptionalTrailingSeparator option in PathPatternParser has been removed. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `org.webjars:webjars-locator-core`  

WebJars support based on webjars-locator-core is removed; use webjars-locator-lite. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `spring-jcl`  

The spring-jcl module is gone; use Apache Commons Logging 1.3.0 instead. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `suffixPatternMatch`  

The suffixPatternMatch option for annotated controller methods has been removed completely. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Removed** `trailingSlashMatch`  

The trailingSlashMatch option has been removed completely. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Renamed** `MemberCategory.DECLARED_FIELDS`  

The constant was replaced by INVOKE_DECLARED_FIELDS. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Renamed** `MemberCategory.PUBLIC_FIELDS`  

The constant was replaced by INVOKE_PUBLIC_FIELDS. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Renamed** `org.springframework.orm.hibernate5`  

The Hibernate support formerly in orm.hibernate5 now lives in orm.jpa.hibernate. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Renamed** `RequestContext.jstPresent`  

The protected static field jstPresent was renamed to JSTL_PRESENT. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Renamed** `Retryable.maxAttempts`  

The maxAttempts attribute of @Retryable is renamed to maxRetries. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0)
- **Renamed** `RetryPolicy.maxAttempts`  

The maxAttempts property of RetryPolicy is renamed to maxRetries. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0)
- **Behavior changed**  

Resource hints use glob syntax; wildcards must be rewritten, for example to match subfolders use double star. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Behavior changed**  

SpEL evaluation now fails beyond 10,000 operations by default; raise maxOperations if needed. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Behavior changed**  

Applications must deploy on Servlet 6.1 containers such as Tomcat 11 or Jetty 12.1 or later. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Behavior changed**  

Preflight requests are accepted when the CORS configuration is empty. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Behavior changed** `@MockitoSpyBean`  

Using @MockitoSpyBean with a scoped proxy is now rejected. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0)
- **Behavior changed** `MethodParameter.isOptional`  

The check now only considers nullable annotations on the parameter itself, not inherited ones. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Behavior changed** `MutablePersistenceUnitInfo`  

It cannot be assigned to jakarta.persistence.spi.PersistenceUnitInfo anymore; use SpringPersistenceUnitInfo for custom bootstrapping. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Behavior changed** `SpringExtension`  

Nested test hierarchies now use a test-method scoped context; custom TestExecutionListeners may need changes. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Default changed**  

Kotlin Serialization converters now only process types annotated with serializable, to avoid clashes with Jackson. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Default changed**  

Global proxy type defaulting to CGLIB now applies consistently to all proxy processors, including @Async. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Default changed** `DestinationResolver`  

The default is now SimpleDestinationResolver, which caches destinations; configure DynamicDestinationResolver for fresh resolution. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Default changed** `SimpleEvaluationContext`  

Compilation is off by default; call withCompilationSupported() on the builder to opt in. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **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](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Signature changed** `HttpHeaders`  

HttpHeaders no longer extends MultiValueMap and several map-like methods were removed; prefer other methods. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Signature changed** `JdbcOperations.queryForList`  

The Kotlin extension with an Array argument was replaced by a vararg variant; update calls. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)
- **Signature changed** `JdbcOperations.queryForObject`  

The Kotlin extension with an Array argument was replaced by a vararg variant; update calls. [github.com](https://github.com/spring-projects/spring-framework/wiki/Spring-Framework-7.0-Release-Notes)

## org.springframework:spring-aspects 7.0.0-RC3 breaking changes

org.springframework:spring-aspects 7.0.0-RC3, released November 13, 2025: 3 breaking changes.

- **Removed** `BeanRegistrarDsl`  

Callable references are no longer supported in BeanRegistrarDsl. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC3)
- **Removed** `RestTestClient`  

RestTestClient no longer depends on Hamcrest, so code relying on Hamcrest support through it must change. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC3)
- **Behavior changed** `SpringExtension`  

SpringExtension now uses a test-method scoped ExtensionContext. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC3)

## org.springframework:spring-aspects 7.0.0-RC1 breaking changes

org.springframework:spring-aspects 7.0.0-RC1, released November 13, 2025: 4 breaking changes.

- **Behavior changed**  

Controllers proxied with CGLIB now reject effectively private handler methods. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC1)
- **Behavior changed** `ConfigurationBeanNameGenerator`  

The ConfigurationBeanNameGenerator is now invoked even if a @Bean name attribute is provided. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC1)
- **Behavior changed** `UriComponentsBuilder.query`  

Passing null to UriComponentsBuilder query no longer clears existing query parameters. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC1)
- **Default changed** `EnableAsync`  

The default order between @EnableAsync and @EnableResilientMethods is aligned, which changes the default. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-RC1)

## org.springframework:spring-aspects 7.0.0-M9 breaking changes

org.springframework:spring-aspects 7.0.0-M9, released November 13, 2025: 5 breaking changes.

- **Removed**  

Undertow is no longer supported because it is not Servlet 6.1 compatible. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M9)
- **Removed** `HttpServiceClient`  

The HttpServiceClient annotation is no longer supported. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M9)
- **Behavior changed** `ContextCache`  

ContextCache now closes an evicted context before loading a new context. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M9)
- **Default changed** `JpaTransactionManager.nestedTransactionAllowed`  

The nestedTransactionAllowed flag of JpaTransactionManager now has a different default. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M9)
- **Signature changed**  

Jackson 3 constructors now accept only JsonMapper instances for JSON. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M9)

## org.springframework:spring-aspects 7.0.0-M8 breaking changes

org.springframework:spring-aspects 7.0.0-M8, released November 13, 2025: 1 breaking change.

- **Renamed** `ApiVersionConfigurer.useRequestParam`  

Call useQueryParam instead of useRequestParam on ApiVersionConfigurer. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M8)

## org.springframework:spring-aspects 7.0.0-M7 breaking changes

org.springframework:spring-aspects 7.0.0-M7, released November 13, 2025: 7 breaking changes.

- **Removed** `RetryPolicy.maxDuration`  

RetryPolicy no longer accepts maxDuration or maxElapsedTime. Remove calls that set them. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)
- **Renamed** `org.springframework.orm.hibernate5`  

The orm.hibernate5 package moved to orm.jpa.hibernate. Update imports to the new package. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)
- **Behavior changed** `RetryPolicy`  

Built-in RetryPolicy implementations can no longer be subclassed. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)
- **Default changed** `ExceptionTypeFilter`  

ExceptionTypeFilter sets matchIfEmpty to true by default. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)
- **Default changed** `InstanceFilter`  

InstanceFilter sets matchIfEmpty to true by default. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)
- **Signature changed** `HttpRequestValues.Processor`  

Implementations of HttpRequestValues.Processor receive an extra MethodParameter array. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)
- **Signature changed** `RetryPolicy`  

RetryPolicy now includes BackOff directly, so code built on the old design must be updated. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M7)

## Older versions

10 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### org.springframework:spring-aspects 7.0.0-M6 breaking changes

org.springframework:spring-aspects 7.0.0-M6, released November 13, 2025: 6 breaking changes.

- **Removed** `MockEnvironment.setProperty`  

The (String, String) overloads of setProperty() and withProperty() on MockEnvironment are removed. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M6)
- **Removed** `MockEnvironment.withProperty`  

The (String, String) overload of withProperty() on MockEnvironment is removed. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M6)

And 4 more in this version.

### org.springframework:spring-aspects 7.0.0-M5 breaking changes

org.springframework:spring-aspects 7.0.0-M5, released November 13, 2025: 1 breaking change.

- **Behavior changed** `ReactorClientHttpRequestFactory`  

The default HttpClient in ReactorClientHttpRequestFactory now evaluates system properties. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M5)

### org.springframework:spring-aspects 7.0.0-M4 breaking changes

org.springframework:spring-aspects 7.0.0-M4, released November 13, 2025: 1 breaking change.

- **Behavior changed**  

Servlet 6.1 and WebSocket 2.2 are now enforced as baselines. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M4)

### org.springframework:spring-aspects 7.0.0-M3 breaking changes

org.springframework:spring-aspects 7.0.0-M3, released November 13, 2025: 2 breaking changes.

- **Removed** `convention-based annotation attribute override support`  

Convention-based annotation attribute override support is removed. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M3)
- **Removed** `SqlQuery.rowsExpected`  

The rowsExpected property of SqlQuery has been removed. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M3)

### org.springframework:spring-aspects 7.0.0-M2 breaking changes

org.springframework:spring-aspects 7.0.0-M2, released November 13, 2025: 2 breaking changes.

- **Removed**  

Netty 5 is no longer supported. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M2)
- **Behavior changed** `@Component`  

An explicitly aliased value attribute is no longer used as the @Component bean name. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M2)

### org.springframework:spring-aspects 7.0.0-M1 breaking changes

org.springframework:spring-aspects 7.0.0-M1, released November 13, 2025: 3 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](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M1)
- **Removed** `ClassUtils.forName`  

ClassUtils.forName() no longer accepts binary array class names; code relying on that format must change. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v7.0.0-M1)

And 1 more in this version.

### org.springframework:spring-aspects 6.0.0-RC2 breaking changes

org.springframework:spring-aspects 6.0.0-RC2, released November 16, 2022: 2 breaking changes.

- **Behavior changed** `SimpleEvaluationContext`  

SimpleEvaluationContext now disables array allocation, which changes expression evaluation for code that relied on it. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-RC2)
- **Default changed** `DateTimeFormatterRegistrar`  

DateTimeFormatterRegistrar now falls back to ISO parsing by default, so date strings parse differently than before. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-RC2)

### org.springframework:spring-aspects 6.0.0-RC1 breaking changes

org.springframework:spring-aspects 6.0.0-RC1, released November 16, 2022: 8 breaking changes.

- **Renamed** `ApplicationContextAotInitializer`  

ApplicationContextAotInitializer is replaced by an AotApplicationContextInitializer interface. Code using the old name must switch to the new one. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-RC1)
- **Renamed** `TestCompiler`  

TestCompiler now lives in a dedicated package, so imports referencing its old location must be updated. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-RC1)

And 6 more in this version.

### org.springframework:spring-aspects 6.0.0-M6 breaking changes

org.springframework:spring-aspects 6.0.0-M6, released November 16, 2022: 7 breaking changes.

- **Removed**  

Setting the default CacheAwareContextLoaderDelegate via a system property is no longer supported. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-M6)
- **Removed** `GenericPropertiesContextLoader`  

The deprecated GenericPropertiesContextLoader has been removed from the TestContext framework. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-M6)

And 5 more in this version.

### org.springframework:spring-aspects 6.0.0-M5 breaking changes

org.springframework:spring-aspects 6.0.0-M5, released November 16, 2022: 4 breaking changes.

- **Behavior changed**  

Cookie and session locale resolvers now resolve the default locale and timezone differently. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-M5)
- **Behavior changed**  

The message of a nested exception no longer includes the messages from its causal chain. [github.com](https://github.com/spring-projects/spring-framework/releases/tag/v6.0.0-M5)

And 2 more in this version.

## Related packages

- [org.springframework:spring-aop](https://since.dev/packages/maven/org.springframework:spring-aop.md)
- [org.springframework:spring-beans](https://since.dev/packages/maven/org.springframework:spring-beans.md)
- [org.springframework:spring-context](https://since.dev/packages/maven/org.springframework:spring-context.md)
- [org.springframework:spring-context-support](https://since.dev/packages/maven/org.springframework:spring-context-support.md)
- [org.springframework:spring-core](https://since.dev/packages/maven/org.springframework:spring-core.md)
- [org.springframework:spring-expression](https://since.dev/packages/maven/org.springframework:spring-expression.md)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
