Commit Graph

52873 Commits

Author SHA1 Message Date
Andy Wilkinson 24ead90e13 Merge branch '3.4.x'
Closes gh-44216
2025-02-11 12:31:19 +00:00
Andy Wilkinson 18db70533d Merge branch '3.3.x' into 3.4.x
Closes gh-44215
2025-02-11 12:31:07 +00:00
Andy Wilkinson 3e5929a446 Remove duplicate dispatcher servlet auto-config tests
Closes gh-44207
2025-02-11 12:19:45 +00:00
Andy Wilkinson 0be4062116 Merge branch '3.4.x'
Closes gh-44213
2025-02-11 11:35:12 +00:00
Andy Wilkinson 30d7af4e38 Add CI with Java 24
Closes gh-44205
2025-02-11 11:34:43 +00:00
Andy Wilkinson f108395002 Merge branch '3.4.x'
Closes gh-44212
2025-02-11 11:10:37 +00:00
Andy Wilkinson b8f64681ad Merge branch '3.3.x' into 3.4.x
Closes gh-44211
2025-02-11 11:10:28 +00:00
Andy Wilkinson 5c8d9d910a Update LoaderIntegrationTests as Java 23 is no longer in early access
Closes gh-44208
2025-02-11 11:09:36 +00:00
Andy Wilkinson 8dc21cf219 Merge branch '3.4.x'
Closes gh-44210
2025-02-11 11:03:28 +00:00
Andy Wilkinson c5d21e0e63 Add TWENTY_FOUR to JavaVersion enum
Closes gh-44209
2025-02-11 11:03:02 +00:00
Andy Wilkinson 7c27cc52ee Try to fix Windows build failures
Text blocks use \n as their separator on all platforms. Update
withLineSeparatorUsesLineSeparator() to replace \n rather than
System.lineSeparator()

createPrinterWhenStandardAppliesCustomizations() limits the length of
the output. On Windows, the default \r\n line separator uses an
extra byte per separator compared to \n. Configure the printer to use
\n as a line separator so that non-whitespace output is the same on
all platforms.

See gh-43864
2025-02-11 09:43:59 +00:00
Phillip Webb 491a335ec7 Attempt to fix Windows build failures
See gh-43864
2025-02-10 23:29:55 -08:00
Phillip Webb 7433b93769 Add stack trace printer support for structured logging
Introduce a new `StackTracePrinter` interface (and a standard
implementation) that can be used to print stack traces in a custom
form. The existing `StructuredLoggingJsonProperties` have been updated
with a nested `StackTrace` record that supports common customization
options or allows a custom `StackTracePrinter` to be used.

Closes gh-43864
2025-02-10 22:34:28 -08:00
Phillip Webb 291e5d8bd3 Polish 2025-02-10 17:02:01 -08:00
Brian Clozel afcc780e61 Write TraceId in HTTP Response headers
Prior to this commit, the Micrometer instrumentation support would
auto-configure a `ServerHttpObservationFilter` for creating observations
in Spring MVC applications.

As of Spring Framework 6.2, applications can extend this filter class to
get notified of the observation scope being opened.
This commit contributes a new `TraceHeaderObservationFilter`
implementation that writes the current Trace Id (if present) to the
`X-Trace-Id` HTTP response header.

This feature is disabled by default, applications will need to enable
`management.observations.http.server.requests.write-trace-header`.
`
Closes gh-40857
2025-02-10 18:08:31 +01:00
Andy Wilkinson f5f888dbdd Polish
See gh-44197
2025-02-10 15:28:05 +00:00
Andy Wilkinson 62b217e0da Apply mgmt access log prefix to reactive Jetty, Tomcat, and Undertow
Fixes gh-44197
2025-02-10 14:53:35 +00:00
Andy Wilkinson 436b51c065 Upgrade to Neo4j Java Driver 5.28.1
Closes gh-44198
2025-02-10 12:54:54 +00:00
Andy Wilkinson fe13fe44aa Merge branch '3.4.x' 2025-02-10 12:25:56 +00:00
Andy Wilkinson 5502e1443e Upgrade to Neo4j Java Driver 5.28.1
Closes gh-44195
2025-02-10 12:25:43 +00:00
Andy Wilkinson 3137f20b4a Merge branch '3.4.x'
Closes gh-44194
2025-02-10 11:09:38 +00:00
Andy Wilkinson 167dfd6bc9 Merge branch '3.3.x' into 3.4.x
Closes gh-44193
2025-02-10 11:09:12 +00:00
Andy Wilkinson ea76e46faa Apply charset to Mustache's content type
Fixes gh-44053
2025-02-10 11:07:49 +00:00
Andy Wilkinson ceaffaab4e Merge branch '3.4.x'
Closes gh-44192
2025-02-10 10:28:08 +00:00
Andy Wilkinson c3c7ed4c2e Fix class cast during additional path matching with health probes
Previously, when health probes were enabled, the post-processor of
AutoConfiguredHealthEndpointGroups resulted in the bean no longer
implementing AdditionalPathMapper. This then caused a
ClassCastException when working with AdditionalPathMapper beans
in EndpointRequest's additional path mapping support.

This commit updates the type returned by the post-processor to
implement both HealthEndpointGroups and AdditionalPathMapper, as
AutoConfiguredHealthEndpointGroups does. Its implementation of
getAdditionalPaths produces a result that combines both the
additional paths of the original HealthEndpointGroups bean and its
own additional paths for the probes.

Fixes gh-44052
2025-02-10 10:01:19 +00:00
Andy Wilkinson c86ac9ecaf Merge branch '3.4.x'
Closes gh-44191
2025-02-10 09:37:21 +00:00
Andy Wilkinson 1c0253b380 Align reactive EndpointRequest with servlet equivalent
Closes gh-44189
2025-02-10 09:28:28 +00:00
Andy Wilkinson 4212ee7298 Merge branch '3.4.x'
Closes gh-44190
2025-02-10 09:27:01 +00:00
Andy Wilkinson 3603cb4ad9 Fix matching against context with implicit server namespace
Closes gh-44188
2025-02-10 09:18:46 +00:00
Stéphane Nicoll 4ab96f1673 Merge pull request #44184 from izeye
* pr/44184:
  Polish

Closes gh-44184
2025-02-10 07:42:03 +01:00
Johnny Lim 8c35bce668 Polish
See gh-44184

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-02-10 07:32:14 +01:00
Stéphane Nicoll d9fc813fb5 Upgrade to Native Build Tools Plugin 0.10.5
Closes gh-44183
2025-02-08 16:04:17 +01:00
Stéphane Nicoll efbc46e1e2 Merge branch '3.4.x' 2025-02-08 15:58:05 +01:00
Stéphane Nicoll fafcfb41c8 Upgrade to Testcontainers Redis Module 2.2.3
Closes gh-44182
2025-02-08 15:48:44 +01:00
Stéphane Nicoll c1cda666e7 Upgrade to RSocket 1.1.5
Closes gh-44181
2025-02-08 15:48:44 +01:00
Stéphane Nicoll e91705a04d Upgrade to R2DBC MySQL 1.3.2
Closes gh-44180
2025-02-08 15:47:58 +01:00
Stéphane Nicoll ff6168cde7 Upgrade to Native Build Tools Plugin 0.10.5
Closes gh-44179
2025-02-08 15:47:58 +01:00
Stéphane Nicoll 08e5578157 Upgrade to Infinispan 15.0.13.Final
Closes gh-44178
2025-02-08 15:45:06 +01:00
Stéphane Nicoll 15099d0755 Upgrade to HttpCore5 5.3.3
Closes gh-44177
2025-02-08 15:45:02 +01:00
Stéphane Nicoll 75c06f224c Upgrade to HttpClient5 5.4.2
Closes gh-44176
2025-02-08 15:44:58 +01:00
Stéphane Nicoll 54a11aba6e Upgrade to Hibernate 6.6.6.Final
Closes gh-44175
2025-02-08 15:44:54 +01:00
Stéphane Nicoll f3de1a121f Upgrade to Groovy 4.0.25
Closes gh-44174
2025-02-08 15:44:50 +01:00
Stéphane Nicoll 16467c4f90 Upgrade to Commons Pool2 2.12.1
Closes gh-44173
2025-02-08 15:44:46 +01:00
Andy Wilkinson b7499222b8 Fix possible NPE when moving to snapshots
See gh-43045
2025-02-08 10:09:38 +00:00
Andy Wilkinson e40a7686cd Merge branch '3.4.x'
Closes gh-44171
2025-02-08 10:08:57 +00:00
Andy Wilkinson cc5414826a Merge branch '3.3.x' into 3.4.x
Closes gh-44170
2025-02-08 10:08:43 +00:00
Andy Wilkinson 89f5bf9c64 Merge pull request #44168 from ngocnhan-tran1996
* gh-44168:
  Link to JarLauncher's javadoc

Closes gh-44168
2025-02-08 10:08:25 +00:00
Tran Ngoc Nhan b5fa849563 Link to JarLauncher's javadoc
See gh-44168

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-02-08 10:08:05 +00:00
Andy Wilkinson d4d041113c Start building against Spring Session 3.4.2 snapshots
See gh-44167
2025-02-08 10:04:27 +00:00
Andy Wilkinson 7bf9725b82 Start building against Spring Security 6.5.0-M2 snapshots
See gh-44166
2025-02-08 10:04:27 +00:00