Commit Graph
1223 Commits
Author SHA1 Message Date
Phillip Webb 014bbcca82 Polish LdapHealthIndicator
See gh-51441
2026-08-25 11:46:03 -07:00
2heunxun d5ace369bd Fix LdapHealthIndicator reporting when LDAP version is unavailable
Fix regression caused by commit d26b6895 which caused
`doHealthCheck()` to only call `builder.up()` when the LDAP
server's protocol version (`java.naming.ldap.version`) could be
read from the JNDI environment.

See gh-51441

Signed-off-by: 2heunxun <seapeon@naver.com>
2026-08-25 11:43:49 -07:00
Moritz Halbritter 7a77c35d75 Merge branch '4.0.x' into 4.1.x
Closes gh-51433
2026-08-25 09:14:42 +02:00
2heunxun d00566ae5d Fix watchdog thread leak in JmsHealthIndicator on start failure
See gh-51412

Signed-off-by: 2heunxun <seapeon@naver.com>
2026-08-25 09:07:25 +02:00
Stéphane Nicoll d5cec292dc Polish "Honor a wrapper's unwrap when resolving the root DataSource"
See gh-51410
2026-08-24 10:41:17 +02:00
jjh75607 5eb30621db Honor a wrapper's unwrap when resolving the root DataSource
See gh-51410

Signed-off-by: jjh75607 <jjh7560734@gmail.com>
2026-08-24 10:38:51 +02:00
Stéphane Nicoll 1757021744 Merge branch '4.0.x' into 4.1.x
Closes gh-51369
2026-08-11 17:49:02 +02:00
Stéphane Nicoll ada7ac7c48 Apply consumer-specific security protocol
Closes gh-51365
2026-08-11 17:46:39 +02:00
Stéphane Nicoll 4518e11bf5 Polish "Remove code tag in property description"
See gh-51348
2026-08-11 14:43:45 +02:00
Tran Ngoc Nhan 328390acee Remove code tag in property description
See gh-51348

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2026-08-11 14:42:15 +02:00
Phillip Webb e665232b96 Upgrade to Grpc Java 1.83.1
Closes gh-51361
2026-08-11 12:34:44 +01:00
Stéphane Nicoll 84f8a6ff35 Polish "Backoff from exposing gRPC server port if gRPC is not available"
See gh-50825
2026-08-10 14:40:53 +02:00
Stéphane Nicoll bf461b085d Backoff from exposing gRPC server port if gRPC is not available
This moves the feature from a unconditional application listener that
can load gRPC types to an auto-configuration that backs off if the
necessary classes are not present.

Also updated the smoke tests to actually use the feature.

Closes gh-50825
2026-08-07 11:13:32 +02:00
Stéphane Nicoll 97ee86d1fe Merge branch '4.0.x' into 4.1.x
Closes gh-51277
2026-08-05 11:40:40 +02:00
Stéphane Nicoll 481f6f03fe Polish "Fix exception type documented by resolveConfigLocation"
This removes the throws entry altogether as we don't usually document
such exception.

See gh-51175
2026-08-05 11:38:43 +02:00
wantaek 010bc3c307 Fix exception type documented by resolveConfigLocation
The javadoc promises an IllegalArgumentException, but the method asserts
with Assert.state, which throws an IllegalStateException.

See gh-51175

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-08-05 11:38:43 +02:00
Stéphane Nicoll aedcc514b8 Merge branch '4.0.x' into 4.1.x
Closes gh-51159
2026-07-30 08:44:46 +02:00
vvzvvv e02521d12b Remove unnecessary null check in GroovyTemplateAutoConfigurationTests
The context field is final and eagerly initialized, so it can
never be null at teardown time.

See gh-51147

Signed-off-by: vvzvvv <tmdgusv@gmail.com>
2026-07-30 08:41:53 +02:00
Moritz Halbritter 84d0caf7ee Merge branch '4.0.x' into 4.1.x
Closes gh-51135
2026-07-28 10:17:26 +02:00
Moritz Halbritter 19153b69a4 Polish "Prevent Micrometer global registry from pinning application contexts"
See gh-50886
2026-07-28 10:14:06 +02:00
LordKay-sudo 7f8a75a6fb Prevent Micrometer global registry from pinning application contexts
Track meter registries added to Metrics.globalRegistry and remove them
on context close.

Disable use of the global registry in tests by default to avoid pinning
cached test contexts.

See gh-50886

Signed-off-by: LordKay-sudo <lkandiro@gmail.com>
2026-07-28 10:14:06 +02:00
wantaek 5ebd999dd6 Fix stale type reference for OTLP logging transport metadata
See gh-51119

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-25 17:24:20 +02:00
Stéphane Nicoll bc156310c2 Merge branch '4.0.x' into 4.1.x 2026-07-25 07:22:31 +02:00
Stéphane Nicoll 578aca2b08 Polish "Use RestClient in tests and infrastructure code"
See gh-51120
2026-07-25 07:22:03 +02:00
Stéphane Nicoll 7d677d066a Merge branch '4.0.x' into 4.1.x 2026-07-24 15:30:44 +02:00
Stéphane Nicoll 648e2fb5f9 Polish deprecation message
Unfortunately it is too late to flag HttpMessageConverters for removal
as it would be a breaking change in a patch release.

See gh-46411
2026-07-24 15:26:50 +02:00
Stéphane Nicoll 9821dade80 Merge branch '4.0.x' into 4.1.x
Closes gh-51121
2026-07-24 15:19:14 +02:00
Stéphane Nicoll b9ebff0084 Use RestClient in tests and infrastructure code
Closes gh-51120
2026-07-24 15:10:43 +02:00
Stéphane Nicoll 8adbbd7a70 Merge branch '4.0.x' into 4.1.x
Closes gh-51115
2026-07-24 08:52:37 +02:00
wantaek 8f832b659b Fix declared type of spring.test.mockmvc.htmlunit.url
The manual metadata entry declares java.lang.Boolean while its
description and default value ("http://localhost") describe a URL
string, and MockMvcWebClientAutoConfiguration and
MockMvcWebDriverAutoConfiguration read the property as a string.

See gh-51110

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-24 08:51:46 +02:00
Stéphane Nicoll e2b4c93c57 Polish "Honor gRPC overall health setting"
See gh-50799
2026-07-23 14:17:38 +02:00
Ahmed El amraouiyine da318b2540 Honor gRPC overall health setting
See gh-50799

Signed-off-by: Ahmed El amraouiyine <amraouiyine@gmail.com>
2026-07-23 14:16:01 +02:00
Stéphane Nicoll 7edcc06edb Merge branch '4.0.x' into 4.1.x
Closes gh-51095
2026-07-22 11:40:30 +02:00
Stéphane Nicoll 3d0ec60c8d Fix servlet-api dependency scope for spring-boot-h2-console
Closes gh-51094
2026-07-22 11:40:12 +02:00
Stéphane Nicoll bce125b7ec Merge branch '4.0.x' into 4.1.x
Closes gh-51087
2026-07-21 14:51:51 +02:00
Manu Sridharan 428806d71f Adapt to improvements in Nullaway 0.13.8
This commit adapts @Nullable when calling Map#remove as it correctly
handles nullability.

See gh-50972

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
2026-07-21 14:45:29 +02:00
Stéphane Nicoll fa6a996372 Merge branch '4.0.x' into 4.1.x
Closes gh-50964
2026-07-16 15:39:21 +02:00
Stéphane Nicoll 9f8f4da563 Polish "Preserve nested Flyway migration paths in native images"
See gh-50433
2026-07-16 15:38:24 +02:00
Dongliang Xie d9ffeee4b7 Preserve nested Flyway migration paths in native images
This commit preserves the classpath-relative path for Flyway migration
discovered by the native image resource provider so nested migrations
remain readable.

See gh-50433

Signed-off-by: Dongliang Xie <dragonfsky@gmail.com>
2026-07-16 15:38:19 +02:00
Brian Clozel 1377c3a1c2 Merge branch '4.0.x' into 4.1.x
Closes gh-50961
2026-07-16 14:53:24 +02:00
Dmitry Sulman f83576eb29 Order kotlinxJsonCodecCustomizer so user-provided customizer can go after it
Closes gh-50428

Signed-off-by: Dmitry Sulman <dmitry.sulman@gmail.com>
2026-07-16 14:52:42 +02:00
Stéphane Nicoll 7ef46fb87a Merge branch '4.0.x' into 4.1.x 2026-07-15 13:25:59 +02:00
Stéphane Nicoll 9eb03d13fb Configure virtual threads on RedisMessageListenerContainer
Closes gh-50884
2026-07-15 09:45:44 +02:00
Stéphane Nicoll d4d20787c1 Polish "Lazily resolve JPA fallback bootstrap executor"
See gh-50801
2026-07-14 17:45:54 +02:00
Ns 8c519369ec Lazily resolve JPA fallback bootstrap executor
Previously, the `entityManagerFactoryBuilder` bean method injected a
`Map<String, AsyncTaskExecutor>` to determine the fallback executor used
for background JPA bootstrapping. A `Map` parameter is resolved eagerly,
so this forced early initialization of every `AsyncTaskExecutor` bean
whenever the builder was created, even when background bootstrapping was
not in use. When an `AsyncTaskExecutor` directly or transitively
depended on the `EntityManagerFactory`, this resulted in a
`BeanCurrentlyInCreationException`.

The fallback executor is now resolved lazily.
`EntityManagerFactoryBuilder` holds a `Supplier` that is only invoked
when background bootstrapping is actually required, and the executor is
then looked up from the `BeanFactory` rather than eagerly injected. A
new `Supplier`-based constructor is added for this purpose; the existing
constructor that accepts an `AsyncTaskExecutor` is retained and
delegates to it.

The same eager `Map<String, AsyncTaskExecutor>` injection, along with an
unused private method, is also removed from
`DataJpaRepositoriesAutoConfiguration`.

See gh-50801

Signed-off-by: Ns <397827222@qq.com>
2026-07-14 17:11:14 +02:00
Stéphane Nicoll 6c160f17d9 Merge branch '4.0.x'
Closes gh-50944
2026-07-14 15:38:56 +02:00
Stéphane Nicoll bbacbc6291 Do not require WebClient.Builder in CloudFoundry auto-configuration
Closes gh-50928
2026-07-14 15:37:40 +02:00
Stéphane Nicoll 02b3242057 Merge branch '4.0.x'
Closes gh-50943
2026-07-14 11:38:01 +02:00
Yanming Zhou 7522f679fd Inject Customizers as ObjectProvider to keep consistency
See gh-50909

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-07-14 11:23:34 +02:00
Stéphane Nicoll 666d7d042d Merge branch '4.0.x'
Closes gh-50942
2026-07-14 11:12:24 +02:00