Commit Graph

53865 Commits

Author SHA1 Message Date
Moritz Halbritter
cfecdfcb92 Polish "Update documentation for Task Execution"
See gh-44926
2025-04-07 11:40:16 +02:00
Dmytro Nosan
6a92364ccd Update documentation for Task Execution
See gh-44926

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-07 11:36:15 +02:00
Moritz Halbritter
e39ce56707 Merge branch '3.4.x'
Closes gh-45016
2025-04-07 10:58:19 +02:00
Moritz Halbritter
8c31cfee54 Merge pull request #44982 from nosan
* pr/44982:
  Polish RestClientAutoConfiguration and RestClientBuilderConfigurer

Closes gh-44982
2025-04-07 10:58:09 +02:00
Dmytro Nosan
5e966f9576 Polish RestClientAutoConfiguration and RestClientBuilderConfigurer
See gh-44982

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-07 10:48:43 +02:00
Moritz Halbritter
23d5fe4564 Merge pull request #44980 from izeye
* pr/44980:
  Add Javadoc since for GarbageCollectorInfo

Closes gh-44980
2025-04-07 09:43:05 +02:00
Johnny Lim
8f4fd43320 Add Javadoc since for GarbageCollectorInfo
See gh-44980

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-07 09:42:33 +02:00
Moritz Halbritter
44b60141b2 Merge branch '3.4.x'
Closes gh-45015
2025-04-07 09:03:58 +02:00
Moritz Halbritter
ec055de81e Merge pull request #45013 from geniusYoo
* pr/45013:
  Validate that sslInfo is not null in SslHealthIndicator constructor

Closes gh-45013
2025-04-07 09:03:27 +02:00
geniuus
aaaa791cea Validate that sslInfo is not null in SslHealthIndicator constructor
The SslHealthIndicator constructor previously did not validate if the
provided SslInfo instance was null. This could potentially lead to a
NullPointerException later when the doHealthCheck method is invoked
if the SslInfo bean was not properly configured or available.

This commit adds an Assert.notNull check for the sslInfo parameter
to ensure fail-fast behavior during application startup or bean
creation. This aligns with the common practice in other Spring Boot
components and health indicators where essential dependencies are
validated in the constructor.

See gh-45013

Signed-off-by: geniuus <cross_man@naver.com>
2025-04-07 08:59:05 +02:00
Moritz Halbritter
ce7c1c20a1 Merge pull request #44984 from ngocnhan-tran1996
* pr/44984:
  Remove RECORD_COMPONENT target from @DefaultValue

Closes gh-44984
2025-04-07 08:56:13 +02:00
Tran Ngoc Nhan
28bbb3ee10 Remove RECORD_COMPONENT target from @DefaultValue
See gh-44984

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-07 08:41:17 +02:00
Andy Wilkinson
e87d5d7a41 Merge branch '3.4.x'
Closes gh-45003
2025-04-04 12:10:09 +01:00
Andy Wilkinson
63adda60d7 Merge branch '3.3.x' into 3.4.x
Closes gh-45002
2025-04-04 12:09:00 +01:00
Andy Wilkinson
3e9dddb42c Allow data source class name to be specified when using Hikari
Closes gh-44938
2025-04-04 11:14:47 +01:00
Andy Wilkinson
219c7ed653 Merge branch '3.4.x'
Closes gh-44999
2025-04-04 09:28:16 +01:00
Andy Wilkinson
e107e11bb8 Merge branch '3.3.x' into 3.4.x
Closes gh-44998
2025-04-04 09:28:03 +01:00
Andy Wilkinson
e9fff8150d Avoid triggering NPE in Hikari with null driverClassName
Previously, the post-processing of HikariDataSource to apply custom
connection details would trigger an NPE in Hikari if those details
supplied a null driverClassName.

This commit avoids the problem by only setting the driverClassName
when it is non-null.

Closes gh-44997
2025-04-04 09:14:44 +01:00
Moritz Halbritter
c179fed3b4 Add annotation for registering Servlets and Filters
@ServletRegistration and @FilterRegistration can be used as an
annotation-based alternative to ServletRegistrationBean and
FilterRegistrationBean.

Closes gh-16500
2025-04-04 09:57:52 +02:00
Andy Wilkinson
740fe4b28b Merge branch '3.4.x'
Closes gh-44996
2025-04-04 08:53:42 +01:00
Andy Wilkinson
617f3d525f Merge branch '3.3.x' into 3.4.x
Closes gh-44995
2025-04-04 08:52:45 +01:00
Andy Wilkinson
cae3a92ead Fix NPE with Hikari when DatabaseDriver has null driverClassName
Fixes gh-44994
2025-04-04 08:38:27 +01:00
Phillip Webb
39ef5ae2d5 Merge branch '3.4.x' 2025-04-03 18:06:48 -07:00
Phillip Webb
fc9937d05a Merge branch '3.3.x' into 3.4.x 2025-04-03 18:06:33 -07:00
Phillip Webb
88e8c17369 Update copyright year of changed files 2025-04-03 18:06:14 -07:00
Phillip Webb
bc91c35644 Merge branch '3.4.x'
Closes gh-44993
2025-04-03 18:05:13 -07:00
Phillip Webb
c96835bc9d Merge branch '3.3.x' into 3.4.x
Closes gh-44992
2025-04-03 18:02:57 -07:00
Phillip Webb
f2d367a130 Update 'for removal in' comments since 3.5 will be the last 3.x release
Closes gh-44959
2025-04-03 17:52:22 -07:00
Phillip Webb
455bb0f835 Add ClientHttpRequestFactoryBuilderCustomizer support
Add `ClientHttpRequestFactoryBuilderCustomizer` interface that can be
used to customize the `ClientHttpRequestFactoryBuilder`.

Closes gh-44987
2025-04-03 17:20:11 -07:00
Phillip Webb
983e7b637b Introduce ClientHttpConnectorBuilder support
Add a new `ClientHttpConnectorBuilder` interface to support the
creation of `ClientHttpConnector` instances. The new code is similar
to the `ClientHttpRequestFactoryBuilder` interface that was added to
Spring Boot 3.4.

The `ClientHttpConnectorBuilder` is a functional interface with
additional static factory methods for the various supported
`ClientHttpConnector` types. Each type has it's own builder
which to support client specific customization.

The previous auto-configuration has been relocated to the
`org.springframework.boot.autoconfigure.http.client.reactive`
package and updated to make use of the builder.

Closes gh-43079
2025-04-03 17:05:12 -07:00
Phillip Webb
4034725e38 Skip forward merge checks on docs-build branch 2025-04-03 14:39:43 -07:00
Andy Wilkinson
05a9521fde Merge branch '3.4.x'
Closes gh-44977
2025-04-02 13:40:44 +01:00
Andy Wilkinson
d0612f5e0e Merge branch '3.3.x' into 3.4.x
Closes gh-44976
2025-04-02 13:40:33 +01:00
Andy Wilkinson
47ace6d49a Merge pull request #44951 from ali-jalaal
* gh-44951:
  Add reference to Styra (OPA) Spring Boot SDK

Closes gh-44951
2025-04-02 13:40:26 +01:00
ali-jalaal
48909a432f Add reference to Styra (OPA) Spring Boot SDK
See gh-44951

Signed-off-by: ali-jalaal <4487124+ali-jalaal@users.noreply.github.com>
2025-04-02 13:40:02 +01:00
Andy Wilkinson
b759d1ad9b Polish c604eaeb
See gh-44925
2025-04-02 13:26:46 +01:00
Andy Wilkinson
88e758763e Merge branch '3.4.x'
Closes gh-44975
2025-04-02 11:24:43 +01:00
Andy Wilkinson
703ecef0bf Merge branch '3.3.x' into 3.4.x
Closes gh-44974
2025-04-02 11:24:31 +01:00
Andy Wilkinson
d36876752f Merge pull request #44942 from nosan
* gh-44942:
  Fix CassandraRepositoriesAutoConfigurationTests

Closes gh-44942
2025-04-02 11:24:24 +01:00
Dmytro Nosan
a55f5f0aac Fix CassandraRepositoriesAutoConfigurationTests
Update CassandraRepositoriesAutoConfigurationTests to use the correct
'spring.data.cassandra.repositories.type' property.

See gh-44942

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-02 10:45:50 +01:00
Andy Wilkinson
b8e4ec3dc4 Merge branch '3.4.x'
Closes gh-44973
2025-04-02 10:41:33 +01:00
Andy Wilkinson
7630c7c505 Merge branch '3.3.x' into 3.4.x
Closes gh-44972
2025-04-02 10:40:55 +01:00
Andy Wilkinson
f2f0b0cbcf Merge pull request #44949 from izeye
* gh-44949:
  Polish

Closes gh-44949
2025-04-02 10:16:15 +01:00
Johnny Lim
f3d2ab824e Polish
See gh-44949

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-04-02 10:15:36 +01:00
Andy Wilkinson
c604eaeb56 Move spring.mvc.converters.preferred-json-mapper to spring.http
This commit deprecates spring.mvc.converters.preferred-json-mapper
and replaces it with spring.http.converters.preferred-json-mapper.
If both properties are specified, the latter takes precedence.

Closes gh-44925
2025-04-02 09:47:31 +01:00
Andy Wilkinson
f039c73db7 Move spring.codec properties to spring.http.codecs
Closes gh-44925
2025-04-01 20:22:49 +01:00
Andy Wilkinson
5e8812abb1 Merge branch '3.4.x'
Closes gh-44969
2025-04-01 10:33:23 +01:00
Andy Wilkinson
b1fb36bf4b Merge branch '3.3.x' into 3.4.x
Closes gh-44968
2025-04-01 10:31:59 +01:00
Andy Wilkinson
a8381e7cbd Ensure that only spring-core's ReflectionUtils is used
Closes gh-44837
2025-04-01 10:30:58 +01:00
Andy Wilkinson
25ea5901aa Merge branch '3.4.x'
Closes gh-44967
2025-04-01 10:05:44 +01:00