Commit Graph
886 Commits
Author SHA1 Message Date
Stéphane Nicoll ada7ac7c48 Apply consumer-specific security protocol
Closes gh-51365
2026-08-11 17:46:39 +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
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 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
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 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 b9ebff0084 Use RestClient in tests and infrastructure code
Closes gh-51120
2026-07-24 15:10:43 +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 3d0ec60c8d Fix servlet-api dependency scope for spring-boot-h2-console
Closes gh-51094
2026-07-22 11:40:12 +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 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
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 bbacbc6291 Do not require WebClient.Builder in CloudFoundry auto-configuration
Closes gh-50928
2026-07-14 15:37:40 +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 a0c8fa445b Polish "Guard reactive Cloud Foundry health extension"
See gh-50916
2026-07-14 11:09:17 +02:00
Lee JiWon bda889997d Guard reactive Cloud Foundry health extension
Move the reactive Cloud Foundry health endpoint extension into a
health-specific configuration guarded by @ConditionalOnClass. When
spring-boot-health is absent, scanning the outer configuration attempts
to resolve ReactiveHealthEndpointWebExtension and causes context refresh
to fail.

See gh-50916

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
2026-07-14 08:37:44 +02:00
Stéphane Nicoll a57da0c57a Polish "Apply GraphQL customizers in order"
See gh-50908
2026-07-03 12:32:28 +02:00
Yanming Zhou f96808edfa Apply GraphQL customizers in order
See gh-50908

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-07-03 12:17:18 +02:00
Stéphane Nicoll 22eef97293 Add missing or outdated copyright headers
See gh-50894
2026-06-30 10:04:39 +02:00
Andy Wilkinson 81aa1367f5 Polish "Remove unnecessary @Nullables from local array variable declarations"
See gh-50881

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-06-29 10:29:10 +01:00
Yanming Zhou dff33aec55 Remove unnecessary @Nullables from local variable declarations
See gh-50866

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2026-06-28 10:39:07 +01:00
Dmytro Nosan 43985f1356 Update OpenTelemetryResourceAttributes documentation
Clarify service.name and service.namespace defaults and remove
obsolete service.group documentation

See gh-50867

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2026-06-27 13:27:35 +01:00
Lee JiWon 9cfa980a4d Avoid loading health classes in Jersey config
Move the Jersey additional health endpoint paths registrar into a
health-specific configuration so Jersey management endpoint support can
refresh when spring-boot-health is absent.

See gh-50858

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
2026-06-27 12:53:18 +01:00
Lee JiWon 48054ea77b Avoid loading health classes in Cloud Foundry
Move the Cloud Foundry health endpoint extension bean into a
health-specific configuration. This lets the actuator configuration
refresh when spring-boot-health is absent.

See gh-50857

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
2026-06-27 12:48:47 +01:00
seonwoo_jung 019ea06a6a Run a single hello command in MongoDB health indicators
The MongoDB health indicators ran the `hello` command against every
database returned by `listDatabaseNames()`. For the reactive
indicator these commands were issued in parallel via `flatMap`, so a
deployment with many databases per connection could open a connection
per database on each health check, dramatically increasing connection
usage (a regression from the Spring Data based implementation used
previously).

Since `hello` is a server-level command whose result is independent
of the target database, run it only once, against the `admin`
database if available or the first returned database otherwise. The
`databases` and `maxWireVersion` details are preserved.

See gh-50734

Signed-off-by: seonwoo_jung <79202163+seonwooj0810@users.noreply.github.com>
2026-06-24 19:31:03 +01:00
Yanming Zhou 9d5c98b7e9 Replace isAssignableFrom() with isInstance() where feasible
Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>

See gh-50750
2026-06-24 19:11:59 +01:00
Andy Wilkinson a49549203b Polish "Treat empty JWK Set URI as absent"
See gh-50755

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-06-24 17:48:11 +01:00
Vinod Kumar 8eb3b032a4 Treat empty JWK Set URI as absent
Signed-off-by: Vinod Kumar <codingkiddo@gmail.com>

See gh-50755
2026-06-24 17:34:15 +01:00
Lee JiWon 28b995ad98 Allow other configurers to run before PropertiesWebClientHttpServiceGroupConfigurer
Apply the same fix as 72eaeecd5c to the WebClient sibling so that a
WebClientHttpServiceGroupConfigurer can be ordered ahead of the
properties configurer to supply an initial WebClient.Builder.

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>

See gh-50737
2026-06-24 12:15:19 +01:00
yamamoto-ehhMH 57dec87e28 Fix typo in DataSourceBuilderTests
See gh-50804

Signed-off-by: yamamoto-ehhMH <yamamoto@reskill.jp>
2026-06-22 08:56:58 +02:00
Lee JiWon 4b542efc0c Only set Partitioned cookie attribute when true
The session cookie's Partitioned attribute was set to "" for any
non-null value, so an explicit `partitioned=false` was rendered the
same as `true`. PropertyMapper.to() only filters null, so
Boolean.FALSE reached the consumer and the attribute was always set.

Use whenTrue() so the attribute is set only when partitioned is true,
leaving false and unset to fall through to the container default.

Closes gh-50781

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
2026-06-18 16:52:55 +02:00
Andy Wilkinson bb247bb42f Merge branch '3.5.x' into 4.0.x
Closes gh-50746
2026-06-10 15:53:08 +01:00
Andy Wilkinson 339ce3db43 Merge branch '3.5.x' into 4.0.x
Closes gh-50744
2026-06-10 15:46:51 +01:00
Andy Wilkinson 15406bed75 Reapply "Upgrade to Netty 4.2.15.Final"
This reverts commit 490614fe7e.

Closes gh-50692
2026-06-04 09:00:27 +01:00
Lee JiWon 9446bd7420 Fall back to default SSL provider for unmapped SNI
The RSocket WebSocket transport's HttpServerSslCustomizer kept its own
copy of the SNI provider lookup that returned null for server names
without a mapped SSL bundle. This commit adapts the copy to fall back
to the default provider, as it is done in gh-50301.

See gh-50640

Signed-off-by: Lee JiWon <dlwldnjs1009@gmail.com>
2026-05-31 16:31:58 +02:00
Stéphane Nicoll 4aac37cdf1 Merge branch '3.5.x' into 4.0.x
Closes gh-50634
2026-05-30 16:26:48 +02:00
Dmytro Nosan 7c23813752 Restore Spring Security integration with HtmlUnitDriver
Prior to this commit, securityDelegateMockMvcHtmlUnitDriverCustomizer
did not have an @Bean annotation and therefore
was not registered as a bean in SecurityMockMvcAutoConfiguration.

See gh-50602

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2026-05-30 15:45:22 +02:00
Stéphane Nicoll f6f1d57c6a Merge pull request #50375 from Kimgyuilli
* fix-stale-configuration-metadata-source-types:
  Fix stale type references in configuration metadata

Closes gh-50375
2026-05-30 14:45:14 +02:00
Kimgyuilli ed6c375d19 Fix stale type references in configuration metadata
See gh-50375

Signed-off-by: Kimgyuilli <rlarbdlf222@naver.com>
2026-05-30 14:42:13 +02:00
Stéphane Nicoll 23829221ef Remove sourceType from deprecated properties with error level
See gh-50375
2026-05-30 14:29:04 +02:00
Stéphane Nicoll 98084aab2b Reformat additional-spring-configuration-metadata.json files 2026-05-30 14:28:53 +02:00
Stéphane Nicoll 1a092b779f Handle Gson explicitly in CodecsAutoConfigurationTests
The change in gh-50447 added gson on the runtime classpath, which broke
a test that looks for "any" JSON support, but only filtered Jackson and
Jackson 2.

This commit adds an explicit optional dependency to gson and adapt the
test accordingly.

See gh-50447
2026-05-30 12:59:18 +02:00
Stéphane Nicoll 170c52f206 Merge branch '3.5.x' into 4.0.x
Closes gh-50611
2026-05-29 11:32:24 +02:00
Stéphane Nicoll e51e8215d7 Merge branch '3.5.x' into 4.0.x
Closes gh-50609
2026-05-29 11:13:43 +02:00
Moritz Halbritter 6a8a3ff4f0 Merge branch '3.5.x' into 4.0.x
Closes gh-50507
2026-05-27 10:22:41 +02:00
Stéphane Nicoll 8e337c5ddc Merge branch '3.5.x' into 4.0.x
Closes gh-50496
2026-05-25 17:09:13 +02:00
Andy Wilkinson add52b6ccd Merge branch '3.5.x' into 4.0.x
Closes gh-50439
2026-05-14 15:02:24 +01:00