Commit Graph
300 Commits
Author SHA1 Message Date
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
Andy Wilkinson 4b8db9b630 Fix problems with auto-configuration architecture checks
Closes gh-48216
2025-11-21 16:57:56 +00:00
Andy Wilkinson 40453e76f0 Merge branch '3.5.x'
Closes gh-48228
2025-11-21 16:47:00 +00:00
Stéphane Nicoll bd5264e28e Merge branch '3.5.x'
Closes gh-48219
2025-11-21 13:02:14 +01:00
Stéphane Nicoll 1e96c6cd02 Merge branch '3.5.x'
Closes gh-48218
2025-11-21 11:27:56 +01:00
Andy Wilkinson 3becdc7d47 Move server.error properties to spring.web.error
Closes gh-48201
2025-11-20 11:55:23 +00:00
Phillip Webb 2685f4bf29 Change tomcat and jetty runtime modules to starters
Change `spring-boot-tomcat-runtime` and `spring-boot-jetty-runtime`
into starter POMs and reduce the number of dependencies needed for
`spring-boot-tomcat` and `spring-boot-jetty`.

The runtime starters provide only the jars required to run the
embedded server along with the module jar itself (excluding transitive
dependencies) and `spring-boot-webserver` (excluding transitive
dependencies).

The build setup required for an executable jar is slightly different
between Maven and Gradle. For Maven, the regular module is put in the
`provided` scope. For Gradle, the regular module remains in main
configuration and the runtime jar is put in the `providedRuntime`
configuration. The reference documentation has been updated to
show how to configure things if starters are being used.

Manual testing has been performed to ensure that wars build with Maven
and Gradle work with both Tomcat and Jetty in both deployed and
`java -jar` modes.

Closes gh-48175
2025-11-19 21:59:03 -08:00
Stéphane Nicoll ae4bf3e501 Disable Elasticsearch client's sniffer by default
This commit switches the auto-configuration of Elasticsearch to not
contribute a client's sniffer by default.

This matches the best practices as describe in
https://www.elastic.co/blog/elasticsearch-sniffing-best-practices-what-when-why-how

Closes gh-48155
2025-11-18 23:03:25 +01:00
Stéphane Nicoll 15bf80d3ff Polish contribution
See gh-48170
2025-11-18 16:22:11 +01:00
Vedran Pavic 802dacb007 Mention support for detecting AWS ECS in "Deploying to the Cloud"
See gh-48170

Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
2025-11-18 16:08:03 +01:00
Stéphane Nicoll 7e9f5ebd96 Merge branch '3.5.x'
Closes gh-48163
2025-11-18 11:06:06 +01:00
Stéphane Nicoll c6c649f644 Polish "Elasticsearch starter should depend on elasticsearch-java"
See gh-48141
2025-11-15 10:49:20 +01:00
Andy Wilkinson 3a913ef480 Merge branch '3.5.x'
Closes gh-48131
2025-11-14 08:08:08 +00:00
Stéphane Nicoll 3d23261f87 Merge branch '3.5.x'
Closes gh-48122
2025-11-13 14:55:19 +01:00
Andy Wilkinson bb0437c0e1 Correct names of isolated Json/ObjectMapper properties
Closes gh-48116
2025-11-13 12:00:19 +00:00
Andy Wilkinson 62a1dd6ed1 Merge branch '3.5.x'
Closes gh-48115
2025-11-13 11:29:47 +00:00
Andy Wilkinson f1aae5c7fc Merge branch '3.5.x'
Closes gh-48112
2025-11-13 10:56:53 +00:00
Andy Wilkinson 9cc18130e6 Merge branch '3.5.x'
Closes gh-48110
2025-11-13 10:19:47 +00:00
Andy Wilkinson 5699915383 Rename module for Kotlinx Serialization JSON support
Closes gh-48076
2025-11-12 17:34:28 +00:00
Andy Wilkinson 152c09d850 Merge branch '3.5.x'
Closes gh-48063
2025-11-11 18:46:59 +00:00
Moritz Halbritter 72740e0f48 Merge branch '3.5.x'
Closes gh-48053
2025-11-11 14:29:39 +01:00
Moritz Halbritter 3c64bdf118 Document that you need to build with Java 25 for buildpack build-image Graal support
Closes gh-45501
2025-11-11 12:00:19 +01:00
Stéphane Nicoll 00f60da0de Start building against Spring Framework 7.0.0 snapshots
See gh-47825
2025-11-11 10:22:06 +00:00
Moritz Halbritter 995e8560f5 Clarify use of OpenTelemetry's environment variables
See gh-47960
2025-11-11 10:16:26 +01:00
Moritz Halbritter 62177a1cd7 Improve documentation for Spring Boot's OpenTelemetry support
Closes gh-47960
2025-11-10 11:15:43 +01:00
Phillip WebbandAndy Wilkinson 619454548b Restore support for Jersey
Restore support for Jersey now that it supports JAX-RS 4.

Closes gh-47967

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2025-11-05 10:51:08 -08:00
Phillip Webb d0d332b42f Merge branch '3.5.x'
Closes gh-47968
2025-11-05 09:52:47 -08:00
Moritz Halbritter c872557906 Rename management.zipkin.tracing
It's now 'management.tracing.export.zipkin'

Closes gh-47958
2025-11-05 13:52:25 +01:00
Moritz Halbritter 7e5897066c Rename management.opentelemetry.logging.export properties
They are now under 'management.opentelemetry.logging.export.otlp.*'.

Closes gh-47954
2025-11-05 12:14:14 +01:00
Moritz Halbritter e9172d9f51 Split spring-boot-micrometer-tracing into Brave and OpenTelemetry specific module
Closes gh-47953
2025-11-05 12:14:13 +01:00
Filip Hrisafov 163cc8e05a Use elasticsearch-rest5-client in spring-boot-elasticsearch
See gh-47945

Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2025-11-05 09:43:47 +00:00
Stéphane Nicoll 40ad8d4e66 Add a section about upgrading to Spring Boot 4.x
Closes gh-47916
2025-11-03 15:02:05 +01:00
Stéphane Nicoll 724f706f34 Move auto-configuration for WebTestClient in autoconfigure
Closes gh-47892
2025-10-31 12:05:25 +01:00
Stéphane Nicoll 7ff70ca735 Document that web clients are opt-in with @SpringBootTest
Closes gh-47891
2025-10-31 11:02:26 +01:00