Commit Graph

27190 Commits

Author SHA1 Message Date
Phillip Webb a538b8bef4 Upgrade to Hibernate 6.6.3.Final
Closes gh-43400
2024-12-04 11:43:27 -08:00
Phillip Webb 79653a9275 Upgrade to Elasticsearch Client 8.15.5
Closes gh-43399
2024-12-04 11:43:23 -08:00
Phillip Webb 7f8ccc66f7 Upgrade to CycloneDX Maven Plugin 2.9.1
Closes gh-43398
2024-12-04 11:43:19 -08:00
Andy Wilkinson 04310a7ad0 Merge branch '3.3.x'
Closes gh-43382
2024-12-04 17:00:01 +00:00
Andy Wilkinson 7c7bb531b4 Improve handling of environment variables in failure analysis
Prior to this change, the failure analysis for an invalid
configuration property value filtered out the configuration property
sources property source. This property source contains a "duplicate"
of all of the environment's other property sources but with
configuration property support (such as relaxed/fuzzy matching of
environment variables). This was done to prevent the reporting of
duplicates when a property was found in both the configuration
property sources property source and the "normal" property sources.
An unwanted side-effect of this was that fuzzy matching of
environment variables was lost so the origin of
com.example.some-property would be found in the environment variable
was COM_EXAMPLE_SOME_PROPERTY but would not be found if it was
COM_EXAMPLE_SOMEPROPERTY.

This commit addresses this side-effect by no longer filtering out
the configuration property sources property source. To then
prevent duplicates from being reported in the analysis, it instead
deduplicates things based on the origin of each property that's
found in the environment's property sources.

Fixes gh-43380
2024-12-04 13:55:20 +00:00
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