spring-projects/spring-boot
55.6
Adequate · 11 November 2026
308.1k
lines of production code
Java
primary language
7
measurements over time
What this system is
Features
Add AMQP 1.0 RabbitMQ auto-configuration
Spring Boot now provides auto-configuration for the new AMQP 1.0 RabbitMQ client. This introduces a new \spring.amqp.rabbitmq\ configuration namespace to manage connection details, SSL bundles, and template settings. The auto-configuration registers an \Environment\, \AmqpConnectionFactory\, \RabbitAmqpTemplate\, and \RabbitAmqpAdmin\, while also supporting annotation-driven listeners via \@EnableRabbit\. It includes a health indicator and integration tests for both Docker Compose and Testcontainers scenarios, including SSL-secured connections.
module/spring-boot-data-r2dbc, smoke-test/spring-boot-smoke-test-amqp-rabbitmq · high confidence
Add AmqpConnectionDetails interface for AMQP broker connection configuration
The spring-boot-amqp module now includes a new AmqpConnectionDetails interface that allows applications to provide specific details for connecting to an AMQP broker. This interface extends ConnectionDetails and defines methods to retrieve the broker's address (host and port) as well as optional authentication credentials (username and password), enabling more flexible and secure connection setup for AMQP-based services.
spring-boot-amqp · high confidence
Add Ant tasks to find the main class and build executable JARs
This change introduces the \findmainclass\ and \exejar\ Ant tasks to the Spring Boot Antlib, enabling users to build Spring Boot applications using Apache Ant. The \findmainclass\ task scans a classes directory or JAR to locate the main class (or uses an explicit override), while the \exejar\ macro creates a runnable executable JAR by embedding the Spring Boot loader, organizing application classes and dependencies into the \BOOT-INF\ structure, and setting the correct manifest attributes.
build-plugin/spring-boot-antlib · high confidence
Add AspectJ smoke test demonstrating AOP service monitoring
A new smoke test has been added for the Spring Boot AspectJ starter, providing a concrete example of how to integrate Aspect-Oriented Programming. The test includes a sample application that uses a \ServiceMonitor\ aspect to log service method executions via \@AfterReturning\ advice, verifying that the AOP infrastructure works correctly within a Spring Boot context.
smoke-test/spring-boot-smoke-test-aspectj · high confidence
Add Data JPA smoke test for hotel and city domain
A new smoke test module has been added to validate Spring Boot Data JPA functionality. It includes a sample application with domain models for cities, hotels, and reviews, along with Spring Data repositories and services to query and manage this data. The test suite verifies that the application starts correctly, the JMX MBeans are registered, and the root endpoint returns the expected city name.
smoke-test/spring-boot-smoke-test-data-jpa · high confidence
Add Hazelcast integration support
This change introduces auto-configuration for Hazelcast IMDG, enabling automatic setup of Hazelcast server and client instances based on configuration files or properties. It includes support for Docker Compose and Testcontainers service connections, allowing applications to easily connect to Hazelcast instances running in containers. The module also provides health indicators for monitoring Hazelcast instance status and ensures proper dependency ordering with JPA EntityManagerFactory beans.
module/spring-boot-hazelcast · high confidence
Add JDBC session smoke test with RestTestClient
A new smoke test for Spring Boot's JDBC-backed HTTP session management has been added to verify session persistence and expiration. The test application configures a simple REST controller and security settings, while the test suite uses the new RestTestClient to simulate browser-like session behavior, including login, session ID verification, and expiration after a two-minute timeout.
smoke-test/spring-boot-smoke-test-session-jdbc · high confidence
Add JPA domain models with nullability annotations
The smoke test for Spring Boot with Hibernate now includes \Note\ and \Tag\ entity classes in the \smoketest.jpa.domain\ package. These models define a many-to-many relationship between notes and tags, utilizing JPA annotations for entity mapping and sequence-based ID generation. The fields explicitly use \@Nullable\ annotations from the \org.jspecify\ library to indicate potential null values, ensuring the smoke test validates behavior with null-safe type checking.
spring-boot-smoke-test-hibernate · high confidence
Add JPA smoke test with Spring Boot and Hibernate
The smoke-test/spring-boot-smoke-test-hibernate module now includes a complete JPA-based application that demonstrates Spring Boot integration with Hibernate. The test application features a web layer with an IndexController serving a FreeMarker template, JPA repositories for Note and Tag entities, and domain models with nullability annotations from org.jspecify. Integration tests verify that the application starts correctly, the home page displays four notes, and the JPA repositories can retrieve all notes and tags with their relationships intact.
smoke-test/spring-boot-smoke-test-hibernate · high confidence
Add JSP smoke test using RestTestClient
A new smoke test module for Spring Boot web applications using JSP has been added. It includes a sample application with a controller and JSP views, along with integration tests that verify JSP rendering and custom error pages using the new RestTestClient.
smoke-test/spring-boot-smoke-test-web-jsp · high confidence
Add Jetty-based WebSocket smoke test with echo, reverse, and multiplayer Snake demos
The smoke-test/spring-boot-smoke-test-websocket-jetty module now provides a complete smoke test for Spring Boot applications running on Jetty with WebSocket support. It includes a sample application that registers echo, reverse, and multiplayer Snake WebSocket endpoints, along with static HTML clients for each demo. The test suite verifies the echo and reverse endpoints by connecting via a Spring WebSocket client and asserting the expected message payloads, and it also includes unit tests for the Snake game timer logic to ensure dysfunctional snakes are removed during broadcast.
smoke-test/spring-boot-smoke-test-websocket-jetty · high confidence
Add Kafka smoke test with SSL support
The smoke-test/spring-boot-smoke-test-kafka module now includes a new SSL-enabled smoke test that validates secure communication between a Spring Boot application and a Kafka broker using client certificates. This test introduces a custom SecureKafkaContainer to configure SSL environment variables and mount certificate resources, alongside a SampleKafkaSslApplicationTests class that uses Spring Boot's Testcontainers service connection to wire the Kafka container into the application context. The test verifies that a producer can successfully send a message and a consumer can receive it over an SSL-encrypted channel, ensuring the application's SSL configuration and certificate handling work correctly in a containerized environment.
smoke-test/spring-boot-smoke-test-kafka · high confidence
Add Kotlinx Serialization JSON auto-configuration with property-based customization
This module introduces auto-configuration for Kotlinx Serialization JSON, allowing users to customize the JSON builder via the \spring.kotlinx.serialization.json\ prefix. Configuration properties include \naming-strategy\ (e.g., snake\_case, kebab\_case), \pretty-print\, \lenient\, \ignore-unknown-keys\, \encode-defaults\, \explicit-nulls\, \coerce-input-values\, \allow-structured-map-keys\, \class-discriminator\, and others. The auto-configuration registers a \Json\ bean that respects these settings, and users can further customize it by implementing the \KotlinxSerializationJsonBuilderCustomizer\ interface.
module/spring-boot-kotlinx-serialization-json · high confidence
Add Netty auto-configuration with leak detection support
Introduces auto-configuration for the Netty library, allowing users to control reference-counted buffer leak detection via the \spring.netty.leak-detection\ property. The configuration supports levels from DISABLED to PARANOID and automatically excludes the auto-configuration class from lazy initialization to ensure leak detection is set early in the application lifecycle.
module/spring-boot-netty · high confidence
Add OAuth 2.0 Authorization Server smoke test
A new smoke test has been added for the OAuth 2.0 Authorization Server module. It configures a sample authorization server with standard endpoints (authorization, token, JWK set, revocation, introspection, logout, and user info) and a test client, then verifies that the OpenID Connect and OAuth 2.0 metadata endpoints are accessible, that anonymous requests redirect to login, and that token requests succeed with valid credentials but fail with unauthorized or redirect responses as appropriate.
smoke-test/spring-boot-smoke-test-oauth2-authorization-server · high confidence
Add RabbitMQ smoke tests with SSL support
The smoke-test/spring-boot-smoke-test-rabbitmq module now includes a complete set of smoke tests for RabbitMQ integration, featuring both standard and SSL-secured connections. The new test suite verifies basic message sending via \SampleRabbitApplicationTests\ and validates SSL configuration using \SampleRabbitApplicationSslTests\, which leverages Spring Boot's SSL bundle support and Testcontainers to spin up a secure RabbitMQ instance. Supporting artifacts include a custom \SecureRabbitMqContainer\ for SSL setup, necessary SSL certificates and keys, and a RabbitMQ configuration file to enforce SSL listeners.
smoke-test/spring-boot-smoke-test-data-mongodb · high confidence
Add RabbitMQ smoke tests with SSL support
The smoke-test/spring-boot-smoke-test-rabbitmq module now includes a complete set of smoke tests for RabbitMQ integration, featuring both standard and SSL-secured connections. The new test suite verifies basic message sending via \SampleRabbitApplicationTests\ and validates SSL configuration using \SampleRabbitApplicationSslTests\, which leverages Spring Boot's SSL bundle support and Testcontainers to spin up a secure RabbitMQ instance. Supporting artifacts include a custom \SecureRabbitMqContainer\ for SSL setup, necessary SSL certificates and keys, and a RabbitMQ configuration file to enforce SSL listeners.
smoke-test/spring-boot-smoke-test-rabbitmq · high confidence
Add SAML2 Service Provider smoke test with multiple identity providers
A new smoke test module for the SAML2 Service Provider has been added, featuring a sample application configured to authenticate against both SimpleSAMLphp and Okta identity providers. The test suite verifies that unauthenticated requests redirect to the login page and that the login endpoint presents options for both configured asserting parties, utilizing the new RestTestClient for HTTP assertions.
smoke-test/spring-boot-smoke-test-saml2-service-provider · high confidence
Add SNI integration test infrastructure and documentation schema
Added a new integration test module for Server Name Indication (SNI) support, including a script to generate the necessary SSL certificates and keys for the reactive, servlet, and client test applications. Additionally, introduced a GraphQL schema definition for the documentation resources to support project portfolio queries, and established a new nohttp checkstyle configuration to validate HTTP URLs in the codebase.
config/nohttp, documentation/spring-boot-docs/src/main/resources, integration-test · high confidence
Add Spring Boot Data REST smoke test for city and hotel search
A new smoke test module has been added to validate Spring Boot Data REST functionality. It provides a sample application exposing City and Hotel repositories via REST, including search endpoints for filtering cities by name and country. The test suite verifies the REST API behavior using MockMvc and confirms repository query methods work correctly against an in-memory H2 database.
smoke-test/spring-boot-smoke-test-data-rest · high confidence
Add Spring Boot JDBC smoke test with customer repository and controller
The smoke-test/spring-boot-smoke-test-data-jdbc module now includes a complete Spring Boot application demonstrating Spring Data JDBC integration. This includes a Customer entity with nullability annotations, a CustomerRepository with a custom query method, a REST controller for querying customers by name, and corresponding SQL schema and seed data. The module also provides integration tests verifying both repository functionality and the web endpoint via MockMvc.
smoke-test/spring-boot-smoke-test-data-jdbc · high confidence
Add Spring Boot Logback smoke test with profile-based logging and console toggle
A new smoke test for Spring Boot's Logback integration has been added to verify logging behavior. The test application demonstrates how to configure log levels using a \logback-spring.xml\ file, specifically showing that the \smoketest.logback\ logger outputs at DEBUG level by default and switches to TRACE when the \staging\ profile is active. It also validates the ability to disable console logging entirely via the \logging.console.enabled=false\ property.
smoke-test/spring-boot-smoke-test-logback · high confidence
Add Spring Boot WAR smoke test with custom property support
A new smoke test module for Spring Boot WAR packaging has been added. It includes a controller returning a simple response, a main application class configured to load custom properties from WEB-INF, and a test verifying that the custom property 'demo.string.value' is correctly loaded into the application context.
smoke-test/spring-boot-smoke-test-war · high confidence
Add Spring Boot cache smoke test with Redis, Ehcache, and Infinispan support
A new smoke test has been added for the Spring Boot cache module, verifying caching behavior with Redis, Ehcache, and Infinispan. The test application uses a scheduled client to periodically retrieve country data, which is cached via a repository annotated with Spring's caching abstractions. The test suite includes standard unit tests to validate cache population and a Docker-based integration test that spins up a Redis container using Testcontainers to ensure async cache writes are handled correctly.
smoke-test/spring-boot-smoke-test-cache · high confidence
Add Spring Boot smoke test demonstrating configuration properties and command-line arguments
A new smoke test has been added to verify that a Spring Boot application correctly loads configuration properties and handles command-line arguments. The test application includes a service that reads a name and duration from properties, supports overriding these via command-line flags, and demonstrates a custom exit code exception. Tests confirm that the application context loads correctly and that output reflects both default property values and command-line overrides.
smoke-test/spring-boot-smoke-test-simple · high confidence
Add Spring Boot smoke test for ActiveMQ Artemis integration
This change introduces a new smoke test for Spring Boot's ActiveMQ Artemis support. It includes a sample application that configures a JMS queue and uses Spring's JMS client to send and receive messages, along with integration tests that verify the functionality using a Testcontainers-based Artemis container.
smoke-test/spring-boot-smoke-test-artemis · high confidence
Add Spring Boot smoke test for Flyway integration
Added a new smoke test module that verifies Spring Boot's integration with Flyway for database migrations. The test includes a sample application that defines a Flyway migration script to create a PERSON table and insert initial data, along with a repository and a CommandLineRunner to validate the setup. A corresponding test class confirms that the database is correctly initialized with the expected record count, ensuring the Flyway migration runs successfully during application startup.
smoke-test/spring-boot-smoke-test-activemq, smoke-test/spring-boot-smoke-test-flyway, smoke-test/spring-boot-smoke-test-liquibase · high confidence
Add Spring Boot smoke test for LDAP data access
Added a new smoke test module for Spring Boot's LDAP data support. This includes a sample application that demonstrates querying an embedded LDAP directory using Spring Data LDAP, complete with a Person entity, a repository interface, and test data schema. The test verifies that the application can successfully retrieve person records from the LDAP context.
smoke-test/spring-boot-smoke-test-data-ldap · high confidence
Add Spring Boot smoke test for environment-based configuration properties
A new smoke test module has been added to validate Spring Boot's ability to import configuration values from environment variables. The module defines a \FromEnvConfigurationProperties\ class annotated with \`@ConfigurationProperties(
smoke-test/spring-boot-smoke-test-config · high confidence
Add Spring Boot smoke test for method security
Added a new smoke test module that verifies Spring Security method-level authorization. The test application uses @EnableMethodSecurity with @Secured and @PreAuthorize annotations to enforce role-based access, and includes integration tests confirming that unauthenticated requests are rejected, authenticated users with the correct role can access secured methods, and pre-authorization expressions correctly allow or deny access.
smoke-test/spring-boot-smoke-test-secure · high confidence
Add Spring Boot smoke test for non-web actuator applications
A new smoke test has been added for the \smoke-test/spring-boot-smoke-test-actuator-noweb\ module to verify Spring Boot actuator functionality in non-web environments. The test includes a minimal application setup with a \HelloWorldService\ component, \ServiceProperties\ configuration class, and a basic integration test to ensure the application context loads correctly without a web server.
smoke-test/spring-boot-smoke-test-actuator-noweb · high confidence
Add Spring HATEOAS auto-configuration for HAL JSON support
Spring Boot now automatically configures Spring HATEOAS when the library is on the classpath. The new \HypermediaAutoConfiguration\ registers \LinkDiscoverers\ and \EntityLinks\, and by default configures the Jackson message converter to serialize \RepresentationModel\ objects as \application/hal+json\. This behavior can be disabled by setting \spring.hateoas.use-hal-as-default-json-media-type\ to \false\, in which case responses will be serialized as standard \application/json\. The auto-configuration requires Spring MVC and Jackson on the classpath and backs off gracefully if they are missing or if \@EnableHypermediaSupport\ is declared manually.
module/spring-boot-hateoas · high confidence
Add Spring Integration smoke test application
A new smoke-test application has been added to verify Spring Integration functionality. This application configures a file-based integration flow that reads files from an input directory, processes them through a sample endpoint, and writes the results to an output directory using a fixed-rate polling mechanism.
smoke-test/spring-boot-smoke-test-secure-webflux, spring-boot-smoke-test-integration · high confidence
Add Spring Integration smoke-test with nullability annotations
The smoke-test/spring-boot-smoke-test-integration module now includes a complete Spring Integration demo application, featuring a service that processes file-based messages via a message gateway and a producer application that writes input files. The codebase has been restructured to follow Gradle conventions and is annotated with the Nullability Plugin (jspecify) to enforce null-safety contracts across the service, endpoint, and test components.
smoke-test/spring-boot-smoke-test-integration · high confidence
Add Spring Web Services smoke test with holiday booking example
A new smoke test module has been added to validate Spring Web Services functionality. It includes a sample application that exposes a SOAP endpoint for booking holidays, backed by a stub service and an XSD schema. The test suite verifies the integration using both a full random-port server test and a dedicated server-side test using MockWebServiceClient to validate request handling and service interactions.
smoke-test/spring-boot-smoke-test-webservices · high confidence
Add Spring WebFlux support for Actuator HTTP exchanges and endpoint mappings
This change introduces the reactive implementations for Actuator's HTTP exchange recording and web mapping introspection within the Spring WebFlux module. It adds an HttpExchangesWebFilter to capture request and response details for reactive servers, along with adapters to expose ServerHttpRequest and ServerHttpResponse as recordable types. Additionally, it provides a DispatcherHandlersMappingDescriptionProvider that introspects WebFlux handler mappings (including RequestMappingInfo, URL mappings, and RouterFunctions) to expose detailed mapping information via Actuator.
module/spring-boot-webflux · high confidence
Add Spring gRPC server support with servlet transport
This change introduces a new smoke-test module that demonstrates Spring gRPC server capabilities using the servlet transport. It includes a sample application with a \HelloWorld\ gRPC service (supporting both unary and streaming RPCs), the corresponding protocol buffer definitions, and an integration test that verifies the server's functionality by invoking the service via \grpcurl\ in a Docker container.
smoke-test/spring-boot-smoke-test-grpc-server-servlet · high confidence
Add SpringTransactionProvider for jOOQ transaction integration
A new SpringTransactionProvider class has been added to the spring-boot-jooq module, enabling jOOQ to leverage Spring's PlatformTransactionManager for transaction management. This allows applications using jOOQ to participate in Spring-managed transactions, supporting nested transaction propagation and ensuring that database operations are committed or rolled back in sync with the surrounding Spring transaction context.
spring-boot-jooq · high confidence
Add Subversion client to smoke test bootstrap registry
The smoke test for the Spring Boot bootstrap registry now includes a new Subversion client implementation. This addition allows the test suite to verify functionality involving Subversion servers, specifically handling server certificates during connection.
spring-boot-smoke-test-bootstrap-registry · high confidence
Add custom structured log formatter for Log4j2 smoke test
The smoke test for Spring Boot with Log4j2 now includes a custom structured log formatter (CustomStructuredLogFormatter) that formats log events into a key-value style output. This formatter includes the epoch timestamp, application process ID (if available), the formatted message, and any exception stack traces, providing a more detailed and structured view of log output for testing purposes.
spring-boot-smoke-test-structured-logging-log4j2 · high confidence
Add custom structured log formatter for smoke tests
A new CustomStructuredLogFormatter class has been added to the spring-boot-smoke-test-structured-logging module. This formatter implements the StructuredLogFormatter interface to produce structured log output that includes the epoch timestamp, application process ID (if available), the formatted message, and any associated error details, enabling more precise validation of structured logging behavior in smoke tests.
spring-boot-smoke-test-structured-logging · high confidence
Add embedded ActiveMQ smoke test with JMS producer and consumer
The smoke-test/spring-boot-smoke-test-activemq-embedded module now includes a Spring Boot application that starts an embedded ActiveMQ broker and validates JMS messaging. It adds a Consumer component listening on sample.queue, a Producer component that sends messages via JmsClient, and integration tests that verify messages are received and printed to output. Nullability annotations are applied to the package via package-info.java.
smoke-test/spring-boot-smoke-test-activemq-embedded · high confidence
Add generic AMQP 1.0 auto-configuration and Docker Compose connection support
This change introduces auto-configuration for generic AMQP 1.0 messaging, allowing users to connect to any AMQP 1.0-compliant broker (such as ActiveMQ, Artemis, or RabbitMQ) using standard \spring.amqp\ properties. It provides an \AmqpClient\ for sending and receiving messages, supports annotation-driven listeners via \@AmqpListener\, and automatically configures connection details for services running in Docker Compose environments.
module/spring-boot-amqp · high confidence
Add leaveGroupOnClose property and use StreamsBuilderFactoryBeanConfigurer
The Kafka Streams auto-configuration now exposes a \leaveGroupOnClose\ property, allowing users to control whether the consumer leaves the consumer group when the application shuts down. This is implemented via a new \StreamsBuilderFactoryBeanConfigurer\ that applies this setting (along with existing auto-startup and cleanup configurations) to the underlying Kafka Streams factory bean, ensuring consistent behavior during application lifecycle events.
spring-boot-kafka · high confidence
Add servlet-based smoke test with security and RestClient integration
A new smoke test module for the servlet stack has been added, featuring a sample application that registers a basic servlet and enforces security via default user credentials. The accompanying integration tests verify that the application correctly returns 401 Unauthorized for unauthenticated requests and successfully returns the expected response when authenticated, utilizing Spring's RestClient for HTTP communication.
smoke-test/spring-boot-smoke-test-servlet · high confidence
Add smoke test for JSP-based Spring Boot applications
A new smoke test has been added to verify that Spring Boot applications using JSP views function correctly. The test application includes a controller that renders a JSP page with EL expressions and JSTL tags, along with exception handling for runtime errors. The integration test uses RestTestClient to verify that the JSP view renders correctly with the expected content.
smoke-test/spring-boot-smoke-test-tomcat-jsp · high confidence
Add smoke test for Jetty integration and header size limits
A new smoke test module for the Jetty embedded server has been added to verify core functionality and configuration handling. The test application includes a controller that demonstrates response compression and exposes endpoints to validate server limits for HTTP request and response header sizes. The integration tests use the new RestTestClient to confirm that compression works correctly and that the server properly rejects oversized headers with appropriate HTTP status codes.
smoke-test/spring-boot-smoke-test-jetty · high confidence
Add smoke test for Spring Boot SSL bundle support
A new smoke test module has been added to verify the Spring Boot SSL bundle feature. The test configures a Tomcat server with an SSL bundle (using a JKS keystore) on port 8443 and validates that the application starts with SSL enabled. It uses the new RestTestClient to assert that the home endpoint returns the expected response and that the /actuator/info and /actuator/health endpoints correctly expose SSL bundle details, including certificate chain information and health status for an expired certificate.
smoke-test/spring-boot-smoke-test-tomcat-ssl · high confidence
Add smoke test for Spring Boot with Jetty and SSL
A new smoke test module has been added to verify that Spring Boot applications running on the Jetty server correctly handle SSL/TLS configurations. The test suite includes a sample application configured to listen on port 8443 with a keystore, and integration tests that validate the SSL context is active and that HTTPS requests to the root endpoint return the expected response using the new RestTestClient.
smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase, smoke-test/spring-boot-smoke-test-jetty-ssl · high confidence
Add smoke test for custom Subversion client via BootstrapRegistry
This location introduces a new smoke test demonstrating how to register a custom Subversion client using the Spring Boot BootstrapRegistry. The test includes a \SubversionBootstrap\ helper, a \ConfigDataLoader\ and \ConfigDataLocationResolver\ to load configuration from an \svn:\ prefix, and a \MySubversionClient\ that wraps the default client. The test verifies that the custom client is correctly instantiated and that configuration loaded from the Subversion source is available to the application.
smoke-test/spring-boot-smoke-test-bootstrap-registry · high confidence
Add support for detecting Amazon Web Services (AWS) ECS
Spring Boot can now automatically detect when an application is running on AWS Elastic Container Service (ECS). This is achieved by checking for the \AWS\_EXECUTION\_ENV\ environment variable starting with \AWS\_ECS\, adding it to the list of supported cloud platforms alongside Cloud Foundry, Heroku, Kubernetes, and others.
core/spring-boot/src/main/java/org/springframework/boot/cloud · high confidence
Added XSD schemas for Spring Boot 2.3 through 4.2
The Spring Boot Maven plugin now includes XML Schema Definition (XSD) files for application layer configuration across versions 2.3 through 4.2. These schemas define the structure for custom layer ordering and dependency inclusion/exclusion patterns, enabling users to validate their \layers.xml\ configuration files against the specific Spring Boot version they are using.
build-plugin/spring-boot-maven-plugin/src/main/xsd · high confidence
Added cycle detection for Gradle project dependencies
A new Gradle settings plugin has been introduced to automatically detect and fail the build if circular dependencies are found between subprojects or within build layers. This ensures that the multi-project build structure remains acyclic, preventing potential issues with task execution and dependency resolution.
gradle/plugins/cycle-detection-plugin · high confidence
Added version-exposure classes for Spring Boot and SSL provider
Two new template files have been added to the codebase: \SpringBootVersion.java\ in the \org.springframework.boot\ package and \SpringBootProviderVersion.java\ in the \org.springframework.boot.ssl\ package. These classes provide static methods (\getVersion()\ and \get()\, respectively) that return the current Spring Boot version string, enabling both general application code and the SSL provider component to programmatically access the framework version at runtime.
core/spring-boot/src/main/javaTemplates · high confidence
Auto-configuration for Redis annotation-driven listeners
Spring Boot now automatically configures Redis annotation-driven listeners when the \@RedisListener\ annotation is present. This includes support for virtual threads via \VirtualThreadTaskExecutor\ when the threading model is set to virtual, and platform threads otherwise. The configuration is provided by the new \DataRedisAnnotationDrivenConfiguration\ class, which registers the listener container and enables the necessary Spring Data Redis listener infrastructure.
module/spring-boot-data-redis · high confidence
Auto-configuration for Spring REST Docs in tests
Spring REST Docs is now auto-configured for tests via the new \@AutoConfigureRestDocs\ annotation, supporting both MockMvc (servlet) and WebTestClient (reactive) testing. Users can configure the output directory and the scheme, host, and port for generated URIs through annotation attributes or the \spring.test.restdocs\ configuration properties, and can further customize the documentation process using \RestDocsMockMvcConfigurationCustomizer\ or \RestDocsWebTestClientConfigurationCustomizer\ beans.
module/spring-boot-restdocs · high confidence
Automated Gradle build injection for Spring Boot image system tests
System tests for Spring Boot container images now automatically configure a Gradle build instance before each test execution. A new JUnit extension locates a 'gradleBuild' field in test classes and injects a pre-configured GradleBuild object, ensuring tests run against the minimum compatible Gradle version and the current Spring Boot version without requiring manual setup in each test case.
spring-boot-image-system-tests · high confidence
Automated documentation of DevTools property defaults
A new Gradle task, DocumentDevtoolsPropertyDefaults, has been added to the buildSrc module. This task scans JAR files for spring-devtools.properties contributions, extracts properties prefixed with 'defaults.', and generates an AsciiDoc table of these property names and their default values. This automates the inclusion of DevTools property defaults directly into the reference documentation.
buildSrc/src/main/java/org/springframework/boot/build/devtools · high confidence
Automated forward-port issue creation and merge message preparation
Two new Git hooks are introduced to streamline the process of forward-porting fixes to newer release branches. The \prepare-forward-merge\ hook automatically rewrites merge commit messages to identify which issues are being fixed and notes the target branch (e.g., \4.2.x\). The \forward-merge\ hook then detects these fixes, queries the GitHub API to find the nearest milestone (supporting \.x\ patterns like \3.x\), and automatically creates new GitHub issues for the forward port, updating the merge message to close the newly created issue. This reduces manual overhead for maintainers by automating issue tracking and milestone assignment during the merge process.
git · high confidence
Automatic mapping of OpenTelemetry environment variables to Spring Boot properties
The Spring Boot OpenTelemetry module now automatically converts standard OpenTelemetry SDK environment variables (such as OTEL\_TRACES\_SAMPLER, OTEL\_EXPORTER\_OTLP\_ENDPOINT, and OTEL\_RESOURCE\_ATTRIBUTES) into corresponding Spring Boot management properties. This allows users to configure OpenTelemetry behavior using standard environment variables without needing to explicitly set Spring Boot properties, with user-defined Spring Boot properties taking precedence. The feature includes support for tracing, metrics, and logs configuration, as well as resource attributes and SSL bundle settings.
spring-boot-opentelemetry · high confidence
Build verification tasks for Spring factories files
The build now includes new Gradle tasks that validate the contents of \META-INF/spring.factories\ and \META-INF/spring/aot.factories\. These tasks check that all listed classes exist on the classpath and that entries are sorted alphabetically, failing the build with a detailed report if any issues are found.
buildSrc/src/main/java/org/springframework/boot/build/springframework · high confidence
Configurable test container startup strategy and dynamic property source support
The spring-boot-testcontainers module now allows users to control how test containers are started via the new \spring.testcontainers.beans.startup\ environment property, supporting both sequential (default) and parallel startup modes to improve test execution speed. Additionally, the module now automatically detects and registers \@DynamicPropertySource\ methods found in test definition classes, ensuring that container-backed properties are correctly populated by starting the necessary containers before the property values are retrieved.
spring-boot-testcontainers · high confidence
Core application bootstrap and lifecycle classes are newly introduced
The core spring-boot module now includes the foundational classes that drive application startup and lifecycle management. This includes the main SpringApplication entry point, the DefaultApplicationArguments for parsing command-line inputs, and the SpringApplicationShutdownHook for graceful termination. Additionally, new components such as ExitCodeGenerators for standardized exit codes, ResourceBanner for customizable startup banners, and ApplicationAvailabilityBean for tracking application readiness states have been added to the core package.
spring-boot · high confidence
Expose Quartz scheduler jobs and triggers via Actuator endpoints
The spring-boot-quartz module now provides a new actuator endpoint (id 'quartz') and its web extension, allowing users to inspect and manage Quartz scheduler jobs and triggers. Users can retrieve lists of job and trigger groups, view summaries of specific groups, and trigger jobs to run. The endpoint exposes detailed information about jobs and triggers, including their state and next fire times, and supports sanitization of sensitive data. This change introduces the core endpoint logic and the web-facing extension that exposes these capabilities over HTTP.
spring-boot-quartz · high confidence
Flyway module restructured for Spring Boot 4.0 with native-image support
The spring-boot-flyway module has been reorganized to align with the new Spring Boot 4.0 package structure, moving auto-configuration and actuation classes into dedicated sub-packages. This change introduces a new Flyway actuator endpoint that exposes detailed migration status and bean information via the standard Spring Boot actuator interface. Additionally, native-image compatibility is improved through a custom resource provider that ensures Flyway migration scripts are correctly located and loaded in GraalVM native images, supported by an AOT processor that optimizes bean registration for the native build.
spring-boot-flyway · high confidence
Gson auto-configuration and test support for Spring Boot 4.0
The \module/spring-boot-gson\ module now provides the Gson integration for Spring Boot 4.0.0, introducing \GsonProperties\ to configure Gson settings via \spring.gson.\*\ properties (including a new \strictness\ property that replaces the deprecated \lenient\ property) and a \GsonBuilderCustomizer\ interface for fine-tuning the builder. It also registers \GsonTester\ support for \@JsonTest\ and \@SpringBootTest\ contexts, enabling JSON serialization testing with Gson.
module/spring-boot-gson · high confidence
Hibernate JPA configuration now registers runtime hints for NoJtaPlatform classes
The new HibernateJpaConfiguration class in the spring-boot-hibernate module registers reflection runtime hints for legacy NoJtaPlatform implementation classes. This ensures these classes are available for reflection at runtime, which is particularly important for native image builds where reflective access must be explicitly declared.
spring-boot-hibernate · high confidence
Initial Antora build infrastructure setup
This change introduces the foundational configuration files for migrating the documentation build system to Antora. It adds \antora-asciidoc-attributes.properties\ to define standard URLs, API references, and code link templates used across the documentation, and \antora-playbook-template.yml\ to configure the Antora site generation settings, including AsciiDoc attributes and extension points.
buildSrc/src/main/resources/org/springframework/boot/build/antora · high confidence
Initial Gson auto-configuration support
Adds the GsonAutoConfiguration class to automatically configure Gson serialization based on application properties. This includes creating a GsonBuilder with customizable options (such as null serialization, pretty printing, and field naming policies) and applying any registered GsonBuilderCustomizers, making Gson ready for use without manual bean setup.
spring-boot-gson · high confidence
Initial Spring Boot auto-configuration for Apache Pulsar
This change introduces the \spring-boot-pulsar\ module, providing auto-configuration for Spring for Apache Pulsar. It registers \PulsarClient\, \PulsarTemplate\, and related factories based on \spring.pulsar.\*\ properties, including support for dead-letter policies and schema resolvers. It also adds \ConnectionDetails\ factories for Docker Compose and Testcontainers, enabling seamless service connection for Pulsar in local and test environments.
module/spring-boot-pulsar · high confidence
Initial project scaffolding and build configuration
The repository has been initialized with the core files required to build and contribute to the project. This includes a Gradle wrapper (gradlew/gradlew.bat) for building the project, a .sdkmanrc file specifying Java 25.0.4-librca as the required runtime, and an .editorconfig to enforce consistent code formatting (tabs, 4-space indent). Documentation and contribution guidelines are now present in README.adoc, CONTRIBUTING.adoc, and SUPPORT.adoc, outlining how to build from source, report issues, and adhere to the Developer Certificate of Origin (DCO). Standard repository configuration files like .gitignore and LICENSE.txt have also been added.
(repo-wide) · high confidence
Initial release of the Spring Boot CLI
This change introduces the Spring Boot Command Line Interface (CLI), providing a new way to run Spring applications and utilities from the terminal. The release includes the core \spring\ executable scripts for Unix and Windows, along with shell auto-completion support for Bash and Zsh to improve command-line usability. Users can now access built-in commands such as \help\, \version\, and \init\, as well as a hidden \hint\ command that powers the auto-completion feature. The CLI is packaged with a Homebrew formula for easy installation on macOS and includes comprehensive installation instructions and legal license documentation.
cli/spring-boot-cli/src/main · high confidence
Introduce ArtifactRelease model for artifact type detection
Added the ArtifactRelease class to buildSrc, which provides a centralized way to determine whether a build artifact is a release, milestone, or snapshot based on its version string. This model exposes the appropriate download repository URL for each artifact type, directing snapshots to the Spring snapshot repository and releases/milestones to Maven Central.
buildSrc/src/main/java/org/springframework/boot/build/artifacts · high confidence
Introduce Bomr dependency upgrade tooling
The build system now includes the Bomr tool (located in buildSrc/src/main/java/org/springframework/boot/build/bom/bomr) to automate dependency upgrades. This new tooling introduces a suite of components including \UpgradeBom\ and \MoveToSnapshots\ tasks, an \UpgradeApplicator\ to modify build files and \gradle.properties\, and a \MultithreadedLibraryUpdateResolver\ to speed up update checks. It supports resolving versions from Maven metadata and release trains, and allows for interactive upgrades via \InteractiveUpgradeResolver\.
buildSrc/src/main/java/org/springframework/boot/build/bom/bomr · high confidence
Introduce Gradle toolchain plugin for configurable Java versions and test JVM args
The build system now includes a new \ToolchainPlugin\ and \ToolchainExtension\ that allow projects to specify minimum and maximum compatible Java versions and pass additional JVM arguments to tests. The plugin automatically disables test tasks if the current Java version falls outside the configured compatibility range, ensuring builds fail gracefully rather than running incompatible tests.
buildSrc/src/main/java/org/springframework/boot/build/toolchain · high confidence
Introduce JPA domain model for smoke tests
The smoke-test/spring-boot-smoke-test-data-jpa module now includes a new set of JPA entity classes (City, Hotel, Review) to support data persistence testing. These entities define the schema for city, hotel, and review data, including relationships and constraints, enabling the smoke tests to validate JPA functionality with a concrete domain model.
spring-boot-smoke-test-data-jpa · high confidence
Introduce Liquibase auto-configuration and service connection support
This change adds the \spring-boot-liquibase\ module, providing auto-configuration for Liquibase database migrations. It introduces \LiquibaseAutoConfiguration\ to manage \SpringLiquibase\ beans, including a new \DataSourceClosingSpringLiquibase\ that can close the data source after migration. The module supports service connections for Docker Compose and Testcontainers via \JdbcAdaptingLiquibaseConnectionDetailsFactory\ and \LiquibaseContainerConnectionDetailsFactory\, allowing Liquibase to connect to containerized databases automatically. It also includes a \LiquibaseChangelogMissingFailureAnalyzer\ to provide clear error messages when a changelog is missing, and an actuator endpoint for Liquibase status.
module/spring-boot-liquibase · high confidence
Introduce Pulsar configuration properties with nullability annotations
The Spring Boot Pulsar module now includes a new \PulsarProperties\ class that defines the configuration structure for Apache Pulsar integration, covering client, admin, producer, consumer, and other components. This change adds explicit nullability annotations (using \@Nullable\) to the configuration properties, improving type safety and IDE support for users configuring Pulsar connections and behaviors.
spring-boot-pulsar · high confidence
Introduce Reactor Netty as the reactive web server implementation
This change adds the \module/spring-boot-reactor-netty\ module, providing the core infrastructure for running Spring Boot reactive applications on Reactor Netty. It introduces \NettyReactiveWebServerFactory\ and \NettyWebServer\ to manage the server lifecycle, along with \NettyReactiveWebServerAutoConfiguration\ to wire everything up automatically. The module includes \NettyServerProperties\ for configuring Netty-specific settings such as timeouts, keep-alive, and forwarded headers, and supports customizing the server via \NettyServerCustomizer\ and \NettyRouteProvider\ interfaces. It also handles SSL configuration through \SslServerCustomizer\, compression via \CompressionCustomizer\, and graceful shutdown via \GracefulShutdown\. Additionally, it provides auto-configuration for management contexts and test support via \NettyWebServerTestAutoConfiguration\.
module/spring-boot-reactor-netty · high confidence
Introduce RestClient-focused test slice and mock server support
This change adds the \spring-boot-restclient-test\ module, providing a new \@RestClientTest\ slice annotation that limits auto-configuration and component scanning to beans relevant to REST client testing (including Jackson components). It introduces \MockServerRestClientCustomizer\ to bind \MockRestServiceServer\ support to \RestClient.Builder\ instances, alongside a new \AutoConfigureRestClient\ annotation that auto-configures JSON support. The module also includes \AutoConfigureMockRestServiceServer\ for configuring the mock server, a test execution listener to reset expectations after each test, and deprecates the legacy \MockServerRestTemplateCustomizer\ and \RootUriRequestExpectationManager\ in favor of the new \RestClient\-centric utilities.
module/spring-boot-restclient-test · high confidence
Introduce Spring Boot 4.0 RSocket auto-configuration with Jackson 3 support
This change adds the \module/spring-boot-rsocket\ auto-configuration for Spring Boot 4.0, enabling automatic setup of RSocket servers and clients. It introduces \spring.rsocket\ configuration properties to control server ports, transport protocols (TCP/WebSocket), and SSL settings. A key behavioral update is the default preference for Jackson 3 (\tools.jackson\) for JSON and CBOR serialization, while retaining backward compatibility with Jackson 2 via the \spring.rsocket.preferred-mapper\ property. The module also provides a \RSocketServerInitializedEvent\ to allow applications to detect when the RSocket server is ready and accessible.
module/spring-boot-rsocket · high confidence
Introduce Spring Boot 4.0 cache module with actuator endpoint and auto-configuration
The new spring-boot-cache module provides auto-configuration for the Spring Cache abstraction, automatically detecting and configuring a CacheManager based on the specified cache type. It includes a CachesEndpoint for the Actuator, allowing users to read cache descriptors and clear caches via HTTP, along with a web extension to handle responses and errors gracefully. The module also registers cache metrics with Micrometer via CacheMetricsRegistrar and supports customization through CacheManagerCustomizers and JCache property customizers for providers like Hazelcast.
spring-boot-cache · high confidence
Introduce Spring Data Elasticsearch auto-configuration and health indicators
This change adds the \spring-boot-data-elasticsearch\ module, providing auto-configuration for Spring Data Elasticsearch repositories (both synchronous and reactive), the Elasticsearch client templates, and a reactive health indicator. Users benefit from automatic setup of \ElasticsearchTemplate\ and \ReactiveElasticsearchTemplate\ beans, repository scanning via \@EnableElasticsearchRepositories\ and \@EnableReactiveElasticsearchRepositories\, and health checks that report cluster status when using a reactive client. The module also includes integration tests verifying these configurations against a real Elasticsearch instance using Testcontainers.
module/spring-boot-data-elasticsearch · high confidence
Introduce Spring Data JDBC auto-configuration with explicit dialect support
This change adds the \DataJdbcRepositoriesAutoConfiguration\ and supporting classes to the \spring-boot-data-jdbc\ module, enabling automatic setup of Spring Data JDBC repositories. It introduces a new \spring.data.jdbc.dialect\ property (backed by \DataJdbcProperties\ and the \DataJdbcDatabaseDialect\ enum) that allows users to explicitly configure the database dialect. For MariaDB and MySQL, the dialect is now resolved dynamically by querying the database connection rather than relying solely on static detection, ensuring correct behavior across different database versions. The auto-configuration also registers the \DataJdbcRepositoriesRegistrar\ to handle repository scanning and includes nullability annotations for improved type safety.
module/spring-boot-data-jdbc · high confidence
Introduce Spring gRPC server auto-configuration
This release adds the \spring-boot-grpc-server\ module, providing auto-configuration for running gRPC servers within Spring Boot applications. It supports multiple transport backends, including Netty, Shaded Netty, and Servlet-based deployments, with automatic service discovery and configuration. The module includes built-in support for observability via Micrometer, health checks integrated with Spring Boot's health endpoint, and exception handling through the \@GrpcAdvice\ annotation. Configuration is managed via the \spring.grpc.server\ properties namespace, allowing customization of ports, SSL, keepalive, and shutdown behavior.
module/spring-boot-data-cassandra, spring-boot-kotlinx-serialization-json, module/spring-boot-grpc-server · high confidence
Introduce Spring gRPC server auto-configuration support
This change adds the initial implementation for Spring gRPC server support within the Spring Boot ecosystem. It introduces auto-configuration classes that allow users to configure the gRPC server via standard Spring Boot properties, including network address binding (TCP and Unix domain sockets), inbound message size limits, keepalive settings, and SSL/TLS credentials managed through Spring's SslBundles infrastructure.
spring-boot-grpc-server · high confidence
Introduce WebServiceTemplateBuilder for configuring WebServiceTemplate
A new WebServiceTemplateBuilder class has been added to the spring-boot-webservices module, providing a fluent API to configure and create WebServiceTemplate instances. This builder allows users to register message senders, client interceptors, and customizers, and includes support for detecting HTTP-based message senders and setting specific message factories, marshalling, and unmarshalling configurations.
spring-boot-webservices · high confidence
Introduce auto-configuration for Apache Artemis
This release adds initial support for Apache Artemis, providing automatic configuration for both embedded and native broker connections. Users can now enable an embedded broker via \spring.artemis.embedded.enabled\ (defaulting to true) or connect to an external broker using \spring.artemis.broker-url\. The module includes dedicated factories for service connection details when running Artemis via Docker Compose or Testcontainers, allowing seamless integration in test environments. Configuration is managed through \spring.artemis\ properties, supporting embedded server settings like persistence, data directories, and pre-defined queues/topics, as well as JMS connection pooling and caching behaviors.
module/spring-boot-artemis · high confidence
Introduce build type configuration for commercial and open-source variants
The build system now supports distinct open-source and commercial build types via new \BuildType\ and \BuildProperties\ classes in the build source. This allows the build process to differentiate between standard Spring Boot releases and commercial variants, configuring specific GitHub repository details (e.g., \spring-boot\ vs. \spring-boot-commercial\) based on the \spring.build-type\ property.
buildSrc/src/main/java/org/springframework/boot/build/properties · high confidence
Introduce configuration metadata model and JSON parser
This change adds the core data model and parsing infrastructure for Spring Boot configuration metadata. It introduces a set of new classes in the \org.springframework.boot.configurationmetadata\ package to represent configuration properties, sources, groups, deprecation details, and value hints. A new \JsonReader\ and \ConfigurationMetadataRepositoryJsonBuilder\ enable loading these metadata structures from JSON resources, while \SimpleConfigurationMetadataRepository\ provides the default implementation for storing and merging the parsed metadata. This forms the foundation for tools that generate or consume configuration metadata.
configuration-metadata/spring-boot-configuration-metadata/src/main · high confidence
Introduce core Docker Compose integration APIs and null-safety
This change adds the foundational core classes for the new Docker Compose support, including the \DockerCompose\ interface for managing service lifecycles (up, down, start, stop), \RunningService\ and \ConnectionPorts\ for inspecting running containers, and \DockerComposeFile\ for locating compose files. It also introduces \DockerJson\ to handle JSON deserialization using Jackson 3, adds \@Nullable\ annotations throughout the core package to improve null-safety, and ensures that Docker Compose logs are captured and logged when startup commands fail.
core/spring-boot-docker-compose/src/main/java · high confidence
Introduce core Docker Compose integration infrastructure
This change adds the foundational implementation for the new Spring Boot Docker Compose support. It introduces the core \DockerCli\ wrapper to execute Docker and Docker Compose commands, a \ProcessRunner\ that handles process execution and improves null-safety, and a \DefaultDockerCompose\ implementation that manages service lifecycle operations like up, down, start, and stop. The diff also includes supporting classes for parsing Docker inspect responses, managing connection ports, and publishing lifecycle events such as \DockerComposeServicesReadyEvent\ to signal when services are available.
spring-boot-docker-compose · high confidence
Introduce fluent builder API with context hierarchy support
The \org.springframework.boot.builder\ package now provides a fluent builder API for constructing \SpringApplication\ instances, centered on the new \SpringApplicationBuilder\. This builder enables the creation of child contexts via the \child()\ method, establishing a parent-child relationship between application contexts. To manage this hierarchy, the package includes \ParentContextApplicationContextInitializer\, which sets the parent context and publishes a \ParentContextAvailableEvent\ upon refresh, and \ParentContextCloserApplicationListener\, which ensures child contexts are automatically closed when their parent context shuts down. The package is also marked with \@NullMarked\ to enforce nullability contracts.
core/spring-boot/src/main/java/org/springframework/boot/builder · high confidence
Introduce metrics auto-timing for Spring Data repositories
The spring-boot-data-commons module now includes infrastructure to automatically time repository method invocations using Micrometer. A new BeanPostProcessor registers a listener on Spring Data repository factories, while a PropertiesAutoTimer allows users to configure timer behavior (such as percentiles and histograms) via application properties.
spring-boot-data-commons · high confidence
Introduce new Redis connection details and URL parsing abstractions
The spring-boot-data-redis module introduces new internal abstractions for Redis configuration: the DataRedisConnectionDetails interface defines structured connection details for standalone, sentinel, cluster, and master-replica modes, including database index and SSL bundle support, while the DataRedisUrl record provides a parsed representation of Redis URIs, extracting scheme, credentials, and database index. These changes lay the groundwork for standardized Redis connection configuration in the upcoming 4.0.0 release.
spring-boot-data-redis · high confidence
Introduce origin tracking support for configuration items
The \org.springframework.boot.origin\ package now provides a comprehensive set of interfaces and classes to track the source of configuration values. This includes the \Origin\ interface to represent the source of an item, \OriginProvider\ and \OriginLookup\ interfaces to expose origin information, and concrete implementations like \TextResourceOrigin\ for file-based sources, \SystemEnvironmentOrigin\ for environment variables, and \PropertySourceOrigin\ for property sources. Additionally, \OriginTrackedResource\ and \OriginTrackedValue\ allow wrapping resources and values to preserve their origin context, enabling more detailed error messages and debugging information for configuration issues.
core/spring-boot/src/main/java/org/springframework/boot/origin · high confidence
Introduce shared abstractions for SQL database initialization
This change introduces a new set of core classes and auto-configuration components in the \spring-boot-sql\ module to standardize and manage SQL database initialization. It adds \AbstractScriptDatabaseInitializer\ as a base class for script-based initialization, \DatabaseInitializationSettings\ and \SqlInitializationProperties\ to configure schema/data locations, encoding, and modes (ALWAYS, EMBEDDED, NEVER). It also introduces \DatabaseInitializationDependencyConfigurer\ along with detector interfaces (\DatabaseInitializerDetector\, \DependsOnDatabaseInitializationDetector\) and the \@DependsOnDatabaseInitialization\ annotation to automatically manage bean creation order, ensuring dependent beans initialize only after the database is ready. Auto-configuration conditions are provided via \@ConditionalOnSqlInitialization\ and \OnDatabaseInitializationCondition\, and runtime hints are registered for script resources.
module/spring-boot-sql · high confidence
Introduce structured logging support with JSON formatting and context pair handling
This change adds the core infrastructure for structured logging in Spring Boot, introducing the \StructuredLogFormatter\ interface and the \JsonWriterStructuredLogFormatter\ base class to generate JSON-formatted log events. It includes the \CommonStructuredLogFormat\ enum to define supported formats such as ECS, GELF, and Logstash, and provides the \ContextPairs\ helper to manage adding JSON pairs from context data (like MDC) using either flat or nested naming strategies. Additionally, it introduces the \StructuredLoggingJsonMembersCustomizer\ interface and its builder, allowing users to customize JSON members, apply path filters, and rename fields via the \logging.structured.json.customizer\ property or Spring factories.
core/spring-boot/src/main/java/org/springframework/boot/logging/structured · high confidence
Introduces Maven-style optional dependency support via Gradle plugin
A new Gradle plugin, OptionalDependenciesPlugin, has been added to the build infrastructure. This plugin creates an 'optional' configuration that allows dependencies to be included in the compile and runtime classpaths of the current project without being propagated to dependent projects, effectively replicating Maven's optional dependency behavior within the Gradle build system.
buildSrc/src/main/java/org/springframework/boot/build/optional · high confidence
Introduces internal GitHub API client for BOMR
The BOMR (Build Order Management and Release) tooling now includes a new internal GitHub API client located in the \buildSrc\ module. This client, implemented via \StandardGitHub\ and \StandardGitHubRepository\, provides the build infrastructure with the ability to programmatically interact with GitHub repositories. Specifically, it enables the automated creation of upgrade issues, including the assignment of labels and milestones, as well as the retrieval of repository metadata such as labels, milestones, and existing issues. This change supports the broader goal of automating dependency upgrade workflows by allowing the build system to manage GitHub issues directly.
buildSrc/src/main/java/org/springframework/boot/build/bom/bomr/github · high confidence
Introduction of LoggingApplicationListener for logging system configuration
The \LoggingApplicationListener\ class has been added to the \org.springframework.boot.context.logging\ package to manage the configuration of the \LoggingSystem\. This listener reacts to application lifecycle events (such as \ApplicationStartingEvent\, \ApplicationEnvironmentPreparedEvent\, and \ContextClosedEvent\) to bootstrap logging based on environment properties like \logging.config\, \logging.level.\*\, and \logging.group\. It also handles the enabling of debug/trace logging for specific frameworks when the \--debug\ or \--trace\ flags are used, and manages the registration of a shutdown hook for the logging system. The package is marked with \@NullMarked\ to enforce null-safety annotations.
core/spring-boot/src/main/java/org/springframework/boot/context/logging · high confidence
JSON-B auto-configuration and test support
The module now provides auto-configuration for JSON-B, registering a Jsonb bean when the provider is available on the classpath. It also includes test support via JsonbTester, enabling easier JSON validation in tests. The auto-configuration is final and no longer exposes public members, and the package is marked with nullability annotations.
module/spring-boot-jsonb · high confidence
Jetty web server initialization and configuration enhancements
The Jetty web server module introduces several new capabilities and refinements. A new ForwardHeadersCustomizer allows users to explicitly choose between standard RFC 7239 Forwarded headers or legacy X-Forwarded-\* headers for proxy scenarios. Support for Java virtual threads is added via a dedicated customizer that configures the Jetty thread pool when enabled. The server now supports graceful shutdown by wrapping the handler in Jetty's GracefulHandler when configured. Additionally, temporary directories are automatically cleaned up when the web server context closes, and a LoaderHidingResource prevents Spring Boot's internal loader classes from being exposed over HTTP.
spring-boot-jetty · high confidence
Jetty web server support for Spring Boot 4.0
This release introduces a new, fully integrated Jetty web server implementation for Spring Boot 4.0, replacing the previous adapter-based approach. The new module provides native support for Jetty 12, including a new \ConfigurableJettyWebServerFactory\ and \JettyWebServer\ classes that manage the server lifecycle directly. Key features include built-in graceful shutdown handling via \GracefulHandler\, improved compression support using Jetty's new \CompressionHandler\, and refined configuration for forwarded headers and SSL/TLS. The auto-configuration now exposes detailed properties for thread pools, connection limits, and access logs, offering users finer control over their embedded Jetty instances.
module/spring-boot-jetty · high confidence
MongoDB support moved to a dedicated module with new health and metrics auto-configuration
MongoDB support has been extracted into the new spring-boot-mongodb module, introducing dedicated auto-configuration for blocking and reactive clients, health indicators, and metrics. Users benefit from improved connection details handling, including proper credential encoding in Docker Compose connection strings and support for SSL bundles. The module also adds integration tests for Docker Compose and Testcontainers, ensuring reliable health checks and connection details for both standard and reactive MongoDB clients.
module/spring-boot-mongodb · high confidence
New 'tools' jar mode with extract, list-layers, and sbom commands
Spring Boot now includes a 'tools' jar mode (available since 3.3.0) that provides new command-line utilities for inspecting and manipulating executable jars. Users can run 'extract' to unpack the jar contents (with options for layers, launcher, and destination), 'list-layers' to view the defined layers, and 'sbom' to print the Software Bill of Materials. This is implemented via the new ToolsJarMode, ExtractCommand, IndexedJarStructure, and IndexedLayers classes in the spring-boot-jarmode-tools module.
spring-boot-jarmode-tools · high confidence
New @AutoConfigureMetrics annotation with safer test defaults
The \module/spring-boot-micrometer-metrics-test\ module introduces the \@AutoConfigureMetrics\ annotation and a \MetricsContextCustomizerFactory\ to control metrics behavior in tests. By default, metrics export is disabled and the Micrometer global registry is not used, preventing side effects between tests; these behaviors can be overridden via the annotation's \export\ and \useGlobalRegistry\ attributes or the \spring.test.metrics.export\ and \management.metrics.use-global-registry\ properties.
module/spring-boot-micrometer-metrics-test · high confidence
New @AutoConfigureTracing annotation for test auto-configuration
A new @AutoConfigureTracing annotation and supporting context customizer have been added to the spring-boot-micrometer-tracing-test module. When applied to a test class, it automatically configures a no-op Tracer and an ObservationRegistry for use in sliced tests. By default, it also disables tracing export (setting management.tracing.export.enabled=false) to prevent accidental external calls during testing; this behavior can be overridden by setting the export attribute on the annotation or by configuring the spring.test.tracing.export property.
module/spring-boot-micrometer-tracing-test · high confidence
New @AutoConfigureWebServer test annotation
A new \@AutoConfigureWebServer\ annotation has been added to the \org.springframework.boot.web.server.test\ package. This annotation simplifies testing by automatically importing the necessary auto-configuration for embedded web servers, making it easier to set up tests with \RANDOM\_PORT\ or \DEFINED\_PORT\ web environments.
module/spring-boot-web-server-test · high confidence
New ActiveMQ auto-configuration and service connection support
This release introduces the \spring-boot-activemq\ module, providing auto-configuration for ActiveMQ brokers. Users can now benefit from automatic \ConnectionFactory\ setup (including pooled and caching options) and JMS integration via \ActiveMQAutoConfiguration\. The module also adds support for service connections, allowing ActiveMQ instances to be automatically configured when running via Docker Compose or Testcontainers, simplifying local development and testing.
module/spring-boot-activemq · high confidence
New AssertJ support for application context runners
The \core/spring-boot-test\ module introduces a new \assertj\ sub-package containing \ApplicationContextAssertProvider\, \ApplicationContextAssert\, and specific assertable context interfaces (\AssertableApplicationContext\, \AssertableWebApplicationContext\, \AssertableReactiveWebApplicationContext\). These components enable AssertJ-style assertions on application contexts managed by the \runner\ package classes (\ApplicationContextRunner\, \WebApplicationContextRunner\, \ReactiveWebApplicationContextRunner\), allowing users to write fluent assertions like \assertThat(context).hasSingleBean(...)\ directly on the context returned by the runners.
core/spring-boot-test/src/main/java/org/springframework/boot/test/context/runner · high confidence
New Brave-specific tracing auto-configuration module
This change introduces a dedicated \spring-boot-micrometer-tracing-brave\ module that provides auto-configuration for the Brave distributed tracing backend. It registers the core Brave beans (Tracer, Tracing, Propagator) and supports configurable propagation formats (W3C Trace Context, B3) and baggage handling, including the ability to customize MDC keys for trace and span IDs. It also includes specific auto-configuration for exporting traces to Zipkin and adds a new \management.brave.tracing.span-joining-supported\ property to control span ID sharing, while deprecating the previous \management.tracing.brave.\*\ property prefix.
module/spring-boot-micrometer-tracing-brave · high confidence
New Cassandra auto-configuration and integration support
This release introduces the \spring-boot-cassandra\ module, providing auto-configuration for the DataStax Java Driver. Users can now configure Cassandra connections via \spring.cassandra.\*\ properties, including contact points, authentication, and SSL. The module includes \CqlSessionBuilderCustomizer\ and \DriverConfigLoaderBuilderCustomizer\ interfaces for fine-tuning the driver, along with \CassandraDriverHealthIndicator\ and \CassandraDriverReactiveHealthIndicator\ for health checks. It also supports Docker Compose and Testcontainers integration via \CassandraDockerComposeConnectionDetailsFactory\ and \CassandraContainerConnectionDetailsFactory\, allowing seamless connection to Cassandra instances in test or containerized environments.
module/spring-boot-cassandra · high confidence
New CassandraConnectionDetails interface for service connection configuration
A new CassandraConnectionDetails interface has been added to the spring-boot-cassandra module, allowing users to configure Cassandra connection details such as contact points, credentials, local datacenter, and SSL bundles via the standard Spring Boot service connection abstraction.
spring-boot-cassandra · high confidence
New Cloud Foundry actuator endpoint security and access control
This change introduces a new security layer for Cloud Foundry actuator endpoints, adding support for JWT token validation, access level enforcement, and specific error responses. It includes new classes for handling Cloud Foundry-specific authorization (CloudFoundryAuthorizationException, Token, SecurityResponse), an access level enum (AccessLevel) to restrict endpoint visibility, and auto-configuration classes (CloudFoundryReactiveActuatorAutoConfiguration, CloudFoundryActuatorAutoConfiguration) that wire up security interceptors and endpoint discoverers. The implementation ensures that only authorized Cloud Foundry requests can access actuator endpoints, returning appropriate HTTP status codes and error bodies for security failures.
module/spring-boot-cloudfoundry · high confidence
New Couchbase auto-configuration and health indicators for Spring Boot 4.0
This change introduces the initial Spring Boot 4.0 auto-configuration for Couchbase, replacing legacy properties with a new \spring.couchbase\ namespace (e.g., \connection-string\ instead of \bootstrap-hosts\). It adds \CouchbaseAutoConfiguration\ to manage \Cluster\ and \ClusterEnvironment\ beans, along with \CouchbaseHealthContributorAutoConfiguration\ and \CouchbaseReactiveHealthContributorAutoConfiguration\ to expose health indicators. The module also includes \ClusterEnvironmentBuilderCustomizer\ for fine-tuning the client environment and \CouchbaseContainerConnectionDetailsFactory\ to support Testcontainers service connections.
module/spring-boot-couchbase · high confidence
New Couchbase auto-configuration module for Spring Boot 4.0
Introduces the \CouchbaseAutoConfiguration\ class in the \spring-boot-couchbase\ module, enabling automatic setup of Couchbase connections. This configuration handles authentication via username/password, PEM certificates, or JKS keystores, configures cluster environments with customizable timeouts and I/O settings, and integrates SSL bundles. It also provides a Jackson-based customizer for the cluster environment when an ObjectMapper is present, allowing users to connect to Couchbase with minimal manual setup.
spring-boot-couchbase · high confidence
New Docker configuration and authentication subsystem
The platform now includes a new \docker.configuration\ package that manages Docker host resolution and registry authentication. \ResolvedDockerHost\ determines the connection target by prioritizing the \DOCKER\_CONTEXT\ environment variable and \DockerConnectionConfiguration.Context\, falling back to \DOCKER\_HOST\ or explicit host settings, and finally defaulting to the local socket or named pipe. \DockerRegistryAuthentication\ provides factory methods for token and user-based auth, and a \configuration\ method that reads the standard Docker \config.json\ (including \credHelpers\ and \credsStore\). The \CredentialHelper\ class invokes external credential helper executables, with specific support for locating helpers in both \/usr/local/bin\ and \/opt/homebrew/bin\ on macOS. The underlying JSON parsing has been updated to use \tools.jackson\ (Jackson 3) via \SharedJsonMapper\.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/configuration · high confidence
New ElasticsearchConnectionDetails interface for API key authentication
The spring-boot-elasticsearch module introduces the ElasticsearchConnectionDetails interface, which extends ConnectionDetails to support API key-based authentication alongside existing username/password and SSL options. This interface defines methods to retrieve node information, authentication credentials (including a new getApiKey method), path prefixes, and SSL bundles, enabling users to configure Elasticsearch connections using API keys in addition to traditional methods.
spring-boot-elasticsearch · high confidence
New Gradle plugins for Docker, integration, and system tests
The build system now includes dedicated Gradle plugins to manage Docker-based, integration, and system-level tests. The new \DockerTestPlugin\ introduces a \dockerTest\ task and source set, enforcing serial execution via a shared build service to prevent container conflicts, while also adding a \reclaimDockerSpace\ task to free up disk space on CI. The \IntegrationTestPlugin\ and \SystemTestPlugin\ similarly provide \intTest\ and \systemTest\ tasks with appropriate classpaths; notably, system tests are configured to always rerun on CI environments to ensure reliable detection of regressions.
buildSrc/src/main/java/org/springframework/boot/build/test · high confidence
New Gradle-based BOM management plugin and DSL
The build system now uses a new \BomPlugin\ and \BomExtension\ DSL to define and manage the Spring Boot Bill of Materials. This change introduces a structured way to declare libraries, their versions, and dependency constraints, replacing the previous manual or script-based approach. Key capabilities include automatic generation of a resolved BOM (\CreateResolvedBom\), validation of dependency exclusions and prohibited versions (\CheckBom\), and verification of external documentation links (\CheckLinks\). The plugin also supports version alignment across libraries, configurable upgrade policies, and integration with Maven publication to ensure consistent dependency management in the published artifacts.
buildSrc/src/main/java/org/springframework/boot/build/bom · high confidence
New Groovy Templates smoke test application
Added a new smoke test application in the \smoke-test/spring-boot-smoke-test-web-groovy-templates\ module that demonstrates Spring Boot with Groovy templates. The application includes an in-memory message repository, a REST controller for managing messages, and a simple UI styled with Bootstrap v2.0.4. The test verifies that Groovy templates are correctly processed and reloaded during development (configured via \spring.groovy.template.cache: false\).
smoke-test/spring-boot-smoke-test-web-groovy-templates · high confidence
New HTTP client and server testing support classes
Added new internal classes to the \spring-boot-test\ module to support HTTP testing: \DisableReactorResourceFactoryGlobalResourcesBeanPostProcessor\ and \DisableReactorResourceFactoryGlobalResourcesContextCustomizerFactory\ prevent test cleanup issues by disabling global resources in Reactor Netty, while \LazyUriBuilderFactory\ provides a lazy delegate for URI building in server tests.
core/spring-boot-test/src/main/java/org/springframework/boot/test/http · high confidence
New HTTP client configuration and builder APIs
The module introduces a new \ClientHttpRequestFactoryBuilder\ interface and associated builder classes for Apache HttpComponents, Jetty, Reactor, JDK, and Simple HTTP clients, allowing users to construct and customize \ClientHttpRequestFactory\ instances programmatically. A new \HttpClientSettings\ record centralizes configuration options such as cookie handling, redirects, timeouts, SSL bundles, and address filtering. The changes also add support for filtering outbound requests by IP address (including special-purpose RFC 6890 addresses) via \InetAddressFilter\ and \FilteredAddresses\, and register AOT runtime hints to ensure reflection-based access to timeout setters works correctly in native images.
module/spring-boot-http-client · high confidence
New Hibernate support module with auto-configuration and metrics
A new \spring-boot-hibernate\ module has been introduced to provide dedicated auto-configuration for Hibernate. This includes \HibernateJpaAutoConfiguration\ for setting up JPA with Hibernate, \HibernateMetricsAutoConfiguration\ for binding Hibernate statistics to Micrometer, and configuration properties under \spring.jpa.hibernate\ for controlling DDL auto-generation, naming strategies, and customizers. The module also introduces \SpringImplicitNamingStrategy\ for Spring-specific join table naming and deprecates \SpringJtaPlatform\ in favor of standard Spring JPA vendor adapters.
module/spring-boot-hibernate · high confidence
New JUnit Jupiter extension for capturing System.out and System.err
Added the \OutputCaptureExtension\ and \CapturedOutput\ interface in the \org.springframework.boot.test.system\ package, enabling users to easily capture and assert on standard output and error streams in JUnit Jupiter tests. The extension supports parameter resolution, allowing \CapturedOutput\ instances to be injected directly into test methods or lifecycle callbacks for verification using assertions like \assertThat(output).contains(...)\. This provides a cleaner, annotation-based approach to testing console output compared to previous manual capture mechanisms.
core/spring-boot-test/src/main/java/org/springframework/boot/test/system · high confidence
New Jackson 3 auto-configuration and customization APIs
Spring Boot now auto-configures Jackson 3 mappers (JsonMapper, XmlMapper, CBORMapper) using builder-based customization interfaces (JsonMapperBuilderCustomizer, XmlMapperBuilderCustomizer, CborMapperBuilderCustomizer) and allows fine-tuning of the underlying factories (JsonFactoryBuilderCustomizer, XmlFactoryBuilderCustomizer, CborFactoryBuilderCustomizer). Configuration is centralized under spring.jackson with format-specific sub-properties (spring.jackson.json, spring.jackson.xml, spring.jackson.cbor) and legacy properties like spring.jackson.parser and spring.jackson.generator are deprecated. The module also introduces @JacksonComponent and @JacksonMixin annotations with corresponding auto-detecting modules (JacksonComponentModule, JacksonMixinModule) to simplify registering custom serializers, deserializers, and mixins, while adding CBOR support and a background preinitializer for faster startup.
module/spring-boot-jackson · high confidence
New Jakarta Validation auto-configuration module
The \module/spring-boot-validation\ module now provides a new \ValidationAutoConfiguration\ that automatically configures Jakarta Bean Validation infrastructure. This includes a \LocalValidatorFactoryBean\ for standard validation, a \MethodValidationPostProcessor\ for \@Validated\ method validation, and a \JakartaValidationBackgroundPreinitializer\ to warm up the validation provider at startup. Users can customize the validation configuration via the new \ValidationConfigurationCustomizer\ interface and control method validation behavior using the \spring.validation.method.adapt-constraint-violations\ property.
module/spring-boot-validation · high confidence
New Jetty address filtering and properties-driven API versioning support
The HTTP client module now includes a Jetty-specific address resolver that filters resolved socket addresses based on an InetAddressFilter, enhancing security by controlling which network endpoints can be reached. Additionally, it introduces auto-configuration support for API versioning via PropertiesApiVersionInserter, allowing users to configure version insertion strategies (header, query parameter, path segment, or media type parameter) through application properties.
spring-boot-http-client · high confidence
New Log4j2 logging system implementation and structured log formatters
The Log4j2 logging system has been replaced with a new implementation that includes support for structured logging formats such as Elastic Common Schema (ECS), Graylog Extended Log Format (GELF), and Logstash. This change introduces new pattern converters for colored output, correlation IDs, and stack traces, along with runtime hints for native image compatibility. Users can now configure rolling policy properties via application properties and environment variables, and the system ensures that application-managed JUL bridge handlers are not removed during initialization.
core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2 · high confidence
New OAuth 2.0 client configuration properties model
The module now introduces the \OAuth2ClientProperties\ class, which serves as the central configuration model for OAuth 2.0 client settings under the \spring.security.oauth2.client\ prefix. This class exposes maps for \provider\ and \registration\ details, allowing users to define custom OAuth providers and client registrations via external configuration files. It includes built-in validation to ensure that client registrations have a non-empty client ID, enforcing configuration correctness at startup.
spring-boot-security-oauth2-client · high confidence
New OpenTelemetry auto-configuration and logging export support
This change introduces the core auto-configuration for the OpenTelemetry module, including the \OpenTelemetrySdkAutoConfiguration\ to manage the SDK lifecycle and a new \OpenTelemetryLoggingAutoConfiguration\ to handle log export. It adds configuration properties for OTLP endpoints, headers, and compression, along with specific settings for the \BatchLogRecordProcessor\ and \LogLimits\. The module now supports customizing the OTLP HTTP and gRPC log record exporters via builder customizers and includes a \W3CHeaderParser\ for baggage header decoding. Additionally, integration tests are provided to verify connection details for Grafana and OpenTelemetry Collector containers.
module/spring-boot-opentelemetry · high confidence
New OpenTelemetry tracing module with advanced configuration and OTLP support
This change introduces the \spring-boot-micrometer-tracing-opentelemetry\ module, providing auto-configuration for exporting traces via the OpenTelemetry protocol (OTLP) over HTTP or gRPC. Users can now configure the sampling strategy (e.g., \ALWAYS\_ON\, \TRACE\_ID\_RATIO\), set span limits (max attributes, events, links), and customize the \SdkTracerProviderBuilder\. The module also supports SSL bundles for secure OTLP exports and allows fine-tuning of the OTLP exporters via \OtlpHttpSpanExporterBuilderCustomizer\ and \OtlpGrpcSpanExporterBuilderCustomizer\ beans.
module/spring-boot-micrometer-tracing-opentelemetry · high confidence
New RabbitMQ connection details and metrics support
The spring-boot-rabbitmq module now includes a new RabbitConnectionDetails interface for standardizing how RabbitMQ connection information (such as addresses, credentials, virtual host, and SSL bundles) is exposed, along with a RabbitMetrics class that acts as a MeterBinder to integrate RabbitMQ Java Client metrics with Micrometer.
spring-boot-rabbitmq · high confidence
New Reactor integration with auto-configuration and virtual thread support
This change introduces the \spring-boot-reactor\ module, providing automatic integration with Project Reactor. It includes a \ReactorAutoConfiguration\ that enables automatic context propagation for Reactor operators when \spring.reactor.context-propagation\ is set to \auto\, and a \ReactorEnvironmentPostProcessor\ that activates the Reactor debug agent by default (unless disabled) and configures the Bounded Elastic Scheduler to use Virtual Threads on Java 21+ when \spring.threads.virtual.enabled\ is true.
module/spring-boot-reactor · high confidence
New RetryPolicySettings configuration class in Spring Boot 4.0
A new \RetryPolicySettings\ class has been added to the \org.springframework.boot.retry\ package (available since version 4.0.0) to provide a centralized configuration mechanism for retry policies. This class allows users to define retry behavior through properties such as maximum retries, timeout, delay, jitter, multiplier, and specific exception handling rules (includes, excludes, and predicates). It serves as a builder that maps these settings to the underlying \RetryPolicy.Builder\, enabling consistent retry configuration across the framework.
core/spring-boot/src/main/java/org/springframework/boot/retry · high confidence
New SAML 2.0 relying party auto-configuration for Spring Security
This change introduces the \module/spring-boot-security-saml2\ module, providing auto-configuration for Spring Security's SAML 2.0 support. It adds \Saml2RelyingPartyAutoConfiguration\ to wire up \RelyingPartyRegistrationRepository\ beans based on \spring.security.saml2.relyingparty\ properties, including support for IDP metadata URLs, signing/decryption credentials, and logout services. The module also includes \Saml2LoginConfiguration\ to automatically configure SAML login and logout \SecurityFilterChain\s when a registration repository is present, and provides corresponding tests and WebMvc test support.
module/spring-boot-security-saml2 · high confidence
New SSL bundle APIs for managing SSL contexts and keystores
Spring Boot introduces a new \org.springframework.boot.ssl\ package that provides a structured way to manage SSL/TLS connections. This includes the \SslBundle\ interface to group key stores, trust stores, and connection options, along with supporting interfaces like \SslStoreBundle\, \SslManagerBundle\, and \SslBundleKey\. The package also provides \SslBundles\ for registry management and specific implementations like \AliasKeyManagerFactory\ to support configurable key aliases, enabling more flexible and centralized SSL configuration.
core/spring-boot/src/main/java/org/springframework/boot/ssl · high confidence
New SSL context utilities for Docker integration
Added a new \org.springframework.boot.buildpack.platform.docker.ssl\ package containing \SslContextFactory\, \KeyStoreFactory\, \PemCertificateParser\, and \PemPrivateKeyParser\. These classes provide utilities for building SSL contexts from PEM-formatted certificate and private key files, enabling secure Docker communication by handling X.509 certificate parsing, PKCS private key parsing (including encrypted keys), and KeyStore creation.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/ssl · high confidence
New Spring Boot 4.0 Micrometer metrics module with auto-configuration and OTLP support
This change introduces the new \spring-boot-micrometer-metrics\ module for Spring Boot 4.0, providing a dedicated auto-configuration layer for Micrometer metrics. It includes a \MeterRegistryPostProcessor\ to apply customizers, filters, and binders to registries, and a \CompositeMeterRegistryAutoConfiguration\ to automatically combine multiple registries. The module adds support for exporting metrics via OTLP, including integration with Docker Compose and Testcontainers for local testing, and introduces a \ValidationFailureAnalyzer\ to provide clear error messages for invalid Micrometer configurations.
module/spring-boot-micrometer-metrics · high confidence
New Spring Boot Loader Tools module for JAR packaging and layering
A new \spring-boot-loader-tools\ module has been introduced to handle the mechanics of building executable JARs. This includes \AbstractJarWriter\ and \JarWriter\ for creating JAR archives, \MainClassFinder\ for detecting the application's entry point, and \JavaExecutable\ for locating the JVM. It also introduces a layering system with \CustomLayers\ and selectors like \IncludeExcludeContentSelector\ and \ApplicationContentFilter\, allowing users to define custom layer contents based on Ant-style path patterns or library coordinates for optimized container image builds.
spring-boot-loader-tools · high confidence
New Spring Boot Tools Jar Mode for inspecting and extracting application archives
The \loader/spring-boot-jarmode-tools\ module introduces a new \tools\ jar mode, allowing users to run commands against executable JARs and WARs via \java -Djarmode=tools -jar app.jar\. This location provides the command infrastructure (\Command\, \Runner\, \Context\) and specific tools including \extract\ (to extract layers), \list-layers\ (to view available layers), and \sbom\ (to print the Software Bill of Materials). It also registers the \ToolsJarMode\ via \spring.factories\ and deprecates the legacy \layertools\ jar mode in favor of these new commands.
loader/spring-boot-jarmode-tools · high confidence
New Spring Maven repository configuration extension
The build system now includes a new \SpringRepositorySupport.groovy\ script that introduces a \spring.mavenRepositories()\ extension for configuring Maven repositories. This extension automatically adds the appropriate Spring OSS and commercial repositories based on the build version and type, supporting environment variables for release train and commercial repository URLs, and allowing exclusion of specific groups like Spring Boot.
buildSrc · high confidence
New Spring Security auto-configuration module for Spring Boot 4.0
This change introduces the \module/spring-boot-security\ module, providing the core auto-configuration infrastructure for Spring Security in Spring Boot 4.0. It includes \SecurityAutoConfiguration\ to register the \AuthenticationEventPublisher\ and \SecurityEvaluationContextExtension\, and dedicated auto-configurations for in-memory user details (\UserDetailsServiceAutoConfiguration\ for servlets and \ReactiveUserDetailsServiceAutoConfiguration\ for reactive apps) that create default users with generated passwords when no other security beans are present. The module also adds \ManagementWebSecurityAutoConfiguration\ and \ReactiveManagementWebSecurityAutoConfiguration\ to automatically permit unauthenticated access to the Actuator \HealthEndpoint\ while securing other endpoints, and introduces \EndpointRequest\ and \PathRequest\ factory classes to simplify security rule definitions for actuator and static resource paths.
(repo-wide) · high confidence
New Spring Session actuator endpoint and auto-configuration
This change introduces the \SessionsEndpoint\ (and \ReactiveSessionsEndpoint\) to the Spring Boot actuator, allowing users to inspect, retrieve, and delete HTTP sessions via the \/actuator/sessions\ path. It also adds \SessionAutoConfiguration\ to automatically configure the \SessionRepositoryFilter\, \DefaultCookieSerializer\, and session timeout behavior based on \spring.session.\\ and \server.servlet.session.\\ properties, while introducing a \DefaultCookieSerializerCustomizer\ interface for advanced cookie customization.
module/spring-boot-session · high confidence
New Spring Web Services auto-configuration and client support
Spring Boot now provides auto-configuration for Spring Web Services, automatically setting up a MessageDispatcherServlet and exposing WSDL/XSD locations defined via spring.webservices.wsdl-locations as beans. The module also introduces a WebServiceTemplateBuilder and WebServiceMessageSenderFactory, allowing users to easily configure HTTP clients for web service calls with customizable senders and interceptors.
module/spring-boot-webservices · high confidence
New Spring gRPC client auto-configuration and observation support
Spring Boot 4.1.0 introduces comprehensive auto-configuration for gRPC clients, enabling automatic setup of channel factories (Netty, Shaded Netty, and In-Process) and client interceptors. Users can now configure gRPC channels via \spring.grpc.client\ properties, including SSL/TLS credentials, compression, and service configs. The module also adds Micrometer observation support for gRPC client calls, allowing metrics and tracing out of the box when \spring.grpc.client.observation.enabled\ is true.
module/spring-boot-grpc-client · high confidence
New Spring gRPC test support for in-process transport
The \spring-boot-grpc-test\ module now includes auto-configuration for testing gRPC services using an in-process transport. By annotating a test class with \@AutoConfigureTestGrpcTransport\, the application starts a test in-process gRPC server and configures a \GrpcChannelFactory\ that routes all targets to it, allowing tests to run without network overhead. The \AutoConfigureTestGrpcTransport\ annotation provides options to enable servlet support, server factories, and channel factories if needed. Additionally, the \GrpcServerPortInfoAutoConfiguration\ automatically sets the \local.grpc.server.port\ environment property when a real gRPC server starts, and the \@LocalGrpcServerPort\ annotation offers a convenient way to inject this port into test classes.
module/spring-boot-grpc-test · high confidence
New Spring-native Testcontainers support with idiomatic container management
This release introduces a new \spring-boot-testcontainers\ module that provides idiomatic support for Testcontainers within the Spring ecosystem. Users can now use the \@ImportTestcontainers\ annotation to automatically register static \Container\ fields as Spring beans, enabling seamless integration with the application context. The module includes a \TestcontainersLifecycleApplicationContextInitializer\ and \BeanPostProcessor\ to manage container startup and shutdown lifecycles, ensuring containers are started early and closed appropriately. Additionally, it adds a \FailureAnalyzer\ to provide helpful troubleshooting messages when a valid Docker environment is not found, and supports dynamic property sourcing from containers via \DynamicPropertyRegistry\. The implementation also includes a service connection framework (\ContainerConnectionDetailsFactory\) to automatically register connection details for containers annotated with \@ServiceConnection\.
core/spring-boot-testcontainers/src/main/java · high confidence
New TestEntityManager and Kotlin extensions for JPA testing
This change introduces the \TestEntityManager\ class and its auto-configuration in the \spring-boot-jpa-test\ module, providing a simplified API for common JPA testing tasks such as persisting, flushing, and finding entities. It also adds Kotlin DSL extension functions that leverage reified type parameters for more idiomatic usage of \find\, \persistAndGetId\, and \getId\. The entry includes the implementation of these components, the auto-configuration wiring, and the corresponding unit tests for both Java and Kotlin.
module/spring-boot-jpa-test · high confidence
New WebFlux test slice annotations and auto-configuration
Added the \@WebFluxTest\ and \@AutoConfigureWebFlux\ annotations to the \spring-boot-webflux-test\ module, enabling focused testing of WebFlux controllers. The \@WebFluxTest\ slice auto-configures a \WebTestClient\, limits component scanning to controllers and related beans (such as converters and Jackson components), and imports standard auto-configurations like \MessageSource\ and validation. This location provides the specific test annotations, the context bootstrapper, and the type-exclude filter logic that define the slice's behavior.
module/spring-boot-webflux-test · high confidence
New actuator autoconfigure components for conditions reporting, endpoint access, and caching
This change introduces several new classes in the spring-boot-actuator-autoconfigure module: ConditionsReportEndpoint exposes the application's condition evaluation report via the 'conditions' actuator endpoint; PropertiesEndpointAccessResolver resolves endpoint access levels based on management endpoint properties, supporting both the new 'access' keys and the deprecated 'enabled' keys; IncludeExcludeEndpointFilter provides pattern-based filtering of endpoints using include/exclude properties; and EndpointIdTimeToLivePropertyFunction extracts per-endpoint cache time-to-live settings for use with the caching operation invoker advisor.
spring-boot-actuator-autoconfigure · high confidence
New actuator endpoints for Liquibase and HTTP sessions
This change introduces new actuator endpoints to expose operational data for Liquibase and HTTP sessions. The \liquibase\ endpoint now provides details on Liquibase beans and executed change sets, while the \sessions\ endpoint allows users to read and delete HTTP sessions for both Servlet and reactive stacks.
spring-boot-liquibase, spring-boot-session · high confidence
New application info classes for build, Java, OS, process, and SSL details
The \org.springframework.boot.info\ package now includes new classes that expose detailed runtime and build metadata. \BuildProperties\ provides project group, artifact, name, version, and build timestamp from \META-INF/build-info.properties\. \JavaInfo\ exposes the Java version, vendor, runtime environment, and JVM details. \OsInfo\ provides the operating system name, version, and architecture. \ProcessInfo\ adds process-level data including PID, parent PID, owner, start time, uptime, current time, timezone, locale, available processors, memory usage, and virtual thread statistics. \SslInfo\ now exposes certificate chains from both the key store and trust store for configured SSL bundles.
core/spring-boot/src/main/java/org/springframework/boot/info · high confidence
New auto-configuration customizers for Spring REST Docs
The spring-boot-restdocs module now includes \RestDocsMockMvcBuilderCustomizer\ and \RestDocsWebTestClientBuilderCustomizer\ classes. These components automatically apply Spring REST Docs configuration to MockMvc and WebTestClient builders, allowing users to integrate documentation generation into their test setups without manual builder configuration.
spring-boot-restdocs · high confidence
New auto-configuration for Micrometer Observation with configurable semantic conventions
This release introduces a new \ObservationAutoConfiguration\ in the \spring-boot-micrometer-observation\ module that centralizes the setup of the Micrometer Observation API. It automatically configures the \ObservationRegistry\, registers observation predicates, filters, and global conventions, and supports grouping observation handlers via \ObservationHandlerGroup\. A key addition is the ability to configure semantic conventions (switching between Micrometer and OpenTelemetry) via the \management.observations.conventions\ property, which also drives conditional auto-configuration. The module also adds support for the \@Observed\ annotation via \ObservedAspect\ (controlled by \management.observations.annotations.enabled\) and allows users to customize the registry via \ObservationRegistryCustomizer\.
module/spring-boot-micrometer-observation · high confidence
New auto-configuration for Quartz Scheduler integration
This change introduces the \spring-boot-quartz\ module, providing automatic configuration for the Quartz Scheduler. It adds \QuartzAutoConfiguration\ to set up the \SchedulerFactoryBean\ and supports both in-memory and JDBC-backed job stores, including automatic database schema initialization for the latter. The module also registers an actuator endpoint (\QuartzEndpoint\) to expose scheduler status and job details, along with configuration properties under \spring.quartz\ and \management.endpoint.quartz\.
module/spring-boot-quartz · high confidence
New auto-configuration for Spring Batch JDBC storage
This change introduces the \BatchJdbcAutoConfiguration\ and supporting components in the \spring-boot-batch-jdbc\ module, enabling Spring Boot to automatically configure Spring Batch to use a JDBC-based job repository. Users can now leverage standard Spring Boot auto-configuration for Batch jobs, including automatic schema initialization via \BatchDataSourceScriptDatabaseInitializer\ and support for customizing the table prefix, isolation level, and transaction validation through the new \spring.batch.jdbc.\*\ configuration properties.
module/spring-boot-batch-jdbc · high confidence
New auto-configuration for Spring Data LDAP repositories
The module now includes \DataLdapRepositoriesAutoConfiguration\ and \DataLdapRepositoriesRegistrar\ to automatically configure Spring Data LDAP repositories. This auto-configuration is triggered when \LdapContext\ and \LdapRepository\ are on the classpath and can be disabled via the \spring.data.ldap.repositories.enabled\ property (defaulting to enabled). The change also adds nullability annotations to the auto-configuration package and includes tests to verify repository detection behavior.
module/spring-boot-data-ldap · high confidence
New auto-configuration for Spring Data web support and repository metrics
This release introduces two new auto-configurations in the Spring Data commons module. DataWebAutoConfiguration enables Spring Data's web support (such as Pageable and Sort argument resolvers) in servlet-based web applications, with behavior and defaults (e.g., page/size parameter names, default/max page size, serialization mode) configurable via the spring.data.web prefix. DataRepositoryMetricsAutoConfiguration automatically records Micrometer timer metrics for Spring Data repository method invocations (configurable via management.metrics.data), including auto-timing settings and custom tags, and registers a listener that integrates with the repository factory without preventing other MeterBinders from binding.
module/spring-boot-data-commons · high confidence
New auto-configuration for Spring Security OAuth 2 client support
This module introduces the new auto-configuration classes for Spring Security's OAuth 2 client, including \OAuth2ClientAutoConfiguration\ for servlet-based applications and \ReactiveOAuth2ClientAutoConfiguration\ for reactive applications. It provides automatic setup of \ClientRegistrationRepository\ and \OAuth2AuthorizedClientService\ beans based on \spring.security.oauth2.client.registration\ properties, and integrates with web security to enable OAuth 2 login and client features. The implementation includes a \OAuth2ClientPropertiesMapper\ to convert configuration properties into client registrations, supporting both custom providers and common providers like Google.
module/spring-boot-security-oauth2-client · high confidence
New auto-configuration for Spring Security with MockMvc and WebTestClient
Spring Boot now provides dedicated auto-configuration for integrating Spring Security with MockMvc (WebMVC) and WebTestClient (WebFlux) in tests. This change introduces \SecurityMockMvcAutoConfiguration\ and \SecurityWebTestClientAutoConfiguration\, which automatically apply Spring Security configurers to the respective test clients. For WebMVC, this ensures the security filter runs correctly and restores HtmlUnitDriver integration by delegating the security context. For WebFlux, it configures the \MockServerConfigurer\ to apply security. These configurations are wired via Spring's auto-configuration imports, ensuring that security context is properly established for \@WebMvcTest\ and \@WebTestClient\ tests without manual setup.
module/spring-boot-security-test · high confidence
New auto-configuration for Spring WebFlux WebClient
The module introduces auto-configuration for the Spring WebFlux WebClient, providing a prototype-scoped \WebClient.Builder\ bean that automatically applies user-defined \WebClientCustomizer\ beans, codec customizers, and SSL bundle settings. It also includes dedicated auto-configuration for Micrometer observation to instrument client requests and supports configuring reactive HTTP Service Clients via properties such as base URLs, default headers, and API versioning.
module/spring-boot-webclient · high confidence
New auto-configuration for WebTestClient in tests
Spring Boot 4.0 introduces a new \@AutoConfigureWebTestClient\ annotation and associated auto-configuration in the \spring-boot-webtestclient\ module to simplify setting up \WebTestClient\ for reactive tests. The configuration automatically binds the client to a running test server, a \WebApplicationContext\, or a \MockMvc\ bean, and allows users to customize the client's response timeout and codec strategies via \spring.test.webtestclient\ properties and \CodecCustomizer\ beans.
module/spring-boot-webtestclient · high confidence
New auto-configuration for reactive HTTP codecs
Spring Boot 4.0 introduces a new \spring.http.codecs\ auto-configuration module that centralizes the setup of reactive HTTP codecs for WebFlux servers and WebClient instances. Users can now control codec behavior via properties such as \spring.http.codecs.log-request-details\ and \spring.http.codecs.max-in-memory-size\. The configuration supports a \preferred-json-mapper\ setting (defaulting to Jackson 3) to select the JSON serialization library, while also providing a \CodecCustomizer\ SPI that allows users to apply customizations to the codec configurer, with support for ordering customizers to ensure user-defined logic runs after built-in defaults.
module/spring-boot-http-codec · high confidence
New bootstrap context and registry APIs for early startup initialization
Spring Boot introduces a foundational bootstrap layer (\org.springframework.boot.bootstrap\) that provides a \BootstrapRegistry\ and \BootstrapContext\ available during application startup and environment post-processing, before the main \ApplicationContext\ is prepared. This allows developers to register and access potentially expensive singletons or shared instances early in the lifecycle using type-based registration, with support for singleton and prototype scopes, and a \BootstrapContextClosedEvent\ to perform cleanup or bean registration once the context is fully ready.
core/spring-boot/src/main/java/org/springframework/boot/bootstrap · high confidence
New buffering startup metrics and JKS SSL store support
This change introduces two new capabilities in the Spring Boot core. First, it adds a buffering implementation for application startup metrics (\BufferingApplicationStartup\) that records \StartupStep\ events with nanosecond precision, allowing users to filter, buffer, and drain startup timelines for performance analysis. Second, it adds a new \JksSslStoreBundle\ implementation that enables loading SSL key and trust stores from Java KeyStore (JKS) files, including support for PKCS11 hardware keystores and custom resource loaders.
core/spring-boot/src/main/java/org/springframework/boot/context/metrics, core/spring-boot/src/main/java/org/springframework/boot/ssl/jks · high confidence
New build aggregation plugin for reference documentation
The build system now includes a new Gradle plugin (AggregatorPlugin) and associated Aggregate interface in the buildSrc module. This plugin allows the reference documentation project to aggregate output files from other subprojects by configuring dependency scope configurations and resolving artifacts based on specified category and usage attributes, simplifying how aggregated content is collected during the build.
buildSrc/src/main/java/org/springframework/boot/build/aggregation · high confidence
New build infrastructure and Kotlin convenience APIs
This change introduces several new capabilities and test utilities. In the CLI module, a new \CommandLineIT\ integration test suite and supporting \CommandLineInvoker\ infrastructure are added to verify command-line behavior (hints, help, version, and error handling) against the packaged distribution. The \spring-boot-autoconfigure-processor\ module adds a new annotation processor (\AutoConfigureAnnotationProcessor\) that captures auto-configuration metadata (such as \@ConditionalOnClass\, \@AutoConfigureBefore/After\, and \@AutoConfigureOrder\) at compile time into \META-INF/spring-autoconfigure-metadata.properties\, along with comprehensive tests for this processor. Additionally, Kotlin users gain new top-level functions \runApplication\ and \fromApplication\ (with an \Augmented.with\ extension) in \SpringApplicationExtensions.kt\ to simplify application startup and configuration. Finally, test fixtures are added to \spring-boot\ and \spring-boot-testcontainers\ to support environment and container connection testing.
(repo-wide) · high confidence
New build plugin to aggregate and report test failures
Added the TestFailuresPlugin and its supporting TestResultsOverview build service to the buildSrc testing utilities. This plugin registers a listener on all test tasks to record failed test descriptors and, upon build completion, prints a consolidated summary of all failures to the console, sorted by class and test name.
buildSrc/src/main/java/org/springframework/boot/build/testing · high confidence
New build tasks to validate and document Spring configuration metadata
The build system now includes dedicated Gradle tasks to enforce quality and generate documentation for Spring Boot's configuration properties. New verification tasks (CheckSpringConfigurationMetadata, CheckAdditionalSpringConfigurationMetadata, CheckManualSpringConfigurationMetadata, and CheckAggregatedSpringConfigurationMetadata) automatically run during the check phase to detect issues such as missing property descriptions, duplicate entries, incorrect alphabetical ordering, and deprecated properties lacking a 'since' version or a valid replacement. Additionally, the DocumentConfigurationProperties task generates structured Asciidoc reference documentation for these properties, organizing them into categorized sections (e.g., Core, Data, Web) to improve discoverability in the user guide.
buildSrc/src/main/java/org/springframework/boot/build/context · high confidence
New builder and customizer APIs for task executors and schedulers
Spring Boot now provides dedicated builder classes and customizer interfaces for configuring task execution and scheduling components. The new \SimpleAsyncTaskExecutorBuilder\, \SimpleAsyncTaskSchedulerBuilder\, \ThreadPoolTaskExecutorBuilder\, and \ThreadPoolTaskSchedulerBuilder\ allow developers to fluently configure settings such as thread name prefixes, concurrency limits, virtual thread support, task decorators, and termination timeouts. These builders are available as beans in auto-configured applications and can be injected directly. Additionally, corresponding customizer interfaces (\SimpleAsyncTaskExecutorCustomizer\, \SimpleAsyncTaskSchedulerCustomizer\, \ThreadPoolTaskExecutorCustomizer\, \ThreadPoolTaskSchedulerCustomizer\) enable advanced customization of the underlying Spring Framework task components after the builder has applied its configuration.
core/spring-boot/src/main/java/org/springframework/boot/task · high confidence
New cache actuator endpoint and Redis metrics support
The cache module now exposes a dedicated actuator endpoint to inspect available caches and includes new tests to verify that Redis cache statistics (hits, misses, puts, evictions) are correctly exposed as Micrometer metrics.
module/spring-boot-cache · high confidence
New changelog generator for Spring Boot configuration metadata
A new tool has been added to generate an asciidoc changelog documenting differences between Spring Boot configuration metadata versions. It identifies and reports properties that have been added, removed, deprecated, or had their default values changed, allowing users to easily track configuration updates between releases.
spring-boot-configuration-metadata-changelog-generator · high confidence
New configuration management and import detection utilities
Added three new classes to the \org.springframework.boot.context.annotation\ package to improve how configuration classes are managed and imported. \Configurations\ provides a base class for grouping and ordering \@Configuration\ classes, supporting custom sorting and bean name generation, which is particularly useful for tests that cannot use \SpringRunner\. \UserConfigurations\ extends this to specifically handle user-defined configuration classes with lowest precedence. Additionally, \DeterminableImports\ introduces a new interface for \ImportSelector\ and \ImportBeanDefinitionRegistrar\ implementations to expose their imports early, enabling better caching of \ApplicationContext\ keys in Spring's testing support.
core/spring-boot/src/main/java/org/springframework/boot/context/annotation · high confidence
New configuration metadata changelog generator tool
A new command-line tool has been added to generate an AsciiDoc changelog documenting differences in Spring Boot configuration metadata between two versions. By providing directories containing JAR files from an old and a new version, the tool compares the metadata and outputs a report highlighting added, deprecated, deleted, or default-value-changed properties, helping users understand configuration changes during upgrades.
configuration-metadata/spring-boot-configuration-metadata-changelog-generator/src/main · high confidence
New core interfaces and classes for application startup and environment handling
Spring Boot introduces several new foundational types in the core package to support application initialization and configuration. A new \AotInitializerNotFoundException\ is added to signal failures when an AOT initializer is missing. The \ApplicationContextFactory\ interface and its \DefaultApplicationContextFactory\ implementation are introduced to allow customizing how the application context is created, including support for environment type and instance customization. The \ApplicationArguments\ interface provides structured access to command-line arguments, complementing the existing \CommandLineRunner\ and \ApplicationRunner\ interfaces. Additionally, \ApplicationProperties\ centralizes core application settings (such as banner mode, lazy initialization, and web application type), while \ApplicationInfoPropertySource\ exposes application metadata like PID and version. The \EnvironmentPostProcessor\ interface is relocated to this core package, and the \EnvironmentConverter\ utility is added to facilitate environment type conversions during startup.
core/spring-boot/src/main/java/org/springframework/boot · high confidence
New integration graph actuator endpoint and auto-configuration scan registrar
This change introduces the \IntegrationGraphEndpoint\ actuator, exposing Spring Integration component graphs via \@ReadOperation\ and \@WriteOperation\ endpoints, and adds \IntegrationAutoConfigurationScanRegistrar\ to link \@IntegrationComponentScan\ with Spring Boot's auto-configuration packages. These new classes are part of the spring-boot-integration module, enabling users to visualize and rebuild the integration graph through actuator endpoints while ensuring component scanning respects auto-configuration base packages.
spring-boot-integration · high confidence
New mail auto-configuration and health support
This release introduces the \spring-boot-mail\ module, providing auto-configuration for \MailSender\ via \spring.mail.host\ or JNDI, with support for SSL/TLS bundles and STARTTLS. It adds a \MailHealthIndicator\ to monitor SMTP connectivity (controlled by \management.health.mail.enabled\) and a \spring.mail.test-connection\ property to validate the mail server on startup. A \NoSuchMailSenderBeanFailureAnalyzer\ is included to guide users when auto-configuration fails due to missing properties.
module/spring-boot-mail · high confidence
New platform IO, socket, and system abstractions with null-safety
The Spring Boot Buildpack platform introduces a new set of internal abstractions to improve code clarity and null-safety. In the IO package, new interfaces and utilities allow for structured file layout writing (\Layout\), typed content handling (\Content\), and ownership/permission management (\Owner\, \FilePermissions\), including a \ZipFileTarArchive\ adapter to convert ZIP files to TAR archives. The socket package adds \AbstractSocket\ to support local Docker access patterns, while the system package provides an \Environment\ interface for accessing environment variables. All new classes are annotated with \@NullMarked\ from jspecify to enforce non-null contracts.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/io, buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/socket, buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/system · high confidence
New properties migrator to detect and fail on deprecated configuration keys
The \spring-boot-properties-migrator\ module now includes a \PropertiesMigrationListener\ that automatically inspects the application environment for deprecated or unsupported configuration keys. It generates a report of legacy properties and, by default, logs warnings for renamed keys and errors for unsupported ones. Users can now configure the \spring.properties.migrator.fail\ property to control startup behavior: setting it to \on-error\ or \on-warning\ will cause the application to fail to start if such keys are detected, helping teams identify and fix configuration issues early.
core/spring-boot-properties-migrator · high confidence
New resource chain customizer and API versioning support in WebFlux
The WebFlux auto-configuration now includes a new ResourceChainResourceHandlerRegistrationCustomizer that applies resource chain settings (compression, fixed, and content versioning) to static resources. Additionally, the auto-configuration integrates API versioning capabilities, allowing users to configure API version strategies via properties, which are applied to request mapping and response handling.
spring-boot-webflux · high confidence
New resource loading infrastructure with protocol resolvers
Added new classes in the \org.springframework.boot.io\ package to enhance resource loading capabilities. This includes \ApplicationResourceLoader\ for resolving resources with support for additional \ProtocolResolver\ implementations registered via \spring.factories\, \Base64ProtocolResolver\ to handle base64-encoded resources, \ClassPathResourceFilePathResolver\ for resolving file paths from classpath resources, and \ProtocolResolverApplicationContextInitializer\ to automatically register protocol resolvers in the application context. These changes provide a more flexible and extensible resource loading mechanism for Spring Boot applications.
core/spring-boot/src/main/java/org/springframework/boot/io · high confidence
New smoke-test module demonstrates Spring Boot testing patterns
A new smoke-test module has been added to demonstrate various Spring Boot testing capabilities. It includes a sample application with a REST controller, domain entities, and services, along with comprehensive integration tests. The tests showcase different testing approaches including WebMvcTest for controller testing, DataJpaTest for repository testing, RestClientTest for service layer testing, and full application context tests. The module also demonstrates null-safety annotations and various testing utilities like MockMvcTester, RestTestClient, and HtmlUnit/Selenium integration.
smoke-test/spring-boot-smoke-test-test · high confidence
New spring-boot-health module introduces unified health contributor infrastructure
This change introduces the new spring-boot-health module, which provides the core infrastructure for Spring Boot's health system. It adds abstract base classes (AbstractHealthIndicator, AbstractReactiveHealthIndicator) for implementing health checks, composite contributor types (CompositeHealthContributors, MapCompositeHealthContributor) for grouping health status, and a unified Contributor interface to handle both blocking and reactive health data uniformly. The module also includes configuration for the HealthEndpoint, support for availability probes via dedicated endpoint groups, and validation to prevent naming clashes between health contributors and groups.
spring-boot-health · high confidence
New spring-boot-micrometer-metrics module introduces core metrics infrastructure and SSL monitoring
This change introduces the new \spring-boot-micrometer-metrics\ module, which establishes the foundational components for the application's metrics system. It adds a \MetricsEndpoint\ for inspecting metric names and values via actuator, a \PropertiesMeterFilter\ to apply configuration-based filtering and distribution settings, and a \MaximumAllowableTagsMeterFilter\ to prevent metric cardinality explosion by denying tags that exceed a defined limit. The module also includes a \MeterRegistryCloser\ to ensure proper cleanup of registries during shutdown, a \DiskSpaceMetricsBinder\ for system disk monitoring, and an \SslMeterBinder\ that exposes certificate chain expiry times as metrics. Additionally, it provides an \JdkClientHttpSender\ to enable OTLP metrics export using JDK's \HttpClient\ with configurable SSL bundles.
spring-boot-micrometer-metrics · high confidence
New spring-boot-persistence module with @EntityScan and exception translation
This change introduces the new spring-boot-persistence module, providing the @EntityScan annotation and EntityScanner to allow applications to explicitly define base packages for scanning entity classes, rather than relying solely on auto-configuration defaults. It also includes PersistenceExceptionTranslationAutoConfiguration, which automatically configures a PersistenceExceptionTranslationPostProcessor to translate persistence exceptions, controlled by the new spring.persistence.exceptiontranslation.enabled property (replacing the deprecated spring.dao.exceptiontranslation.enabled).
module/spring-boot-persistence · high confidence
New spring-boot-resttestclient module with RestTestClient and deprecated TestRestTemplate
This location introduces the \spring-boot-resttestclient\ module, which provides auto-configuration for the new \RestTestClient\ (via \AutoConfigureRestTestClient\ and \RestTestClientTestAutoConfiguration\) and maintains the legacy \TestRestTemplate\ (via \AutoConfigureTestRestTemplate\ and \TestRestTemplateTestAutoConfiguration\) which is now deprecated for removal in 4.4.0. The module includes a \TrustAllTlsRequestFactory\ utility for testing, Kotlin extension functions for \TestRestTemplate\, and wiring that binds clients to the \LocalTestWebServer\ or \MockMvc\ when available.
module/spring-boot-resttestclient · high confidence
New spring-boot-webmvc-test module for Spring MVC slice testing
This change introduces the \spring-boot-webmvc-test\ module, which provides the \@WebMvcTest\ annotation and associated auto-configuration for testing Spring MVC controllers in isolation. The module includes \AutoConfigureMockMvc\ to configure \MockMvc\ and \MockMvcTester\ (when AssertJ is present), along with support for integrating HtmlUnit \WebClient\ and Selenium \WebDriver\ via new properties like \spring.test.mockmvc.htmlunit.url\. It also registers \MockMvcBuilderCustomizer\ beans to allow fine-grained customization of the MockMvc builder and handles WebDriver scope lifecycle through dedicated test execution listeners.
module/spring-boot-webmvc-test · high confidence
New system support classes for application location, temporary files, and Java version detection
This change introduces new classes in the \org.springframework.boot.system\ package to provide standardized access to application runtime details. \ApplicationHome\ allows users to determine the application's home directory and source location, exposing both \File\ and \Path\ getters. \ApplicationTemp\ provides a secure, application-specific temporary directory that is consistent across restarts, handling directory creation and ownership checks. \JavaVersion\ is a new enum that detects the current Java runtime version by checking for specific API availability, supporting versions up to Java 27, and includes AOT runtime hints for reflection. Additionally, \SystemProperties\ offers a utility to resolve system properties with environment variable fallbacks.
core/spring-boot/src/main/java/org/springframework/boot/system · high confidence
New test auto-configuration and diagnostic capabilities
This release introduces several new test support features in the auto-configure module. Users can now use the \@OverrideAutoConfiguration\ annotation to disable auto-configuration in tests, and the \@AutoConfigureDataSourceInitialization\ annotation to enable DataSource initialization. JSON testing is enhanced with the \@AutoConfigureJsonTesters\ annotation and a new \@JsonTest\ slice that focuses exclusively on JSON serialization, supporting Jackson, Gson, and Jsonb testers. Additionally, application context failures during tests will now automatically print a condition evaluation report to stderr, controlled by the \spring.test.print-condition-evaluation-report\ property.
core/spring-boot-test-autoconfigure/src/main · high confidence
New test slices for Web Services client and server testing
This release introduces dedicated test slices to simplify testing Spring Web Services components. For client-side testing, the new @WebServiceClientTest annotation allows you to focus on beans that use WebServiceTemplateBuilder, while @AutoConfigureMockWebServiceServer and @AutoConfigureWebServiceClient provide auto-configuration for mocking and template registration. For server-side testing, @WebServiceServerTest enables testing of @Endpoint beans with limited component scanning, supported by @AutoConfigureMockWebServiceClient and @AutoConfigureWebServiceServer. These slices include custom test execution listeners, context bootstrappers, and type exclude filters to ensure fast, isolated tests.
module/spring-boot-webservices-test · high confidence
New test support annotations and HTML Unit utilities
Added \@LocalServerPort\ and \@LocalManagementPort\ annotations to conveniently inject the allocated HTTP server and management ports into test classes, serving as a cleaner alternative to \@Value\ placeholders. Additionally, introduced \UriBuilderFactoryWebClient\ and \UriBuilderFactoryWebConnectionHtmlUnitDriver\ classes to enable HTML Unit integration with \UriBuilderFactory\ for URL handling in web tests.
core/spring-boot-test/src/main/java/org/springframework/boot/test/web · high confidence
New test support annotations and context customizers
The \spring-boot-test\ module now includes several new classes to enhance testing capabilities. The \@PropertyMapping\ annotation allows test annotation attributes to be automatically mapped to Spring \Environment\ properties, supported by \PropertyMappingContextCustomizerFactory\. The \@TestComponent\ and \@TestConfiguration\ annotations provide specialized stereotypes for test beans, ensuring they are excluded from standard component scanning while allowing custom bean definitions. Additionally, \ImportsContextCustomizerFactory\ enables the use of \@Import\ annotations directly on test classes, and \ConfigDataApplicationContextInitializer\ facilitates the loading of \ConfigData\ resources like \application.properties\ during tests. A new \SpringBootMockServletContext\ also improves mock servlet handling by respecting standard Spring Boot resource locations.
core/spring-boot-test/src/main/java/org/springframework/boot/test/context · high confidence
New test-support module for Docker-based integration testing
A new \spring-boot-docker-test-support\ module has been added to provide first-class support for running integration tests with Docker containers. This module introduces a \TestImage\ enum that centralizes references to container images (such as Elasticsearch, Kafka, RabbitMQ, and Redis) and includes dedicated container wrappers for services like Hazelcast, Mailpit, OpenLDAP, and Zipkin. It also provides a \@DisabledIfDockerUnavailable\ JUnit 5 annotation to automatically skip tests when Docker is not available, ensuring smoother test execution in environments without a Docker daemon.
test-support/spring-boot-docker-test-support · high confidence
New test-support utilities for classpath modification and resource injection
The spring-boot-test-support module now includes new capabilities to manage test environments more precisely. Developers can use the new JUnit 5 extension (ModifiedClassPathExtension) along with @ClassPathExclusions, @ClassPathOverrides, and @ForkedClassPath annotations to exclude, override, or fork the classpath for specific tests. Additionally, a new resource management extension (ResourcesExtension) provides annotations like @WithResource, @WithResourceDirectory, and @WithPackageResources to inject test resources into the thread context class loader, with parameter injection support via @ResourcePath and @ResourceContent. The module also adds AssertJ assertions for ScheduledExecutorService and SimpleAsyncTaskExecutor to verify thread type usage, and utility classes BuildOutput and FileUtils to assist with locating build outputs and hashing files.
test-support/spring-boot-test-support · high confidence
New test-support utilities for classpath, resources, SSL, and output capture
The spring-boot-test-support module now includes several new classes to aid testing: ModifiedClassPathClassLoader allows tests to dynamically modify the classpath and exclude specific packages; ResourcesClassLoader and the associated Resource record enable providing additional resources to the classpath during tests; MockKeyStoreSpi provides a mock security provider for testing SSL/TLS scenarios without real keystores; and OutputCapture allows tests to capture and verify System.out and System.err output.
spring-boot-test-support · high confidence
New utility classes for safe lambda invocation and parameterized instantiation
Spring Boot introduces two new utility classes in the \org.springframework.boot.util\ package: \LambdaSafe\ and \Instantiator\. \LambdaSafe\ allows developers to invoke lambda callbacks safely by handling generic type erasure issues and \ClassCastException\s, providing a fluent API to configure filters and loggers. \Instantiator\ provides a factory mechanism to instantiate objects by injecting available parameters via reflection, supporting both single and multiple class instantiation with configurable failure handling. Both classes are marked with null-safety annotations (\@NullMarked\ at the package level, \@Nullable\ on return values/parameters) to improve type safety for users.
core/spring-boot/src/main/java/org/springframework/boot/util · high confidence
New validation support for property binding
This change introduces a new \validation\ sub-package within the property binding module, adding a \ValidationBindHandler\ that applies JSR-303/Bean Validation to bound configuration properties. It includes a \BindValidationException\ to report validation failures and an \OriginTrackedFieldError\ to preserve source information (e.g., application.properties lines) in error messages, enabling users to see exactly which configuration source triggered a validation error.
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind/validation · high confidence
New web context and error handling infrastructure
This change introduces the foundational classes for Spring Boot's web application context and error handling. It adds the \web.context.reactive\ and \web.context.servlet\ packages, providing specific \ApplicationContext\ implementations (such as \AnnotationConfigReactiveWebApplicationContext\ and \AnnotationConfigServletWebApplicationContext\) and their corresponding environments. Additionally, it establishes the \web.error\ package with the \ErrorPage\ abstraction, \ErrorPageRegistry\, and \ErrorAttributeOptions\ to standardize how error pages are registered and how error details are exposed.
core/spring-boot/src/main/java/org/springframework/boot/web · high confidence
New web server initialized events for reactive and servlet contexts
Added ReactiveWebServerInitializedEvent and ServletWebServerInitializedEvent classes to the spring-boot-web-server module. These events are published after the WebServer is ready, allowing users to obtain the local port of the running server and access the specific application context (ReactiveWebServerApplicationContext or ServletWebServerApplicationContext) in which the server was created.
spring-boot-web-server · high confidence
Observability support for scheduled tasks and property-based filtering
The spring-boot-micrometer-observation module now automatically configures observability for Spring's scheduled tasks when an ObservationRegistry is present, ensuring that scheduled executions are tracked. Additionally, a new PropertiesObservationFilterPredicate allows users to control which observations are recorded and attach common key-values via configuration properties, while a SpelValueExpressionResolver enables SpEL-based resolution for value expressions in annotations.
spring-boot-micrometer-observation · high confidence
RSocket messaging auto-configuration and WebSocket route provider
The spring-boot-rsocket module now includes an auto-configuration that registers Spring MVC controller advices with the RSocket messaging handler, enabling unified exception handling across HTTP and RSocket transports. Additionally, a new Netty route provider configures RSocket over WebSocket endpoints, and an application context initializer exposes the actual listening port via the local.rsocket.server.port property for use in tests.
spring-boot-rsocket · high confidence
Reintroduce Jersey support for Spring Boot Actuator endpoints
This change restores the ability to expose Spring Boot Actuator web endpoints over a Jersey-based REST application. The module now includes auto-configuration classes (such as \JerseyAutoConfiguration\ and \HealthEndpointJerseyExtensionAutoConfiguration\) that register Jersey servlets and filters, and factories (like \JerseyEndpointResourceFactory\) that map Actuator operations to Jersey resources. This allows users to access health and other actuator endpoints via Jersey instead of the default Spring MVC dispatcher.
module/spring-boot-jersey · high confidence
Restructured buildpack platform with new Docker API and buildpack types
The buildpack platform module has been restructured to introduce a new Docker API layer and expanded buildpack support. A new Builder class now serves as the central API for running buildpack operations, including logic to warn when the builder and run image distros do not match. The module adds support for resolving buildpacks from local directories (DirectoryBuildpack), local gzipped tar archives (TarGzipBuildpack), and OCI images (ImageBuildpack). Additionally, the Docker package includes new classes for handling API versions (ApiVersion), image platforms (ImagePlatform), and various Docker progress and log update events.
spring-boot-buildpack-platform · high confidence
SSL bundle support for LDAP connections
The LDAP auto-configuration now supports configuring SSL/TLS via Spring Boot's SSL bundle mechanism. Users can provide an SSL bundle through the LdapConnectionDetails interface, which the auto-configuration applies to the LDAP context source to enable secure LDAPS connections. This includes validation that all LDAP URLs use the 'ldaps' scheme when a bundle is present, and rejection of conflicting socket factory configurations. Integration tests verify this functionality with both OpenLDAP and LLdap containers, including certificate validation and hostname verification scenarios.
module/spring-boot-ldap · high confidence
SendGrid auto-configuration now supports proxy settings
The SendGrid module now includes an auto-configuration that creates a SendGrid client bean when the API key is provided. Users can optionally configure a proxy for SendGrid requests by setting spring.sendgrid.proxy.host and spring.sendgrid.proxy.port in their application properties.
module/spring-boot-sendgrid · high confidence
Servlet module restructured with new auto-configuration and actuator support
The module/spring-boot-servlet area has been reorganized to introduce Servlet-specific auto-configuration and actuator integration. New auto-configuration classes (HttpEncodingAutoConfiguration, MultipartAutoConfiguration) now manage character encoding and multipart upload settings using dedicated properties (ServletEncodingProperties, MultipartProperties) and helper classes (MultipartConfigFactory). Additionally, actuator support for servlets has been added, including an HttpExchangesFilter for recording HTTP exchanges and MappingDescriptionProviders for exposing servlet and filter registration mappings. Management context configurations (ServletManagementContextAutoConfiguration, ServletEndpointManagementContextConfiguration) have also been introduced to support separate management server contexts.
module/spring-boot-servlet · high confidence
Servlet-based OAuth2 Authorization Server auto-configuration
Spring Boot now provides auto-configuration for the OAuth2 Authorization Server on servlet-based applications. This adds support for configuring the authorization server via \spring.security.oauth2.authorizationserver\ properties, including issuer settings, endpoint URIs, and registered client definitions. The auto-configuration automatically sets up a \RegisteredClientRepository\ and \AuthorizationServerSettings\ based on these properties, generates a default RSA key pair for JWT signing if no \JWKSource\ is provided, and configures the necessary security filter chains to handle authorization requests and OIDC endpoints.
module/spring-boot-security-oauth2-authorization-server · high confidence
Smoke test for Spring Boot WebSocket support on Tomcat
Added a new smoke test module that validates WebSocket functionality on Tomcat. It includes a sample application demonstrating echo, reverse, and multiplayer snake game endpoints, along with static HTML clients for manual testing. The test suite verifies the echo and reverse endpoints using a random port and also validates that the application works correctly when deployed under a custom context path (/ws).
smoke-test/spring-boot-smoke-test-websocket-tomcat · high confidence
Smoke test for Spring Boot profile activation and attribute injection
The smoke-test/spring-boot-smoke-test-profile module now includes a new ActiveProfilesEnvironmentPostProcessor that programmatically activates the 'dev' profile when the enableEnvironmentPostProcessor property is set, ensuring it takes precedence over other profile activations. The module also demonstrates profile-based service selection with HelloWorldService, GoodbyeWorldService, and GenericService implementations, along with tests verifying that the 'dev' profile activated by the post-processor correctly combines with explicitly activated profiles, and that attribute injection works correctly in reactive web environments.
smoke-test/spring-boot-smoke-test-profile · high confidence
Smoke tests for Couchbase with SSL support
Added smoke tests for Spring Data Couchbase that verify connectivity and operations over SSL-encrypted connections. The changes include a custom SecureCouchbaseContainer to configure the test container with SSL certificates, along with test classes for both synchronous and reactive repositories. Test resources containing the necessary CA, server, and client certificates are included to facilitate secure communication.
smoke-test/spring-boot-smoke-test-data-couchbase · high confidence
Spring Boot test auto-configuration registration
The spring-boot-test module now registers its test context customizers and application context initializers via the standard Spring Boot auto-configuration mechanism. This enables automatic support for property mapping, type exclude filters, Reactor resource disabling, JSON duplicate object filtering, and exclude filters in test environments without manual configuration.
core/spring-boot-test/src/main/resources · high confidence
Structured failure analysis and reporting for Spring Boot startup errors
The \core/spring-boot/src/main/java/org/springframework/boot/diagnostics\ package introduces a new, structured diagnostic system for application startup failures. It defines core abstractions including \FailureAnalyzer\ for analyzing exceptions, \FailureAnalysis\ for holding diagnostic details (description, action, cause), and \FailureAnalysisReporter\ for outputting results, with \LoggingFailureAnalysisReporter\ providing the default console output. This package also adds a suite of specific analyzers in the \analyzer\ subpackage to handle common issues such as bean creation cycles, dependency injection failures, configuration binding errors, and invalid property names, providing users with clear descriptions and actionable steps to resolve these problems.
core/spring-boot/src/main/java/org/springframework/boot/diagnostics · high confidence
Support for asynchronous JPA bootstrapping
Users can now configure JPA EntityManagerFactory initialization to run asynchronously by setting the new \spring.jpa.bootstrap\ property to \async\. When this mode is enabled, the application context requires a bootstrap executor (either a single \AsyncTaskExecutor\ bean, one named \applicationTaskExecutor\, or a custom one provided via \EntityManagerFactoryBuilderCustomizer\); if none is available, the application will fail fast with a clear error message and a failure analyzer suggesting how to resolve the issue.
module/spring-boot-jpa · high confidence
Support for lazy JDBC connection fetching
Applications can now configure pooled DataSources to fetch underlying JDBC connections lazily by setting spring.datasource.connection-fetch=lazy. This is implemented via a new auto-configuration that wraps the DataSource in a LazyConnectionDataSourceProxy, deferring physical connection acquisition until the first actual use, which can improve startup performance and reduce resource usage for idle applications.
spring-boot-jdbc · high confidence
Support for loading SSL certificates and private keys from PEM files
Spring Boot now allows SSL keystores and truststores to be configured directly using PEM-encoded content. This change introduces a new \org.springframework.boot.ssl.pem\ package containing \PemContent\ for parsing PEM text, \PemCertificateParser\ and \PemPrivateKeyParser\ for extracting X.509 certificates and private keys (including PKCS\#1, PKCS\#8, and encrypted keys), and \PemSslStoreBundle\ to integrate these into the existing \SslStoreBundle\ SPI. Users can now provide PEM strings or file paths for \server.ssl.key-store\ and \server.ssl.trust-store\ instead of requiring traditional JKS or PKCS12 formats.
core/spring-boot/src/main/java/org/springframework/boot/ssl/pem · high confidence
Support for multi-segment additional health paths
The health endpoint now supports mapping health groups to alternative locations using multi-segment paths. This is enabled by the new AdditionalHealthEndpointPath value object, which parses namespace and path prefixes (e.g., \server:/healthz\), and the updated HealthEndpointGroups interface, which allows groups to expose these additional paths. The HealthEndpointSupport logic has been extended to resolve these multi-segment paths, allowing users to expose specific health groups at custom, nested URLs.
module/spring-boot-health · high confidence
Test support for TypeExcludeFilter relocated to spring-boot-test
The test infrastructure for Spring Boot's TypeExcludeFilter has been moved into the spring-boot-test module. This change introduces the @TypeExcludeFilters annotation, allowing tests to register custom TypeExcludeFilter implementations, alongside the internal context customizers and filters (such as TestTypeExcludeFilter) that enable this behavior during test execution.
core/spring-boot-test/src/main/java/org/springframework/boot/test/context/filter · high confidence
Testcontainers integration auto-configuration and failure analysis
This change registers the Testcontainers integration with Spring Boot via new META-INF resource files. It enables automatic configuration for test container lifecycle management and service connection handling, adds a failure analyzer to provide clear diagnostics when Docker environments are invalid, and exposes configuration metadata for startup modes and dynamic property registry injection behavior.
core/spring-boot-testcontainers/src/main/resources · high confidence
Type-safe gRPC client configuration via Spring Boot properties
Users can now configure gRPC client channels and service-level behaviors (such as load balancing, health checks, and deadlines) using standard Spring Boot configuration properties. This change introduces a new auto-configuration module that maps properties to gRPC channel builders and service configs, allowing for declarative setup of client targets, timeouts, and retry policies without writing custom Java code.
spring-boot-grpc-client · high confidence
WebSocket messaging auto-configuration for servlet environments
Spring Boot now provides automatic configuration for WebSocket messaging in servlet-based web applications. This change introduces the \WebSocketMessagingAutoConfiguration\ class, which sets up a WebSocket message broker and message converters out of the box. Users can control the JSON serialization via the \spring.websocket.messaging.preferred-json-mapper\ property, with support for 'jackson' (default) and 'jackson2' (deprecated). The configuration includes nullability annotations and integrates with Spring's auto-configuration mechanism, ensuring that WebSocket messaging works seamlessly with existing Jackson auto-configuration.
module/spring-boot-websocket · high confidence
Zipkin auto-configuration and service connection support
The Zipkin module now provides a new auto-configuration that registers a \ZipkinConnectionDetails\ bean and a \BytesMessageSender\ using the JDK \HttpClient\ (with optional gzip compression and configurable timeouts). Configuration properties have moved from \management.zipkin.tracing.\\ to \management.tracing.export.zipkin.\\, with the old keys marked as deprecated errors. Additionally, \ConnectionDetailsFactory\ implementations are registered to automatically wire up Zipkin connections when running in Docker Compose or Testcontainers environments.
module/spring-boot-zipkin · high confidence
Security
Introduces secure XML parsing utility in buildSrc
A new XmlDocument utility class has been added to the build source code to centralize XML parsing. This class configures the underlying DocumentBuilderFactory with secure processing features, specifically enabling secure processing and disallowing DOCTYPE declarations, which mitigates XML external entity (XXE) vulnerabilities during build-time XML operations.
buildSrc/src/main/java/org/springframework/boot/build/xml · high confidence
Architecture
Modularize spring-boot-test-autoconfigure
The spring-boot-webmvc-test module now includes dedicated auto-configuration classes for MockMvc and WebDriver support. This introduces MockMvcConfiguration to handle MockMvc bean setup and customization, SpringBootMockMvcBuilderCustomizer to apply Spring Boot-specific settings like filter registration and result printing, and WebDriverScope to manage the lifecycle of WebDriver instances within the test context.
spring-boot-webmvc-test · high confidence
Refactored configuration property binding internals
The configuration property binding mechanism in \org.springframework.boot.context.properties.bind\ has been restructured to improve modularity and null-safety. This change introduces new internal abstractions, including \AbstractBindHandler\ for handler delegation, \AggregateBinder\ and \AggregateElementBinder\ for managing collections and arrays, and \BindConverter\ for centralized type conversion. It also adds \BindContext\ to provide binding state information, \BindMethod\ to distinguish between Java Bean and value object binding strategies, and \BindConstructorProvider\ to allow custom constructor selection. These components replace previous inline implementations, providing a cleaner, more testable foundation for binding logic without altering the external API.
core/spring-boot/src/main/java/org/springframework/boot/context/properties/bind · high confidence
Repackager tooling refactored into new loader-tools module
The Spring Boot repackaging capabilities have been reorganized into a new \spring-boot-loader-tools\ module, introducing a suite of new classes and interfaces that define how archives are structured and packaged. This includes the \Layout\ and \Layouts\ hierarchy for managing JAR and WAR structures, \Layers\ and \LayersIndex\ for defining Docker image layering, and \BuildPropertiesWriter\ for generating build-info metadata. The diff also adds support for OCI image packaging via \ImagePackager\ and handles library coordinates and scopes, representing a structural shift in how the repackager tooling is implemented.
loader/spring-boot-loader-tools · high confidence
Spring MVC actuator endpoint support moved to dedicated module
Spring MVC-specific support for actuator endpoints has been relocated to the new \spring-boot-webmvc\ module. This change introduces MVC-specific handler mappings (such as \WebMvcEndpointHandlerMapping\ and \AdditionalHealthEndpointPathsWebMvcHandlerMapping\) to expose actuator endpoints over HTTP, along with utilities to introspect and describe \DispatcherServlet\ mappings for the \/actuator/mappings\ endpoint. This modularization separates the Spring MVC implementation from the core actuator logic, ensuring the actuator module remains independent of the web framework choice.
module/spring-boot-webmvc · high confidence
Behavioural changes
1 commit (0 fixes) modifying buildSrc/src/main/resources/org/springframework/boot/build/docs
A change to existing behaviour in buildSrc/src/main/resources/org/springframework/boot/build/docs — 1 commit, 4 files: “Use offline javadoc links”.
buildSrc/src/main/resources/org/springframework/boot/build/docs · medium confidence · unverified
1 commit (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/security, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/security
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/security, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/security — 1 commit, 4 files: “Move OAuth2 and SAML 2.0 documentation to a security section”.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/security, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/security · medium confidence · unverified
10 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io — 10 commits, 61 files: “Rationalize HTTP client configuration properties”; “Add missing or outdated copyright headers”; “Document gRPC support”; and 7 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/io · medium confidence · unverified
11 commits (0 fixes) modifying core/spring-boot/src/main/java/org/springframework/boot/convert
A change to existing behaviour in core/spring-boot/src/main/java/org/springframework/boot/convert — 11 commits, 31 files: “Polish "Avoid overflow converting duration to microseconds"”; “Add nullability annotations to core/spring-boot”; “Fix warning from NullAway 0.14.0 related to override”; and 8 more.
core/spring-boot/src/main/java/org/springframework/boot/convert · medium confidence · unverified
11 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto — 11 commits, 53 files: “Move actuator heath code to spring-boot-health”; “Modularize spring-boot-test-autoconfigure”; “Restore support for Jersey”; and 8 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/howto · medium confidence · unverified
12 commits (0 fixes) modifying spring-boot-tomcat
A change to existing behaviour in spring-boot-tomcat — 12 commits, 2 files: “Upgrade to Tomcat 11.0.25”; “Improve null-safety of module/spring-boot-web-server”; “Add nullability annotations to module/spring-boot-tomcat”; and 8 more.
spring-boot-tomcat · medium confidence · unverified
13 commits (0 fixes) modifying core/spring-boot/src/main/java/org/springframework/boot/env
A change to existing behaviour in core/spring-boot/src/main/java/org/springframework/boot/env — 13 commits, 12 files: “Add nullability annotations to core/spring-boot”; “Prevent comments ending with a backslash from swallowing the next line”; “Add support for specifying encoding when loading files with spring.config.import”; and 10 more.
core/spring-boot/src/main/java/org/springframework/boot/env · medium confidence · unverified
14 commits (0 fixes) modifying buildSrc/src/main/java/org/springframework/boot/build/docs
A change to existing behaviour in buildSrc/src/main/java/org/springframework/boot/build/docs — 14 commits, 4 files: “Polish”; “Change WebServer log messages to use port or ports, not port(s)”; “No longer log hostname during application start”; and 11 more.
buildSrc/src/main/java/org/springframework/boot/build/docs · medium confidence · unverified
14 commits (1 fix) modifying module/spring-boot-amqp-rabbitmq
A change to existing behaviour in module/spring-boot-amqp-rabbitmq — 14 commits (1 fix), 45 files: “Default RabbitMQ AMQP 1.0 template exchange and routing key to null”; “Use RabbitUri in PropertiesAmqpRabbitConnectionDetails”; “Polish "Report the given value for invalid AMQP Rabbit host"”; and 11 more.
module/spring-boot-amqp-rabbitmq · medium confidence · unverified
2 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix — 2 commits, 6 files: “Change annotation from ConfigurationPropertiesScan to ConfigurationPropertiesSource”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/appendix · medium confidence · unverified
2 commits (1 fix) modifying smoke-test/spring-boot-smoke-test-rabbitmq-multiple
A change to existing behaviour in smoke-test/spring-boot-smoke-test-rabbitmq-multiple — 2 commits (1 fix), 3 files: “Allow AMQP 1.0 and AMQP 0.9 health indicators to co-exist”; “Fix test assertion”.
smoke-test/spring-boot-smoke-test-rabbitmq-multiple · medium confidence · unverified
24 commits (7 fixes) modifying spring-boot-loader
A change to existing behaviour in spring-boot-loader — 24 commits (7 fixs), 21 files: “Polish 'Look up classes and resources directly in nested jars'”; “Bypass unnecessary load operations for invalid names”; “Polish "Fix zip comment position when the archive has prefixed data"”; and 21 more.
spring-boot-loader · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/cloudfoundry
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/cloudfoundry — 3 commits, 2 files: “Delete web server's temporary directories when the context is closed”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/cloudfoundry · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/metrics
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/metrics — 3 commits, 13 files: “Rename metrics, observation, and tracing modules”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/metrics · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/json, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/json
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/json, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/json — 3 commits, 8 files: “Restructure project directories to better fit Gradle”; “Rename Jackson-specific Json… classes to Jackson…”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/json, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/json · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/security
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/security — 3 commits, 1 file: “Refactor security auto-configuration package structure”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/security · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/buildtoolplugins
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/buildtoolplugins — 3 commits, 1 file: “Add nullability annotations to loader/spring-boot-loader-tools”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/buildtoolplugins · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/actuator
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/actuator — 3 commits, 2 files: “Move actuator heath code to spring-boot-health”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/actuator · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/application
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/application — 3 commits, 1 file: “Relocate \EnvironmentPostProcessor\ and implementations out of \env\”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/application · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/messaging
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/messaging — 3 commits, 1 file: “Add nullability annotations to module/spring-boot-jms”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/messaging · medium confidence · unverified
3 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive — 3 commits, 11 files: “Start building against Reactor Bom 2025.0.0-RC1 snapshots”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/reactive · medium confidence · unverified
3 commits (0 fixes) modifying spring-boot-amqp-rabbitmq
A change to existing behaviour in spring-boot-amqp-rabbitmq — 3 commits, 2 files: “Use RabbitUri in PropertiesAmqpRabbitConnectionDetails”; “Polish "Add AMQP 1.0 RabbitMQ auto-configuration"”; “Polish 'Default RabbitMQ AMQP 1.0 port to 5671 when an SSL bundle is configured'”.
spring-boot-amqp-rabbitmq · medium confidence · unverified
3 commits (0 fixes) modifying spring-boot-webmvc
A change to existing behaviour in spring-boot-webmvc — 3 commits, 1 file: “Add nullability annotations to module/spring-boot-webmvc”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
spring-boot-webmvc · medium confidence · unverified
4 commits (0 fixes) modifying core/spring-boot/src/main/java/org/springframework/boot/context/properties
A change to existing behaviour in core/spring-boot/src/main/java/org/springframework/boot/context/properties — 4 commits, 21 files: “Apply 7c1bef5e4 to ConfigurationProperties converter variant”; “Add nullability annotations to core/spring-boot”; “Restructure project directories to better fit Gradle”; and 1 more.
core/spring-boot/src/main/java/org/springframework/boot/context/properties · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/endpoints
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/endpoints — 4 commits, 7 files: “Polish code to fix warnings”; “Refactor security auto-configuration package structure”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/endpoints · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/observability
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/observability — 4 commits, 4 files: “Improve documentation for Spring Boot's OpenTelemetry support”; “Map OpenTelemetry environment variables to properties”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/actuator/observability · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/devservices, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/devservices
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/devservices, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/devservices — 4 commits, 18 files: “Rename MongoDB properties that don't require Spring Data MongoDB”; “Upgrade to Testcontainers 2.0.1”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/devservices, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/devservices · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/externalconfig, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/externalconfig
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/externalconfig, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/externalconfig — 4 commits, 53 files: “Support binding of default properties when an empty property is defined”; “Harmonize use of Collections and Maps in configuration properties”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/externalconfig, documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/features/externalconfig · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/packaging
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/packaging — 4 commits, 11 files: “Start building against Spring Framework 7.0.6 snapshots”; “Restructure project directories to better fit Gradle”; “Simplify source code headers”.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/packaging · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/data
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/data — 4 commits, 34 files: “Add auto-configuration for Redis annotation-driven listeners”; “Start building against Reactor Bom 2025.0.0-RC1 snapshots”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/data · medium confidence · unverified
4 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/dataaccess
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/dataaccess — 4 commits, 19 files: “Add nullability annotations to module/spring-boot-hibernate”; “Introduce spring-boot-persistence”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/dataaccess · medium confidence · unverified
4 commits (1 fix) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/developingautoconfiguration
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/developingautoconfiguration — 4 commits (1 fix), 9 files: “Fix problems with auto-configuration architecture checks”; “Mark auto-configuration samples final in spring-boot-docs”; “Restructure project directories to better fit Gradle”; and 1 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/features/developingautoconfiguration · medium confidence · unverified
4 commits (1 fix) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security — 4 commits (1 fix), 1 file: “Add missing or outdated copyright headers”; “Polish formatting”; “Fix MySamlRelyingPartyConfiguration Kotlin sample location”; and 1 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/security · medium confidence · unverified
5 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/data
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/data — 5 commits, 22 files: “Add auto-configuration for Redis annotation-driven listeners”; “Polish code to fix warnings”; “Refactor security auto-configuration package structure”; and 2 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/data · medium confidence · unverified
5 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/webserver
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/webserver — 5 commits, 8 files: “Move \@LocalServerPort\ and \@LocalManagementServerPort\”; “Document LocalTestWebServer”; “Restructure project directories to better fit Gradle”; and 2 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/webserver · medium confidence · unverified
5 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet — 5 commits, 27 files: “Start building against Spring Framework 7.0.0 snapshots”; “Deprecate HttpMessageConverters for Framework's”; “Restructure project directories to better fit Gradle”; and 2 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/web/servlet · medium confidence · unverified
5 commits (0 fixes) modifying spring-boot-configuration-processor
A change to existing behaviour in spring-boot-configuration-processor — 5 commits, 5 files: “Handle fully-qualified names for known types”; “Replace \isAssignableFrom()\ with \isInstance()\ where feasible”; “Restructure project directories to better fit Gradle”; and 2 more.
spring-boot-configuration-processor · medium confidence · unverified
5 commits (1 fix) modifying build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples
A change to existing behaviour in build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples — 5 commits (1 fix), 53 files: “Change tomcat and jetty runtime modules to starters”; “Fix null safety of Gradle Kotlin scripts with Gradle 9”; “Make it easier to create executable and deployable war”; and 2 more.
build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/examples · medium confidence · unverified
6 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/io
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/io — 6 commits, 61 files: “Rationalize HTTP client configuration properties”; “Document gRPC support”; “Support InetAddress filtering for HTTP Clients”; and 3 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/io · medium confidence · unverified
6 commits (0 fixes) modifying module/spring-boot-batch-data-mongodb
A change to existing behaviour in module/spring-boot-batch-data-mongodb — 6 commits, 10 files: “Apply TransactionManagerCustomizers consistently”; “Polish "Apply TransactionManagerCustomizers consistently"”; “Add support for Spring Batch MongoDB”; and 3 more.
module/spring-boot-batch-data-mongodb · medium confidence · unverified
6 commits (1 fix) modifying spring-boot-docs
A change to existing behaviour in spring-boot-docs — 6 commits (1 fix), 30 files: “Polish "Add AMQP 1.0 RabbitMQ auto-configuration"”; “Add AMQP 1.0 generic auto-configuration”; “Add AMQP 1.0 client auto-configuration”; and 3 more.
spring-boot-docs · medium confidence · unverified
7 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet — 7 commits, 26 files: “Start building against Spring Framework 7.0.0 snapshots”; “Restore support for Jersey”; “Remove support for Jersey”; and 4 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/web/servlet · medium confidence · unverified
7 commits (1 fix) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/actuator
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/actuator — 7 commits (1 fix), 29 files: “Fix Kotlin sample of reactive cloudfoundry configuration”; “Add more nullability annotations to module/spring-boot-amqp”; “Rename metrics, observation, and tracing modules”; and 4 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/actuator · medium confidence · unverified
8 commits (0 fixes) modifying documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/messaging
A change to existing behaviour in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/messaging — 8 commits, 24 files: “Polish "Add AMQP 1.0 RabbitMQ auto-configuration"”; “Suppress Jackson deprecation warnings for Spring Kafka”; “Polish”; and 5 more.
documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/messaging · medium confidence · unverified
8 commits (1 fix) modifying documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/messaging
A change to existing behaviour in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/messaging — 8 commits (1 fix), 30 files: “Polish "Add AMQP 1.0 RabbitMQ auto-configuration"”; “Suppress Jackson deprecation warnings for Spring Kafka”; “Add AMQP 1.0 generic auto-configuration”; and 5 more.
documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/messaging · medium confidence · unverified
ANSI output now enabled on Windows 11 and Windows Server 2025
The ANSI output detection logic in \AnsiOutput\ has been updated to automatically enable colored console output on Windows 11 and Windows Server 2025. Previously, ANSI support on Windows was likely disabled or required manual configuration; now, the application detects these specific OS versions and enables ANSI escape sequences by default, allowing for colored logs and output in compatible terminals without additional user intervention.
core/spring-boot/src/main/java/org/springframework/boot/ansi · high confidence
Actuator endpoints now support null values in data maps and legacy ID migration
The Spring Boot Actuator module has been updated to improve null-safety and configuration flexibility. The \AuditEvent\ and \Info\ endpoints now allow \null\ values within their data maps, enabling more flexible event recording and information reporting. Additionally, the \EndpointId\ class now supports a \management.endpoints.migrate-legacy-ids\ property, which allows users to opt-in to migrating legacy endpoint IDs (containing hyphens or dots) to a strict alphanumeric format, with warnings logged for non-compliant IDs. The \BeansEndpoint\ and \EnvironmentEndpoint\ have also been updated to handle these null-safety improvements and legacy ID migration logic.
spring-boot-actuator · high confidence
Actuator endpoints now use JSpecify nullability annotations
The actuator module has migrated its public API to use JSpecify's @Nullable annotations (from org.jspecify.annotations) instead of previous nullability markers. This change affects core components such as the AuditEventsEndpoint, AuditEventRepository, ShutdownEndpoint, and ConfigurationPropertiesReportEndpoint, ensuring consistent null-safety handling across endpoint operations and repository interfaces.
module/spring-boot-actuator · high confidence
Auto-configured validator is marked primary only when no other primary validator exists
The validation module now includes a post-processor that ensures the auto-configured default validator is flagged as primary only if no other Spring Validator bean is already marked as primary. This prevents unintended override of user-defined primary validators and ensures correct bean selection during validation.
spring-boot-validation · high confidence
Cloud Foundry actuator endpoints now expose full health and info details with security error bodies
In the spring-boot-cloudfoundry module, actuator endpoints now bypass standard security restrictions to always return full health details (via new CloudFoundryHealthEndpointWebExtension and CloudFoundryReactiveHealthEndpointWebExtension) and full git info (via CloudFoundryInfoEndpointWebExtension). Additionally, the WebFlux and Servlet handler mappings have been updated to include the security error body in HTTP responses when access is denied, ensuring clients receive descriptive error messages instead of generic forbidden responses.
spring-boot-cloudfoundry · high confidence
Configuration metadata processor restructured for incremental build support
The configuration metadata annotation processor has been refactored to improve build performance and correctness. A new DescriptionCache preserves property descriptions across incremental builds, preventing them from being lost when Gradle cleans intermediate outputs. The processor now supports the @NestedConfigurationProperty annotation on record accessors and detects duplicate property names during processing. Additionally, it recognizes JSpecify's @Nullable annotation as a nullness signal for Actuator endpoints, replacing the previous @OptionalParameter approach.
configuration-metadata/spring-boot-configuration-processor/src/main · high confidence
Deployment system tests now use RestTestClient and Servlet 6.1 containers
The deployment system tests in this module have been updated to replace the deprecated TestRestTemplate with the new RestTestClient, and the test containers now target Servlet 6.1 compatible environments (e.g., Tomcat 11.0.10). Additionally, the tests have been adapted to expect availability probes to be available by default, and nullability annotations have been added to the test application code.
system-test/spring-boot-deployment-system-tests · high confidence
Deprecated Jackson 2 support added for removal in 4.3.0
The spring-boot-jackson2 module now provides auto-configuration, serialization/deserialization helpers, and test support for Jackson 2. All components in this module, including the JsonComponent and JsonMixin annotations, JsonObjectSerializer/Deserializer base classes, Jackson2ObjectMapperBuilderCustomizer, and Jackson2Properties, are marked as deprecated since version 4.0.0 with a scheduled removal in 4.3.0 in favor of Jackson 3.
module/spring-boot-jackson2 · high confidence
Deprecated auto-configuration for Jackson 2
The spring-boot-jackson2 module now provides auto-configuration for Jackson 2, including the registration of ObjectMapper, JsonComponentModule, and JsonMixinModule. However, this support is deprecated as of version 4.0.0 and is scheduled for removal in version 4.3.0 in favor of Jackson 3.
spring-boot-jackson2 · high confidence
Deprecation of RestTemplate support in favor of RestClient
The \RestTemplate\ and \RestTemplateBuilder\ classes, along with their associated auto-configuration and customizers, are now deprecated for removal in version 4.4.0. Users should migrate to the new \RestClient\ infrastructure, which includes \RestClientBuilder\, \RestClientCustomizer\, and dedicated auto-configuration classes like \RestClientAutoConfiguration\ and \RestClientObservationAutoConfiguration\. The \RestTemplateBuilder\#rootUri\ method is also deprecated in favor of \baseUri(String)\. This change aligns with the Spring Framework's move away from \RestTemplate\ towards the more modern \RestClient\.
module/spring-boot-restclient · high confidence
Deprecation of RestTemplate-based components in favor of RestClient
The \spring-boot-restclient\ module introduces deprecation annotations for \RestTemplate\-specific classes, marking them for removal in version 4.4.0. Specifically, \RestTemplateBuilderClientHttpRequestInitializer\ and \ObservationRestTemplateCustomizer\ are now deprecated, signaling that users should migrate to the \RestClient\-based equivalents (\HttpMessageConvertersRestClientCustomizer\ and \ObservationRestClientCustomizer\) which are added in this release to support the new HTTP client abstraction.
spring-boot-restclient · high confidence
Deprecation of TestRestTemplate and introduction of RestTestClient
The \TestRestTemplate\ class is now deprecated (since version 4.2.0) and scheduled for removal in 4.4.0, with users advised to migrate to \RestTestClient\ from \spring-test\. This module also introduces \SpringBootRestTestClientBuilderCustomizer\, which applies Spring Boot's standard message converter customizations to the new \RestTestClient\ builder, ensuring consistent behavior with the rest of the framework.
spring-boot-resttestclient · high confidence
Docker type models now use Jackson 3 (tools.jackson)
The Docker type models in the buildpack platform (BlobReference, ContainerConfig, Image, ImageArchive, Manifest, etc.) have been updated to use the Jackson 3 API (tools.jackson.databind) instead of the previous Jackson 2 (com.fasterxml.jackson.databind). This change affects how these types parse and generate JSON, and may require updates to any code that directly interacts with these classes or their underlying JSON processing.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker/type · high confidence
Flyway module restructured for Spring Boot 4.0 with native image and service connection support
The Flyway auto-configuration has been rewritten for Spring Boot 4.0, introducing a new \FlywayConnectionDetails\ interface and dedicated factories to support service connections for both Testcontainers and Docker Compose. Migration execution is now driven by a \FlywayMigrationInitializer\ that respects a customizable \FlywayMigrationStrategy\, and the module includes a \NativeImageResourceProviderCustomizer\ to ensure Java-based migrations are correctly scanned in native images. The existing \FlywayEndpoint\ is preserved for actuator reporting, while deprecated configuration properties have been removed or marked for removal to align with Flyway 12.x.
module/spring-boot-flyway · high confidence
FreeMarker auto-configuration rewritten for Spring Boot 4.0
The FreeMarker module has been completely rewritten for Spring Boot 4.0.0, introducing a new modular auto-configuration architecture. The previous \spring.freemarker.enabled\ property is now deprecated and no longer required; users should depend directly on FreeMarker to use it without auto-configuration. The new setup includes dedicated configurations for Servlet, Reactive, and Non-Web environments, a \FreeMarkerVariablesCustomizer\ interface for fine-tuning shared variables, and improved template availability detection. Configuration properties now support custom prefixes, suffixes, template loader paths, and settings, with sensible defaults like \.ftlh\ suffix and UTF-8 encoding.
module/spring-boot-freemarker · high confidence
H2 Console auto-configuration restructured for Spring Boot 4.0
The H2 Console module has been rewritten for Spring Boot 4.0.0, introducing a new \H2ConsoleAutoConfiguration\ that registers the H2 web servlet via \ServletRegistrationBean\ and adds a logger to display available database URLs at startup. Configuration is now managed through \H2ConsoleProperties\ with stricter validation: the console path must start with a slash and have a length greater than one. The console is disabled by default and can be enabled via \spring.h2.console.enabled=true\. Additionally, a \spring-devtools.properties\ file has been added to enable the console by default in development mode.
module/spring-boot-h2console · high confidence
HTTP codec auto-configuration now prioritizes Jackson 3 and orders Kotlinx Serialization customizers
The new CodecsAutoConfiguration introduces a preference for Jackson 3 (via tools.jackson.databind.json.JsonMapper) over Jackson 2, activating the latter only when Jackson 3 is absent or explicitly requested via spring.http.codecs.preferred-json-mapper=jackson2. Additionally, the auto-configured Kotlinx Serialization JSON codec customizer is now ordered to run before user-provided customizers, ensuring that user customizations can override the default codec settings.
spring-boot-http-codec · high confidence
Homebrew formula generation now skips non-open-source builds
The build system for the Spring Boot CLI now explicitly checks the build type before generating Homebrew formula manifests. If the build is not an open-source variant, the process is skipped with a debug log message, preventing the creation of formula files for non-OSS releases.
buildSrc/src/main/java/org/springframework/boot/build/cli · high confidence
Improved diagnostic clarity for bean condition evaluations
The auto-configuration module now preserves full type information in condition evaluation messages, ensuring that users see precise class names rather than generic or truncated identifiers when debugging why a bean was or was not created. This change is implemented through updates to the core condition evaluation classes (such as OnBeanCondition and ConditionMessage) and the ConditionEvaluationReport, which now more accurately record and report the specific types involved in matching outcomes.
spring-boot-autoconfigure · high confidence
Integration tests now use RestClient and support only Jetty and Tomcat
The integration test infrastructure in spring-boot-server-integration-tests has been updated to use Spring's RestClient for HTTP calls instead of the previous Apache HttpClient-based approach, and the embedded servlet container test suite now exclusively targets Jetty and Tomcat, removing support for Undertow.
spring-boot-server-integration-tests · high confidence
JSON support updated to require Jackson 3
The JSON parsing layer now requires Jackson 3 (specifically the \tools.jackson\ namespace) instead of the previous Jackson 2 (\com.fasterxml.jackson\). The \JacksonJsonParser\ has been updated to use \JsonMapper\ from Jackson 3, and the \JsonParserFactory\ now detects Jackson 3 on the classpath to select the appropriate parser. This change also includes a refactored \AppendableByteArray\ to reduce memory pressure and fix corruption of supplementary characters, as well as improved null-safety annotations across the JSON package. Also in this area: Fix escaped double quote handling in nested JSON elements.
core/spring-boot/src/main/java/org/springframework/boot/json · high confidence
Logback logging system restructured with programmatic configuration and new formatting capabilities
The Logback logging implementation has been refactored to use a programmatic \LogbackConfigurator\ instead of XML parsing, which improves startup performance. This change introduces several new Logback pattern converters: \ColorConverter\ for enhanced ANSI styling (foreground, background, and text styles), \CorrelationIdConverter\ for MDC-based correlation IDs, \EnclosedInSquareBracketsConverter\ for optional bracketed values, and \ExtendedWhitespaceThrowableProxyConverter\ for improved stack trace formatting. Additionally, the default file logging charset is now explicitly set to UTF-8, and the system now avoids removing application-managed JUL bridge handlers to prevent conflicts with existing logging setups.
core/spring-boot/src/main/java/org/springframework/boot/logging/logback · high confidence
Logging subsystem refactored with null-safety and new configuration abstractions
The logging package has been restructured to improve null-safety and introduce new abstractions for managing logger configurations. Key additions include the \DeferredLogFactory\ for creating deferred log instances, a \DelegatingLoggingSystemFactory\ to chain logging system providers, and a new \LogLevel\ enum that supports logging messages with optional causes. The \LoggerConfiguration\ class now distinguishes between direct and inherited level configurations via a \ConfigurationScope\ enum, and \LoggingSystemProperty\ provides a centralized enum for logging-related environment and application properties. These changes are annotated with \@Nullable\ and \@NullMarked\ to enforce null-safety throughout the logging API.
core/spring-boot/src/main/java/org/springframework/boot/logging · high confidence
Maven plugin refactoring and new dependency filtering capabilities
The Maven plugin has been refactored to introduce a new AbstractDependencyFilterMojo base class, which centralizes dependency filtering logic and adds static filters to automatically exclude spring-boot-devtools and spring-boot-docker-compose from repackaged archives. This change also introduces new configuration options in the packaging goals to explicitly include optional dependencies and system-scoped dependencies, while simultaneously removing support for the legacy spring-boot-loader-classic and embedded launch scripts. Additionally, the plugin now supports loading layer configurations from the plugin classpath and provides new goals (build-image, build-image-no-fork) for building OCI images using buildpacks.
build-plugin/spring-boot-maven-plugin/src/main/java · high confidence
Micrometer Tracing auto-configuration and log correlation in Spring Boot 4.0
This change introduces the core auto-configuration for Micrometer Tracing in Spring Boot 4.0, replacing the legacy \management.tracing.enabled\ property with a new \management.tracing.export.enabled\ property to control trace export. It adds a \LogCorrelationEnvironmentPostProcessor\ that automatically configures \logging.pattern.correlation\ using configurable MDC keys (\management.tracing.mdc.\*\), enabling seamless trace ID correlation in application logs. The module also includes auto-configuration for OTLP exemplars, allowing trace context to be attached to metrics, and sets the default sampling probability to 100% in devtools for easier debugging.
module/spring-boot-micrometer-tracing · high confidence
Migrate Elasticsearch client to Rest5Client and Java API Client
The Elasticsearch module now uses the Rest5Client (Apache HttpComponents 5) and the new Elasticsearch Java API Client, replacing the previous RestClient. This change introduces a new \ElasticsearchClientAutoConfiguration\ for the high-level API client, deprecates the legacy Jackson 2 JSON mapper in favor of Jackson 3, and adds support for API-key authentication via the \spring.elasticsearch.api-key\ property. The client sniffer is now disabled by default and can be enabled via \spring.elasticsearch.restclient.sniffer.enabled\. Additionally, SSL hostname verification is enabled by default for secure connections, and integration tests have been added to verify connectivity with Docker-based Elasticsearch instances.
module/spring-boot-elasticsearch · high confidence
Migrate JSON processing to Jackson 3 and introduce MappedObject
The JSON processing layer in the buildpack platform has been updated to use Jackson 3 (tools.jackson) instead of the previous version, with a new shared JsonMapper configuration replacing the old ObjectMapper. A new MappedObject base class is now available to simplify accessing JSON data via path expressions and mapping to interfaces or types, while nullability annotations have been added to improve type safety.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/json · high confidence
Mustache view rendering now uses Charset instead of String for encoding
The \spring-boot-mustache\ module has been updated to use \java.nio.charset.Charset\ for template encoding configuration, replacing the previous \String\-based approach. This change is reflected in \MustacheProperties\, \MustacheResourceTemplateLoader\, and the servlet/reactive \MustacheView\ and \MustacheViewResolver\ classes, which now accept and store \Charset\ objects directly. The previous \String\-based setters (e.g., \setCharset(String)\) are now deprecated in favor of their \Charset\ counterparts, ensuring more robust and type-safe character encoding handling for Mustache templates in both Servlet and Reactive web environments.
module/spring-boot-mustache · high confidence
Neo4j auto-configuration rewritten for Spring Boot 4.0 with new connection details and health indicators
The Neo4j module has been completely rewritten for Spring Boot 4.0.0, introducing a new \Neo4jConnectionDetails\ interface that abstracts connection URI and authentication (including support for \AuthTokenManager\ and custom \ConfigBuilderCustomizer\ beans) and replacing the legacy health indicators with the new \HealthContributor\-based \Neo4jHealthIndicator\ and \Neo4jReactiveHealthIndicator\. The auto-configuration now supports Docker Compose integration via \Neo4jDockerComposeConnectionDetailsFactory\ and Micrometer observations through \Neo4jObservationAutoConfiguration\, while all configuration properties are consolidated under \spring.neo4j\ with explicit null-safety annotations.
module/spring-boot-neo4j · high confidence
New @AutoConfiguration annotation and refined auto-configuration import mechanism
Spring Boot introduces a dedicated @AutoConfiguration meta-annotation to explicitly mark auto-configuration classes, which are now discovered via ImportCandidates rather than relying solely on spring.factories. This change brings stricter structural rules, such as making auto-configuration classes final and disabling proxy bean methods by default, while adding new support for filtering, sorting, and replacing auto-configuration classes during the import process to improve performance and maintainability.
core/spring-boot-autoconfigure/src/main/java · high confidence
New Gradle infrastructure for Antora-based documentation generation
The build system now uses a new Antora-based pipeline for generating documentation. This change introduces a suite of Gradle plugins and tasks in buildSrc to manage documentation contributions, including source synchronization, catalog content, and aggregate content. It adds a task to validate javadoc macros in AsciiDoc files against the classpath, generates Asciidoctor attributes from the BOM for library versioning, and configures Antora extensions like the xref and zip-contents-collector. The component name for the documentation site is set to 'boot'.
buildSrc/src/main/java/org/springframework/boot/build/antora · high confidence
New Gradle tasks for validating and documenting auto-configuration classes
The build system now includes dedicated Gradle tasks to verify and document Spring Boot auto-configuration classes. The \CheckAutoConfigurationImports\ task validates that the \AutoConfiguration.imports\ file contains only valid, annotated classes and that entries are sorted alphabetically. The \CheckAutoConfigurationClasses\ task ensures that classes annotated with \@AutoConfiguration\ are correctly registered in the imports file and validates their \before\/\after\ dependency constraints against required and optional classpaths. Additionally, the \AutoConfigurationMetadata\ task generates metadata properties for each module, and the \DocumentAutoConfigurationClasses\ task produces AsciiDoc reference documentation listing all auto-configuration classes per module.
buildSrc/src/main/java/org/springframework/boot/build/autoconfigure · high confidence
New Gradle tasks to enforce classpath integrity and dependency constraints
The build system now includes four new Gradle tasks in buildSrc that automatically validate the classpath during builds. These tasks detect conflicting classes or resources, block prohibited dependency groups (such as Jetty toolchain, Geronimo specs, JBoss specs, and legacy javax.\* packages), ensure direct dependencies are version-constrained, and flag unnecessary exclusion rules. This prevents runtime conflicts and enforces stricter dependency hygiene across all modules.
buildSrc/src/main/java/org/springframework/boot/build/classpath · high confidence
New Gradle test-kit support classes for version-aware testing
The test-support module introduces new classes to facilitate testing against specific Gradle versions. The \GradleVersions\ utility now dynamically selects compatible Gradle versions based on the Java runtime, explicitly supporting Gradle 9.x for Java 25/26 and the current version for Java 27, with a minimum compatible version of 8.14.5. The \GradleBuild\ helper class has been updated to use a temporary directory for project execution and allows configuration of the Gradle version, script properties, and deprecation warning expectations. Additionally, a new \Dsl\ enum defines supported DSL variants (Groovy and Kotlin) to handle script file extensions correctly.
test-support/spring-boot-gradle-test-support · high confidence
New Gradle-based build infrastructure for the Maven plugin
The build system for the Spring Boot Maven plugin has been ported from Maven to Gradle. This introduces a new Gradle plugin (MavenPluginPlugin) that manages the build lifecycle, including generating the plugin descriptor, help mojo, and documentation (DocumentPluginGoals), as well as preparing Maven binaries for integration tests (PrepareMavenBinaries). The build now uses a custom MavenExec task to run Maven commands and a PluginXmlParser to parse plugin metadata. This change also updates the minimum supported Gradle version to 7.3 and Java to 17, and upgrades the Maven Help Plugin to 3.4.0.
buildSrc/src/main/java/org/springframework/boot/build/mavenplugin · high confidence
New HTTP message converter auto-configuration module
Spring Boot 4.0 introduces a dedicated \spring-boot-http-converter\ module that centralizes HTTP message conversion. This change separates client and server \HttpMessageConverters\ so they can be customized independently, introduces \ClientHttpMessageConvertersCustomizer\ and \ServerHttpMessageConvertersCustomizer\ interfaces for targeted configuration, and adds a \spring.http.converters.preferred-json-mapper\ property to explicitly select the JSON mapper (e.g., Jackson, Gson, Jsonb) when multiple are present. The auto-configuration also registers a background preinitializer for \MultipartHttpMessageConverter\ to improve startup performance.
module/spring-boot-http-converter · high confidence
New auto-configuration for Spring Data Neo4j with database selection and deprecated property handling
This module introduces the new \DataNeo4jAutoConfiguration\ and \DataNeo4jReactiveAutoConfiguration\ classes, which wire up Spring Data Neo4j components such as \Neo4jClient\, \Neo4jTemplate\, and transaction managers. A key behavioral addition is the support for the \spring.data.neo4j.database\ property via \DataNeo4jProperties\, allowing users to explicitly select a target database instead of relying on the server default. The auto-configurations are registered in \AutoConfiguration.imports\ and are complemented by \DataNeo4jRepositoriesAutoConfiguration\ and \DataNeo4jReactiveRepositoriesAutoConfiguration\ to enable repository scanning. Additionally, \additional-spring-configuration-metadata.json\ marks several legacy properties (like \spring.data.neo4j.uri\ and \spring.data.neo4j.password\) as deprecated in favor of the newer \spring.neo4j.\*\ equivalents, guiding users toward the updated configuration structure.
module/spring-boot-data-neo4j · high confidence
New auto-configuration metadata and devtools defaults for Spring Boot 3.x
This change introduces the Spring Boot 3.x auto-configuration metadata and default property definitions. The \additional-spring-configuration-metadata.json\ file registers core properties (such as AOP, application admin, and info) and marks legacy \spring.resources.\\ and \spring.git.properties\ properties as deprecated in favor of their \spring.web.\\ and \spring.info.\*\ equivalents. The \spring-devtools.properties\ file sets default values for development mode, including disabling template caching and configuring error details. Additionally, new \spring.factories\, \aot.factories\, and \AutoConfiguration.imports\ files define the auto-configuration classes, AOT processors, and runtime hints required for the new auto-configuration mechanism.
core/spring-boot-autoconfigure/src/main/resources · high confidence
New build-time architecture checks for Spring Boot projects
The build system now includes a new \ArchitecturePlugin\ that registers \checkArchitecture\ tasks to verify code structure at build time. These checks enforce specific architectural rules, such as prohibiting public members in auto-configurations, preventing the use of \Objects.requireNonNull()\ in favor of Spring's \Assert\, banning \@ConditionalOnClass\ on \@Bean\ methods, and ensuring \@ConfigurationProperties\ do not rely solely on the \prefix\ attribute. The plugin also validates that auto-configuration classes are correctly listed in imports and checks for package tangles, failing the build with a detailed report if any violations are found.
buildSrc/src/main/java/org/springframework/boot/build/architecture · high confidence
New buildpack platform build package with distro-aware warnings and updated defaults
The \buildpack/spring-boot-buildpack-platform\ module now includes a new \build\ package containing core classes for the build lifecycle, such as \BuildRequest\, \Builder\, and \BuildLog\. This update introduces a warning when the OS distribution of the run image does not match the builder image, improving compatibility checks. The default builder image has been switched to \paketobuildpacks/ubuntu-resolute-builder\, and the platform API support has been updated to include versions 0.3 through 0.14. Additionally, the codebase has been enhanced with null-safety annotations and a rename of \SharedObjectMapper\ to \SharedJsonMapper\ to reflect the underlying Jackson 3 dependency.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/build · high confidence
New logging configuration metadata and service providers
This change introduces the \additional-spring-configuration-metadata.json\ file, which registers logging properties such as \logging.console.enabled\, \logging.log4j2.rollingpolicy.\\, and \logging.logback.rollingpolicy.\\ to enable IDE auto-completion and validation. It also adds \META-INF/services\ entries for Logback and Log4j2 integrations (\Configurator\ and \PropertySource\) and updates \spring.factories\ and \aot.factories\ to register the new logging system factories, runtime hints, and AOT processors.
core/spring-boot/src/main/resources · high confidence
New nested JAR file implementation with multi-release and security support
The Spring Boot loader introduces a new \NestedJarFile\ implementation (alongside supporting classes like \ManifestInfo\, \MetaInfVersionsInfo\, and \SecurityInfo\) that replaces the previous approach for reading nested JARs. This new implementation adds support for multi-release JARs (via \META-INF/versions/\ detection) and correctly handles security signatures (certificates and code signers) for nested entries. It also includes a new \JarEntriesStream\ for validating entry content and a \ZipInflaterInputStream\ to fix inflater cache race conditions and improve resource cleanup, ensuring more robust and standards-compliant handling of nested archives.
loader/spring-boot-loader · high confidence
OAuth2 resource server auto-configuration restructured for Spring Security 7
The auto-configuration for the OAuth2 resource server has been refactored to align with Spring Security 7's new API. The previous single configuration class is replaced by specialized components: \JwtDecoderConfiguration\ and \ReactiveJwtDecoderConfiguration\ handle JWT decoding via issuer URI, JWK Set URI, or public key, while \JwtConverterConfiguration\ and \ReactiveJwtConverterConfiguration\ manage authority extraction. New conditional annotations (\ConditionalOnIssuerLocationJwtDecoder\, \ConditionalOnJwkSetUriJwtDecoder\, \ConditionalOnPublicKeyJwtDecoder\) ensure decoders are only created when their specific properties are present. The configuration now supports \authorities-claim-expressions\ for flexible authority mapping and allows customization of decoder builders via \JwkSetUriJwtDecoderBuilderCustomizer\ and \SpringOpaqueTokenIntrospectorBuilderCustomizer\ interfaces.
module/spring-boot-groovy-templates, module/spring-boot-security-oauth2-resource-server, module/spring-boot-thymeleaf · high confidence
R2DBC observability and metrics modules restructured
The R2DBC module has been reorganized to separate concerns, introducing dedicated packages for observation and metrics. This change adds R2dbcObservationAutoConfiguration to enable Micrometer-based observability for R2DBC connections via the r2dbc-proxy, and introduces ConnectionPoolMetrics to expose connection pool gauges (such as acquired, allocated, idle, and pending sizes) to the metrics registry. These changes are part of a broader refactoring to align the project structure with Gradle conventions and improve modularity.
spring-boot-r2dbc · high confidence
Refactor CLI command execution and shell completion internals
The Spring Boot CLI internals have been restructured to improve code organization and type safety. A new \OptionHandler\ class now centralizes option parsing and help generation, utilizing nullability annotations for better static analysis. Command-line shell completion is handled by a dedicated \CommandCompleter\ that integrates with JLine to provide context-aware suggestions for commands and their options. Additionally, a new \ExitStatus\ class encapsulates command outcomes, providing explicit exit codes and names (such as OK and ERROR) to standardize how the CLI reports success or failure to the operating system.
spring-boot-cli · high confidence
Refactored actuator endpoint auto-configuration and exposure logic
The auto-configuration classes for actuator endpoints (such as Audit, Beans, Conditions, Shutdown, and Configuration Properties) have been restructured into dedicated, final configuration classes with explicit ordering and nullability annotations. A new \ConditionalOnAvailableEndpoint\ condition and associated \EndpointExposureOutcomeContributor\ mechanism now centrally manages whether endpoints are enabled and exposed across technologies (Web, JMX), replacing previous ad-hoc checks. Additionally, Jackson 2 support for endpoints is now explicitly deprecated for removal in version 4.3.0, with a dedicated \Jackson2EndpointAutoConfiguration\ that is conditionally loaded only when Jackson 2 classes are present.
module/spring-boot-actuator-autoconfigure · high confidence
Refactored config data loading into a new contributor-based architecture
The config data loading mechanism in \spring-boot\ has been restructured to use a new immutable tree of \ConfigDataEnvironmentContributor\ instances. This change introduces \ConfigDataActivationContext\ to manage cloud platform and profile state during import resolution, and \ConfigDataEnvironmentContributorPlaceholdersResolver\ to handle placeholder resolution with awareness of contributor activity. The \ConfigDataEnvironmentPostProcessor\ now delegates to this new \ConfigDataEnvironment\ and \ConfigDataImporter\ logic, ensuring that imports are processed in distinct phases (before and after profile activation) and that inactive contributors do not contribute to property resolution.
core/spring-boot/src/main/java/org/springframework/boot/context/config · high confidence
Refactored configuration property source architecture with new caching and aliasing support
The configuration property source layer has been restructured to introduce dedicated support for name aliases and improved caching capabilities. New classes such as AliasedConfigurationPropertySource and AliasedIterableConfigurationPropertySource allow property sources to resolve alternative names for configuration keys, while the new ConfigurationPropertyCaching interface and its implementations provide explicit control over cache lifecycles, including time-to-live settings and temporary overrides. The core ConfigurationPropertySource interface now exposes default methods for filtering and aliasing, and the ConfigurationPropertySources utility class manages the attachment of these sources to the Spring Environment, ensuring that property resolution dynamically tracks source changes.
core/spring-boot/src/main/java/org/springframework/boot/context/properties/source · high confidence
Refactored dependency version comparison logic in BOMR build tooling
The build system's Bill of Materials Release (BOMR) tooling has been refactored to improve how it parses and compares dependency versions. The new implementation introduces specialized version types—including support for calendar versions, release trains, and versions with multiple numeric components—to ensure more accurate upgrade detection and ordering. This change enhances the reliability of dependency management during the build process by handling complex versioning schemes more robustly.
buildSrc/src/main/java/org/springframework/boot/build/bom/bomr/version · high confidence
Refactored web server configuration into server-independent abstraction classes
The \module/spring-boot-web-server\ module now exposes a set of server-independent configuration classes (such as \Compression\, \Cookie\, \Http2\, \Ssl\, and \MimeMappings\) that abstract away the underlying server implementation. This change allows users to configure web server features like compression, SSL, and cookie attributes in a unified way, regardless of whether the application runs on Tomcat, Jetty, or another server. The \AbstractConfigurableWebServerFactory\ and \ConfigurableWebServerFactory\ interfaces have been updated to utilize these new abstractions, providing a consistent API for customizing web server behavior.
module/spring-boot-web-server · high confidence
Refined control over Prometheus metric exemplar inclusion
The Spring Boot Micrometer Tracing module now provides finer-grained configuration for which traces are attached as exemplars to metrics. A new auto-configuration class, PrometheusExemplarsAutoConfiguration, introduces a \management.tracing.exemplars.include\ property that allows users to select between \none\ and \sampled\_traces\ (the \all\ option is explicitly unsupported by Prometheus and will throw an error). Additionally, the internal observation handler registration logic has been updated via TracingAndMeterObservationHandlerGroup to ensure that tracing-aware meter observation handlers are correctly wrapped and registered, improving the integration between metrics and tracing contexts.
spring-boot-micrometer-tracing · high confidence
Reinstated GraphQL smoke test with security and nullability support
The smoke test for Spring Boot GraphQL has been reinstated and restructured to validate the integration of Spring Security and null-safety annotations. The test application now includes a \SecurityConfig\ that enables method-level security, allowing the smoke test to verify that GraphQL queries requiring specific roles (such as \ADMIN\) correctly return unauthorized errors for anonymous users. Additionally, the project source files have been updated with \@NullMarked\ annotations from jspecify to enforce nullability contracts, and the test suite utilizes the \HttpGraphQlTester\ to assert both successful authenticated queries and proper security enforcement.
smoke-test/spring-boot-smoke-test-graphql · high confidence
Relocation of support classes to org.springframework.boot.support
Several internal support classes have been moved from the \env\ sub-package to the new \org.springframework.boot.support\ package. This includes \AnsiOutputApplicationListener\, which configures ANSI output based on the \spring.output.ansi.enabled\ property, and the \EnvironmentPostProcessor\ infrastructure (\EnvironmentPostProcessorsFactory\, \SpringFactoriesEnvironmentPostProcessorsFactory\, and \ReflectionEnvironmentPostProcessorsFactory\) used to instantiate and manage environment post-processors. Additionally, \SpringApplicationJsonEnvironmentPostProcessor\ is now located here, handling the parsing of JSON from \spring.application.json\ or the \SPRING\_APPLICATION\_JSON\ environment variable and adding it as a high-priority property source. This change is a structural reorganization of internal components and does not alter their external behavior.
core/spring-boot/src/main/java/org/springframework/boot/support · high confidence
Replaced legacy Antora Gradle infrastructure with new conventions plugin
The build system now uses a dedicated \AntoraConventions\ class to manage documentation generation, replacing the previous scattered configuration. This change introduces a new \ConventionsPlugin\ that centralizes the application of build rules (Java, Kotlin, Eclipse, Maven, etc.) and registers specific tasks such as \generateAntoraPlaybook\ and \checkAntoraJavadocMacros\. The new setup ensures that Antora documentation tasks depend on NPM installation and Javadoc macro checks, and it configures the Antora component name to 'boot' while dynamically populating attributes from the resolved BOM.
buildSrc/src/main/java/org/springframework/boot/build · high confidence
Replaces legacy HttpMessageConverters with dedicated client and server customizers
The \spring-boot-http-converter\ module now uses separate \ClientHttpMessageConvertersCustomizer\ and \ServerHttpMessageConvertersCustomizer\ implementations to configure JSON and XML converters. This change introduces distinct auto-configuration classes for Jackson 3, Jackson 2 (deprecated), Gson, JSON-B, and Kotlin Serialization, allowing each to register its converters via specific builder methods (e.g., \withJsonConverter\, \withKotlinSerializationJsonConverter\). The customizers ensure that converters are added to the correct client or server builder, improving separation of concerns and enabling more precise control over message conversion behavior for HTTP clients and servers.
spring-boot-http-converter · high confidence
Restore Jersey smoke tests with updated configuration and isolated ObjectMapper support
The Jersey smoke test module has been restored, bringing back integration tests for Jersey configured as both a Servlet and a Filter. The test application now uses Spring's RestClient instead of the deprecated TestRestTemplate and includes nullability annotations via JSpecify. A key behavioral addition is support for the isolated Jackson ObjectMapper in the Actuator; the tests verify that enabling management.endpoints.jackson.isolated-json-mapper=true allows the startup endpoint to function correctly, whereas the default shared mapper causes failures with Java 8 date/time types.
smoke-test/spring-boot-smoke-test-jersey · high confidence
Restore Jersey smoke-test support with Jakarta EE namespaces
The smoke tests for both standard and secure Jersey integration have been restored. The test endpoints now use the Jakarta EE namespace (jakarta.ws.rs) instead of the legacy Java EE namespace, ensuring compatibility with modern Spring Boot and Jersey versions. This change re-enables validation that Jersey-based REST endpoints function correctly within the Spring Boot environment.
spring-boot-smoke-test-jersey, spring-boot-smoke-test-secure-jersey · high confidence
Restore Jersey support in the secure smoke test
The smoke test for Spring Boot's secure Jersey integration has been restored. This change re-introduces the Jersey-specific application components, including the \JerseyConfig\ and \ReverseEndpoint\, alongside a \SecurityConfiguration\ that enforces role-based access on actuator endpoints. The test suite now validates that the application correctly handles security for both the main Jersey application path and the management endpoints, including scenarios with custom application paths and separate management ports.
smoke-test/spring-boot-smoke-test-secure-jersey · high confidence
Restructured Docker API client package with improved null-safety and logging
The \buildpack/platform/docker\ package has been restructured to improve code organization and reliability. A new \DockerLog\ callback interface allows users to customize how Docker API output is logged, defaulting to \System.out\. Null-safety has been enhanced across the package using \@Nullable\ annotations and \jspecify\ checks, reducing the risk of \NullPointerException\s. Additionally, \ExportedImageTar\ now ensures that temporary files are deleted if construction fails, preventing disk space leaks. The internal JSON mapper has been renamed from \SharedObjectMapper\ to \SharedJsonMapper\ for clarity.
buildpack/spring-boot-buildpack-platform/src/main/java/org/springframework/boot/buildpack/platform/docker · high confidence
Shaded JSON library with nesting depth limits
The configuration metadata module now includes a shaded, clean-room re-implementation of the \org.json\ APIs (originally from \com.vaadin.external.google:android-json\) under the \org.springframework.boot.configurationmetadata.json\ package. This bundled library provides \JSONObject\, \JSONArray\, \JSONTokener\, and related classes for parsing and generating JSON. A key behavioral change is the enforcement of a maximum nesting depth of 512 levels in the \JSONTokener\ to prevent stack overflow issues, replacing the previous behavior which may have lacked this specific limit or used a different underlying implementation.
configuration-metadata/spring-boot-configuration-metadata/src/json-shade · high confidence
Shaded JSON library with nesting depth limits and nullability annotations
The Spring Boot CLI now includes a shaded, clean-room re-implementation of the \org.json\ APIs (originally from \com.vaadin.external.google:android-json\) under \org.springframework.boot.cli.json\. This change introduces new classes (\JSON\, \JSONArray\, \JSONObject\, \JSONException\, \JSONStringer\, \JSONTokener\) that provide JSON parsing and generation capabilities. A key behavioral addition is the enforcement of a maximum nesting depth of 512 levels in the \JSONTokener\ to prevent excessive resource consumption during parsing. The library also integrates nullability annotations via the \Nullability Plugin\ and includes a \README\ clarifying its origin and licensing.
cli/spring-boot-cli/src/json-shade · high confidence
Shaded JSON parser now limits nesting depth to 512 levels
The internal JSON parser used by the Spring Boot configuration processor now enforces a maximum nesting depth of 512 levels for JSON objects and arrays. Previously, deeply nested JSON structures could cause a stack overflow; this change prevents that by throwing a JSONException when the limit is exceeded, improving stability when processing complex configuration metadata.
configuration-metadata/spring-boot-configuration-processor/src/json-shade · high confidence
Smoke test adds nullability annotations and restructures directories
The smoke-test/spring-boot-smoke-test-parent-context module has been restructured to align with Gradle conventions and now includes nullability annotations using the Nullability Plugin 0.0.9. This involves adding @Nullable annotations to fields and methods in ServiceProperties, marking packages with @NullMarked, and removing unnecessary @Nullable annotations from local variables. The module also introduces new Java classes (HelloWorldService, SampleEndpoint, ServiceProperties) and test classes (SampleIntegrationParentApplicationTests, ProducerApplication) to support integration testing of the parent context.
smoke-test/spring-boot-smoke-test-parent-context · high confidence
Smoke test for Jetty JSP support now uses RestTestClient
The smoke test for the Jetty JSP module has been updated to use the new RestTestClient for HTTP interactions instead of the previous TestRestTemplate. This change ensures that JSP rendering and EL expressions are validated using the modern client API, aligning the test infrastructure with the broader shift toward RestTestClient across Spring Boot smoke tests.
smoke-test/spring-boot-smoke-test-jetty-jsp · high confidence
Smoke test for Spring HATEOAS integration now uses RestTestClient
The smoke test for Spring HATEOAS has been updated to use the new RestTestClient instead of TestRestTemplate. This change includes adding nullability annotations to the test application's domain and web packages, and verifying that HATEOAS links are correctly generated in JSON responses.
smoke-test/spring-boot-smoke-test-hateoas · high confidence
Split tracing module into Brave and OpenTelemetry implementations
The monolithic spring-boot-micrometer-tracing module has been split into two distinct modules: spring-boot-micrometer-tracing-brave and spring-boot-micrometer-tracing-opentelemetry. This change introduces Brave-specific propagation handling via CompositePropagationFactory and OpenTelemetry-specific propagation via CompositeTextMapPropagator, allowing users to select their preferred tracing backend. Additionally, the OpenTelemetry module now includes OpenTelemetryEventPublisherBeansApplicationListener to correctly propagate EventPublisher beans within the OpenTelemetry context storage.
spring-boot-micrometer-tracing-brave, spring-boot-micrometer-tracing-opentelemetry · high confidence
Spring Batch 6 auto-configuration with in-memory defaults and startup job launching
The Spring Boot Batch module has been rewritten to support Spring Batch 6, introducing a new set of auto-configuration classes that provide a default in-memory batch infrastructure. Users can now rely on automatic setup of the JobOperator and JobRepository without manual configuration, provided they do not supply their own DefaultBatchConfiguration or use @EnableBatchProcessing. The module also includes BatchJobLauncherAutoConfiguration, which automatically launches a single batch job on application startup (configurable via spring.batch.job.enabled and spring.batch.job.name) and supports launching jobs from command-line arguments. Additionally, observation support is available via BatchObservationAutoConfiguration when Micrometer's ObservationRegistry is present, and users can customize the conversion service and task executor using new @BatchTaskExecutor and @BatchTransactionManager qualifiers.
module/spring-boot-batch · high confidence
Spring Boot 4.0 auto-configures Jackson with bean-based handler instantiation and AOT optimizations
Spring Boot 4.0 introduces a new \spring-boot-jackson\ module that auto-configures Jackson mappers using a bean-based \HandlerInstantiator\ (via \SpringBeanHandlerInstantiator\), allowing Jackson serializers, deserializers, and other handlers to be resolved as Spring beans. The module includes AOT processors (\JacksonComponentModule\, \JacksonMixinModuleEntriesBeanRegistrationAotProcessor\) to register \@JacksonComponent\ beans and replace runtime mixin scanning with hard-coded equivalents, improving native image compatibility. Auto-configuration also supports custom \JsonFactory\ builders, \JsonMapper\ builders, and integrates with \JacksonProperties\ for standard customization.
spring-boot-jackson · high confidence
Spring Boot 4.0 restructures Spring Data MongoDB auto-configuration and properties
Spring Boot 4.0 introduces a major restructure for Spring Data MongoDB support. The auto-configuration classes have been renamed to follow a Data...AutoConfiguration pattern (e.g., DataMongoAutoConfiguration) and are now located in the org.springframework.boot.data.mongodb.autoconfigure package. Configuration properties have been consolidated under spring.data.mongodb, with GridFS settings moved to spring.data.mongodb.gridfs.database and spring.data.mongodb.gridfs.bucket. A new spring.data.mongodb.representation.big-decimal property allows users to control how BigDecimal values are stored in MongoDB. The module also adds nullability annotations and adapts to snapshot changes in Spring Data MongoDB.
module/spring-boot-data-mongodb · high confidence
Spring Boot DevTools default for Docker Compose readiness and application listeners registration
The Docker Compose module now registers two application listeners (DockerComposeListener and DockerComposeServiceConnectionsApplicationListener) via spring.factories and sets a default property in spring-devtools.properties so that Docker Compose container readiness waits only if the container was already started, improving developer experience during hot-reload scenarios.
core/spring-boot-docker-compose/src/main/resources · high confidence
Spring Boot DevTools module restructured with new auto-configurations and remote client components
The spring-boot-devtools module has been restructured to improve organization and null-safety. New auto-configuration classes, DevToolsDataSourceAutoConfiguration and DevToolsR2dbcAutoConfiguration, now manage in-memory database shutdown executors for JDBC and R2DBC respectively, with Derby support explicitly deprecated. The module introduces a new EnvironmentPostProcessor, DevToolsHomePropertiesPostProcessor, to load devtools properties from the user's home directory. Additionally, remote development capabilities are enhanced with new components like ClassPathChangeUploader for pushing classpath updates, HttpHeaderInterceptor for custom HTTP headers, and DispatcherFilter for remote server integration. Internal restart mechanisms are also updated with new classes such as ChangeableUrls for filtering reloadable URLs and ClassLoaderFilesResourcePatternResolver for resolving resources from in-memory files.
spring-boot-devtools · high confidence
Spring Boot Gradle plugin now requires Gradle 8.14 or later
The Spring Boot Gradle plugin has raised its minimum supported Gradle version to 8.14, with support for Gradle 9.x. If you are using an older version of Gradle, the build will fail with an error indicating the version requirement. This change is part of a broader update to align with newer Gradle features and ensure compatibility with the latest plugin ecosystem.
build-plugin/spring-boot-gradle-plugin/src/main · high confidence
Spring Boot Gradle plugin restructured with new DSL and plugin actions
The Spring Boot Gradle plugin has been restructured to improve null-safety and align with modern Gradle conventions. A new \SpringBootExtension\ DSL entry point is introduced, allowing users to configure the main class and the \bootBuildInfo\ task. The plugin now uses dedicated \PluginAction\ classes (e.g., \JavaPluginAction\, \WarPluginAction\, \ProtobufPluginAction\) to handle configuration when respective plugins are applied. Key behavioral changes include aligning the \protoc\ version with \protobuf-java\, configuring protobuf only when the \com.google.protobuf\ plugin is applied, and improving the input/output configuration of the \bootBuildInfo\ task. The plugin also drops support for embedded launch scripts and the \spring-boot-loader-classic\ module.
spring-boot-gradle-plugin · high confidence
Spring Data REST auto-configuration now uses Jackson 3
The Spring Boot auto-configuration for Spring Data REST has been updated to support Jackson 3. The new SpringBootRepositoryRestConfigurer applies configuration from the spring.data.rest namespace and integrates with Jackson 3's MapperBuilder API, allowing JsonMapperBuilderCustomizers to configure the JSON mapper used by Spring Data REST.
spring-boot-data-rest · high confidence
Spring Pulsar smoke test restructured with Testcontainers 2.0 and nullability annotations
The Spring Pulsar smoke test has been restructured to align with Gradle conventions and upgraded to use Testcontainers 2.0.1, utilizing the new \TestImage.forContainer\ API for container management. The test suite now includes nullability annotations via \@NullMarked\ and verifies message production and consumption using a \PulsarContainer\ service connection, ensuring the application correctly handles Pulsar topics with an earliest subscription initial position.
smoke-test/spring-boot-smoke-test-pulsar · high confidence
Spring Session Data Redis properties are namespaced under spring.session.data.redis
Configuration properties for Spring Session Data Redis have been moved from the spring.session.redis prefix to spring.session.data.redis to align with the new module naming. The old properties (such as spring.session.redis.namespace, flush-mode, save-mode, cleanup-cron, configure-action, and repository-type) are now deprecated and will cause an error if used; users must update their configuration to use the new spring.session.data.redis.\* prefix. This change also introduces new capabilities like indexed repository support with configurable cleanup cron expressions and configure actions, along with comprehensive auto-configuration tests for both servlet and reactive environments.
module/spring-boot-session-data-redis · high confidence
Starter build system restructured with new Gradle plugins and metadata generation
The build infrastructure for Spring Boot starters has been reorganized into a new set of Gradle plugins and tasks within buildSrc. The new StarterPlugin now automatically generates metadata properties for each starter, registers checks for classpath conflicts, unnecessary exclusions, and unconstrained direct dependencies, and adds a 'Spring-Boot-Jar-Type' manifest attribute. A new AnnotationProcessorPlugin similarly annotates annotation processor JARs with their type. Additionally, a DocumentStarters task has been introduced to automatically generate AsciiDoc documentation tables for application, production, and technical starters, including cross-references to other starters.
buildSrc/src/main/java/org/springframework/boot/build/starters · high confidence
Threading enum moved to core module
The Threading enum, which determines whether the application uses platform or virtual threads based on the spring.threads.virtual.enabled property and Java version, has been moved from spring-boot-autoconfigure to the core spring-boot module. This change makes the threading configuration model available in the core library, allowing other components to reference threading settings without depending on the autoconfigure module.
core/spring-boot/src/main/java/org/springframework/boot/thread · high confidence
Thymeleaf smoke test sample app refactored with null-safety annotations
The sample web application used in the Thymeleaf smoke tests has been updated to use \org.jspecify\ nullability annotations (\@Nullable\, \@NullMarked\) across its domain models, repository, and controllers. This change improves static analysis support for null-safety within the test application without altering its functional behavior.
smoke-test/spring-boot-smoke-test-web-thymeleaf · high confidence
Tomcat web server integration refactored for Spring Boot 4.0
The \module/spring-boot-tomcat\ module has been completely rewritten for Spring Boot 4.0.0, introducing a new set of core classes and interfaces to manage the embedded Tomcat server. This includes new factory classes (\TomcatWebServerFactory\, \ConfigurableTomcatWebServerFactory\) and server implementation (\TomcatWebServer\) that replace previous internal structures. The update adds support for Tomcat-specific customizers (connectors, contexts, protocol handlers) and introduces new features such as graceful shutdown, lazy session ID generation, and virtual thread support via \TomcatVirtualThreadsWebServerFactoryCustomizer\. Additionally, it provides a failure analyzer for connector start issues and a background preinitializer for performance optimization.
module/spring-boot-tomcat · high confidence
Updated Eclipse Oomph setup for Spring Boot 4.2.x with Java 24 and Gradle 8
The Eclipse Oomph project setup file has been updated to target Spring Boot 4.2.x, requiring Java 24 for compilation and runtime. The configuration now uses Gradle 8 (via Buildship) instead of Maven for project imports, and defines specific working sets (e.g., platform, core, module, loader) to organize the project structure in the IDE. Additionally, the setup installs the Spring Java Format Eclipse plugin and configures the JDT package explorer to display these working sets as root objects.
eclipse · high confidence
WebSocket messaging now defaults to Jackson 3 with Jackson 2 fallback
The WebSocket messaging auto-configuration has been updated to prefer Jackson 3 (via \tools.jackson.databind.json.JsonMapper\) for JSON message conversion, while retaining backward compatibility by falling back to Jackson 2 (\ObjectMapper\) if Jackson 3 is not present or if explicitly disabled via the \spring.websocket.messaging.preferred-json-mapper\ property. This change ensures that applications using the newer Jackson 3 library can leverage it for WebSocket messaging out of the box, while existing applications relying on Jackson 2 continue to function without modification.
spring-boot-websocket · high confidence
Test coverage
15 commits adding/updating tests in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/testing/springbootapplications; 16 commits adding/updating tests in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/testing/springbootapplications; 3 commits adding/updating tests in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/howto/testing; 3 commits adding/updating tests in documentation/spring-boot-docs/src/main/kotlin/org/springframework/boot/docs/testing/testcontainers; 4 commits adding/updating tests in documentation/spring-boot-docs/src/main/java/org/springframework/boot/docs/testing/testcontainers; 5 commits adding/updating tests in documentation/spring-boot-docs/src/test; 9 commits adding/updating tests in build-plugin/spring-boot-gradle-plugin/src/test/java/org/springframework/boot/gradle/docs; Actuator smoke test suite rewritten with new test infrastructure; Add AMQP 1.0 generic auto-configuration smoke test; Add Name record for Jackson 2 smoke tests; Add OAuth2 client smoke test with RestTestClient; Add OAuth2 resource server smoke test using RestTestClient; Add Person entity to Spring Boot Flyway smoke test; Add Prometheus smoke test with exemplar verification; Add R2DBC integration tests and core builder classes for Docker Compose and Testcontainers; Add SNI integration test apps with SSL bundle reload verification; Add SSL and property parsing test resources; Add Spring Batch 6 smoke tests for JDBC and in-memory configurations; Add Spring Batch smoke test with MongoDB support; Add Spring Boot Liquibase smoke test; Add Spring Boot RSocket smoke test with security; Add Spring Boot smoke test for XML-based configuration; Add Spring gRPC client smoke test; Add Spring gRPC smoke tests for client and server; Add TestNG-based smoke test for Spring Boot REST Test Client; Add Tomcat smoke test with RestTestClient and header-size validation; Add WAR TLD loader integration test; Add WebFlux Redis session smoke test with security and nullability; Add domain entities for smoke testing Data REST; Add integration test application for embedded container resource handling; Add integration tests for JDBC Docker Compose and Testcontainers connection details; Add nullability annotations to test utility classes; Add smoke test for FreeMarker web integration; Add smoke test for Log4j2 structured logging with custom JSON customizers; Add smoke test for R2DBC with Flyway migration; Add smoke test for Redis-backed session data with containerized Redis; Add smoke test for Tomcat with multiple connectors and SSL; Add smoke test for classic auto-configuration; Add smoke test for custom Spring Security web configuration; Add smoke test for custom actuator extension with security and exposure filtering; Add smoke test for method-level security with RestTestClient; Add smoke test for reactive OAuth2 client with WebTestClient; Add smoke test for secure JDBC web application; Add smoke test for serving static web content; Add smoke test for structured logging customizers and configuration; Add smoke tests for R2DBC and Kotlin coroutines support; Add smoke tests for Redis with SSL support; Add smoke tests for Spring Boot Quartz integration; Add smoke tests for Spring Boot with Jackson 2 only; Add smoke tests for Spring gRPC server support; Add traditional Spring MVC smoke test using RestTestClient; Added @DataNeo4jTest support for Spring Boot 4.0; Added @DockerComposeTest annotation and JUnit 5 extension for integration testing; Added GraphQL test support annotations and auto-configuration; Added JUnit 5 test utilities for Gradle plugin testing; Added Kotlin-specific test coverage for Spring Boot extensions and configuration properties; Added NodeAssert test utility for XML assertions; Added buildSrc tasks to validate and document test slices; Added documentation tests for actuator endpoints; Added domain model classes for smoke tests; Added integration tests for @DataElasticsearchTest; Added integration tests for BootBuildImage task; Added integration tests for DSL-based build info generation; Added integration tests for Data JPA and Cache test auto-configuration; Added integration tests for ErrorPageFilter; Added integration tests for JDBC test auto-configuration; Added integration tests for Maven plugin image building; Added integration tests for SNI-enabled SSL configurations; Added integration tests for Spring Boot Actuator endpoints; Added integration tests for Spring Boot Gradle plugin actions; Added integration tests for Spring Boot loader with multi-Java runtime support; Added integration tests for build conventions plugin; Added integration tests for the Optional Dependencies plugin; Added integration tests for the TestFailuresPlugin; Added integration tests for the new @WebClientTest slice; Added integration tests for the new jOOQ test slice; Added parent context smoke test for Spring Integration file handling; Added runtime hints for JSON marshal testers; Added smoke test for Spring Boot application without Mockito; Added smoke test for Spring Boot property validation with nullability support; Added test coverage for Spring Boot CLI commands; Added test coverage for Spring Boot test context infrastructure; Added test infrastructure for Gradle plugin classpath resolution; Added test resources for BootJar, BootRun, and BootTestRun plugins; Added test resources for CLI plugin and webapp integration tests; Added test resources for Spring Boot test infrastructure; Added tests for @DataCouchbaseTest support; Added tests for @DataMongoTest support; Added tests for Antora documentation build infrastructure; Added tests for ApplicationContextRunner implementations; Added tests for ArtifactRelease version and repository logic; Added tests for AssertJ context assertion support; Added tests for Data JDBC test auto-configuration; Added tests for Data R2DBC test slice auto-configuration; Added tests for Docker API integration and Kotlin main method exception handling; Added tests for Gradle task configuration avoidance and Spring Boot test context bootstrapping; Added tests for JSON marshal testers and content assertions; Added tests for JUnit 4 OutputCaptureRule and JUnit 5 OutputCaptureExtension; Added tests for LocalTestWebServer and DisableReactorResourceFactory; Added tests for PluginXmlParser; Added tests for Spring Boot Docker Compose core components; Added tests for Spring Maven repository configuration; Added tests for Testcontainers lifecycle and service connection integration; Added tests for auto-configuration documentation generation; Added tests for build metadata and new auto-configuration modules; Added tests for build-time configuration metadata processing; Added tests for configuration metadata generation; Added tests for configuration metadata parsing and repository building; Added tests for context filter support classes; Added tests for filter annotation and type exclude filter context customizer; Added tests for test-autoconfigure infrastructure; Added tests for the BOM plugin and Library model; Added tests for the configuration metadata changelog generator; Added tests for the new @DataCassandraTest annotation; Added tests for the new @LocalRSocketServerPort annotation; Added tests for web test utilities and port annotations; Added unit and integration tests for the BuildInfo Gradle task; Added unit tests for ApplicationContextTestUtils and TestPropertyValues; Added unit tests for BOM release tooling components; Added unit tests for BOM version comparison logic; Added unit tests for Spring Boot Maven plugin components; Added unit tests for Spring Boot auto-configuration core components; Added unit tests for core Spring Boot application infrastructure; Added unit tests for the Spring Boot Buildpack Platform build module; Expanded integration test coverage for Spring Boot Maven plugin features; Expanded test coverage for architecture checks; Integration test for nullability annotations in configuration metadata; Integration tests for RabbitMQ Docker Compose and Testcontainers support; Integration tests for Spring Boot web server test environment; New @DataRedisTest slice for testing Redis components; New JSON testing utilities in spring-boot-test; New OpenTelemetry smoke test suite for environment variable mapping and integration; New Spring gRPC OAuth and secure server smoke tests; New integration test infrastructure for the Maven plugin; New integration tests for DevTools remote restart scenarios; New integration tests for Kafka container connection details factories; New integration tests for embedded servlet container resource handling; New smoke test for the Actuator UI; New smoke tests for Data Elasticsearch with SSL and version support; New system-test assertions for Spring Boot image metadata and layers; New test fixtures for auto-configuration and JNDI testing; Relocate test infrastructure classes to spring-boot-test; Smoke test for WebApplicationType configuration and deduction; Smoke test for mixed Jackson 2 and 3 serialization; Smoke test for secure web application error pages; Smoke test verifies RestClient message converter configuration order; Smoke tests for Data Cassandra with SSL support; WebFlux smoke test adds WebTestClient support and error-page coverage.
Dependencies
3597 commits updating dependencies (915 manifests)
A dependency / build maintenance change in (dependencies) — 3597 commits (61 fixs), 915 files: “Consider Jackson 2 in WebSocket messaging auto-configuration”; “Next development version (v2.5.13-SNAPSHOT)”; “Upgrade to RabbitMQ Client 5.37.0”; and 2957 more (refs \#46818).
(dependencies) · high confidence · unverified
Upgrade Gradle wrapper to version 9.8.1
The Gradle wrapper configuration has been updated to use Gradle distribution version 9.8.1. This change ensures that the build process uses this specific version of the Gradle build tool, providing consistency across development and CI environments.
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
This is the PUBLIC form of this artifact. Findings are listed in full, but the details of SECURITY findings — which rule fired, in which file, on which line, and how to fix it — are deliberately withheld, and any secret-scanner results are excluded entirely. Where detail is absent here it was REMOVED FOR PUBLICATION; it is not missing from the analysis. The complete artifact is available from the repository owner.
Score
- CAI 60 → 56 (-3.9)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.2) — scores are not directly comparable.
Lenses
- Code Health 82 → 81 (-1.0)
- Architecture 86 → 86 (+0.1)
- Maturity 63 → 61 (-2.4)
- Readiness 58 → 64 (+5.8)
- Security 53 → 42 (-11.2)
- Domain Modelling 74 → 74 (+0.0)
- Performance 78 → 100 (+21.7)
Resolved (40)
- Critical CVE: [GHSA redacted] (antora/package-lock.json)
- Critical CVE: [GHSA redacted] (antora/package-lock.json)
- Documentation: no project overview (build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/packaging.adoc)
- Documentation: no project overview (build-plugin/spring-boot-gradle-plugin/src/docs/antora/modules/gradle-plugin/pages/running.adoc)
- Duplicated block (10 lines × 2) (module/spring-boot-amqp-rabbitmq/src/main/java/org/springframework/boot/amqp/rabbitmq/autoconfigure/AmqpRabbitProperties.java)
- Duplicated block (15 lines × 2) (core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesCharSequenceToObjectConverter.java)
- Duplicated block (15 lines × 2) (module/spring-boot-amqp-rabbitmq/src/main/java/org/springframework/boot/amqp/rabbitmq/autoconfigure/AmqpRabbitProperties.java)
- Duplicated block (24 lines × 2) (module/spring-boot-amqp-rabbitmq/src/main/java/org/springframework/boot/amqp/rabbitmq/docker/compose/RabbitEnvironment.java)
- Duplicated block (5 lines × 2) (build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/ApplicationPluginAction.java)
- Duplicated block (6 lines × 2) (core/spring-boot/src/main/java/org/springframework/boot/env/PropertiesPropertySourceLoader.java)
- Duplicated block (6 lines × 2) (module/spring-boot-jetty/src/main/java/org/springframework/boot/jetty/autoconfigure/JettyWebServerFactoryCustomizer.java)
- Duplicated block (7 lines × 2) (module/spring-boot-micrometer-tracing-opentelemetry/src/main/java/org/springframework/boot/micrometer/tracing/opentelemetry/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java)
- Duplicated block (8 lines × 2) (module/spring-boot-micrometer-tracing-opentelemetry/src/main/java/org/springframework/boot/micrometer/tracing/opentelemetry/autoconfigure/otlp/OtlpTracingConfigurations.java)
- Duplicated block (8 lines × 2) (module/spring-boot-micrometer-tracing-opentelemetry/src/main/java/org/springframework/boot/micrometer/tracing/opentelemetry/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java)
- Duplicated block (9 lines × 2) (module/spring-boot-rabbitmq/src/main/java/org/springframework/boot/rabbitmq/autoconfigure/PropertiesRabbitConnectionDetails.java)
- FileTooLong: autoconfigure/RabbitProperties.java (module/spring-boot-rabbitmq/src/main/java/org/springframework/boot/rabbitmq/autoconfigure/RabbitProperties.java)
- High CVE: [GHSA redacted] (antora/package-lock.json)
- High CVE: [GHSA redacted] (antora/package-lock.json)
- High: security finding (details withheld)
- High: security finding (details withheld)
- …and 20 more
New (39)
- Duplicated block (10 lines × 2) (core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesCharSequenceToObjectConverter.java)
- Duplicated block (10 lines × 2) (module/spring-boot-webflux/src/main/java/org/springframework/boot/webflux/actuate/endpoint/web/AbstractWebFluxEndpointHandlerMapping.java)
- Duplicated block (35 lines × 2) (module/spring-boot-amqp-rabbitmq/src/main/java/org/springframework/boot/amqp/rabbitmq/autoconfigure/RabbitUri.java)
- Duplicated block (5 lines × 2) (build-plugin/spring-boot-gradle-plugin/src/main/java/org/springframework/boot/gradle/plugin/ApplicationPluginAction.java)
- Duplicated block (5 lines × 2) (core/spring-boot/src/main/java/org/springframework/boot/context/properties/ConfigurationPropertiesCharSequenceToObjectConverter.java)
- Duplicated block (5 lines × 2) (module/spring-boot-amqp-rabbitmq/src/main/java/org/springframework/boot/amqp/rabbitmq/autoconfigure/RabbitUri.java)
- Duplicated block (5 lines × 2) (module/spring-boot-batch-data-mongodb/src/main/java/org/springframework/boot/batch/mongodb/autoconfigure/BatchDataMongoAutoConfiguration.java)
- Duplicated block (6 lines × 2) (core/spring-boot/src/main/java/org/springframework/boot/logging/log4j2/Log4J2LoggingSystem.java)
- Duplicated block (6 lines × 2) (module/spring-boot-micrometer-tracing-opentelemetry/src/main/java/org/springframework/boot/micrometer/tracing/opentelemetry/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java)
- Duplicated block (7 lines × 2) (module/spring-boot-micrometer-tracing-opentelemetry/src/main/java/org/springframework/boot/micrometer/tracing/opentelemetry/docker/compose/otlp/OpenTelemetryTracingDockerComposeConnectionDetailsFactory.java)
- Duplicated block (9 lines × 2) (module/spring-boot-micrometer-tracing-opentelemetry/src/main/java/org/springframework/boot/micrometer/tracing/opentelemetry/autoconfigure/otlp/OtlpTracingConfigurations.java)
- High: security finding (details withheld)
- Hotspot: core/spring-boot/src/main/java/org/springframework/boot/json/BasicJsonParser.java (core/spring-boot/src/main/java/org/springframework/boot/json/BasicJsonParser.java)
- MailSenderPropertiesConfiguration.applyProperties (cognitive 18) (module/spring-boot-mail/src/main/java/org/springframework/boot/mail/autoconfigure/MailSenderPropertiesConfiguration.java)
- Members sharing a duplicated core (4 members, 50+ identical tokens) (buildSrc/src/main/java/org/springframework/boot/build/bom/BomPlugin.java)
- Members sharing a duplicated core (5 members, 50+ identical tokens) (core/spring-boot-testcontainers/src/main/java/org/springframework/boot/testcontainers/lifecycle/TestcontainersStartup.java)
- No assertions (empty test): contextLoads (build-plugin/spring-boot-maven-plugin/src/intTest/projects/aot-test-exclude-devtools/src/test/java/org/test/SampleApplicationTests.java)
- No assertions: addOrKeepEarliestWithExistingInstanceInvokesConflictResolution (configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MetadataCollectorTests.java)
- No assertions: addOrKeepEarliestWithNoExistingInstanceDoesNotInvokeConflictResolution (configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/MetadataCollectorTests.java)
- No assertions: findFieldWhenFieldDoesNotExistThrowsException (module/spring-boot-http-client/src/test/java/org/springframework/boot/http/client/ClientHttpRequestFactoryRuntimeHintsTests.java)
- …and 19 more
Changes since last survey
- 300 commits — 294 feature/other, 6 fixes
By area
- (repo) — 118 commits
- platform/spring-boot-dependencies — 97 commits
- (root) — 14 commits
- core/spring-boot — 14 commits
- module/spring-boot-amqp — 8 commits
- loader/spring-boot-loader — 5 commits
- .github/workflows — 4 commits
- module/spring-boot-amqp-rabbitmq — 4 commits
- .github/actions — 3 commits
- build-plugin/spring-boot-gradle-plugin — 3 commits
- module/spring-boot-batch-data-mongodb — 3 commits
- configuration-metadata/spring-boot-configuration-processor — 2 commits
- core/spring-boot-docker-compose — 2 commits
- documentation/spring-boot-docs — 2 commits
- module/spring-boot-actuator — 2 commits
- module/spring-boot-jdbc — 2 commits
- module/spring-boot-micrometer-metrics — 2 commits
- module/spring-boot-r2dbc — 2 commits
- smoke-test/spring-boot-smoke-test-rabbitmq-multiple — 2 commits
- antora/package-lock.json — 1 commit
Notable commits
- fix: Fix AMQP 1.0 RabbitMQ health indicator metadata
- fix: Fix checkstyle violations
- fix: Fix exclusion of content from custom layers in the Gradle plugin
- fix: Fix inverted arguments in ClientHttpRequestFactoryRuntimeHints.findField
- fix: Fix self-comparison in NestedJarFileTests.getEntryTime()
- fix: Fix test assertion
- change: Accept the dashed form of the semantic conventions property
- change: Align managed AMQP Client version with Spring AMQP
- change: Align managed AMQP Client versions with Spring AMQP
- change: Allow AMQP 1.0 and AMQP 0.9 health indicators to co-exist
- change: Allow graceful shutdown after the web server has been restarted
- change: Apply 7c1bef5e4 to ConfigurationProperties converter variant
- change: Apply TransactionManagerCustomizers consistently
- change: Apply correct port when SSL is enabled
- change: Apply transaction manager customizers to Kafka
- change: Apply transaction manager customizers to R2DBC
- change: Avoid overflow converting duration to microseconds
- change: Bump Homebrew/actions/setup-homebrew from 2026.10.26.1 to 2026.11.02.1
- change: Bump gradle/actions/setup-gradle from 6.4.0 to 6.4.1
- change: Centralize RabbitMQ URI handling
- …and 280 more
Architecture
- Containers 0 added · 0 removed · contexts 1 added · 1 removed · edges 5 added · 2 removed
Added bounded contexts (1)
- build-plugin/spring-boot-maven-plugin
Removed bounded contexts (1)
- build-plugin/spring-boot-maven-plugin
Added dependency edges (5)
- build-plugin/spring-boot-maven-plugin → spring-boot-buildpack-platform (coupling)
- build-plugin/spring-boot-maven-plugin → spring-boot-loader-tools
- spring-boot-kafka → spring-boot-transaction
- spring-boot-r2dbc → spring-boot-transaction
- spring-boot-resttestclient → spring-boot-test
Removed dependency edges (was a dependency, now gone) (2)
- build-plugin/spring-boot-maven-plugin → spring-boot-buildpack-platform (coupling)
- build-plugin/spring-boot-maven-plugin → spring-boot-loader-tools
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-boot 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 11 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 4dbcbd1234aa90da378c0d3002463f0c26b2615b — the exact code this score is about.
- Scored under rubric-2026.11.2 — 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.24+preprod-0d1d40a55c0b.