When validating exclusions, prefer the selector's beanClassLoader for
ClassUtils.isPresent checks and fall back to the selector class loader
if the beanClassLoader is not set.
This makes presence checks consistent with the classloader context used
for loading auto-configuration candidates.
See gh-48129
Signed-off-by: linw-bai <107357009+linw-bai@users.noreply.github.com>
Add the `since` field to all deprecated properties in all
additional-spring-configuration-metadata.json files in the project.
Add to the CheckAdditionalSpringConfigurationMetadata build task to
ensure that all deprecated properties have a non-empty `since` field.
See gh-47980
Signed-off-by: Scott Frederick <scottyfred@gmail.com>
Add an architecture rule to ensure that all usages of
`@DeprecatedConfigurationProperty` in the Spring Boot codebase include
the `since` attribute.
Add the `since` attribute to the few places where it was not already
included.
See gh-47980
Signed-off-by: Scott Frederick <scottyfred@gmail.com>
Replace calls to the recently deprecated `setConnectionTimeout` method
of `HttpComponentsClientHttpRequestFactoryBuilder`.
This commit also introduces a `withConnectionConfigCustomizer` and
allows connection timeouts settings to be used.
Closes gh-48031
Replace calls to the recently deprecated `setConnectionTimeout` method
of `HttpComponentsClientHttpRequestFactory` and align the HTTP client
builder with the HTTP async client builder.
This commit also introduces a `withConnectionConfigCustomizer` and
allows connection timeouts settings to be used.
Closes gh-47940
Prior to this commit, Spring Boot would auto-configure a
`QueuedThreadPool` on the Jetty embedded server when the virtual threads
option is enabled.
This commit configures instead the dedicated `VirtualThreadPool` that
the Jetty team recommends when Virtual Threads is supported.
Fixes gh-47690
Previously, properties were always applied even when they had a null
value. When using the property defaults, this would leave the
GroovyMarkupConfigurer bean with null values for autoIndentString,
locale, and newLineString. The null values could cause problems at
runtime, for example an NPE when Groovy Templates tries to call
toString on the null newLineString.
Closes gh-47139
The previous wording suggested that customizations always retain
default auto-configuration. Rephrased to indicate that configuration
can be fine-tuned, which more accurately reflects that some builder
methods may override or replace defaults.
See gh-46938
Signed-off-by: Seokjae Lee <seok9211@naver.com>
Prior to this commit, SpringLiquibaseCustomizer had a private modifier,
which breaks Spring AOT.
See gh-46752
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
This commit configures ReactorClientHttpConnectorBuilder with the
ReactorResourceFactory bean from the context.
See gh-46673
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
This commits registers LazyInitializationExcludeFilter to exclude
NettyAutoConfiguration from global lazy init.
See gh-46164
Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>