Commit Graph
229 Commits
Author SHA1 Message Date
Andy Wilkinson ef1f4e2fa2 Merge branch '4.0.x'
Closes gh-48700
2026-01-08 12:01:09 +00:00
Andy Wilkinson 9bd1a460a1 Correct packaging of test code
Closes gh-48699
2026-01-08 11:43:43 +00:00
Andy Wilkinson b8b1373f2e Document that jOOQ support requires Java 21
See gh-48619
2026-01-07 08:53:06 +00:00
Andy Wilkinson 56928bbe38 Upgrade to jOOQ 3.20 and require Java 21 to use it
Closes gh-48619
2026-01-06 13:03:11 +00:00
Yanming Zhou d9528fdb0b Fix typo
See gh-48680

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-01-05 21:43:06 -08:00
Phillip Webb 21cf377f7e Add 'WAR_SOURCE_DIRECTORY' environment variable support
Add an escape hatch for users that deviate from the standard
`src/main/webbapp` directory structure.

Fixes gh-23829
2026-01-05 16:44:45 -08:00
Stéphane Nicoll 6939fae297 Merge branch '4.0.x'
Closes gh-48671
2026-01-04 17:16:05 +01:00
Stéphane Nicoll 6b019c4ab2 Merge branch '3.5.x' into 4.0.x
Closes gh-48670
2026-01-04 17:15:53 +01:00
Stéphane Nicoll 3e8df5d901 Merge branch '4.0.x'
Closes gh-48660
2026-01-02 14:03:07 +01:00
Stéphane Nicoll cb1596e8c8 Merge branch '3.5.x' into 4.0.x
Closes gh-48659
2026-01-02 14:02:59 +01:00
Stéphane Nicoll 12652a313e Deprecate Derby support since Apache Derby is retired
Closes gh-48567
2025-12-30 17:36:53 +01:00
Stéphane Nicoll ca4a11c672 Merge branch '4.0.x'
Closes gh-48644
2025-12-30 13:25:59 +01:00
Stéphane Nicoll 2ef60a10da Clarify how to include devtools using Maven
Closes gh-48641
2025-12-30 13:25:14 +01:00
Stéphane Nicoll 4fd2dc50cb Merge branch '4.0.x'
Closes gh-48633
2025-12-29 13:15:48 +01:00
Stéphane Nicoll 22d6f6a7de Allow a custom JsonFactory to be used with JsonMapper.Builder
This commit improves the auto-configuration of the JSonMapper.Builder
to accept a custom JsonFactory if a bean of this type is present.

Closes gh-48594
2025-12-29 13:11:03 +01:00
Stéphane Nicoll 644ac08886 Add support for context propagation in task execution
Closes gh-48033
2025-12-22 10:24:41 +01:00
Stéphane Nicoll 41828b6e15 Merge branch '4.0.x'
Closes gh-48602
2025-12-22 08:15:18 +01:00
Stéphane Nicoll 4d7896914a Merge branch '3.5.x' into 4.0.x
Closes gh-48601
2025-12-22 08:15:00 +01:00
Stéphane Nicoll 5399793faf Reinstate Spock support
Closes gh-48513
2025-12-19 15:31:59 +01:00
Andy Wilkinson dfd41a6b9f Polish "Add LDAPS support to embedded LDAP server"
See gh-48315
2025-12-19 11:26:02 +00:00
Moritz Halbritter 0f999b8d96 Merge branch '4.0.x' 2025-12-19 11:59:36 +01:00
Moritz Halbritter 5575ea19ba Remove explicit dependency on spring-boot-opentelemetry in documentation
See gh-48585
2025-12-19 11:58:18 +01:00
Vedran Pavic 98d843214b Add support for configuring SimpleMessageListenerContainer
This commit introduces a `SimpleJmsListenerContainerFactoryConfigurer`
that can be used to conveniently apply settings provided
by JMS auto-configuration to `SimpleJmsListenerContainerFactory`
instances.

See gh-47716

Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
2025-12-19 11:42:48 +01:00
Moritz Halbritter f6cbed4a40 Update Tracing section for Spring Boot 4's modularity
Closes gh-48576
2025-12-19 10:54:27 +01:00
Stéphane Nicoll 3e689881f2 Polish "Harmonize Kotlin example for HTTP Service client support"
See gh-48577
2025-12-18 15:07:39 +01:00
jwalter 423373ba06 Harmonize Kotlin example for HTTP Service client support
See gh-48577

Signed-off-by: jwalter <joakim.waltersson@gmail.com>
2025-12-18 15:07:39 +01:00
Brian Clozel f61ac29f3f Document HttpMessageConverters detection changes
This commit updates the reference documentation to better reflect
changes applied in gh-48310. As of Spring Boot 4.0.1,
`HttpMessageConverter` beans are all considered as "custom" converters
and will be set ahead of the converters list in the auto-configuration
support.

For more specific changes, developers should contribute
`ClientHttpMessageConvertersCustomizer` or
`ServerHttpMessageConvertersCustomizer` beans to better reflect their
intent: should the converter be configured for client, server or both?
How should this converter be used?

Previously, Spring Boot was relying on heuristics but they would cause
issues for server-only converters, or for specific configuration that
were not meant to replace the default converter for a given media type.

Closes gh-48574
2025-12-18 14:56:38 +01:00
Stéphane Nicoll e8e880b8de Merge branch '3.5.x'
Closes gh-48534
2025-12-15 15:43:26 +01:00
Stéphane Nicoll 21aedaad3c Refine behavior of @AutoConfigureCache
Closes gh-48522
2025-12-15 15:25:09 +01:00
Stéphane Nicoll 134ebe42a7 Merge branch '3.5.x'
Closes gh-48532
2025-12-15 15:15:11 +01:00
Stéphane Nicoll 10e2f34ecc Merge branch '3.5.x'
Closes gh-48527
2025-12-15 12:04:24 +01:00
Stéphane Nicoll 17d8929fac Merge branch '3.5.x' 2025-12-08 12:42:42 +01:00
Stéphane Nicoll 4bc8a0ab64 Merge branch '3.5.x'
Closes gh-48449
2025-12-08 12:31:32 +01:00
Phillip Webb ba032dba21 Fix links to GitHub source files
Closes gh-48394
2025-12-05 10:09:38 -08:00
Stéphane Nicoll 1c637d8692 Use correct product names for IntelliJ IDEA 2025-12-02 16:59:03 +01:00
Andy Wilkinson c1e4375049 Merge branch '3.5.x'
Closes gh-48360
2025-12-01 12:01:30 +00:00
Hirotaka Kawata 962ecfcf1d Change annotation from ConfigurationPropertiesScan to ConfigurationPropertiesSource
See gh-48357

Signed-off-by: Hirotaka Kawata <kawata.hirotaka@moneyforward.co.jp>
2025-12-01 11:43:19 +00:00
Stéphane Nicoll 811ddcd1b8 Merge branch '3.5.x'
Closes gh-48336
2025-11-28 16:05:30 +01:00
Stéphane Nicoll c63dbe7eb8 Document LocalTestWebServer
Closes gh-48333
2025-11-28 15:14:54 +01:00
Stéphane Nicoll 542c21869e Review "Creating Your Own Starter" section
Closes gh-48317
2025-11-28 11:00:59 +01:00
Andy Wilkinson b5703eaa4c Merge branch '3.5.x'
Closes gh-48300
2025-11-26 12:43:51 +00:00
Antoine Rey 53a765ac5c Update references for RestTemplateBuilder and Customizer
Starting from Spring Boot 4, the RestTemplateBuilder and
RestTemplateCustomizer classes have been moved from the
org.springframework.boot.web.client package to the
org.springframework.boot.restclient package. This commit updates
the javadoc links in the reference documentation to match

Signed-off-by: Antoine Rey <antoine.rey@free.fr>

See gh-48295
2025-11-26 10:56:29 +00:00
Andy Wilkinson 3e82ede609 Require spring-boot-restclient dependency to use TestRestTemplate
Previously, spring-boot-restclient was a required dependency of
spring-boot-resttestclient. This had the unwanted side-effect of
increasing the risk of the test classpath enabling auto-configuration
for RestClient.Builder when it was main code that needed such a bean.
This could lead to integration tests passing but the application
itself failing to start when its run through its main method.

This commit makes spring-boot-restclient an optional dependency of
spring-boot-resttestclient. As a result, a dependency on
spring-boot-resttestclient is no longer sufficient to auto-configure
a RestClient.Builder bean, although it is still sufficient to
auto-configure a RestTestClient bean.

Those that wish to use TestRestTemplate rather than migrating to
RestTestClient will now have to add a dependency on
spring-boot-restclient. This makes it presence more obvious. It now
has to be declared directly rather than being somewhat hidden due to
being pulled in transitively. The hope is that this will reduce the
chances of the dependency being accidentially on the test classpath
when main code requires it to be on the runtime classpath.

Fixes gh-48253
2025-11-25 14:38:33 +00:00
Stéphane Nicoll 0e56cd08ea Fix inconsistency in Graceful Shutdown section
See gh-46917
Closes gh-48284
2025-11-25 11:19:19 +01:00
Stéphane Nicoll 0cc2e57461 Polish "Document that spring-boot-h2console is required"
We can simplify the original proposal as spring-boot-h2console brings
H2 if needed.

See gh-48278
2025-11-25 09:51:21 +01:00
Igor 5ea290ae11 Document that spring-boot-h2console is required
See gh-48278

Signed-off-by: Igor <i.y.seleznov@gmail.com>
2025-11-25 09:50:56 +01:00
Andy Wilkinson 635e331587 Mention using AutoConfigureRestTestClient in a WebMvcTest
Closes gh-47948
2025-11-24 14:15:38 +00:00
Andy Wilkinson 1761ff0ff4 Clarify Batch docs on the need for a DataSource and DB-based repository
Closes gh-48233
2025-11-24 11:41:17 +00:00
Andy Wilkinson 4d3e374ad1 Merge branch '3.5.x'
Closes gh-48266
2025-11-24 11:30:45 +00:00
Andy Wilkinson 04ba4120a4 Document need for JdbcDialect bean with Sring Data JDBC and AOT
Closes gh-48240
2025-11-24 10:55:56 +00:00