Commit Graph
1056 Commits
Author SHA1 Message Date
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
Stéphane Nicoll b103d2bb4c Polish "Add support for configuring a custom SessionTimeout bean"
See gh-49883
2026-04-07 15:08:09 +02:00
Bart Sopers 4cef72b798 Add support for configuring a custom SessionTimeout bean
This commit allows a user-defined SessionTimeout bean to take control
over the auto-configuration of the timeout.

See gh-49883

Signed-off-by: Bart Sopers <15631208+bartsopers@users.noreply.github.com>
2026-04-07 15:04:15 +02:00
Stéphane Nicoll c44336780d Merge branch '4.0.x' 2026-04-07 14:55:17 +02:00
Stéphane Nicoll d93a3f21e9 Polish 2026-04-07 14:50:30 +02:00
Stéphane Nicoll 25150f41de Upgrade to Flyway 12.3.0
Closes gh-49924
2026-04-07 10:48:28 +02:00
Stéphane Nicoll cdbf74fc3a Document missing duration unit in GrpcClientProperties
See gh-49722
Closes gh-49879
2026-04-03 12:33:35 +02:00
Brian Clozel 0acd01d989 Merge branch '4.0.x'
Closes gh-49881
2026-04-03 11:01:36 +02:00
Brian Clozel 3aad18a774 Merge branch '3.5.x' into 4.0.x 2026-04-03 10:56:16 +02:00
Stéphane Nicoll 27b4a3fc34 Merge branch '4.0.x'
Closes gh-49874
2026-04-03 08:43:44 +02:00
Hyeongjun Cho 481efb20cd Fix typo in JdbcSessionAutoConfiguration Javadoc
See gh-49873

Signed-off-by: Hyeongjun Cho <ryuu.public@gmail.com>
2026-04-03 08:40:23 +02:00
Moritz Halbritter 09ece896a5 Merge branch '4.0.x'
Closes gh-49870
2026-04-02 11:16:36 +02:00
Moritz Halbritter d437c11761 Merge branch '3.5.x' into 4.0.x
Closes gh-49869
2026-04-02 11:12:20 +02:00
Moritz Halbritter dc375134f9 Merge branch '4.0.x'
Closes gh-49867
2026-04-02 10:47:07 +02:00
Moritz Halbritter 4f47202910 Merge branch '3.5.x' into 4.0.x
Closes gh-49866
2026-04-02 10:46:26 +02:00
Moritz Halbritter a04b65ea74 Set embeddedValueResolver on WebConversionService
Closes gh-8923
2026-04-02 08:57:22 +02:00