From a16ef5a38349ed0061432f97d4228ec655fd50f3 Mon Sep 17 00:00:00 2001 From: Doehyun Baek Date: Fri, 12 Jun 2026 05:18:21 +0000 Subject: [PATCH 1/3] Fix forwarded headers property in cloud deployment docs Signed-off-by: Doehyun Baek --- .../src/docs/antora/modules/how-to/pages/deployment/cloud.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc index b6b093a5ecf..be9d1104723 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/how-to/pages/deployment/cloud.adoc @@ -24,7 +24,7 @@ In this section, we look at what it takes to get the xref:tutorial:first-applica Support for xref:how-to:webserver.adoc#howto.webserver.use-behind-a-proxy-server[forwarded headers] should only be enabled when the application receives traffic from a trusted HTTP proxy, and is only directly accessible from a trusted network. When running on a cloud platform, forward headers are enabled automatically. This builds on the assumption that the platform will ensure that individual application instances will only be directly accessible from a trusted network. -If that is not the case for your specific platform, set `spring.forward-headers-strategy` to `none`. +If that is not the case for your specific platform, set `server.forward-headers-strategy` to `none`. [[howto.deployment.cloud.cloud-foundry]] From c25acc4f565b073577ecdcf6b5813d0fe20f8b42 Mon Sep 17 00:00:00 2001 From: Doehyun Baek Date: Fri, 12 Jun 2026 05:18:37 +0000 Subject: [PATCH 2/3] Update JPA repository bootstrap executor docs Signed-off-by: Doehyun Baek --- .../src/docs/antora/modules/reference/pages/data/sql.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/data/sql.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/data/sql.adoc index fa8a38f48cf..4b87a7e1ea4 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/data/sql.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/data/sql.adoc @@ -274,7 +274,7 @@ include-code::CityRepository[] Spring Data JPA repositories support three different modes of bootstrapping: default, deferred, and lazy. To enable deferred or lazy bootstrapping, set the configprop:spring.data.jpa.repositories.bootstrap-mode[] property to `deferred` or `lazy` respectively. -When using deferred or lazy bootstrapping, the auto-configured javadoc:org.springframework.boot.jpa.EntityManagerFactoryBuilder[] will use the context's javadoc:org.springframework.core.task.AsyncTaskExecutor[], if any, as the bootstrap executor. +When using deferred bootstrapping, the auto-configured javadoc:org.springframework.boot.jpa.EntityManagerFactoryBuilder[] requires a bootstrap executor and will use the context's javadoc:org.springframework.core.task.AsyncTaskExecutor[], if one can be determined. If more than one exists, the one named `applicationTaskExecutor` will be used. [NOTE] From f9db43a6e55e8ccdd685b254e25dddc791f64474 Mon Sep 17 00:00:00 2001 From: Doehyun Baek Date: Fri, 12 Jun 2026 05:18:46 +0000 Subject: [PATCH 3/3] Update Optional binding documentation Signed-off-by: Doehyun Baek --- .../modules/reference/pages/features/external-config.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc index 38d348e788c..9ce3d49f243 100644 --- a/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc +++ b/documentation/spring-boot-docs/src/docs/antora/modules/reference/pages/features/external-config.adoc @@ -874,7 +874,7 @@ This will happen automatically if you use Spring Boot's Gradle plugin or if you NOTE: The use of javadoc:java.util.Optional[] with javadoc:org.springframework.boot.context.properties.ConfigurationProperties[format=annotation] is not recommended as it is primarily intended for use as a return type. As such, it is not well-suited to configuration property injection. -For consistency with properties of other types, if you do declare an javadoc:java.util.Optional[] property and it has no value, `null` rather than an empty javadoc:java.util.Optional[] will be bound. +If you do declare an javadoc:java.util.Optional[] constructor-bound property and it has no value, an empty javadoc:java.util.Optional[] will be bound. TIP: To use a reserved keyword in the name of a property, such as `my.service.import`, use the javadoc:org.springframework.boot.context.properties.bind.Name[format=annotation] annotation on the constructor parameter.