Commit Graph

27185 Commits

Author SHA1 Message Date
Stéphane Nicoll
60b028e7cb Merge branch '3.3.x'
Closes gh-43377
2024-12-04 10:57:58 +01:00
Stéphane Nicoll
cc274ccdca Polish "Polish formatting of log configuration file"
See gh-43322
2024-12-04 10:33:58 +01:00
Yanming Zhou
3f17e42b38 Polish formatting of log configuration file
1. Remove space before `/>` to keep consistency.
2. Capitalize `filters` for Log4j2.
3. Uppercase log level to keep consistency.

See gh-43322
2024-12-04 10:28:28 +01:00
Phillip Webb
1d578a8213 Merge branch '3.3.x' 2024-12-03 20:30:36 -08:00
Phillip Webb
3dcea98f00 Polish redirect.adoc by sorting contents alphabetically 2024-12-03 20:30:09 -08:00
Phillip Webb
01ea503383 Merge branch '3.3.x'
Closes gh-43372
2024-12-03 20:29:49 -08:00
Phillip Webb
709cd91b3e Add legacy anchor redirects
Add anchor redirects previously covered by the
`anchor-rewrite.properties` file.

See gh-43367
2024-12-03 20:17:14 -08:00
Phillip Webb
75a3722ee4 Add more anchor redirects
See gh-43367
2024-12-03 20:16:51 -08:00
Phillip Webb
6155735ac5 Merge branch '3.3.x'
Closes gh-43370
2024-12-03 19:07:55 -08:00
Phillip Webb
4265a0bcc2 Reset Startables COUNTER when testing parallel startup
Closes gh-43369
2024-12-03 19:07:16 -08:00
Phillip Webb
3ddfd62f16 Prefer file resolution when loading SSL content
Update `SslAutoConfiguration` so that the used resource loader prefers
file based resolution when paths are specified without a prefix. This
restores the behavior found in Spring Boot 3.3.

The `ApplicationResourceLoader` has been updated with a new `get` method
that accepts a `preferFileResolution` parameter. Unfortunately, we can't
directly influence the resource returned by the delegate
`ResourceLoader` since we can't override `getResourceByPath(...)`.
Instead we check if the returned type was likely to have been created
by a call to that method. If so, we change it to a `FileSystemResource`.

This approach should hopefully work with `DefaultResourceLoader` and
subclasses.

Fixes gh-43274
2024-12-03 15:00:15 -08:00
Phillip Webb
7a4e071709 Polish 2024-12-03 14:45:25 -08:00
Phillip Webb
3e37a50b1e Fix actuator access documentation to use 'none' rather than 'disabled'
Closes gh-43351
2024-12-03 12:01:07 -08:00
Phillip Webb
91778e9f96 Merge branch '3.3.x'
Closes gh-43359
2024-12-02 19:05:21 -08:00
Phillip Webb
b340c855c0 Prevent H2 console from causing early DataSource initialization
Update `H2ConsoleAutoConfiguration` so that DataSource connection
logging occurs outside of the `ServletRegistrationBean`.

Fixes gh-43337
2024-12-02 19:05:16 -08:00
Phillip Webb
dd64b0648f Merge branch '3.3.x'
Closes gh-43356
2024-12-02 13:59:53 -08:00
Phillip Webb
0afbc0b23c Polish 'Accept Docker progress on numbers >2GB'
Restore `int` returns for existing methods and deprecate them in
favor of a new `asPercentage()` method.

See gh-43328
2024-12-02 13:58:03 -08:00
Wolfgang Kronberg
d8565185e8 Accept Docker progress on numbers >2GB
Update `ProgressUpdateEvent` to support images of a file size
>2GB without provoking build failures.

See gh-43328
2024-12-02 13:56:09 -08:00
Moritz Halbritter
d5344e3f1b Polish "Fix property name in OnEnabledLoggingExportConditionTests"
See gh-43331
2024-12-02 13:52:01 +01:00
Johnny Lim
1f17e0125d Fix property name in OnEnabledLoggingExportConditionTests
See gh-43331
2024-12-02 13:49:39 +01:00
Moritz Halbritter
ff9fde0ef4 Polish "Make UserDetailsServiceAutoConfiguration conditional on servlet app"
See gh-43334
2024-12-02 13:40:51 +01:00
BenchmarkingBuffalo
c5d41f1469 Make UserDetailsServiceAutoConfiguration conditional on servlet app
See gh-43334
2024-12-02 13:22:07 +01:00
Moritz Halbritter
07bc5f2563 Polish "Remove redundant null check for sorter"
See gh-43343
2024-12-02 11:39:37 +01:00
Jae-Young98
bd367803d1 Remove redundant null check for sorter
See gh-43343
2024-12-02 11:37:56 +01:00
Stéphane Nicoll
5e33808607 Merge branch '3.3.x'
Closes gh-43342
2024-12-02 09:42:52 +01:00
Yanming Zhou
d81678016e Restore System property in Logging section of the reference documentation
Before this commit, it is rendered as an unexpected link with simple class
name, it should be full qualified class name.

See gh-43341
2024-12-02 09:42:08 +01:00
BenchmarkingBuffalo
b86b81da35 Remove prohibited undertow upgrade restriction
See gh-43333
2024-12-02 09:36:01 +01:00
Stéphane Nicoll
615b199364 Update copyright year of changed file
See gh-43316
2024-11-29 10:35:12 +01:00
Johnny Lim
859c235a95 Polish
See gh-43316
2024-11-29 10:35:11 +01:00
Yanming Zhou
aaaeddcd7d Update javadoc to describe registration through spring.factories
See gh-43313
2024-11-29 09:22:49 +00:00
Andy Wilkinson
512584d990 Merge branch '3.3.x'
Closes gh-43325
2024-11-29 09:18:28 +00:00
Stefano Cordio
26b1d74470 Fix link to proxyBeanMethods in @AutoConfiguration javadoc
See gh-43323
2024-11-29 09:17:27 +00:00
Andy Wilkinson
d96aef219f Merge branch '3.3.x'
Closes gh-43324
2024-11-29 09:08:53 +00:00
Tran Ngoc Nhan
82652aba49 Fix Servlet and JPA javadoc links
See gh-43320
2024-11-29 09:07:19 +00:00
Andy Wilkinson
f3a161afdd Enable relaxed matching of enabled and access properties
The lowercase form of the endpoint ID needs to be used so that
relaxed matching of properties, as provided by
ConfigurationPropertySources, works as intended. Without this
change the id of the endpoint in a property had to be an exact
match of the endpoint's ID.

Closes gh-43302
2024-11-28 14:17:37 +00:00
Andy Wilkinson
b5feadab13 Merge pull request #43314 from quaff
* gh-43314:
  Polish "Document StructuredLoggingJsonMembersCustomizer constructor params"
  Document StructuredLoggingJsonMembersCustomizer constructor params

Closes gh-43314
2024-11-28 13:39:51 +00:00
Andy Wilkinson
15109b2eb2 Polish "Document StructuredLoggingJsonMembersCustomizer constructor params"
See gh-43314
2024-11-28 13:39:30 +00:00
Yanming Zhou
34ac045073 Document StructuredLoggingJsonMembersCustomizer constructor params
See gh-43314
2024-11-28 13:38:05 +00:00
Andy Wilkinson
d3c5a4bf8d Merge branch '3.3.x'
Closes gh-43315
2024-11-28 11:34:59 +00:00
Andy Wilkinson
5cff43ddff Link to EnableMethodSecurity instead of EnableGlobalMethodSecurity
Closes gh-43308
2024-11-28 11:33:37 +00:00
Andy Wilkinson
a1c1e32947 Call spring.factories customizers in the same way as one from props
Previously, customizers loaded from spring.factories were called
using LambdaSafe. This resulted in customizers with a generic type
more specific than Object being ignored. A customizer loaded from
the logging.structured.json.customizer property was not affected as
it was called directly rather than through LambdaSafe.

This commit aligns the way in which customizers loaded from
spring.factories are called with the way in which any customizer
specified using the logging.structured.json.customizer property is
called.

Closes gh-43312
2024-11-28 11:08:32 +00:00
Stéphane Nicoll
f9aedf5a43 Merge branch '3.3.x'
Closes gh-43311
2024-11-28 09:31:02 +01:00
Tran Ngoc Nhan
57a5fa0555 Fix Javadoc link for Hikari
See gh-43305
2024-11-28 09:26:40 +01:00
Andy Wilkinson
74d69d0eb1 Merge branch '3.3.x'
Closes gh-43307
2024-11-27 20:14:23 +00:00
Andy Wilkinson
7bc709c32f Fix subName from adapted name with value processor
Previously, when a configuration property name was created by
adapting a source with a value processor, creating sub names from
that property name did not work correctly. This broke binding of
prefixed environment variables to a map as the ancestor checking
did not work.

Fixes gh-43304
2024-11-27 19:34:35 +00:00
Stéphane Nicoll
de268324e0 Merge branch '3.3.x'
Closes gh-43299
2024-11-27 08:25:00 +01:00
Tran Ngoc Nhan
16838a9b58 Fix syntax in reference guide
See gh-43271
2024-11-27 08:24:16 +01:00
Stéphane Nicoll
d8c41c2583 Defensively unwrap CacheConnectionFactory
This commit refines the optimization introduced in gh-39816 to only
unwrap our own caching connection factory. The more advanced unwrap
algorithm is still available, but opt-in only.

Unwrapping more aggressively may break use cases where the wrapped
ConnectionFactory is required, i.e. for transactional purposes.

Closes gh-43277
2024-11-26 19:56:32 +01:00
Andy Wilkinson
23d92aa32e Merge branch '3.3.x'
Closes gh-43291
2024-11-26 13:42:40 +00:00
Andy Wilkinson
d924e4d999 Mark shaded application's jar as multi-release by default
Spring Framework now uses a multi-release jar for its virtual thread
support. If the shaded jar is not marked as being a multi-release jar
and virtual threads are enabled, the application will fail to start as
the Java 21+ virtual threads delegate will be unavailable.

This commit updates the starter parent's default configuration for the
Maven Shade plugin to set Multi-Release: true in the application's
manifest.

Closes gh-43284
2024-11-26 13:42:03 +00:00