Commit Graph

261 Commits

Author SHA1 Message Date
Moritz Halbritter 5da9f14b32 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-session-data-mongodb
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter 4e1f205625 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-servlet
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter acef071a40 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-secure-webflux
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter bada9d9829 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-secure
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter 7ce8a518e1 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-saml2-service-provider
See gh-47263
2025-10-16 11:24:47 +02:00
Moritz Halbritter f326b05273 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-rsocket
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter f6ec3825ae Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-reactive-oauth2-resource-server
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter e4853cc609 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-reactive-oauth2-client
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter 70bacf4f53 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-quartz
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter 56b24a8b99 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-pulsar
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter f0ec30fe4f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-property-validation
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter 1631e38768 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-prometheus
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter 6baf13962b Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-profile
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter 4323ab6792 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-parent-context
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter 996e9d5959 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-oauth2-resource-server
See gh-47263
2025-10-16 11:24:46 +02:00
Moritz Halbritter db4758ffc4 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-oauth2-client
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 18a7028688 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-oauth2-authorization-server
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 66ede5c82e Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-logback
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter e2c1c3727d Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-liquibase
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 69cc9f8dea Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-kafka
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 5e2414b2e3 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-jetty-ssl
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 3d7357e0ce Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-jetty-jsp
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 779aadbd2e Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-jetty
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter df566bc031 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-integration
See gh-47263
2025-10-16 11:24:45 +02:00
Moritz Halbritter 973ade0bcd Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-hibernate
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter 634b880f99 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-hateoas
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter 739b9915d9 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-graphql
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter 245138997f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-flyway
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter 6ae6c56dfd Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-devtools
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter c3ef78e829 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-rest
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter 3f3b7a4523 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-redis
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter e4077af691 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-r2dbc-liquibase
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter d770b17e2d Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-r2dbc-flyway
See gh-47263
2025-10-16 11:24:44 +02:00
Moritz Halbritter 1277b758a5 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-r2dbc
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter a0bef6031f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-mongodb
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter a8ae4845b5 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-ldap
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter fbbf82f399 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-jpa
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter bd4199e9c5 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-data-jdbc
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter 27ac6303de Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-elasticsearch
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter af33233b1b Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-couchbase
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter def99b16e6 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-cassandra
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter 10caa70ed8 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-config
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter 4d476b1a66 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-cache
See gh-47263
2025-10-16 11:24:43 +02:00
Moritz Halbritter ad075ae2af Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-bootstrap-registry
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter dbbe2f6749 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-batch-jdbc
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter a20bd8d288 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-batch
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter 48daa81b59 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-autoconfigure-classic
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter ea81e754da Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-aspectj
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter a1206bbf75 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-artemis
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter 44534e57b0 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-amqp
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter b631b7164f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator-ui
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter 7e9c109a4f Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator-noweb
See gh-47263
2025-10-16 11:24:42 +02:00
Moritz Halbritter 8c6e376147 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-log4j2
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter dcdafa0750 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator-extension
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter 1b27de688a Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator-custom-security
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter 15db7c5158 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-actuator
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter b3177a4d7c Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-activemq-embedded
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter eedcceaa86 Add nullability annotations to tests in smoke-test/spring-boot-smoke-test-activemq
See gh-47263
2025-10-16 11:24:41 +02:00
Phillip Webb 94199a63fa Change 'blocking' term to 'imperative'
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Closes gh-47398
2025-10-15 13:11:10 -07:00
Dmytro Nosan bc2ca5b9fc Extend ArchitectureCheck with NullMarkedExtension
Introduce NullMarkedExtension for ArchitectureCheck, which provides
functionality to configure packages to ignore in nullability checks and
to enable or disable the extension.

See gh-47596

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-10-15 08:23:47 +02:00
Phillip Webb 8f89bd304f Polish code to fix warnings 2025-10-14 21:51:25 -07:00
Phillip Webb 34e0382858 Move actuator heath code to spring-boot-health
Closes gh-46357
2025-10-14 21:51:24 -07:00
Stéphane Nicoll 879b7e6cce Bind WebTestClient to the default WebHandler
Previously, if multiple WebHandler beans were present, the auto-config
for WebTestClient fail to identify a suitable candidate as it expects
to only have such a bean.

This commit updates the logic to look for a well-known bean name that
WebFlux uses, and clarify the exception message to state that a bean
with a given name is expected to be found.

The exception message has been further refined to mention that, if
such a bean is not present, then a MockMVc-compatible ApplicationContext
should be available (i.e. WebApplicationContext).

Closes gh-47617
2025-10-14 11:00:49 +02:00
Stéphane Nicoll 68fc7a11f0 Start building against Spring Integration 7.0.0-RC1 snapshots
See gh-47494
2025-10-11 11:12:26 +02:00
Mahmoud Ben Hassine 491019d4fe Start building against Spring Batch 6.0.0-RC1 snapshots
See gh-47477
2025-10-10 17:41:24 +02:00
Andy Wilkinson 5afbec7033 Correct package in spring-boot-resttestclient to match module name
See gh-46356
See gh-47322
2025-10-10 12:50:48 +01:00
Phillip Webb 02b2d03acf Rationalize HTTP client configuration properties
Simplify HTTP client configuration properties by sharing common
settings for both blocking and reactive clients.

The `ClientHttpRequestFactorySettings` and `ClientHttpConnectorSettings`
have been merged to a single `HttpClientSettings` class. Properties
to configure common settings are available under:

	`spring.http.clients`

Blocking and reactive settings have been moved to
`spring.http.clients.blocking` and `spring.http.clients.reactive`. With
currently only the factory/connector being configurable.

HTTP Service Client properties have also been rationalized under a
`spring.http.serviceclient.<group-name>`. Support for properties that
apply to all service clients and all Rest/Web Clients have been removed.

Support for `ApiVerionInserter` beans has also been removed in favor of
configuring the service group or builders directly.

Closes gh-47398
2025-10-09 22:18:53 -07:00
Andy Wilkinson 9eb05ebb10 Create spring-boot-resttestclient and spring-boot-webtestclient modules
Create `spring-boot-resttestclient` and `spring-boot-webtestclient`
modules to hold test client auto-configuration and `TestRestTemplate`
code.

Previous these classes were contained in `spring-boot-resetclient-test`
and `spring-boot-webclient-test` which was incorrect since the `-test`
modules should hold code need to test the given modules, not supporting
test classes.

See gh-46356

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-10-09 22:12:39 -07:00
Andy Wilkinson 16d8878cd8 Support embedded web environment with @AutoConfigureWebTestClient
Simplify `WebTestClient` testing support by removing the direct
context customizer in favor of using `@AutoConfigureWebTestClient`.

See gh-46356
2025-10-09 22:11:44 -07:00
Andy Wilkinson 3bf53f8bf5 Introduce @AutoConfigureTestRestTemplate
Add `@AutoConfigureTestRestTemplate` which can be used to
auto-configure a `TestRestTemplate`.

See gh-46356
2025-10-09 22:09:36 -07:00
Phillip Webb ee72caf7dc Drop `spring-boot-rest-client-test` dependency from test starter
See gh-46356
See gh-47322
2025-10-01 21:55:25 -07:00
Phillip Webb 2a521ce4e9 Remove `spring-boot-web-server-test` module
Remove the `spring-boot-web-server-test` module, adding
`SpringBootTestRandomPortContextCustomizerFactory` to
`spring-boot-web-server` as a replacement for
`SpringBootTestRandomPortApplicationListener`.

See gh-46356
See gh-47322
2025-10-01 21:54:54 -07:00
Phillip Webb 279de9e807 Migrate to `BaseUrlUriTemplateHandler`
Remove `LocalHostUriTemplateHandler` and migrate existing code to use
`BaseUrlUriTemplateHandler`.

See gh-46356
See gh-47322
2025-10-01 21:54:32 -07:00
Phillip Webb 97c89b480f Move `@LocalServerPort` and `@LocalManagementServerPort`
Move `@LocalServerPort` and `@LocalManagementServerPort` back to
`spring-boot-test`. The should help reduce upgrade pain since these
annotations are fairly commonly used. It also removes the need for
depending on `spring-boot-webserver-test`.

This is slight compromise with the module structure, since the
web-server module usually contributes the properties referenced
by the annotations.

See gh-46356
See gh-47322
2025-10-01 21:53:58 -07:00
Phillip Webb bba56ffc8b Move `RestTestClientBuilderCustomizer` to `spring-boot-test`
Relocate `RestTestClientBuilderCustomizer` to `spring-boot-test`
and break the direct link to web-server by making use of
`spring.factories` and the new `BaseUrlProviders` class.

See gh-46356
2025-10-01 21:51:20 -07:00
Phillip Webb 155e3bd5e6 Relocate `@AutoConfigureDataSourceInitialization`
Relocate `@AutoConfigureDataSourceInitialization` from
`spring-jdbc-test` to `spring-boot-test-autoconfigure`. This change
allows Flyway and Liquibase to respond to the annotation without
the user needing to remember the `spring-jdbc-test` dependency.

This is especially important for R2DB applications which may
still be using Flyway or Liquibase for migrations and will
want them to apply during tests.

See gh-46356
See gh-47322
2025-10-01 21:43:13 -07:00
Phillip Webb 8008076e04 Remove spring-boot-json-test module
Remove spring-boot-json-test module and spread code between
`spring-boot-test`, `spring-boot-test-autoconfigure` and JSON
technology modules.

See gh-46356
See gh-47322
2025-10-01 21:42:18 -07:00
Phillip Webb 08a641c1a2 Polish whitespace in gradle files 2025-10-01 11:40:03 -07:00
Andy Wilkinson 26364c27e2 Rename …DataAutoConfiguration to Data…AutoConfiguration
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
Closes gh-47049
2025-10-01 17:39:08 +01:00
Andy Wilkinson e2ba4dad2a Correct property in Session Data Redis smoke test
Build and Deploy Snapshot / Build and Deploy Snapshot (push) Waiting to run Details
Build and Deploy Snapshot / Trigger Docs Build (push) Blocked by required conditions Details
Build and Deploy Snapshot / Verify (push) Blocked by required conditions Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:false version:24], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:17], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:21], map[id:windows-latest name:Windows]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:${{ vars.UBUNTU_MEDIUM || 'ubuntu-latest' }} name:Linux]) (push) Waiting to run Details
CI / ${{ matrix.os.name}} | Java ${{ matrix.java.version}} (map[toolchain:true version:25], map[id:windows-latest name:Windows]) (push) Waiting to run Details
Run CodeQL Analysis / run-analysis (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:17]) (push) Waiting to run Details
Run System Tests / Java ${{ matrix.java.version}} (map[toolchain:true version:21]) (push) Waiting to run Details
2025-09-30 17:03:55 +01:00
Stéphane Nicoll 4f6bbac13e Add support for in-memory Batch infrastructure
This commit moves the existing JDBC-based Spring Batch infrastructure
to a new 'spring-boot-batch-jdbc' module, while the existing module
only offers in-memory (aka resourceless) support.

The commit also updates the reference guide to provide some more
information about what's available and how to use it.

Closes gh-46307
2025-09-29 15:00:52 +02:00
Andy Wilkinson 0b601118bd Modularize spring-boot-test
Closes gh-46356
2025-09-25 17:24:12 +01:00
Andy Wilkinson 5348880b69 Modularize spring-boot-test-autoconfigure
This commit modularizes spring-boot-test-autoconfigure. It now
contains only the code that's central to test auto-configuration.
Feature-specific functionality has moved out into -test modules,
some existing and some newly created. For example, `@DataJpaTest` can
now be found in spring-boot-data-jpa-test.

Closes gh-47322
2025-09-25 13:11:35 +01:00
Andy Wilkinson 51b606e941 Polish 2025-09-24 12:47:09 +01:00
Stéphane Nicoll b7695200a9 Re-apply the upgrade to Log4j2 2.25.1
See gh-46372
See gh-46334
2025-09-24 12:13:54 +02:00
Moritz Halbritter 7689389349 Use correct nullable annotations in smoke tests
See gh-46926
2025-09-18 11:35:51 +02:00
Phillip Webb 6c84674c33 Relocate `EnvironmentPostProcessor` and implementations out of `env`
Move the `EnvironmentPostProcessor` from `org.springframework.boot.env`
to `org.springframework.boot` so that we can make the `env` package
foundational.

Most `EnvironmentPostProcessor` implementation has also been relocated
to a new `org.springframework.boot.support` package.

See gh-47232
2025-09-17 14:57:10 -07:00
Phillip Webb 4ebf09ad12 Restructure bootstrap classes to a foundational layer
Move bootstrap code from `org.springframework.boot` to
`org.springframework.boot.bootstrap` and make them a foundational
layer.

This move helps reduce `org.springframework.boot.context.config`
dependencies to `org.springframework.boot`.

See gh-47232
2025-09-17 14:57:10 -07:00
Stéphane Nicoll 4f18e5f1a8 Reinstate GraphQL tests
Closes gh-45392
2025-09-15 13:50:33 +02:00
Stéphane Nicoll 83ad15ba3b Enable liveness and readiness by default
Closes gh-22825
2025-09-15 11:33:34 +02:00
Stéphane Nicoll 8f0d87a964 Rename spring-boot-starter-aop to spring-boot-starter-aspectj
Closes gh-42948
2025-09-15 11:19:05 +02:00
Moritz Halbritter 634933b3e5 Polish nullability annotations
See gh-46926
2025-09-09 11:34:35 +02:00
Hyunsang Han 1b7d0b5755 Replace deprecated @Temporal with LocalDate
See gh-47015

Signed-off-by: Hyunsang Han <gustkd3@gmail.com>
2025-09-05 14:00:19 +02:00
Andy Wilkinson 7f7d5b157f Upgrade Kafka smoke test to use Jackson 3-based SerDe components
See gh-45535
2025-09-02 13:56:10 +01:00
Andy Wilkinson d353038c58 Update Jackson support to require Jackson 3
Closes gh-45535
2025-09-02 11:37:09 +01:00
Andy Wilkinson 8bfb170ebc Remove support for Jersey
Spring Boot 4 requires Jakarta EE 11. Jersey 4 will support EE 11 but
its release schedule is uncertain. Furthermore, Jersey does not yet
support Jackson 3 and there's no clear timeline for when Jackson 3
will be supported.

In light of the above, this commit removes support for Jersey.
Reinstating support can be considered once there's a Jersey GA that
supports Jakarta EE 11 or its clear that one will be available in
time for Boot's GA in November. Ideally, support for Jackson 3 would
also be available before reinstating Jersey support.

Closes gh-47017
2025-09-02 11:36:52 +01:00
Andy Wilkinson fe371aba17 Start building against Spring Framework 7.0.0-M9 snapshots
See gh-47008
2025-08-29 17:19:34 +01:00
Andy Wilkinson 50e5421467 Roll back to Log4j 2.24
This reverts:

 - 7a5e77fe67
 - 1590e4d2b3
 - 8cf0d17fbc

See gh-46334, gh-46372
2025-08-21 18:23:35 +01:00
Stéphane Nicoll 8cf0d17fbc Upgrade to Log4j2 2.25.1
Closes gh-46334
2025-08-21 16:54:01 +02:00
Phillip Webb ac2e6972d7 Provide configuration property to disable console logging
Add `logging.console.enabled` which when set will cause the
`logging.threshold.console` property to be set to `OFF`.

Closes gh-46592
2025-08-20 19:17:30 -07:00