org.springframework:spring-beans 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-beans 7.0.0 breaking changes
- Removed
Undertow-specific classes for WebSocket support and low-level WebFlux HTTP support are dropped. Undertow users must wait for a Servlet 6.1 compatible release. github.com - Removed
favorPathExtension
The favorPathExtension option, configurable through ContentNegotiationManagerFactoryBean and MVC Java config, has been removed completely. github.com - Removed
HttpComponentsClientHttpRequestFactory.setConnectTimeout
The setConnectTimeout methods have been removed from HttpComponentsClientHttpRequestFactory. github.com - Removed
ignoreUnknownPathExtensions
The ignoreUnknownPathExtensions option, configurable through ContentNegotiationManagerFactoryBean and MVC Java config, has been removed completely. github.com - Removed
javax.annotation
Annotations such as @javax.annotation.Resource and @javax.annotation.PostConstruct are no longer supported. Migrate them to the jakarta.annotation equivalents. github.com - Removed
javax.inject
Annotations such as @javax.inject.Inject are no longer supported. Migrate them to the jakarta.inject equivalents. github.com - Removed
ListenableFuture
ListenableFuture has been removed in favor of CompletableFuture. github.com - Removed
matchOptionalTrailingSeparator
The matchOptionalTrailingSeparator option in PathPatternParser has been removed completely. github.com - Removed
OkHttp3 support
OkHttp3 support has been removed from the framework. github.com - Removed
org.springframework.beans.factory.aot.BeanInstanceSupplier.withShortcuts
BeanInstanceSupplier.withShortcuts was removed in org.springframework:spring-beans 7.0.0 central.sonatype.com - Removed
org.springframework.beans.factory.support.SimpleInstantiationStrategy.setCurrentlyInvokedFactoryMethod
SimpleInstantiationStrategy.setCurrentlyInvokedFactoryMethod was removed in org.springframework:spring-beans 7.0.0 central.sonatype.com - Removed
org.springframework.orm.hibernate5
Native Hibernate support has moved from org.springframework.orm.hibernate5 to org.springframework.orm.jpa.hibernate. github.com - Removed
registeredSuffixPatternMatch
The deprecated registeredSuffixPatternMatch option for annotated controller methods has been removed completely. github.com - Removed
spring-jcl
The spring-jcl module is gone in favor of Apache Commons Logging 1.3.0. Applications should use the Commons Logging API directly, since its calls should not change. github.com - Removed
suffixPatternMatch
The deprecated suffixPatternMatch option for annotated controller methods has been removed completely. github.com - Removed
Theme support
Theme support has been removed from the framework. github.com - Removed
trailingSlashMatch
The trailingSlashMatch option for extensions of AbstractHandlerMapping has been removed completely. github.com - Removed
WebJars support with org.webjars:webjars-locator-core
WebJars support based on webjars-locator-core is removed. Use org.webjars:webjars-locator-lite instead. github.com - Renamed
MemberCategory.DECLARED_FIELDS
The constant is replaced by INVOKE_DECLARED_FIELDS. github.com - Renamed
MemberCategory.PUBLIC_FIELDS
The constant is replaced by INVOKE_PUBLIC_FIELDS. github.com - Renamed
RequestContext.jstPresent
The protected static field jstPresent is renamed to JSTL_PRESENT. github.com - Behavior changed
Jackson CBOR codecs are now configured by default when present on the classpath, which can change codec behavior for existing applications. github.com - Behavior changed
Kotlin nullability of Spring APIs changed due to JSpecify and extension refinements, which may require code changes in Kotlin projects. github.com - Behavior changed
@MockitoSpyBean
Using @MockitoSpyBean with a scoped proxy now fails. Remove the scoped proxy setup or use a different approach for those beans. github.com - Behavior changed
CORS Pre-Flight requests
Pre-flight requests are no longer rejected when the CORS configuration is empty. github.com - Behavior changed
Kotlin Serialization converters
Kotlin Serialization converters and codecs only process types annotated with @Serializable by default. github.com - Behavior changed
MethodParameter.isOptional
The check now only looks at local @Nullable annotations at parameter level, not inherited ones. Java code may need adjustments. github.com - Behavior changed
MutablePersistenceUnitInfo
MutablePersistenceUnitInfo can no longer be assigned to jakarta.persistence.spi.PersistenceUnitInfo. Use SpringPersistenceUnitInfo for custom bootstrapping. github.com - Behavior changed
SpelParserConfiguration
SpEL expressions now fail if they exceed 10,000 operations by default. Keep the default, or configure maxOperations higher or lower for your needs. github.com - Behavior changed
SpringExtension
SpringExtension now uses a test-method scoped ExtensionContext, which can break @Nested tests. Annotate the top-level class with @SpringExtensionConfig or set spring.test.extension.context.scope to test_class. github.com - Behavior changed
TestExecutionListener.prepareTestInstance
Custom listeners that override prepareTestInstance and use testContext.getTestClass() may need to look up the test class via testContext.getTestInstance().getClass(). github.com - Default changed
The stack defaults to Jackson 3.x and falls back to Jackson 2.x. Jackson2ObjectMapperBuilder has no Jackson 3 equivalent; use JsonMapper.builder() instead. github.com - Default changed
The global CGLIB proxy default now applies consistently to all proxy processors, including @Async. Use @Proxyable to opt specific beans out. 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 - Default changed
SimpleEvaluationContext
Expression compilation is off by default in SimpleEvaluationContext. Trusted expressions that need compilation must call withCompilationSupported(). github.com - Signature changed
HttpHeaders
HttpHeaders no longer extends MultiValueMap and several map-like methods were removed. Prefer other methods where possible. github.com - Signature changed
JdbcOperations.queryForList
The Kotlin extension taking an Array<out Any> argument is replaced by a vararg variant. github.com - Signature changed
JdbcOperations.queryForObject
The Kotlin extension taking an Array<out Any> argument is replaced by a vararg variant. github.com - Signature changed
org.springframework.beans.BeanWrapperImpl.getLocalPropertyHandler
Was protected org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler getLocalPropertyHandler(String); now protected org.springframework.beans.BeanWrapperImpl.BeanPropertyHandler getLocalPropertyHandler(String). central.sonatype.com - Signature changed
org.springframework.beans.DirectFieldAccessor.getLocalPropertyHandler
Was protected org.springframework.beans.AbstractNestablePropertyAccessor.PropertyHandler getLocalPropertyHandler(String); now protected org.springframework.beans.DirectFieldAccessor.FieldPropertyHandler getLocalPropertyHandler(String). central.sonatype.com - Signature changed
org.springframework.beans.factory.aot.BeanInstanceSupplier.withGenerator
The signature of BeanInstanceSupplier.withGenerator changed in org.springframework:spring-beans 7.0.0 central.sonatype.com - Signature changed
org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance
Was protected Object getObjectForBeanInstance(Object, String, String, org.springframework.beans.factory.support.RootBeanDefinition); now protected Object getObjectForBeanInstance(Object, Class<?>, String, String... central.sonatype.com - Signature changed
org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean
Was protected Object getObjectFromFactoryBean(org.springframework.beans.factory.FactoryBean<?>, String, boolean); now protected Object getObjectFromFactoryBean(org.springframework.beans.factory.FactoryBean<?>, Class<?>, String, boolean). central.sonatype.com
org.springframework:spring-beans 7.0.0-RC3 breaking changes
- Behavior changed
SpringExtension
SpringExtension now uses a test-method scoped ExtensionContext. Tests relying on the previous context scope may need adjustment. github.com
org.springframework:spring-beans 7.0.0-RC1 breaking changes
- Behavior changed
ConfigurationBeanNameGenerator
ConfigurationBeanNameGenerator is now invoked even if a @Bean name is provided. github.com - Behavior changed
CoroutinesUtils.invokeSuspendingFunction
CoroutinesUtils#invokeSuspendingFunction now introduces automatic context propagation. github.com - Behavior changed
JUnit
The test framework is upgraded to JUnit 6. github.com
org.springframework:spring-beans 7.0.0-M9 breaking changes
- Removed
Undertow
Support for Undertow is dropped because it is not Servlet 6.1 compatible. github.com - Behavior changed
ApiVersionConfigurer.setVersionRequired
Setting versionRequired and defaultVersion together on ApiVersionConfigurer may now raise an error. github.com - Behavior changed
ContextCache
ContextCache now closes an evicted context before loading a new one. github.com - Behavior changed
Jackson 3 constructors
Jackson 3 constructors now accept only JsonMapper instances for JSON. github.com - Behavior changed
JpaTransactionManager.nestedTransactionAllowed
The default for the nestedTransactionAllowed flag on JpaTransactionManager is aligned, changing its default behavior. github.com - Behavior changed
RetryException
RetryException#getCause is now non-nullable. github.com - Behavior changed
RetryPolicy.maxAttempts
The RetryPolicy builder now accepts maxAttempts(0). github.com - Behavior changed
StartupStep
StartupStep now implements AutoCloseable. github.com
org.springframework:spring-beans 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. github.com - Removed
RetryPolicy.maxDuration
maxDuration and maxElapsedTime support is removed from RetryPolicy. github.com - Renamed
RetryPolicy
RetryPolicy is redesigned to directly incorporate BackOff, which may change how existing code is written. github.com - Behavior changed
@Contract
Constraints on @Contract must now be explicitly specified. github.com - Behavior changed
ExceptionTypeFilter
ExceptionTypeFilter now sets matchIfEmpty to true by default. github.com - Behavior changed
InstanceFilter
InstanceFilter and ExceptionTypeFilter now set matchIfEmpty to true by default. github.com - Behavior changed
RetryPolicy
Built-in RetryPolicy implementations are now final and cannot be subclassed. github.com - Behavior changed
RetryTemplate
RetryTemplate was revised for alignment with Reactor. github.com
org.springframework:spring-beans 7.0.0-M3 breaking changes
- Removed
Aware interfaces are no longer supported in BeanRegistrar. Code relying on them must inject the needed dependencies another way. 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-beans 6.0.0 breaking changes
- Removed
org.springframework.beans.annotation.AnnotationBeanUtils
org.springframework.beans.annotation.AnnotationBeanUtils was removed in org.springframework:spring-beans 6.0.0 central.sonatype.com - Removed
org.springframework.beans.BeanWrapperImpl.getSecurityContext
BeanWrapperImpl.getSecurityContext was removed in org.springframework:spring-beans 6.0.0 central.sonatype.com
And 26 more in this version.
org.springframework:spring-beans 6.0.0-RC4 breaking changes
- Configuration changed
The build baseline moves to Servlet 6.0, while runtime compatibility is kept at Servlet 5.0. Applications running on Servlet 5.0 containers should check their setup. github.com
org.springframework:spring-beans 6.0.0-RC2 breaking changes
- Behavior changed
SimpleEvaluationContext
SimpleEvaluationContext no longer allocates arrays, which can change expression evaluation results for existing code. github.com - Default changed
DateTimeFormatterRegistrar
DateTimeFormatterRegistrar now falls back to ISO parsing by default, so date parsing behavior may change for existing code. github.com
And 1 more in this version.
org.springframework:spring-beans 6.0.0-RC1 breaking changes
- Renamed
ApplicationContextAotInitializer
ApplicationContextAotInitializer is replaced by the AotApplicationContextInitializer interface. Code that refers to the old type must switch to the new one. github.com - Behavior changed
The key value name in server observations changes to http.url, so code that reads the old key name will see different data. github.com
And 3 more in this version.
org.springframework:spring-beans 6.0.0-M6 breaking changes
- Removed
GenericPropertiesContextLoader
GenericPropertiesContextLoader has been removed from the TestContext framework. Code using it must switch to another context loader. github.com - Removed
RuntimeHintsUtils
RuntimeHintsUtils has been removed as obsolete. Code using it must be updated. github.com
And 4 more in this version.
org.springframework:spring-beans 6.0.0-M5 breaking changes
- Default changed
Trailing slash match is deprecated and its default value changed from true to false. Code relying on trailing slash matching must enable it explicitly. github.com - Default changed
Spring MVC now uses PathPatternParser by default instead of the previous path matcher. Applications depending on the old matching behavior may need to adjust their configuration. github.com
org.springframework:spring-beans 6.0.0-M4 breaking changes
- Removed
org.springframework.core.NestedIOException
NestedIOException has been removed. Code that catches or throws it must change. github.com - Removed
TYPE_HIERARCHY_AND_ENCLOSING_CLASSES
The TYPE_HIERARCHY_AND_ENCLOSING_CLASSES search strategy for MergedAnnotations has been removed. Code using it must choose another strategy. github.com
And 2 more in this version.
org.springframework:spring-beans 6.0.0-M3 breaking changes
- Removed
SocketUtils
The deprecated SocketUtils class has been removed. Code using it must change to another way of finding free ports. github.com - Behavior changed
@Bean
Overloaded @Bean methods are rejected by default. Rename overloaded bean methods or explicitly allow overloading. github.com
And 1 more in this version.
org.springframework:spring-beans 6.0.0-M2 breaking changes
- Behavior changed
WebSocketConfigurationSupport
WebSocketConfigurationSupport no longer registers a TaskScheduler bean. Applications relying on that bean must define their own. github.com
org.springframework:spring-beans 6.0.0-M1 breaking changes
- Removed
Support for the deprecated Java SecurityManager has been removed. Code that depends on it must be changed. github.com - Renamed
Annotations and interfaces now use the jakarta.* namespace instead of javax.*. Code importing javax equivalents must migrate. github.com
And 3 more in this version.
Related packages
- org.springframework:spring-aop
- org.springframework:spring-aspects
- 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.