Skip to content
CAI
Software that uses CAICheck a score

spring-projects/spring-framework

54.1

Adequate · 13 November 2026

699.6k

lines of production code

Java

primary language

6

measurements over time

CAI band scale
CAI trend line
CAI lens gauges

What this system is

Features

AOT support for scoped proxies and AspectJ advisors

Spring AOP now provides Ahead-of-Time (AOT) processing support for scoped proxies and AspectJ advisors. This change introduces new AOT factory registrations that allow the application context to be pre-warmed for these components, improving startup performance and enabling native image compatibility for features relying on scoped proxies and AspectJ-based advice.

spring-aop/src/main/resources/META-INF/spring · high confidence

Add AspectJ-based caching support for Spring and JSR-107 annotations

This change introduces new AspectJ aspects that enable annotation-driven caching without requiring Spring proxies. It adds support for Spring's native caching annotations (@Cacheable, @CachePut, @CacheEvict, @Caching) via AnnotationCacheAspect, and for standard JSR-107 (JCache) annotations (@CacheResult, @CachePut, @CacheRemove, @CacheRemoveAll) via JCacheCacheAspect. Configuration is provided through AspectJCachingConfiguration and AspectJJCacheConfiguration, allowing developers to apply caching semantics directly to implementation classes using compile-time or load-time weaving.

spring-aspects/src/main/java/org/springframework/cache · high confidence

Add Caffeine cache support

Introduces a new CaffeineCacheManager implementation within Spring's cache abstraction, allowing users to configure and manage caches backed by the Caffeine library. This new component supports dynamic cache creation, static cache definitions, custom Caffeine builders or specifications, cache loaders, and asynchronous retrieval modes.

spring-context-support/src/main/java/org/springframework/cache/caffeine · high confidence

Add JCache (JSR-107) support with CacheManager and FactoryBean

Introduces new classes in the \spring-context-support\ module to enable caching backed by JSR-107 (JCache) providers. \JCacheCacheManager\ implements Spring's \CacheManager\ interface, allowing users to configure a backing \javax.cache.CacheManager\ and control null-value handling. \JCacheManagerFactoryBean\ provides a convenient way to create and manage the lifecycle of a JCache \CacheManager\ within a Spring context, supporting custom URIs and properties. The package also includes null-safety annotations via JSpecify.

spring-context-support/src/main/java/org/springframework/cache/jcache · high confidence

Add JSR-107 (JCache) annotation support

This change introduces a new set of interceptor and operation classes in the \spring-context-support\ module to enable caching via JSR-107 annotations (\@CacheResult\, \@CachePut\, \@CacheRemove\, \@CacheRemoveAll\). It provides the infrastructure to intercept methods, resolve caches and keys, and handle caching logic (including early/late execution and exception caching) by bridging Spring's cache abstraction with the JCache specification.

spring-context-support/src/main/java/org/springframework/cache/jcache/interceptor · high confidence

Added AOT runtime hints for JavaMail and Quartz

The Spring Context Support module now registers runtime hints for Ahead-of-Time (AOT) compilation, specifically enabling proper resource handling for JavaMail MIME types and Quartz SchedulerFactoryBean. This ensures that these components function correctly in native images or optimized runtime environments where reflection and resource loading are restricted by default.

spring-context-support/src/main/resources/META-INF · high confidence

Added test fixtures for AOP mixin locking

New test fixtures have been added to the \spring-aop\ module to support testing of AOP mixin functionality. This includes the \Lockable\ interface, a \DefaultLockable\ implementation, a \LockMixin\ that extends \DelegatingIntroductionInterceptor\ to prevent setter execution when locked, a corresponding \LockMixinAdvisor\, and a \LockedException\. These components provide a reusable demonstration of stateful locking via introduction advice for use in tests.

spring-aop/src/testFixtures/java/org/springframework/aop/testfixture/mixin · high confidence

AspectJ-based asynchronous method execution support

This change introduces AspectJ-based asynchronous method execution for Spring applications. It adds new AspectJ aspects (AbstractAsyncExecutionAspect and AnnotationAsyncExecutionAspect) that intercept methods annotated with @Async, allowing them to be executed asynchronously via a configured executor. The implementation supports void, Future, and CompletableFuture return types, and includes compile-time error checking for invalid return types. A new configuration class (AspectJAsyncConfiguration) registers the necessary infrastructure beans when using AspectJ mode for async processing.

spring-aspects/src/main/java/org/springframework/scheduling · high confidence

AspectJ-based dependency injection support for domain objects

This change introduces the core AspectJ aspects and interfaces that enable Spring to perform dependency injection on plain Java objects (domain objects) created outside the Spring container. The new \AbstractDependencyInjectionAspect\ provides the base logic for pre- and post-construction configuration, while \AbstractInterfaceDrivenDependencyInjectionAspect\ and \AnnotationBeanConfigurerAspect\ allow users to mark classes with the \@Configurable\ annotation to trigger automatic wiring. Additionally, \GenericInterfaceDrivenDependencyInjectionAspect\ offers a type-safe, generic-based approach for dependency injection without requiring annotations, and the \ConfigurableObject\ marker interface is used to identify beans eligible for this aspect-driven injection.

spring-aspects/src/main/java/org/springframework/beans · high confidence

Enforce architecture rules via ArchUnit checks

The build now includes an ArchUnit-based architecture verification task that runs as part of the standard check lifecycle. This new check ensures that Java source files do not import Kotlin annotations, prevents the use of non-locale-aware string case conversions, forbids dependencies on specific internal or logging classes, and verifies that package slices remain free of cyclic dependencies.

buildSrc/src/main/java/org/springframework/build/architecture · high confidence

Initial R2DBC support in spring-r2dbc module

This change introduces the new spring-r2dbc module, providing the foundational infrastructure for reactive database access via the R2DBC SPI. It adds core connection management utilities (ConnectionFactoryUtils, ConnectionHolder), factory implementations (SingleConnectionFactory, TransactionAwareConnectionFactoryProxy), and a complete hierarchy of data-access exceptions (BadSqlGrammarException, UncategorizedR2dbcException) to translate R2DBC errors into the Spring DAO abstraction. Additionally, it includes the connection initialization package (ScriptUtils, DatabasePopulator, ResourceDatabasePopulator) to support SQL script execution and database population for reactive connections.

spring-r2dbc · high confidence

Initial creation of the spring-messaging module core interfaces

This change introduces the foundational contracts for the Spring Messaging module, establishing the core abstractions for message-driven architectures. It adds the \Message\<T\>\ interface for generic message representation, the \MessageChannel\ functional interface for sending messages with optional timeouts, and the \MessageHandler\ interface for processing messages. Additionally, it defines specific exception types (\MessageDeliveryException\, \MessageHandlingException\) to distinguish between transport and processing errors, alongside the \MessageHeaders\ class to manage metadata. A JMH benchmark for \DefaultSubscriptionRegistry\ is also included to support performance validation of the subscription management logic.

spring-messaging · high confidence

Initial public release of the spring-expression module

The spring-expression module is now available as a standalone artifact, exposing the core Spring Expression Language (SpEL) APIs—including EvaluationContext, Expression, and associated resolvers and accessors—along with JMH benchmarks for performance measurement. This decoupling allows users to integrate SpEL into projects without pulling in the full Spring Framework dependency.

spring-expression · high confidence

Initial release of Spring O/X Mapping module

This entry introduces the Spring O/X Mapping (spring-oxm) module, providing a unified abstraction for Object/XML mapping. It defines core interfaces including Marshaller, Unmarshaller, and their generic counterparts, along with a hierarchy of mapping exceptions. The module includes a JAXB 2.2 implementation (Jaxb2Marshaller) with support for classpath scanning, MIME attachments (MTOM/XOP), and secure XML parsing defaults (DTD disabled). It also provides Spring XML namespace support for configuring the JAXB marshaller and utility classes for SAX resource handling.

spring-oxm · high confidence

Introduces Maven-style optional dependency support

The build system now supports Maven-style optional dependencies via a new 'optional' configuration. Dependencies marked in this configuration are included in the project's compile and runtime classpaths but are not propagated to the classpaths of projects that depend on this one, allowing for cleaner dependency management where certain libraries are needed for compilation/runtime but not required by consumers.

buildSrc/src/main/java/org/springframework/build/optional · high confidence

Introduction of new AOP namespace configuration classes

The spring-aop module now includes a comprehensive set of new classes in the org.springframework.aop.config package to support XML-based AOP configuration. This includes the AopNamespaceHandler and its associated parsers (ConfigBeanDefinitionParser, AspectJAutoProxyBeanDefinitionParser, SpringConfiguredBeanDefinitionParser) which handle the \<aop:config\>, \<aop:aspectj-autoproxy\>, and \<aop:spring-configured\> tags. Additionally, utility classes like AopConfigUtils and AopNamespaceUtils manage the registration and escalation of auto-proxy creators, while various ComponentDefinition and Entry classes (e.g., AdvisorComponentDefinition, AspectEntry) provide structured parsing state and component definitions for the AOP namespace elements.

spring-aop/src/main/java/org/springframework/aop/config · high confidence

JSR-107 (JCache) annotation-driven caching configuration support

This change introduces the configuration classes and interfaces required to enable annotation-driven caching using the JSR-107 (JCache) specification. It adds \AbstractJCacheConfiguration\ and \ProxyJCacheConfiguration\ to register the necessary infrastructure beans (such as the \JCacheInterceptor\ and \BeanFactoryJCacheOperationSourceAdvisor\) when JSR-107 is detected. It also defines \JCacheConfigurer\ and \JCacheConfigurerSupport\ to allow users to customize caching behavior, specifically by providing a custom \CacheResolver\ for exception handling. The \JCacheConfigurerSupport\ class is deprecated in favor of implementing \JCacheConfigurer\ directly.

spring-context-support/src/main/java/org/springframework/cache/jcache/config · high confidence

New AspectJAwareAdvisorAutoProxyCreator for AspectJ advice ordering

The Spring AOP module now includes a new \AspectJAwareAdvisorAutoProxyCreator\ class in the \org.springframework.aop.aspectj.autoproxy\ package. This component extends \AbstractAdvisorAutoProxyCreator\ to expose AspectJ's invocation context and correctly handle advice precedence when multiple advices originate from the same aspect. It implements sorting logic that respects AspectJ rules (e.g., 'after' advice declared last runs last) and integrates with \ShadowMatchUtils\ to clear caches during bean lifecycle events. A corresponding \package-info.java\ marks the package as null-marked using JSpecify annotations.

spring-aop/src/main/java/org/springframework/aop/aspectj/autoproxy · high confidence

New Gradle plugin for building and validating multi-release JARs

A new Gradle plugin (\MultiReleaseJarPlugin\) and extension (\MultiReleaseExtension\) have been added to the build infrastructure to simplify the creation of multi-release JARs. The plugin automatically configures source sets and compilation tasks for specified Java versions, packages the version-specific classes into \META-INF/versions/\, and sets the \Multi-Release\ manifest attribute. Additionally, when running on Java 25 or later, it registers a \validateMultiReleaseJar\ task that uses the JDK's built-in \jartool\ to verify the integrity of the generated JAR, ensuring compliance with the multi-release specification.

buildSrc/src/main/java/org/springframework/build/multirelease · high confidence

New Gradle plugin to run runtime hints agent during tests

A new Gradle plugin, RuntimeHintsAgentPlugin, has been added to the build infrastructure. It introduces a dedicated 'runtimeHintsTest' task that executes tests tagged with 'RuntimeHintsTests' using the RuntimeHints Java agent. This allows users to validate runtime hints configuration during the test phase, with the agent's behavior (included/excluded packages) configurable via a new 'runtimeHintsAgent' DSL extension.

buildSrc/src/main/java/org/springframework/build/hint · high confidence

New Gradle task to include shadowed JAR sources in published artifacts

A new Gradle task, ShadowSource, has been added to the build infrastructure. This task resolves source artifacts from shadowed dependencies and integrates them into the project's source distribution, ensuring that the original source code from shaded libraries is included in the published source JARs.

buildSrc/src/main/java/org/springframework/build/shadow · high confidence

New JPA exception types and JPA 4.0 EntityAgent support

The spring-orm module now includes new exception classes, ObjectOptimisticLockingFailureException and ObjectRetrievalFailureException, which provide detailed information about the persistent class and identifier when optimistic locking fails or an object is not found. Additionally, the module has been updated to support JPA 4.0's EntityAgent, allowing for early support of this new JPA feature through AbstractEntityManagerFactoryBean and related classes.

spring-orm · high confidence

New Kotlin extensions for type-safe bean retrieval and programmatic bean registration

This change introduces new Kotlin-specific APIs in the \spring-beans\ module to improve type safety and developer experience. First, it adds reified generic extensions for \BeanFactory\ and \ListableBeanFactory\ (e.g., \getBean\<T\>()\, \getBeansOfType\<T\>()\), which allow Kotlin users to retrieve beans and query the factory without explicit class casts, thereby avoiding type erasure issues common with Java's generic reflection. Second, it introduces \BeanRegistrarDsl\, a new DSL-based approach for programmatically registering beans in Kotlin, supporting features like profile-conditional registration, aliasing, and detailed bean configuration (scope, primary, lazy init, etc.) in a concise, idiomatic syntax.

spring-beans/src/main/kotlin · high confidence

New WebSocket message and extension types

The spring-websocket module introduces new classes to represent WebSocket protocol elements: AbstractWebSocketMessage as the base for TextMessage and BinaryMessage (supporting partial message streaming via the isLast flag), PingMessage and PongMessage for WebSocket control frames, CloseStatus with standard and framework-specific codes (e.g., SESSION\_NOT\_RELIABLE), WebSocketExtension for parsing and representing RFC 6455 extensions, and the SubProtocolCapable interface for handlers that negotiate sub-protocols.

spring-websocket · high confidence

New local development plugin to skip documentation and distribution tasks

A new Gradle plugin, LocalDevelopmentPlugin, has been added to the build source. When the -PskipDocs property is enabled, this plugin automatically disables all tasks belonging to the documentation group and the distribution group across the project and its subprojects, streamlining local development builds by omitting these heavier operations.

buildSrc/src/main/java/org/springframework/build/dev · high confidence

New programmatic bean registration API via BeanRegistrar and BeanRegistry

Spring now provides a dedicated, type-safe mechanism for registering beans programmatically without relying on XML or @Configuration classes. The new BeanRegistry interface allows direct registration of bean definitions with support for scoping, lazy initialization, and suppliers, while the BeanRegistrar contract enables modular, importable registration logic that can be applied to GenericApplicationContext or via @Import in annotation-based configurations.

spring-beans/src/main/java/org/springframework/beans/factory · high confidence

New refreshable dynamic target source support

Added new classes in the \spring-aop.target.dynamic\ package to support dynamic, refreshable target sources. This includes the \Refreshable\ interface for explicit refresh control, the \AbstractRefreshableTargetSource\ base class with configurable refresh check delays and counting, and \BeanFactoryRefreshableTargetSource\ which fetches fresh beans from a \BeanFactory\. The package is also marked with JSpecify null-safety annotations.

spring-aop/src/main/java/org/springframework/aop/target/dynamic · high confidence

New test fixtures for AOP interceptor testing

Added three new classes to the spring-aop test fixtures to support testing of AOP interceptors: NopInterceptor, a trivial interceptor that increments a count and proceeds with the invocation; SerializableNopInterceptor, a serializable subclass of NopInterceptor designed for testing proxy serialization; and TimestampIntroductionInterceptor, an introduction interceptor implementing TimeStamped for testing introduction advice scenarios.

spring-aop/src/testFixtures/java/org/springframework/aop/testfixture/interceptor · high confidence

New testing infrastructure for RuntimeHintsAgent and AOT code generation

This change introduces a new Java agent and supporting test utilities in spring-core-test to help developers verify their RuntimeHints configurations. The RuntimeHintsAgent instruments bytecode at runtime to record method invocations relevant to reflection, resources, and proxies, allowing tests to assert that all required hints are present. It includes a @EnabledIfRuntimeHintsAgent annotation to conditionally run these tests, a RuntimeHintsRecorder to capture invocations during test execution, and AssertJ assertions to validate recorded invocations against configured hints. Additionally, new test support classes for AOT code generation, such as TestGenerationContext and TestCompiler utilities, are added to facilitate testing of generated code.

spring-core-test · high confidence

Register AOT processing components for Spring Beans

The Spring Beans module now explicitly registers Ahead-of-Time (AOT) processing components via the new \aot.factories\ file. This configuration ensures that \RuntimeHintsRegistrar\ implementations (specifically for Jakarta annotations and general bean utilities) and the \BeanRegistrationsAotProcessor\ are automatically discovered and applied during AOT compilation, enabling proper hint generation and bean registration optimization for native images.

spring-beans/src/main/resources/META-INF/spring · high confidence

Scoped proxy support for Spring AOT native compilation

The scoped proxy mechanism now works with Spring AOT (Ahead-of-Time) compilation. A new ScopedProxyBeanRegistrationAotProcessor generates the necessary code fragments to register scoped proxy beans at build time, ensuring that proxies for scoped beans are correctly instantiated in native images. This change also introduces the ScopedObject interface and its DefaultScopedObject implementation, allowing applications to programmatically access the raw target object and remove it from its scope, which is essential for managing lifecycle in native environments.

spring-aop/src/main/java/org/springframework/aop/scope · high confidence

Spring AOP framework source files added

The core Spring AOP framework implementation files in spring-aop/src/main/java/org/springframework/aop/framework have been added to the repository. This includes the foundational classes for AOP proxy creation and configuration, such as AbstractAdvisingBeanPostProcessor, Advised, AdvisedSupport, and the various proxy factories (JdkDynamicAopProxy, ObjenesisCglibAopProxy). It also introduces support for Kotlin Coroutines via CoroutinesUtils, allowing Spring AOP to intercept suspending functions and handle Kotlin value classes correctly. Additionally, utility classes like AopProxyUtils and AopContext are provided to assist with proxy management and introspection.

spring-aop/src/main/java/org/springframework/aop/framework · high confidence

Spring AOP now supports AspectJ annotation-based aspects

Spring AOP now allows you to use AspectJ-style annotations (such as @Before, @After, @Around, @AfterReturning, @AfterThrowing, and @DeclareParents) directly on your aspect classes without requiring XML configuration or the AspectJ compiler. This change introduces a new set of classes in the org.springframework.aop.aspectj package that bridge Spring's proxy-based AOP with AspectJ's pointcut and advice semantics, enabling developers to define aspects using familiar annotations while leveraging Spring's dependency injection and proxy infrastructure.

spring-aop/src/main/java/org/springframework/aop/aspectj · high confidence

Spring Framework 6.2 introduces foundational bean factory support for @Order and @Priority

The Spring Framework 6.2 release introduces first-class support for the \@Order\ annotation at the bean declaration level, allowing developers to explicitly control the sort order of beans (such as those in collections) directly via bean definitions. This is complemented by the introduction of the \@Priority\ annotation as a standard alternative to \@Order\ for fine-grained bean sorting. These features are implemented in the core \spring-beans\ module, specifically within the \AbstractBeanDefinition\ and \AbstractAutowireCapableBeanFactory\ classes, which now expose the necessary attributes and resolution logic to handle these ordering constraints during bean creation and dependency injection.

spring-beans/src/main/java/org/springframework/beans/factory/support · high confidence

Support for @Autowired and @Value as meta-annotations

Developers can now use @Autowired and @Value as meta-annotations on custom injection annotations, allowing these custom annotations to inherit the injection semantics of the standard Spring annotations. This change also extends support for @Value as an aliased meta-annotation, enabling more flexible and reusable custom injection points.

spring-beans/src/main/java/org/springframework/beans/factory/annotation · high confidence

Support for @Order at the bean declaration level

Users can now apply the @Order annotation directly to @Bean methods within configuration classes to control the execution order of bean post-processors or other ordered components, providing a more declarative alternative to implementing the Ordered interface.

spring-context · high confidence

Support for runtime instrumentation via Attach API

The Spring Instrument module now allows the Java agent to be installed into a running JVM using the Attach API, in addition to the traditional JVM startup method. This is enabled by the new InstrumentationSavingAgent class, which implements both premain (for startup) and agentmain (for dynamic attachment) entry points, allowing applications to capture and reuse the JVM's Instrumentation instance at runtime without requiring a restart.

spring-instrument · high confidence

Transaction-aware cache synchronization support

Spring now provides built-in support for synchronizing cache write operations (put, evict, clear) with Spring-managed transactions. This is achieved through the new \AbstractTransactionSupportingCacheManager\ base class, which exposes a \transactionAware\ bean property; when enabled, it decorates caches with \TransactionAwareCacheDecorator\ to defer actual cache modifications until the after-commit phase of a successful transaction. Additionally, a \TransactionAwareCacheManagerProxy\ is available to wrap any existing \CacheManager\, ensuring that all retrieved \Cache\ instances automatically participate in this transaction synchronization behavior.

spring-context-support/src/main/java/org/springframework/cache/transaction · high confidence

Behavioural changes

115 commits (6 fixes) modifying spring-aop/src/main/java/org/springframework/aop/support

A change to existing behaviour in spring-aop/src/main/java/org/springframework/aop/support — 115 commits (6 fixs), 26 files: “Explicit type can be replaced by \<\>”; “Rename modules {org.springframework.\=\>spring-\}”; “Apply "instanceof pattern matching" Eclipse clean-up in spring-aop”; and 96 more.

spring-aop/src/main/java/org/springframework/aop/support · medium confidence · unverified

18 commits (2 fixes) modifying framework-docs/src/main/java/org/springframework/docs/integration

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/integration — 18 commits (2 fixs), 51 files: “Update copyright headers in source files”; “Use Locale.ROOT consistently for toLower/toUpperCase”; “Report handled exceptions to the observation”; and 14 more.

framework-docs/src/main/java/org/springframework/docs/integration · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/aop

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/aop — 3 commits, 10 files: “Update copyright headers in source files”; “Use code includes and tabs in AOP documentation”.

framework-docs/src/main/java/org/springframework/docs/core/aop · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/aopapi, framework-docs/src/main/kotlin/org/springframework/docs/core/aopapi

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/aopapi, framework-docs/src/main/kotlin/org/springframework/docs/core/aopapi — 3 commits, 4 files: “Update copyright headers in source files”; “Use code includes and tabs in Regexp Pointcuts documentation”.

framework-docs/src/main/java/org/springframework/docs/core/aopapi, framework-docs/src/main/kotlin/org/springframework/docs/core/aopapi · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/aot/hints/importruntimehints

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/aot/hints/importruntimehints — 3 commits, 1 file: “Update copyright headers in source files”; “Document RuntimeHints testing strategies”.

framework-docs/src/main/java/org/springframework/docs/core/aot/hints/importruntimehints · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/aot/hints/reflective

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/aot/hints/reflective — 3 commits, 1 file: “Update copyright headers in source files”; “Introduce ReflectiveScan”.

framework-docs/src/main/java/org/springframework/docs/core/aot/hints/reflective · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/aot/hints/registerreflection

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/aot/hints/registerreflection — 3 commits, 1 file: “Update copyright headers in source files”; “Polish documentation for RegisterReflection”.

framework-docs/src/main/java/org/springframework/docs/core/aot/hints/registerreflection · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbccomplextypes

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbccomplextypes — 3 commits, 3 files: “Update copyright headers in source files”; “Polish "Stop referring to STRUCT and ARRAY as they are deprecated"”.

framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbccomplextypes · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcembeddeddatabase, framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcembeddeddatabase

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcembeddeddatabase, framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcembeddeddatabase — 3 commits, 2 files: “Update copyright headers in source files”; “Use code includes and tabs in embedded-database-support.adoc”.

framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcembeddeddatabase, framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcembeddeddatabase · medium confidence · unverified

3 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/languages

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/languages — 3 commits, 1 file: “Document automatic context propagation”; “Refine PropagationContextElement”; “Add PropagationContextElement Kotlin operator”.

framework-docs/src/main/kotlin/org/springframework/docs/languages · medium confidence · unverified

37 commits (3 fixes) modifying framework-docs/src/main/java/org/springframework/docs/web

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/web — 37 commits (3 fixs), 94 files: “Extract code snippets from context-hierarchy.adoc”; “Update copyright headers in source files”; “Use code includes and tabs in MVC Config documentation”; and 32 more.

framework-docs/src/main/java/org/springframework/docs/web · medium confidence · unverified

38 commits (4 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/web

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/web — 38 commits (4 fixs), 94 files: “Extract code snippets from context-hierarchy.adoc”; “Update copyright headers in source files”; “Use code includes and tabs in MVC Config documentation”; and 33 more.

framework-docs/src/main/kotlin/org/springframework/docs/web · medium confidence · unverified

4 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/beans

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/beans — 4 commits, 6 files: “Modernize the lazy-initialized beans refdoc section”; “Update copyright headers in source files”; “Document BeanRegistrarDsl with RouterFunctionDsl”.

framework-docs/src/main/java/org/springframework/docs/core/beans · medium confidence · unverified

4 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/validation, framework-docs/src/main/kotlin/org/springframework/docs/core/validation

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/validation, framework-docs/src/main/kotlin/org/springframework/docs/core/validation — 4 commits, 6 files: “Update copyright headers in source files”; “Use code includes and tabs in date/time format documentation”; “Add support for Kotlin BeanPostProcessor beans”.

framework-docs/src/main/java/org/springframework/docs/core/validation, framework-docs/src/main/kotlin/org/springframework/docs/core/validation · medium confidence · unverified

4 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcdatasource

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcdatasource — 4 commits, 3 files: “Update copyright headers in source files”; “Use code includes and tabs in connections.adoc”; “Use consistently snippet tags”.

framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcdatasource · medium confidence · unverified

4 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcjdbctemplateidioms

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcjdbctemplateidioms — 4 commits, 6 files: “Update copyright headers in source files”; “Polish JdbcTemplate Best Practices section”; “Use lowercase package in code snippets”.

framework-docs/src/main/java/org/springframework/docs/dataaccess/jdbc/jdbcjdbctemplateidioms · medium confidence · unverified

4 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/core/aop

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/core/aop — 4 commits, 10 files: “Fix warning in ConcurrentOperationExecutor.kt”; “Update copyright headers in source files”; “Use code includes and tabs in AOP documentation”.

framework-docs/src/main/kotlin/org/springframework/docs/core/aop · medium confidence · unverified

4 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbccomplextypes

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbccomplextypes — 4 commits, 2 files: “Update copyright headers in source files”; “Stop using Java code snippets in Kotlin ones”; “Polish "Stop referring to STRUCT and ARRAY as they are deprecated"”.

framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbccomplextypes · medium confidence · unverified

48 commits (8 fixes) modifying org.springframework.beans/src/main/java/org/springframework/beans/factory/annotation

A change to existing behaviour in org.springframework.beans/src/main/java/org/springframework/beans/factory/annotation — 48 commits (8 fixs), 19 files. Also in this area: 1 commit (0 fixes) modifying (repo-wide); Optimized header retrieval in ServletResponseHeadersAdapter; Automatic charset appending to Content-Type headers in Servlet requests; Removal of deprecated OperatorMatches constructors in Spring Expression; Refactor DataBufferMatcher to decouple from Reactive Streams and fix repeatable annotation detection; and 2 more.

spring · low confidence · unverified

5 commits (0 fixes) modifying framework-docs/src/docs

A change to existing behaviour in framework-docs/src/docs — 5 commits, 6 files: “Do not perform expansion on license file”; “Upgrade to ASM 9.9.1 and Objenesis 3.5”; “Upgrade to Objenesis 3.4”; and 2 more.

framework-docs/src/docs · medium confidence · unverified

5 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/aot/refresh

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/aot/refresh — 5 commits, 1 file: “Update copyright headers in source files”; “Avoid warnings / Polishing”; “Document RuntimeHints testing strategies”; and 1 more.

framework-docs/src/main/java/org/springframework/docs/core/aot/refresh · medium confidence · unverified

5 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcdatasource

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcdatasource — 5 commits, 3 files: “Update copyright headers in source files”; “Use code includes and tabs in connections.adoc”; “Polishing”; and 1 more.

framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcdatasource · medium confidence · unverified

5 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcjdbctemplateidioms

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcjdbctemplateidioms — 5 commits, 4 files: “Update copyright headers in source files”; “Polish JdbcTemplate Best Practices section”; “Stop using Java code snippets in Kotlin ones”; and 1 more.

framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/jdbc/jdbcjdbctemplateidioms · medium confidence · unverified

6 commits (0 fixes) modifying framework-docs/src/main/java/org/springframework/docs/core/expressions

A change to existing behaviour in framework-docs/src/main/java/org/springframework/docs/core/expressions — 6 commits, 9 files: “Polish SpEL operator examples in reference docs”; “Update copyright headers in source files”; “Consistent newline at the end of files”; and 2 more.

framework-docs/src/main/java/org/springframework/docs/core/expressions · medium confidence · unverified

7 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/core/beans

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/core/beans — 7 commits, 8 files: “Modernize the lazy-initialized beans refdoc section”; “Update copyright headers in source files”; “Stop using Java code snippets in Kotlin ones”; and 3 more.

framework-docs/src/main/kotlin/org/springframework/docs/core/beans · medium confidence · unverified

7 commits (0 fixes) modifying framework-docs/src/main/kotlin/org/springframework/docs/core/expressions

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/core/expressions — 7 commits, 9 files: “Polish SpEL operator examples in reference docs”; “Update copyright headers in source files”; “Consistent newline at the end of files”; and 3 more.

framework-docs/src/main/kotlin/org/springframework/docs/core/expressions · medium confidence · unverified

7 commits (1 fix) modifying framework-docs/src/main/kotlin/org/springframework/docs/integration

A change to existing behaviour in framework-docs/src/main/kotlin/org/springframework/docs/integration — 7 commits (1 fix), 34 files: “Update copyright headers in source files”; “Stop using Java code snippets in Kotlin ones”; “Fix RestClient API usage in documentation”; and 3 more.

framework-docs/src/main/kotlin/org/springframework/docs/integration · medium confidence · unverified

8 commits (1 fix) modifying repository

A change to existing behaviour in repository — 8 commits (1 fix), 10 files: “Update copyright headers in source files”; “Stop using Java code snippets in Kotlin ones”; “Document how to discard response body with WebTestClient”; and 4 more.

repository · medium confidence · unverified

Introduced a new nohttp checkstyle configuration to validate external links in documentation. This includes a new \allowlist.lines\ file defining permitted URL patterns (such as sourceforge.net, w3.org, and objenesis.org) and a \checkstyle.xml\ file that integrates the \NoHttpCheck\ module, ensuring that only whitelisted external references are accepted during builds.

src/nohttp · high confidence

AspectJ transaction aspects now support Jakarta EE 9 annotations

The AspectJ-based transaction management support in \spring-aspects\ has been migrated to Jakarta EE 9. This introduces \JtaAnnotationTransactionAspect\ to handle the \jakarta.transaction.Transactional\ annotation alongside the existing Spring \@Transactional\ support, and updates the configuration classes (\AspectJTransactionManagementConfiguration\, \AspectJJtaTransactionManagementConfiguration\) to wire these aspects. Existing code using \javax.transaction\ annotations will need to switch to the Jakarta namespace.

spring-aspects/src/main/java/org/springframework/transaction · high confidence

Bean definition metadata and lifecycle interfaces updated for null-safety and customization

The \BeanDefinition\ interface now exposes \initMethodName\ and \destroyMethodName\ directly, and introduces a \setFallback\ method to allow beans to serve as fallback autowire candidates when multiple matches exist. A new \BeanDefinitionCustomizer\ functional interface enables lambda-based customization of bean definitions during programmatic registration. Additionally, the \AutowireCapableBeanFactory\ interface has been refined to support flexible constructor resolution via \createBean(Class)\ and deprecates the older \createBean(Class, int, boolean)\ method in favor of the simpler signature.

spring-beans/src/main/java/org/springframework/beans/factory/config · high confidence

Build infrastructure refactored into Gradle convention plugins

The Spring Framework build has been restructured to use a centralized Gradle convention plugin (ConventionsPlugin) that automatically applies standardized configurations for Java, Kotlin, testing, and code quality. This change introduces a new Java baseline of version 25 with bytecode compatibility set to Java 17, upgrades Kotlin to version 2.2, and configures the test environment to run on Java 17 with ByteBuddy agent support and automatic test retries on CI. Additionally, code style enforcement is now managed via Checkstyle 14.1 and the NoHttp plugin, which automatically excludes paths listed in .gitignore from license header checks.

buildSrc/src/main/java/org/springframework/build · high confidence

Deprecation of legacy bean support classes and addition of new resource editors

The classes in the \org.springframework.beans.support\ package—\PagedListHolder\, \PropertyComparator\, \MutableSortDefinition\, and \SortDefinition\—are now deprecated for removal in a future version, signaling that users should migrate to modern alternatives like those in Spring Data Commons. Additionally, the \ResourceEditorRegistrar\ now supports \WritableResource\ as a required dependency type and includes new editors for \java.nio.file.Path\ and \java.io.Reader\, allowing these resource types to be injected or bound in the same way as \InputStream\.

spring-beans/src/main/java/org/springframework/beans/support · high confidence

Deprecation of theme support in Spring MVC

Spring MVC no longer supports theme resolution. The ThemeResolver, ThemeChangeInterceptor, and related theme configuration options have been deprecated and removed, simplifying the MVC infrastructure by eliminating theme-related features that were rarely used.

spring-webmvc · high confidence

Documentation examples source path updated

The documentation examples now reference source code from a new location via a symbolic link, pointing to the project's main source directory. This change ensures that the examples in the documentation are aligned with the current source code structure.

framework-docs/modules/ROOT/examples · medium confidence

Fix split package for @EnableSpringConfigured by moving to aspectj subpackage

The @EnableSpringConfigured annotation and its supporting configuration class (SpringConfiguredConfiguration) have been moved from the org.springframework.context.annotation package to the new org.springframework.context.annotation.aspectj subpackage. This change resolves a split-package issue that occurred when the aspectj module was included alongside the core context module, ensuring that the annotation and its associated bean configuration are correctly isolated within the aspects module.

spring-aspects/src/main/java/org/springframework/context · high confidence

FreeMarker support restored with Jakarta compatibility and security hardening

The FreeMarker integration in the UI support module has been re-implemented to ensure compatibility with Jakarta EE namespaces and to address security concerns. The new FreeMarkerConfigurationFactory now properly supports custom TemplateLoaders when recreating configurations and allows the default encoding to be set using a java.nio.charset.Charset for more precise control. Additionally, the SpringTemplateLoader has been hardened to reject backslashes in template names, preventing potential path traversal issues, and the factory now falls back to the SpringTemplateLoader if an exception occurs during configuration. These changes require FreeMarker 2.3.33 or higher.

spring-context-support/src/main/java/org/springframework/ui · high confidence

Improved URI and query string sanitization

The framework now applies stricter sanitization to URIs and query strings, enhancing security by preventing potential injection or parsing issues in HTTP requests. This change affects how Spring Web processes incoming request paths and parameters, ensuring that malformed or potentially dangerous inputs are handled more robustly.

spring-web · medium confidence

Introduce JSpecify null-safety annotations in the wiring package

The classes in the \org.springframework.beans.factory.wiring\ package (including \BeanConfigurerSupport\, \BeanWiringInfo\, \BeanWiringInfoResolver\, and \ClassNameBeanWiringInfoResolver\) now use JSpecify annotations (\@Nullable\, \@NullMarked\) to explicitly define nullability contracts. This change clarifies which API parameters and return values may be null, improving static analysis support and developer understanding of the wiring mechanism's behavior without altering runtime logic.

spring-beans/src/main/java/org/springframework/beans/factory/wiring · high confidence

Introduce dedicated AOT exception hierarchy and bean processing error details

The AOT processing module now uses a dedicated exception hierarchy (AotException, AotProcessingException, and AotBeanProcessingException) to provide clearer error reporting. When AOT fails to process a bean, the new AotBeanProcessingException includes the bean name, resource description, and the underlying RootBeanDefinition, making it easier to diagnose configuration issues during ahead-of-time processing.

spring-beans/src/main/java/org/springframework/beans/factory/aot · high confidence

Introduce null-safety annotations across the parsing package

The classes in the \org.springframework.beans.factory.parsing\ package (including \ReaderContext\, \AliasDefinition\, \ImportDefinition\, and \Location\) now use \@Nullable\ annotations from the JSpecify library to explicitly mark parameters and return values that may be null. This change improves static analysis support and clarifies null-handling expectations for developers using these internal parsing APIs.

spring-beans/src/main/java/org/springframework/beans/factory/parsing · high confidence

JDBC exception hierarchy migrated to Jakarta EE 9 namespaces

The spring-jdbc module has been migrated to the Jakarta EE 9 namespace, updating the package declarations of core JDBC exception classes (such as BadSqlGrammarException, UncategorizedSQLException, and SQLWarningException) from the legacy javax.\* to the jakarta.\* namespace. This change ensures compatibility with Jakarta EE 9+ environments and aligns the module with the broader Spring Framework Jakarta migration.

spring-jdbc · high confidence

JavaMail support migrated to Jakarta EE 9 namespaces

The JavaMail integration in Spring has been updated to use the Jakarta EE 9 namespace (jakarta.mail, jakarta.activation) instead of the legacy javax.\* packages. This migration includes new classes such as ConfigurableMimeFileTypeMap for custom MIME type mapping, InternetAddressEditor for address conversion, and JavaMailMimeTypesRuntimeHints to support resource loading in constrained environments like GraalVM native images. Existing code using the JavaMailSender and MimeMessageHelper interfaces remains compatible, but the underlying dependencies and internal implementations now rely on the Jakarta Mail and Activation APIs.

spring-context-support/src/main/java/org/springframework/mail/javamail · high confidence

Mail API null-safety and defensive copying

The mail package now enforces null-safety using JSpecify annotations, allowing null values for message fields like 'from', 'to', and 'subject' while marking them explicitly as nullable. Additionally, the 'sentDate' in SimpleMailMessage is defensively copied on both set and get operations to prevent external mutation of the internal state, and the MailSender interface provides a default implementation for single-message sending.

spring-context-support/src/main/java/org/springframework/mail · high confidence

Migrate JMS exception hierarchy to Jakarta EE 9 namespaces

The spring-jms module has been updated to support Jakarta EE 9 by migrating its JMS exception classes from the javax.\* to the jakarta.\* namespace. This change introduces new Spring wrapper exceptions (such as JmsException, IllegalStateException, InvalidDestinationException, and others) that now wrap and delegate to their corresponding jakarta.jms.\* counterparts, ensuring compatibility with Jakarta EE 9-compliant JMS providers while maintaining the existing Spring exception handling model.

spring-jms · high confidence

MockRestServiceServer clears failed requests map

The MockRestServiceServer now automatically clears its internal failed requests map, ensuring that request expectations are properly reset between tests and preventing stale failure state from affecting subsequent test executions.

spring-test · high confidence

New and deprecated data access exception classes

The spring-tx module introduces a new \CannotAcquireLockException\ for handling lock acquisition failures (e.g., 'select for update') and deprecates \CannotSerializeTransactionException\ and \DeadlockLoserDataAccessException\ in favor of the more general \PessimisticLockingFailureException\. Additionally, \CleanupFailureDataAccessException\ is deprecated as it is no longer used within core JDBC/ORM support. These changes refine the exception hierarchy to provide clearer semantics for locking and cleanup scenarios.

spring-tx · high confidence

Port Groovy DSL support to Java

The Groovy-based bean definition support in the spring-beans module has been ported from Groovy to Java. This change introduces new Java classes (GroovyBeanDefinitionWrapper, GroovyDynamicElementReader) to handle Groovy DSL parsing and bean definition wrapping, while adding JSpecify null-safety annotations to the package. Users relying on the Groovy DSL will see no functional change, but the underlying implementation is now Java-based.

spring-beans/src/main/java/org/springframework/beans/factory/groovy · high confidence

Property editors rewritten for null-safety and modern Java APIs

The property editors in the spring-beans module have been refactored to use JSpecify null-safety annotations and modern Java features. This includes replacing legacy reflection-based instantiation with constructor-based approaches, adopting pattern matching for instanceof checks, and utilizing new JDK utilities like HexFormat and StringJoiner. These changes improve code clarity and robustness without altering the external behavior of the editors.

spring-beans/src/main/java/org/springframework/beans/propertyeditors · high confidence

Quartz integration refactored for Quartz 2.2 and modern Java

The Quartz scheduling support has been updated to require Quartz 2.1.4+ (with full support for 2.2 features like LocalDataSourceJobStore) and modernized for Java 8+. Key changes include the introduction of AdaptableJobFactory, which allows jobs to be defined as standard java.lang.Runnable instances in addition to Quartz Job classes, and SpringBeanJobFactory, which enables dependency injection into Quartz jobs via the ApplicationContext. The LocalDataSourceJobStore now properly delegates to Spring-managed DataSources for both transactional and non-transactional access, while LocalTaskExecutorThreadPool allows Quartz to use Spring-managed Executors. Factory beans like CronTriggerFactoryBean and JobDetailFactoryBean now support additional configuration options such as calendarName, description, and requestsRecovery, and use JSpecify null-safety annotations throughout.

spring-context-support/src/main/java/org/springframework/scheduling · high confidence

Refactor AOP interceptors for null-safety and modern Java support

The AOP interceptor package has been updated to improve null-safety and modernize the codebase. Key behavioral changes include the introduction of the \AsyncUncaughtExceptionHandler\ interface and \SimpleAsyncUncaughtExceptionHandler\ to properly manage exceptions from \void\-returning async methods, and the addition of \CompletableFuture\ support in \AsyncExecutionInterceptor\ and \AsyncExecutionAspectSupport\. The \AbstractTraceInterceptor\ now exposes a \logExceptionStackTrace\ flag to control stack trace logging, and \ExposeInvocationInterceptor\ now implements \PriorityOrdered\ to ensure correct chain ordering. Additionally, all classes in this package have been annotated with JSpecify \@Nullable\ types to enforce null-safety.

spring-aop/src/main/java/org/springframework/aop/interceptor · high confidence

Refactored bean introspection and property access infrastructure

The spring-beans module has been refactored to improve performance and maintainability of bean introspection and property access. A new BeanInfoFactory strategy interface allows for pluggable, more efficient BeanInfo retrieval algorithms (such as for Kotlin or other JVM languages) via SpringFactoriesLoader, replacing direct reliance on the JDK Introspector in many cases. The AbstractNestablePropertyAccessor and AbstractPropertyAccessor classes have been restructured to better handle nested paths, auto-growing collections, and property value binding, with improved handling of Optional types and non-public constructors. BeanUtils now supports Kotlin primary constructors with default arguments and record-style accessors, while BeanWrapperImpl and CachedIntrospectionResults have been optimized with better caching (ConcurrentReferenceHashMap) and reduced synchronization overhead. Exception handling in BeanInstantiationException has been refined to preserve constructor/method context for better debugging.

spring-beans/src/main/java/org/springframework/beans · high confidence

Registration of CandidateComponentsIndexer annotation processor

The Spring Context Indexer now registers the \CandidateComponentsIndexer\ as a standard Java annotation processor via the \META-INF/services/javax.annotation.processing.Processor\ file. This enables the indexer to automatically process candidate components during compilation, supporting the generation of the candidate components index.

spring-context-indexer/src/main/resources · high confidence

Reintroduction of AOP Alliance interfaces with null-safety annotations

Spring now redistributes the AOP Alliance interfaces (Advice, Interceptor, MethodInterceptor, Joinpoint, etc.) within the spring-aop module, restoring the structure present in Spring 2.x. These repackaged interfaces have been updated with JSpecify null-safety annotations (e.g., @Nullable on return values and parameters, @NullMarked at the package level) to improve static analysis and null-checking for users of the AOP API.

spring-aop/src/main/java/org/aopalliance · high confidence

ServiceLoader support classes now use JSpecify null-safety annotations

The Spring Beans module's ServiceLoader integration classes (AbstractServiceLoaderBasedFactoryBean, ServiceFactoryBean, ServiceListFactoryBean, ServiceLoaderFactoryBean) have been updated to use JSpecify annotations (@Nullable, @NullMarked) for null-safety. This change improves type safety and IDE support for developers using these FactoryBeans to load services via the JDK ServiceLoader mechanism, ensuring clearer contracts around nullable service types and class loaders.

spring-beans/src/main/java/org/springframework/beans/factory/serviceloader · high confidence

Spring AOP adapter package restructured and modernized

The \spring-aop/src/main/java/org/springframework/aop/framework/adapter\ package has been refactored to modernize the codebase and improve null-safety. Key changes include the introduction of \AdvisorAdapterRegistrationManager\, a \BeanPostProcessor\ that automatically registers \AdvisorAdapter\ beans with the global registry, simplifying the integration of custom advice types. The core adapter classes (\MethodBeforeAdviceAdapter\, \AfterReturningAdviceAdapter\, \ThrowsAdviceAdapter\) and their corresponding interceptors now use Java 8+ features like \instanceof\ pattern matching and \getParameterCount()\. Null-safety is enforced via JSpecify annotations (\@Nullable\, \@NullMarked\), and compiler warnings have been resolved by adding \@Override\ annotations, using empty array constants, and ensuring consistent formatting. The \ThrowsAdviceInterceptor\ now explicitly validates \afterThrowing\ method signatures during initialization, rejecting invalid configurations early.

spring-aop/src/main/java/org/springframework/aop/framework/adapter · high confidence

Spring AOP auto-proxying infrastructure migrated to JSpecify null-safety

The auto-proxying components in \spring-aop\ (including \AbstractAdvisorAutoProxyCreator\, \BeanFactoryAdvisorRetrievalHelper\, \AutoProxyUtils\, and related classes) have been updated to use JSpecify annotations (\@Nullable\) instead of previous nullability conventions. This change standardizes null-handling across the auto-proxying API, ensuring that parameters, return values, and fields explicitly declare nullability, which improves static analysis and IDE support for developers using Spring AOP.

spring-aop/src/main/java/org/springframework/aop/framework/autoproxy · high confidence

Spring AOP interfaces adopt JSpecify null-safety annotations

The core Spring AOP interfaces in the \org.springframework.aop\ package have been updated to use JSpecify annotations for null-safety. This change introduces \@Nullable\ annotations on parameters and return values across key interfaces such as \AfterReturningAdvice\, \MethodBeforeAdvice\, \ProxyMethodInvocation\, and \TargetSource\ to explicitly document nullable contract points. Additionally, \Advisor.isPerInstance()\ and \TargetSource\ methods like \isStatic()\ and \releaseTarget()\ are now declared as default methods, and \ClassFilter\ and \MethodMatcher\ are marked as \@FunctionalInterface\ to support caching requirements.

spring-aop/src/main/java/org/springframework/aop · high confidence

Spring AOP namespace configuration and scoped proxy support

This change establishes the core configuration for the Spring AOP XML namespace. It registers the AOP namespace handler to process schema definitions, mapping both HTTP and HTTPS URLs for versions 2.0 through 4.3 (plus the unversioned schema) to the current XSD. It also adds tooling metadata to support IDE autocomplete and validation for the 'aop' prefix. Additionally, it registers a bean registration contribution provider to automatically generate scoped proxy beans, enabling transparent proxying for scoped beans without explicit XML configuration.

spring-aop/src/main/resources/META-INF · high confidence

Spring Beans XML schema and namespace handler registration

The Spring Beans module now registers its XML schema definitions (XSDs) and namespace handlers for the beans, tool, and util namespaces. This includes support for versions 2.0 through 4.3, as well as unversioned schema locations, and adds HTTPS URL mappings for secure schema resolution. Additionally, tooling metadata is provided to help IDEs recognize the namespace prefixes and icons.

spring-beans/src/main/resources/META-INF · high confidence

Spring Context Indexer moved to processor subpackage and deprecated

The Spring Context Indexer implementation has been relocated to the new \org.springframework.context.index.processor\ subpackage to support Jigsaw module boundaries. The \CandidateComponentsIndexer\ annotation processor is now marked as deprecated (since 6.1) and scheduled for removal, as it is superseded by the AOT engine and forthcoming AOT-generated Spring components index. This change affects the internal structure of the indexer module but maintains the existing functionality of generating \META-INF/spring.components\ metadata files during compilation.

spring-context-indexer/src/main/java · high confidence

Standardize development environment with EditorConfig, Git attributes, and SDKMAN configuration

The project now enforces consistent coding styles and repository behavior through the addition of .editorconfig (defining UTF-8 encoding, tab indentation for Java/Kotlin/XML, and LF line endings), .gitattributes (normalizing line endings to LF and marking binary files), and .sdkmanrc (pinning the Java runtime to version 25-librca). These changes ensure that all contributors work with a uniform code style and that file integrity is maintained across different operating systems and editors.

(repo-wide) · high confidence

Streamlined Spring AOP XML namespace schema

The Spring AOP XML configuration schema (spring-aop.xsd) has been updated to streamline namespace support by moving towards unversioned schema locations. This change simplifies the configuration process for users defining AOP aspects, pointcuts, and advisors, ensuring that the XML definitions for elements like \<aop:config\> and \<aop:aspectj-autoproxy\> reference the current, unversioned schema URLs rather than specific versioned ones.

spring-aop/src/main/resources/org · high confidence

Support for ignoring AspectJ-compiled aspects in Spring AOP

Spring AOP now allows users to prevent double execution of aspects when both AspectJ weaving and Spring AOP proxying are active. A new system property, \spring.aop.ajc.ignore\, has been introduced; when set to \true\, Spring AOP will skip aspects that have been compiled by the AspectJ compiler (ajc). This restores traditional Spring behavior for mixed environments, and the change is implemented in the \AbstractAspectJAdvisorFactory\ and related AOT processors within the \spring-aop\ module.

spring-aop/src/main/java/org/springframework/aop/aspectj/annotation · high confidence

Target source creators now support null-safety and Commons Pool 2

The target subpackage classes (AbstractBeanFactoryBasedTargetSourceCreator, LazyInitTargetSourceCreator, QuickTargetSourceCreator) have been updated to use JSpecify null-safety annotations (@Nullable, @NullMarked) and modern Java patterns (instanceof pattern matching, method references, Collection.removeIf). Additionally, QuickTargetSourceCreator now supports creating CommonsPool2TargetSource instances via the ':' bean name prefix, enabling pooled target sources alongside existing ThreadLocal and Prototype options.

spring-aop/src/main/java/org/springframework/aop/framework/autoproxy/target · high confidence

TargetSource implementations updated for JSpecify null-safety and serialization fixes

All classes in the org.springframework.aop.target package have been revised to use JSpecify annotations (e.g., @Nullable) for explicit null-safety, and the package now declares @NullMarked in package-info.java. This includes behavioral adjustments such as making TargetSource.getTarget() nullable again to align with MethodInvocation.getThis, fixing the default maxWait value in CommonsPool2TargetSource, and ensuring proper serialization behavior (e.g., AbstractPrototypeBasedTargetSource disconnects to SingletonTargetSource on serialization).

spring-aop/src/main/java/org/springframework/aop/target · high confidence

Updated Eclipse IDE configuration for JDK 17 and Spring formatting

The Eclipse project settings have been updated to target JDK 17 (source, target, and compliance levels) and enforce UTF-8 encoding across all source and resource directories. The Java code formatter and cleanup profiles are now aligned with Spring conventions, and the default code templates for new types include a @since 7.0 tag. Additionally, specific compiler warnings such as unclosed AutoCloseable resources and forbidden references have been adjusted to reduce noise in the IDE.

src/eclipse · high confidence

Updated JavaMail MIME type mappings

The JavaMail support module now uses a revised mime.types resource file that explicitly registers SVG (image/svg+xml) and PNG (image/png) file extensions, ensuring these formats are correctly identified by the Java Activation Framework. The file also includes updated mappings for C++ source files (cpp, c++) under text/plain and adds various other standard MIME types adapted from external sources.

spring-context-support/src/main/resources/org · high confidence

Updated XML configuration schemas to version 4.3

The Spring XML bean definition schemas (spring-beans.xsd, spring-util.xsd, spring-tool.xsd) and the legacy DTD (spring-beans.dtd) have been updated to version 4.3. This change ensures that XML configuration files validated against these resources conform to the latest structural definitions for bean factories, including support for profiles, default attribute inheritance, and tool annotations.

spring-beans/src/main/resources/org · high confidence

Updated documentation assets for MVC context hierarchy and OXM exceptions

The documentation assets in framework-docs/modules/ROOT/assets have been refreshed with new diagram files. A new SVG image for the MVC DispatcherServlet context hierarchy has been added, providing a modernized visual representation of the split contexts. Additionally, a new OmniGraffle source file for the OXM exceptions diagram has been introduced to support the documentation's exception handling visuals.

framework-docs/modules/ROOT/assets · medium confidence

WebClient now defaults to JDK HttpClient when no other HTTP client is present

WebClient will automatically use the JDK HttpClient for its underlying HTTP transport if no other HTTP client implementation (such as Reactor Netty, Jetty, or Apache) is available on the classpath. This change removes the requirement for users to explicitly configure an HTTP client library when using the JDK HttpClient, simplifying setup for applications that rely on the standard library's HTTP client.

spring-webflux · high confidence

XML bean definition parsing infrastructure restructured with null-safety

The XML bean definition parsing infrastructure in spring-beans has been refactored to improve null-safety and code clarity. The core parser hierarchy (AbstractBeanDefinitionParser, AbstractSingleBeanDefinitionParser, AbstractSimpleBeanDefinitionParser) now uses JSpecify @Nullable annotations to explicitly define nullability contracts for parsing methods and return values. The DefaultBeanDefinitionDocumentReader has been updated to handle profile attributes more consistently, skipping evaluation of XML files when specified profiles do not match the current environment. Additionally, the BeansDtdResolver has been streamlined to resolve spring-beans.dtd declarations from the classpath, and the DefaultDocumentLoader includes improved security documentation regarding XXE attack vectors.

spring-beans/src/main/java/org/springframework/beans/factory/xml · high confidence

Fixes

1 commit (1 fix) fixing framework-docs/src/main/java/org/springframework/docs/dataaccess/transaction, framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/transaction

A fix in framework-docs/src/main/java/org/springframework/docs/dataaccess/transaction, framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/transaction — 1 commit (1 fix), 6 files: “Fix transaction managemement snippet and documentation”.

framework-docs/src/main/java/org/springframework/docs/dataaccess/transaction, framework-docs/src/main/kotlin/org/springframework/docs/dataaccess/transaction · medium confidence · unverified

Test coverage

1 commit adding/updating tests in framework-docs/src/main/kotlin/org/springframework/docs/testing/resttestclient; 2 commits adding/updating tests in framework-docs/src/main/java/org/springframework/docs/testing/resttestclient; 6 commits adding/updating tests in framework-docs/src/main/java/org/springframework/docs/testing/mockmvc; 7 commits adding/updating tests in framework-docs/src/main/kotlin/org/springframework/docs/testing/mockmvc; 8 commits adding/updating tests in framework-docs/src/main/java/org/springframework/docs/core/aot/hints/testing; Add SimpleTarget test fixture for scoped proxy testing; Added AspectJ caching tests; Added AspectJ transaction tests for private/protected methods and JTA rollback rules; Added CDI sample test classes for candidate component indexing; Added JCache integration tests for Ehcache and cache management; Added JMH benchmark for Kotlin BeanUtils instantiation; Added JMH benchmarks for Spring Beans property access and instantiation; Added JMH benchmarks for bean factory performance; Added JPA sample test classes for context indexing; Added Kotlin test fixtures for AOT and suspending factory support; Added Kotlin-specific AOT and constructor resolution tests; Added Kotlin-specific tests for @Autowired annotation support; Added Kotlin-specific tests for BeanUtils; Added TestCompiler utility for integration tests; Added integration test resources for AOP, beans, and environment profiles; Added integration tests for @EnableCaching and @EnableTransactionManagement; Added integration tests for AOP namespace advice ordering and scoped proxies; Added integration tests for Environment API support in ApplicationContext implementations; Added integration tests for JSR-330 and Spring scoped beans; Added integration tests for SPr7538 SpEL type conversion; Added integration tests for XML bean definition parsing of nested components; Added integration tests for the Multi-Release JAR plugin; Added sample classes for context-indexer tests; Added test coverage for Spring property editors; Added test fixtures for Spring Beans factory and XML parsing scenarios; Added test fixtures for Spring Cache AspectJ configuration; Added test for @EnableSpringConfigured annotation support; Added test for auto-proxying of code-style aspects; Added test resources for Quartz scheduler integration; Added test suite for JCache interceptor operations; Added tests for AOT infrastructure and code generation components; Added tests for AspectJ async execution and configuration; Added tests for AspectJ bean configuration and auto-proxying; Added tests for DefaultNamespaceHandlerResolver; Added tests for JCache configuration and custom interceptors; Added tests for JavaMail components; Added tests for Kotlin BeanFactory extensions; Added tests for Kotlin coroutine support in AopUtils; Added tests for Kotlin proxy and coroutine utility support; Added tests for Quartz scheduling components; Added tests for ServiceLoader integration in Spring Beans; Added tests for SimpleMailMessage defensive copying and equality; Added tests for Spring AOP aspectj components; Added tests for TransactionAwareCacheDecorator and AbstractTransactionSupportingCacheManager; Added tests for XML bean definition parsing and factory behavior; Added tests for deprecated PagedListHolder and PropertyComparator; Added tests for reflection hint recording; Added tests for the context indexer processor; Added unit tests for FreeMarker configuration and template loading; Added unit tests for Spring Beans parsing components; Added unit tests for annotation-based bean wiring and injection; Consolidated AspectJ test fixtures in spring-aop; Expanded test coverage for Spring Beans factory behavior; Expanded test coverage for Spring Beans factory support; Expanded test coverage for Spring Beans introspection and property access; Integration tests for AOP auto-proxy and advice invocation order; Integration tests for Kotlin coroutines with Spring AOP; Migrate spring-beans factory config tests to JUnit Jupiter and AssertJ; Migrate test suite from JUnit 4 to JUnit Jupiter; New test fixtures for JCache annotation testing; New test fixtures for Spring Beans AOT and bean lifecycle testing; New test-fixture advice classes for AOP testing.

Dependencies

Massive dependency and build toolchain upgrades across 37 manifests

The build system has been updated to manage a wide range of dependency upgrades across 37 manifest files. Key changes include upgrading the dependency management plugin to 1.0.7, the Gradle wrapper to version 3.2.1, and the Kotlin language version to 2.2.10. Significant library updates include Jackson to 2.9.6, JUnit to 4.12 and 5.13.4, Netty to 4.1.123, and Undertow to 2.3.18. The build also incorporates upgrades to Micrometer (1.16.4), Hibernate ORM (7.4), and various testing tools like Mockito (5.21) and HtmlUnit (4.18).

(dependencies) · high confidence

Upgrade Gradle wrapper to version 9.7.1

The Gradle wrapper has been updated to use Gradle 9.7.1, ensuring that builds are executed with this specific version of the Gradle build tool. This change updates the distribution URL in the wrapper properties to point to the 9.7.1 binary release, providing users with a consistent and reproducible build environment.

gradle · high confidence

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

How this codebase got here

Score

  • CAI 56 → 54 (-2.3)
  • Rubric changed (rubric-2026.10.5 → rubric-2026.11.3) — scores are not directly comparable.

Lenses

  • Code Health 81 → 80 (-1.4)
  • Architecture 72 → 71 (-0.7)
  • Maturity 70 → 74 (+3.4)
  • Readiness 48 → 48 (+0.1)
  • Security 54 → 45 (-9.1)
  • Performance 75 → 85 (+9.5)

Resolved (1753)

  • Assertions commented out: rejectsBogusDynamicIntroductionAdviceWithNoAdapter (spring-context/src/test/java/org/springframework/aop/framework/AbstractAopProxyTests.java)
  • Dependency hygiene PARTLY measured — Maven/Gradle declarations read, no dependency graph resolved
  • Duplicated block (10 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/integration/resthttpserviceclient/customresolver/CustomHttpServiceArgumentResolver.kt)
  • Duplicated block (10 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/integration/restmessageconversion/RestClientMessageConversion.kt)
  • Duplicated block (10 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/integration/restmessageconversion/RestClientMessageConversion.kt)
  • Duplicated block (10 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webflux/filters/urlhandler/UrlHandlerFilterConfiguration.kt)
  • Duplicated block (10 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webfluxfnpredicates/RouterConfiguration.kt)
  • Duplicated block (10 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webmvc/filters/urlhandler/UrlHandlerFilterConfiguration.kt)
  • Duplicated block (10 lines × 2) (spring-web/src/main/java/org/springframework/http/codec/JacksonCodecSupport.java)
  • Duplicated block (10–13 lines × 2) (spring-web/src/main/java/org/springframework/web/util/JavaScriptUtils.java)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/integration/jms/jmsreceivingasync/ExampleListener.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/mvccorsglobal/WebConfiguration.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webmvc/mvccontroller/mvcannexceptionhandlerexc/ExceptionController.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webmvc/mvccontroller/mvcannrequestmappingregistration/MyConfiguration.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webmvc/mvcservlet/mvclocaleresolverinterceptor/WebConfiguration.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/webmvc/mvcservlet/mvcservletcontexthierarchy/MyWebAppInitializer.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/websocket/stomp/websocketstompauthenticationtokenbased/WebSocketConfiguration.kt)
  • Duplicated block (11 lines × 2) (framework-docs/modules/ROOT/examples/docs-src/main/kotlin/org/springframework/docs/web/websocket/stomp/websocketstomphandlesimplebroker/WebSocketConfiguration.kt)
  • Duplicated block (11 lines × 3) (spring-context/src/main/java/org/springframework/scheduling/config/AnnotationDrivenBeanDefinitionParser.java)
  • Duplicated block (11 lines × 3) (spring-core/src/main/java/org/springframework/core/CoroutinesUtils.java)
  • …and 1733 more

New (1175)

  • BeanPropertyRowMapper.mapRow (cyclomatic 16) (spring-jdbc/src/main/java/org/springframework/jdbc/core/BeanPropertyRowMapper.java)
  • DataBinder.checkAllowedFields (cognitive 18) (spring-context/src/main/java/org/springframework/validation/DataBinder.java)
  • Dependency hygiene PARTLY measured — Gradle build resolved part of the dependency graph, currency reported but not scored
  • Duplicated block (10 lines × 2) (framework-docs/src/main/kotlin/org/springframework/docs/web/webflux/filters/urlhandler/UrlHandlerFilterConfiguration.kt)
  • Duplicated block (10 lines × 2) (spring-context/src/main/java/org/springframework/validation/DataBinder.java)
  • Duplicated block (10 lines × 2) (spring-context/src/main/kotlin/org/springframework/context/support/BeanDefinitionDsl.kt)
  • Duplicated block (11 lines × 4) (spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt)
  • Duplicated block (16 lines × 2) (spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt)
  • Duplicated block (22–26 lines × 2) (framework-docs/src/main/kotlin/org/springframework/docs/web/webflux/controller/annmethods/partevent/PartEventController.kt)
  • Duplicated block (27 lines × 3) (spring-beans/src/main/kotlin/org/springframework/beans/factory/BeanRegistrarDsl.kt)
  • Duplicated block (39 lines × 2) (framework-docs/src/main/kotlin/org/springframework/docs/web/webflux/controller/mvcannvalidation/HandlerMethodValidationExceptionVisitor.kt)
  • Duplicated block (5 lines × 2) (spring-web/src/main/java/org/springframework/web/accept/StandardApiVersionDeprecationHandler.java)
  • Duplicated block (9 lines × 2) (framework-docs/src/main/kotlin/org/springframework/docs/web/webflux/controller/webfluxannexceptionhandlermedia/MediaTypeController.kt)
  • Duplicated block (9 lines × 2) (spring-context/src/main/java/org/springframework/validation/DataBinder.java)
  • Edited copies of one member (3 members, 10+ corresponding lines) (spring-beans/src/main/java/org/springframework/beans/factory/support/BeanRegistryAdapter.java)
  • Edited copies of one member (3 members, 10+ corresponding lines) (spring-beans/src/main/java/org/springframework/beans/factory/xml/BeanDefinitionParserDelegate.java)
  • Edited copies of one member (3 members, 11+ corresponding lines) (spring-core-test/src/main/java/org/springframework/aot/agent/InstrumentedBridgeMethods.java)
  • Edited copies of one member (3 members, 11+ corresponding lines) (spring-core/src/main/java/org/springframework/asm/SymbolTable.java)
  • Edited copies of one member (3 members, 11+ corresponding lines) (spring-core/src/main/java/org/springframework/core/annotation/AnnotationUtils.java)
  • Edited copies of one member (3 members, 11+ corresponding lines) (spring-core/src/main/java/org/springframework/core/codec/AbstractDecoder.java)
  • …and 1155 more

Changes since last survey

  • 108 commits — 98 feature/other, 10 fixes

By area

  • (repo) — 33 commits
  • spring-core/src — 16 commits
  • spring-context/src — 12 commits
  • spring-web/src — 10 commits
  • spring-beans/src — 9 commits
  • framework-platform/framework-platform.gradle — 6 commits
  • spring-jdbc/src — 5 commits
  • .github/workflows — 3 commits
  • framework-docs/modules — 3 commits
  • spring-expression/src — 2 commits
  • spring-orm/src — 2 commits
  • spring-webmvc/src — 2 commits
  • (root) — 1 commit
  • buildSrc/src — 1 commit
  • gradle/wrapper — 1 commit
  • spring-messaging/src — 1 commit
  • spring-tx/src — 1 commit

Notable commits

  • fix: Allow building hotfix branches
  • fix: Apply TaskDecorator to fixed-delay tasks as well
  • fix: Build hotfix branches
  • fix: Fix RequestPart name resolution
  • fix: Fix SUN-SUN day-of-week range in CronExpression
  • fix: Fix @since tags for ProxyFactoryCustomizer
  • fix: Fix auto-grow limit note for constructor binding
  • fix: Fix media type API version fallback to Content-Type
  • fix: Fix parsing of double negation in profile expressions
  • fix: Fix stale ConcurrentReferenceHashMap size after compute
  • change: Add JPA 4.0 getResultCount as query-terminating method
  • change: Add JSON Lines to ProtobufJsonEncoder media types
  • change: Add and correct @since tags for auto-grow APIs
  • change: Add dedicated pause and restart callbacks to SmartLifecycle
  • change: Add runtime compatibility with JPA 4.0 M8
  • change: Align generics in ExceptionTypeFilter constructors
  • change: Allow self-populating lists within auto-grow limit
  • change: Apply auto-grow limit to direct field binding
  • change: Apply back-pressure to writes in ConcurrentLruCache
  • change: Avoid getParameterNames mismatch and extract mapped properties check
  • …and 88 more

Architecture

  • Containers 0 added · 0 removed · contexts 0 added · 0 removed · edges 0 added · 1 removed

Removed dependency edges (was a dependency, now gone) (1)

  • spring → buildSrc

Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.

Survey your own repository

spring-projects/spring-framework was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.

About this page

  • The score is its most recent published measurement, taken on 13 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
  • Measured at commit 396b055325894b868c96bdca42ac0b1857814815 — the exact code this score is about.
  • Scored under rubric-2026.11.3 — the same rubric and the same method as every other entry in this index.
  • Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.61+preprod-f3449e6eb431.