Commit Graph

26504 Commits

Author SHA1 Message Date
Stéphane Nicoll
cfd5e45d57 Remove link
See gh-44767
2025-04-10 10:13:31 +02:00
Andy Wilkinson
3580f1aa36 Polish "Add details of the purpose of the metrics endpoint"
See gh-44767
2025-04-10 10:08:02 +02:00
Jonatan Ivanov
23c3c2753a Add details of the purpose of the metrics endpoint
See gh-44767
2025-04-10 10:08:02 +02:00
Phillip Webb
c6e74955a7 Update copyright year of changed files 2025-04-09 14:51:49 -07:00
Phillip Webb
4af0ee20d1 Work around Spring Framework cache pollution bug
Update `SpringApplication` to work around `SpringFactoriesLoader`
cache pollution by loading factories using a `null` class loader.

See https://github.com/spring-projects/spring-framework/pull/34732
for details.
2025-04-09 14:51:17 -07:00
Phillip Webb
46b14de6e9 Polish 'Handle generics with identical names in different positions'
See gh-45011
2025-04-08 15:07:51 -07:00
Dmytro Nosan
e24fd50615 Handle generics with identical names in different positions
Update `TypeUtils` to handle generics with identical names in different
positions.

See gh-45011

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-08 15:05:42 -07:00
Neven C
f13dc345cf Escape the asterisk in spring-application.adoc
See gh-45032

Signed-off-by: Neven C <neven.cvetkovic@gmail.com>
2025-04-08 11:26:19 +02:00
Phillip Webb
5d1e488344 Polish 2025-04-07 16:20:52 -07:00
Yanming Zhou
89fb48691a Polish AutoConfigurationMetadataLoader
Align to other final classes, the protected modifier is meaningless.

See gh-45020

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-04-07 14:30:02 +02: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
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
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
88e8c17369 Update copyright year of changed files 2025-04-03 18:06:14 -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
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
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
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
a8381e7cbd Ensure that only spring-core's ReflectionUtils is used
Closes gh-44837
2025-04-01 10:30:58 +01:00
Andy Wilkinson
d07cc59907 Polish security documentation
This commit updates the WebFlux security documentation, primarily to
link to reactive types rather than their Servlet-based equivalents.
It also attempts to clarify when a user details service is
auto-configured.

Closes gh-44955
2025-04-01 10:05:25 +01:00
Andy Wilkinson
6ad48639c2 Back port 246c4a2 to 3.3.x
The changes do not apply cleanly when cherry-picked so they
have been redone manually.

Closes gh-44941
2025-03-28 16:48:50 +00:00
Andy Wilkinson
bed6ad3c43 Polish UserDetailsServiceAutoConfigurationTests
Closes gh-44939
2025-03-28 16:26:47 +00:00
Andy Wilkinson
aab929d029 Polish ReactiveUserDetailsServiceAutoConfigurationTests
Closes gh-44934
2025-03-28 14:49:21 +00:00
Andy Wilkinson
d1345c4d9e Address javadoc warnings in FileWatcherTests 2025-03-28 09:10:19 +00:00
Andy Wilkinson
7b29e6535d Move ErrorAttributesOptionsTests to correct package
Closes gh-44920
2025-03-27 19:52:44 +00:00
Stéphane Nicoll
dd1ac616f3 Clarify the behavior if multiple Executor beans are present
Closes gh-44907
2025-03-26 16:06:06 +01:00
Andy Wilkinson
2f7d598f41 Check imported boms for unwanted dependency management
Closes gh-42523
2025-03-26 10:52:30 +00:00
Andy Wilkinson
95d89fba94 Remove no-longer-used effective bom artifact
Closes gh-44894
2025-03-25 17:53:23 +00:00
Dmytro Nosan
14bbceb038 Watch symlinks for changes for SSL hot reloading
Prior to this commit, the SSL file hot reloading feature would
create file watchers for all configured locations and would resolve
symbolic links if they're found as registrations.

This arrangement would work for typical Let's Encrypt setups, but
would not get notified of consecutive changes for k8s setups.
Kubernetes uses a mix of symlinks and atomic file moves to update
secrets.

This commit not only tracks changes to symlinks targets, but also
to the original symlink.

Closes gh-44807

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
[brian.clozel@broadcom.com: apply code conventions]
Signed-off-by: Brian Clozel <brian.clozel@broadcom.com>
2025-03-25 18:19:02 +01:00
Andy Wilkinson
4f91d41666 Source version properties for Maven plugin tests from resolved bom
Closes gh-44886
2025-03-25 17:05:45 +00:00
Andy Wilkinson
7d9bbb685e Remove unused dependenciesBom configuration
Closes gh-44883
2025-03-25 16:34:34 +00:00
Andy Wilkinson
1047c2158a Use resolved bom as source of javadoc links
Closes gh-44878
2025-03-25 16:28:27 +00:00
Andy Wilkinson
7b2d90811d Rewrite process for documenting managed dependencies
Previously, managed dependencies were documented using Gradle's
dependency constraints. This has proven to be non-deterministic for
reasons that are not fully understood. The working theory is that
the constraints that are documented vary depending on the tasks
that the build has run at the point at which the constraints are
being examined and documented.

This commit replaces approach with one that builds a model of a
resolved bom by examining the configured bom extension and the
XML of the Maven boms that it imports. This model is written to
disk from where it can then be consumed as a dependency on other
projects. The existing tasks for documenting the constrained
versions and version properties have been rewritten to use the
resolved bom model instead.

Closes gh-44855
2025-03-25 14:44:34 +00:00
Stéphane Nicoll
b67a6551f9 Stop relying on jakarta.annotation in EmbeddedLdapAutoConfiguration
Closes gh-44870
2025-03-25 11:21:20 +01:00
Phillip Webb
587ec6d8d4 Fix incorrect ConfigurationPropertyName javadoc 2025-03-24 13:39:43 -07:00
Stéphane Nicoll
c7f31ed12f Stop relying on test resources from another package
Closes gh-44836
2025-03-21 16:46:06 +01:00
Stéphane Nicoll
f94418dd6d Remove outdated classpath exclusions on Hazelcast client
Hazelcast client is no longer shipped as a separate JAR so the exclusion
doesn't do anything.

Closes gh-44835
2025-03-21 16:40:11 +01:00
Stéphane Nicoll
ced7eff799 Relocate JpaWebAutoConfigurationTests
Closes gh-44834
2025-03-21 16:29:19 +01:00
Stéphane Nicoll
1a608b7005 Add Yanming to the list of contributors
See gh-44800
2025-03-21 08:14:17 +01:00
Yanming Zhou
81db52063a Polishing BatchAutoConfigurationTests
1. Rename `TestConfiguration` to `TestJpaConfiguration` and remove unnecessary reference.
2. Use `withBean` instead of `withUserConfiguration` to avoid new configuration class.
3. Use kebab-case for configuration key

See gh-44800

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-03-21 08:12:45 +01:00
Stéphane Nicoll
28f8e3812b Fix code format
See gh-44787
2025-03-21 08:01:06 +01:00
Michael Yan
78b9eca670 Polish javadoc of SpringProfileAction
See gh-44787

Signed-off-by: Michael Yan <rain@rainboyan.com>
2025-03-21 07:59:35 +01:00
Michael Yan
45a99f9e5a Remove extra whitespace in logback defaults.xml
See gh-44786

Signed-off-by: Michael Yan <rain@rainboyan.com>
2025-03-21 07:55:14 +01:00
Stéphane Nicoll
3ea272ac2a Rewrite 2nd level cache to use ehcache
Closes gh-44809
2025-03-21 07:53:48 +01:00
Stéphane Nicoll
9091f3f58f Make link to DataSourceAutoConfiguration explicit
This commit updates DataSourceTransactionManagerAutoConfiguration to
explicitly states it should run after DataSourceAutoConfiguration.

Closes gh-44810
2025-03-21 07:53:30 +01:00
Stéphane Nicoll
7733551e0b Stop relying on JPA entities from another module in tests
Closes gh-44804
2025-03-21 07:53:08 +01:00
Moritz Halbritter
80b6c59669 Improve debuggability of DockerComposeTestExtension 2025-03-19 09:42:22 +01:00
Moritz Halbritter
6b9cd873ca Use gvenzl/oracle-free:23.6-slim which has ARM64 support
See gh-35249
2025-03-19 09:22:58 +01:00
Andy Wilkinson
5f11a6d42e Upgrade to Spring WS 4.0.12
Closes gh-44564
2025-03-19 07:40:12 +00:00
Andy Wilkinson
bffbf84354 Upgrade to Spring Security 6.3.8
Closes gh-44563
2025-03-19 07:40:12 +00:00