Commit Graph
1071 Commits
Author SHA1 Message Date
Andy Wilkinson ab17dd80ef Merge branch '4.0.x'
Closes gh-50182
2026-04-23 08:50:37 +01:00
Andy Wilkinson 3a9d836621 Merge branch '3.5.x' into 4.0.x
Closes gh-50180
2026-04-23 08:50:07 +01:00
Andy Wilkinson 7a4d9e4cdb Merge branch '4.0.x'
Closes gh-50177
2026-04-23 08:46:21 +01:00
Andy Wilkinson fd70564879 Merge branch '3.5.x' into 4.0.x
Closes gh-50176
2026-04-23 08:45:56 +01:00
Andy Wilkinson 18e3091c24 Merge branch '4.0.x'
Closes gh-50175
2026-04-23 08:44:28 +01:00
Andy Wilkinson f8bb8162d1 Merge branch '3.5.x' into 4.0.x
Closes gh-50174
2026-04-23 08:43:58 +01:00
Andy Wilkinson 0277a4fad5 Merge branch '4.0.x'
Closes gh-50163
2026-04-22 21:07:54 +01:00
Andy Wilkinson ad25c28b6d Merge branch '3.5.x' into 4.0.x
Closes gh-50162
2026-04-22 20:51:26 +01:00
Phillip Webb f651030f9b Align HttpClient defaults with Spring Framework and provide an opt-out
Update default for `ReactorClientHttpRequestFactoryBuilder` and
`ReactorClientHttpConnectorBuilder` to align with Spring Framework.

Also provide method of opting out in case proxyWithSystemProperties is
not wanted.

Closes gh-49950
2026-04-21 22:25:14 -07:00
Phillip Webb e62a0409c9 Add @GrpcAdvice exception handling support
Closes gh-49053
2026-04-21 20:03:03 -07:00
Phillip Webb 752be34e1c Fix GrpcDisableCsrfHttpConfigurer logic and add metadata
Fix the `GrpcDisableCsrfHttpConfigurer` logic so that the property
`spring.grpc.server.security.csrf.enabled` is used correctly.

Also add missing metadata.

Fixes gh-50145
2026-04-21 19:58:39 -07:00
Moritz Halbritter b21ade191c Polish "Monitor truststore certificates in SslMeterBinder"
See gh-49641
2026-04-21 12:33:44 +02:00
bbbbooo f169bf8a48 Monitor truststore certificates in SslMeterBinder
See gh-49641

Signed-off-by: bbbbooo <hyeons1213@gmail.com>
2026-04-21 12:25:49 +02:00
Moritz Halbritter 02df21cc07 Polish "Add support for docker.elastic.co/elasticsearch/elasticsearch"
See gh-50119
2026-04-20 09:03:40 +02:00
itsmevichu 1b712e0434 Add support for docker.elastic.co/elasticsearch/elasticsearch
See gh-50119

Signed-off-by: itsmevichu <vishnutheep@gmail.com>
2026-04-20 08:51:50 +02:00
Stéphane Nicoll 58c7a0f4e7 Merge branch '4.0.x'
Closes gh-50127
2026-04-20 08:21:39 +02:00
Stéphane Nicoll 1aaef07448 Apply API versioning path segment strategy last
This commit adapts the auto-configuration for API versioning to apply
the path segment last as this strategy is not meant to yield. It also
clarifies that configuration properties should not be used if ordering
of the strategies is important.

Closes gh-49800
2026-04-20 08:14:01 +02:00
Andy Wilkinson 05d6159512 Narrow icons pattern of StaticResourceLocation.FAVICON
Closes gh-50084
2026-04-16 09:39:53 +01:00
Andy Wilkinson 298984b749 Merge branch '4.0.x'
Closes gh-50086
2026-04-16 09:07:42 +01:00
Andy Wilkinson a96de880e0 Merge branch '3.5.x' into 4.0.x
Closes gh-50085
2026-04-16 09:07:18 +01:00
Andy Wilkinson 2f73d15e35 Update distribution properties to support long task timers
Previously, LongTaskTimers were ignored when configuring a
distribution's min and max expected values and SLO boundaries. This
commit adds support, aligning them with the existing support for
Timers.

Fixes gh-49190
2026-04-15 15:01:41 +01:00
Andy Wilkinson 60c7922b20 Merge branch '4.0.x'
Closes gh-50078
2026-04-15 14:45:55 +01:00
Andy Wilkinson fc426a74ad Merge branch '3.5.x' into 4.0.x
Closes gh-50077
2026-04-15 14:43:43 +01:00
Stéphane Nicoll e544995a5b Merge branch '4.0.x'
Closes gh-50072
2026-04-15 08:40:40 +02:00
Stéphane Nicoll 967b468665 Add missing modules to classic starters
Closes gh-50071
2026-04-15 08:30:11 +02:00
Stéphane Nicoll c91f61d23e Merge branch '4.0.x'
Closes gh-50070
2026-04-15 08:11:26 +02:00
Venkata Naga Sai Srikanth Gollapudi 9ea60cdad3 Add spring-boot-resttestclient to spring-boot-test-classic-modules
See gh-50069

Signed-off-by: Venkata Naga Sai Srikanth Gollapudi <42247688+GollapudiSrikanth@users.noreply.github.com>
2026-04-15 08:05:36 +02:00
Phillip Webb 52cef18686 Support InetAddress filtering for HTTP Clients
Add `InetAddressFilter` interface which can be provided by
`HttpSettings` to filter out addresses in order to harden
applications against SSRF attacks.

Closes gh-49687
2026-04-13 22:03:50 -07:00
Stéphane Nicoll 495d16b1f8 Add auto-configuration for Redis annotation-driven listeners
This commit adds support for `@RedisListener` by providing the
infrastructure to register those endpoints using a default
`RedisMessageListenerContainer`.

Users wishing to configure additional containers can benefit from
`RedisMessageListenerContainerConfigurer`. The default container can
be tuned using new properties in the `spring.data.redis.listener`
namespace.

Closes gh-49858
2026-04-13 13:24:25 +02:00
Stéphane Nicoll d19b2e09bc Merge branch '4.0.x'
Closes gh-50040
2026-04-13 08:55:51 +02:00
Stéphane Nicoll 53cbe69150 Merge branch '3.5.x' into 4.0.x
Closes gh-50039
2026-04-13 08:55:43 +02:00
Stéphane Nicoll dd5fdf7589 Merge branch '4.0.x'
Closes gh-50020
2026-04-10 15:31:32 +02:00
Stéphane Nicoll fdc81ab029 Merge branch '3.5.x' into 4.0.x
Closes gh-50019
2026-04-10 15:31:18 +02:00
Stéphane Nicoll c76b6b8c66 Add lazy JDBC connection fetching for pooled DataSources
This commit allows wrapping the auto-configured pooled DataSource in a
proxy that fetches connections as late as possible. JMX registration of
the underlying pool is preserved.

Closes gh-15480
2026-04-10 15:21:23 +02:00
Andy Wilkinson 783dcb9d97 Merge branch '4.0.x'
Closes gh-50018
2026-04-10 12:37:02 +01:00
Andy Wilkinson cd88bf71f5 Merge branch '3.5.x' into 4.0.x
Closes gh-50017
2026-04-10 12:28:27 +01:00
Andy Wilkinson 3ce5cbfcd8 Merge branch '4.0.x'
Closes gh-49988
2026-04-09 09:01:10 +01:00
Andy Wilkinson 64969bfea8 Ensure that mock infra is defined before Security auto-config
We need to ensure that MockMvcAutoConfiguration has defined its
DispatcherServletPath bean before the condition that checks for it in
ServletWebSecurityAutoConfiguration is evaluated.

Ideally, ServletWebSecurityAutoConfiguration in spring-boot-security
would not know about test-specific code but there's no easy way to
establish the required ordering without this link. One alternative
option is an auto-configuration class in spring-boot-security-test
that's purely for ordering purposes. This was rejected as it would
introduce new public API (as we enforce that all auto-configurations
are public).

Fixes gh-49854
2026-04-09 08:42:36 +01:00
Andy Wilkinson 147be28138 Merge branch '4.0.x'
Closes gh-49957
2026-04-08 09:42:45 +01:00
Andy Wilkinson edcc937add Align FAIL_ON_UNKNOWN_PROPERTIES with Spring Boot 3.x
In Spring Boot 3.x, Jackson2ObjectMapperBuilder disabled
FAIL_ON_UNKNOWN_PROPERTIES. This commit aligns the behavior of
use-jackson2-defaults with this.

This commit also ensures that DEFAULT_VIEW_INCLUSION is disabled. It
was enabled by default in Jackson 2 and then disabled by
Jackson2ObjectMapperBuilder. At the time of writing, Jackson 3's
configureForJackson2() method does not enable DEFAULT_VIEW_INCLUSION.
Should that ever be corrected/changed in Jackson 3, this additional
change in this commit ensures that the Boot will continue to have the
desired default.

Fixes gh-49951
2026-04-08 08:38:32 +01:00
Stéphane Nicoll 08577572a5 Add missing configuration properties for KafkaTemplate
Closes gh-49954
2026-04-08 08:18:26 +02:00
Stéphane Nicoll d16b4ec3c5 Merge branch '4.0.x' 2026-04-08 07:31:39 +02:00
Stéphane Nicoll 308c4317e0 Merge branch '3.5.x' into 4.0.x 2026-04-08 07:31:30 +02:00
Phillip Webb 6f409f7dd6 Polish code for upcoming Spring Security nullability changes
Update code and tests in preparation of upcoming Spring Security
`Nullable` annotation updates.
2026-04-07 22:27:19 -07:00
Phillip Webb e434ee17ca Fix WebFlux test Timezone issue
Fix test that fails in certain timezones.

See gh-8923
2026-04-07 22:20:03 -07:00
Phillip Webb e1dd40a923 Fix test Timezone issue
Fix test that fails in certain timezones.

See gh-8923
2026-04-07 18:03:14 -07:00
Stéphane Nicoll 3062dbdb2e Merge branch '4.0.x'
Closes gh-49947
2026-04-07 17:33:48 +02:00
Stéphane Nicoll d7a475fcd9 Merge branch '3.5.x' into 4.0.x
Closes gh-49946
2026-04-07 17:33:38 +02:00
Brian Clozel f287cd34b8 Merge branch '4.0.x'
Closes gh-49944
2026-04-07 17:09:21 +02:00
Brian Clozel 5c506b148f Merge branch '3.5.x' into 4.0.x
Closes gh-49943
2026-04-07 17:05:52 +02:00