Stéphane Nicoll
73087f369b
Merge branch '3.5.x'
...
Closes gh-48071
2025-11-12 13:08:31 +01:00
Andy Wilkinson
4096b736c8
Tolerate race condition in httpRequestsAreTimed
...
Tomcat 11 will [1] send a response as soon as Content-Length bytes has
been written. This initiates a race between the timer being registered
on the server side and the test receiving the response and looking for
the timer.
Rather than sleeping for a fix period of time, we now use Awaitility
to await the availability of the timer.
Closes gh-48049
[1] https://github.com/apache/tomcat/commit/69eff83577f7c00cbaaca9384ab4b1989f516797
2025-11-12 11:40:30 +00:00
Andy Wilkinson
58cdf71b52
Restrict Kotlin serialization when alternative is available
...
Previously, Kotlin Serialization would be used too aggressively then
an alternative JSON converter was available. This could lead to
unwanted results when a response should have been serialized using
Jackson, for example, rather than Kotlin Serialization.
This commit addresses this by only allowing Kotlin Serialization to
serialize types that are not annotated with @Serializable when no
alternative JSON converter is available.
Fixes gh-48070
2025-11-12 10:00:45 +00:00
Brian Clozel
2e52c3c35e
Update Kotlin Serialization configuration in HttpMessageConverters
...
As of As of spring-projects/spring-framework#35733 , Spring Framework has
a dedicated method for configuring a Kotlin Serialization converter
specifically.
This commit uses this method instead of configuring the Kotlin
Serialization JSON support as a custom converter. This also removes the
`@Order` on the Kotlin converter bean itself, as there is no need to
order it in the list of custom converters anymore.
Closes gh-47917
2025-11-12 09:48:55 +01:00
Andy Wilkinson
93a3511f8a
Revert "Merge branch '3.5.x'"
...
This reverts commit 001f953cc9 , reversing
changes made to 0ae86935ae .
See gh-48059
2025-11-11 16:38:33 +00:00
Andy Wilkinson
001f953cc9
Merge branch '3.5.x'
...
Closes gh-48059
2025-11-11 16:11:27 +00:00
Andy Wilkinson
0ae86935ae
Merge branch '3.5.x'
...
Closes gh-48057
2025-11-11 15:29:33 +00:00
Andy Wilkinson
756a6408fe
Merge branch '3.5.x'
...
Closes gh-48055
2025-11-11 14:25:35 +00:00
Andy Wilkinson
bbfd9f892b
Revert "Remove sleep that appears to no longer be needed"
...
This reverts commit 6e8481bfff .
See gh-48049
2025-11-11 10:22:08 +00:00
Stéphane Nicoll
8584f604e3
Rename maxAttempts to maxRetries
...
Closes gh-48023
2025-11-11 10:22:08 +00:00
Stéphane Nicoll
00f60da0de
Start building against Spring Framework 7.0.0 snapshots
...
See gh-47825
2025-11-11 10:22:06 +00:00
Stéphane Nicoll
bb9d3ecdfb
Merge branch '3.5.x'
2025-11-10 15:52:23 +01:00
Andy Wilkinson
0e44f1de42
Merge branch '3.5.x'
2025-11-10 10:39:32 +00:00
Stéphane Nicoll
96457f4665
Merge branch '3.5.x'
...
Closes gh-47996
2025-11-09 12:16:47 +01:00
Andy Wilkinson
07b13a40b1
Use separate Jakarta Mail API and Angus Mail dependencies
...
Closes gh-47983
2025-11-07 14:34:10 +00:00
Moritz Halbritter
d85a8017f0
Fix duplicate dependency in spring-boot-r2dbc
2025-11-06 11:32:59 +01:00
Moritz Halbritter
fbccc8011e
Add missing deprecation for 'management.tracing.enabled' property
2025-11-06 09:53:08 +01:00
Moritz Halbritter
ab405a3321
Add missing configuration metadata deprecations and replacements
2025-11-06 09:11:41 +01:00
Andy Wilkinson
6e8481bfff
Remove sleep that appears to no longer be needed
...
Closes gh-45404
2025-11-06 08:08:51 +00:00
Phillip Webb and Andy Wilkinson
619454548b
Restore support for Jersey
...
Restore support for Jersey now that it supports JAX-RS 4.
Closes gh-47967
Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com >
2025-11-05 10:51:08 -08:00
Moritz Halbritter
ff4889217c
Fix configuration metadata
2025-11-05 15:13:01 +01:00
Moritz Halbritter
2421f02b85
Extract OpenTelemetryLoggingAutoConfiguration
...
This auto-configuration configures OpenTelemetry logging. The existing
OpenTelemetrySdkAutoConfiguration now only configures the OpenTelemetry
SDK, but no individual subsystems (logging, metrics, tracing).
Closes gh-47963
2025-11-05 14:57:33 +01:00
Moritz Halbritter
da8aedb193
Restore management.logging.export.enabled in documentation
...
Closes gh-47961
2025-11-05 14:21:37 +01:00
Moritz Halbritter
c872557906
Rename management.zipkin.tracing
...
It's now 'management.tracing.export.zipkin'
Closes gh-47958
2025-11-05 13:52:25 +01:00
Moritz Halbritter
4866f1a395
Switch property backing OnEnabledTracingExportCondition
...
It's now management.tracing.export.{name}.enabled
Closes gh-47959
2025-11-05 13:52:25 +01:00
Moritz Halbritter
fd7f5c5abc
Rename TestImage.OPENTELEMETRY to OTEL_COLLECTOR
...
Closes gh-47956
2025-11-05 12:19:29 +01:00
Moritz Halbritter
7e5897066c
Rename management.opentelemetry.logging.export properties
...
They are now under 'management.opentelemetry.logging.export.otlp.*'.
Closes gh-47954
2025-11-05 12:14:14 +01:00
Moritz Halbritter
93381c7e8e
Switch property backing OnEnabledLoggingExportCondition
...
It's now 'management.logging.export.{name}.enabled'.
Closes gh-47957
2025-11-05 12:14:14 +01:00
Moritz Halbritter
89204348f5
Rename OpenTelemetry Logging auto-configuration
...
It's dealing with OTLP, so the name should reflect that.
It now also mirrors the structure from micrometer-tracing-opentelemetry.
See gh-47954
2025-11-05 12:14:14 +01:00
Moritz Halbritter
e9172d9f51
Split spring-boot-micrometer-tracing into Brave and OpenTelemetry specific module
...
Closes gh-47953
2025-11-05 12:14:13 +01:00
Filip Hrisafov
163cc8e05a
Use elasticsearch-rest5-client in spring-boot-elasticsearch
...
See gh-47945
Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com >
2025-11-05 09:43:47 +00:00
Phillip Webb
00bd0efc56
Merge branch '3.5.x'
...
Closes gh-47946
2025-11-04 15:36:55 -08:00
Andy Wilkinson
2f5e9b5ad0
Auto-configure XmlMapper.Builder and XmlMapper
...
Closes gh-47942
2025-11-04 18:01:15 +00:00
Phillip Webb
2f33f73e76
Fix spring.http.serviceclient metadata JSON
...
Fix type in `Map` reference.
Closes gh-47943
2025-11-04 08:27:18 -08:00
Stéphane Nicoll
fa2cd401c2
Upgrade to nullability plugin 0.0.7
...
Closes gh-47941
2025-11-04 14:31:53 +01:00
Andy Wilkinson
0b2503f08e
Remove confusingly named templating enabled properties
...
Closes gh-32250
2025-11-04 10:49:14 +00:00
Phillip Webb
827b0c14a9
Rename OnlyOnceLoggingDenyMeterFilter
...
Rename `OnlyOnceLoggingDenyMeterFilter` to
`MaximumAllowableTagsMeterFilter`.
Closes gh-47925
2025-11-03 20:56:28 -08:00
Phillip Webb
7849474291
Merge branch '3.5.x'
...
Closes gh-47924
2025-11-03 20:41:23 -08:00
Phillip Webb
e5d6edfa10
Merge branch '3.5.x'
2025-10-31 09:30:54 -07:00
Stéphane Nicoll
724f706f34
Move auto-configuration for WebTestClient in autoconfigure
...
Closes gh-47892
2025-10-31 12:05:25 +01:00
Stéphane Nicoll
6b3edf88b9
Document AssertJ support for RestTestClient
...
Closes gh-47881
2025-10-31 10:13:44 +01:00
Stéphane Nicoll
f5fe084eb6
Upgrade to Quartz 2.5.1
...
Closes gh-47889
2025-10-31 09:13:43 +01:00
Stéphane Nicoll
9a46328b61
Restore support for Jackson 2 in slice tests
...
This commit restores the support of Jackson 2 in @WebMvcTest,
@WebFluxTest, @RestClientTest, and @GraphQlTest.
Closes gh-47869
2025-10-30 14:44:57 +01:00
Stéphane Nicoll
44fcff83e2
Polish
2025-10-30 07:33:44 +01:00
Phillip Webb
2e79fc01cb
Allow URL to be specified when working with HtmlUnit beans
...
Update `@AutoConfigureMockMvc` to move HtmlUnit configuration under
a dedicated attribute and provide support for configuring the URL
that is used.
Closes gh-47857
2025-10-29 20:47:42 -07:00
Stéphane Nicoll
30a6b50e82
Align naming change for Jackson components
...
This commit polishes the renaming of JsonComponent to JacksonComponent
and the use of JacksonModule instead of Module in Jackson 2.
This also adds integration tests that use a JacksonComponent with
WebMvcTest and WebFluxTest.
Closes gh-47864
2025-10-29 16:58:16 +01:00
Andy Wilkinson
4e86ff060f
Adapt to deprecations in latest Framework snaphots
...
See gh-47850
2025-10-29 11:34:30 +00:00
Andy Wilkinson
578b199b6d
Merge branch '3.5.x'
...
Closes gh-47860
2025-10-29 10:25:10 +00:00
Andy Wilkinson
b2d2fb82c0
Align test class name with name of class under test
2025-10-29 10:15:58 +00:00
Stéphane Nicoll
9bf712349f
Adapt to changes in Spring Data JDBC 4.0.0 snapshots
2025-10-28 17:44:51 +01:00