Commit Graph
60294 Commits
Author SHA1 Message Date
Stéphane Nicoll 73087f369b Merge branch '3.5.x'
Closes gh-48071
2025-11-12 13:08:31 +01:00
Stéphane Nicoll 52951ed8f4 Apply checks for manual configuration metadata
This commit adds a 'org.springframework.boot.configuration-metadata'
plugin to be used for projects that only define manual metadata. Such
project do not need the annotation processor, but do not to check that
the structure of the metadata content matches the same rules.

Closes gh-47984
2025-11-12 13:01:56 +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 fc66e12bd7 Merge branch '3.5.x'
Closes gh-48066
2025-11-11 19:01:18 +00:00
Andy Wilkinson bd2a8acc21 Merge branch '3.4.x' into 3.5.x
Closes gh-48065
2025-11-11 18:59:13 +00:00
Andy Wilkinson d697fc0b35 Upgrade to Antora UI Spring v0.4.19
Closes gh-48064
2025-11-11 18:57:12 +00:00
Andy Wilkinson 152c09d850 Merge branch '3.5.x'
Closes gh-48063
2025-11-11 18:46:59 +00:00
Andy Wilkinson bab7307606 Merge branch '3.4.x' into 3.5.x
Closes gh-48062
2025-11-11 18:44:52 +00:00
Andy Wilkinson 5aeaa74508 Document how soon-to-expire SSL certs are reported
Closes gh-45564
2025-11-11 18:44:21 +00:00
Andy Wilkinson d844840ea2 Merge branch '3.5.x' 2025-11-11 17:02:42 +00:00
Andy Wilkinson f1b26e9402 Merge branch '3.4.x' into 3.5.x
Closes gh-48061
2025-11-11 17:02:30 +00:00
Andy Wilkinson a21bfc2ff5 Delay ServletContext destruction until Undertow is destroyed
Previously, all destruction was done in the stop method including
closing any Closeables registered with the server. One of these
Closeables managed the lifecycle of the DeploymentManager for the
servlet deployment. Closing it made the servlet context unusable
in `@PreDestroy` methods and upon restart.

This commit moves the closing of the registered Closeables into
destroy(). This allows `@PreDestory` methods to use the
ServletContext. It also allows the server to be stopped and then
restarted without making the ServletContext unusable as it's left
running while the server itself is stopped and not accepting
requests.

Fixes gh-47141
2025-11-11 17:00:48 +00: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 c7c0d33b86 Revert "Merge branch '3.4.x' into 3.5.x"
This reverts commit 4089156b3c, reversing
changes made to 049c6d50d5.

See gh-48058
2025-11-11 16:37:27 +00:00
Andy Wilkinson 8249929b68 Revert "Stop throwing PortInUseException for unassignable address"
This reverts commit 5229ac7e58.

The change works on macOS but not on Linux.

See gh-47618
2025-11-11 16:35:24 +00:00
Andy Wilkinson 001f953cc9 Merge branch '3.5.x'
Closes gh-48059
2025-11-11 16:11:27 +00:00
Andy Wilkinson 4089156b3c Merge branch '3.4.x' into 3.5.x
Closes gh-48058
2025-11-11 16:09:14 +00:00
Andy Wilkinson 5229ac7e58 Stop throwing PortInUseException for unassignable address
Previously, an unassignable address would result in NettyWebServer
incorrectly throwing a PortInUseException.

Fixes gh-47618
2025-11-11 16:07:35 +00:00
Andy Wilkinson 0ae86935ae Merge branch '3.5.x'
Closes gh-48057
2025-11-11 15:29:33 +00:00
Andy Wilkinson 049c6d50d5 Merge branch '3.4.x' into 3.5.x
Closes gh-48056
2025-11-11 15:22:52 +00:00
Andy Wilkinson d08ac5ce4a Allow cache removals to be registered as a function counter
Fixes gh-46212
2025-11-11 15:21:40 +00:00
Andy Wilkinson 756a6408fe Merge branch '3.5.x'
Closes gh-48055
2025-11-11 14:25:35 +00:00
Andy Wilkinson 5c711e2a88 Merge branch '3.4.x' into 3.5.x
Closes gh-48054
2025-11-11 14:04:54 +00:00
Andy Wilkinson 06fd384e59 Include WebSecurityCustomizer components in WebMvcTest
This commit also tests that WebSecurityConfigurer components are
included. They include was already there but the functionality was
untested.

Fixes gh-47255
2025-11-11 14:03:25 +00:00
Moritz Halbritter 93b14bf07e Upgrade to Native Build Tools Plugin 0.11.3
Closes gh-48051
2025-11-11 14:36:50 +01:00
Moritz Halbritter 72740e0f48 Merge branch '3.5.x'
Closes gh-48053
2025-11-11 14:29:39 +01:00
Moritz Halbritter f69fbdb5f5 Merge branch '3.4.x' into 3.5.x
Closes gh-48052
2025-11-11 14:15:57 +01:00
Moritz Halbritter e58c8975f6 Document how to use ContextPropagatingTaskDecorator for propagating trace context over thread boundaries
Closes gh-47893
2025-11-11 12:51:11 +01:00
Moritz Halbritter 3c64bdf118 Document that you need to build with Java 25 for buildpack build-image Graal support
Closes gh-45501
2025-11-11 12:00:19 +01: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 8bd2fb5566 Start building against Spring WS 5.0.0 snapshots
See gh-47833
2025-11-11 10:22:08 +00:00
Stéphane Nicoll d8fa17d326 Start building against Spring Session 4.0.0 snapshots
See gh-48000
2025-11-11 10:22:08 +00:00
Stéphane Nicoll 12b7edcb5e Start building against Spring Security 7.0.0 snapshots
See gh-47832
2025-11-11 10:22:08 +00:00
Stéphane Nicoll 6f62f28579 Start building against Spring RESTDocs 4.0.0 snapshots
See gh-47831
2025-11-11 10:22:07 +00:00
Stéphane Nicoll 47691b0bd3 Start building against Spring Pulsar 2.0.0 snapshots
See gh-47830
2025-11-11 10:22:07 +00:00
Stéphane Nicoll b924878f31 Start building against Spring LDAP 4.0.0 snapshots
See gh-47999
2025-11-11 10:22:07 +00:00
Stéphane Nicoll 54993db69c Start building against Spring Kafka 4.0.0 snapshots
See gh-47829
2025-11-11 10:22:07 +00:00
Stéphane Nicoll 2545798ba2 Start building against Spring Integration 7.0.0 snapshots
See gh-47828
2025-11-11 10:22:07 +00:00
Stéphane Nicoll 0165bd8ba1 Start building against Spring HATEOAS 3.0.0 snapshots
See gh-47827
2025-11-11 10:22:06 +00:00
Stéphane Nicoll 60451c04a0 Upgrade to GraphQL Java 25.0
Closes gh-48034
2025-11-11 10:22:06 +00:00
Stéphane Nicoll 20ef8de9a1 Start building against Spring GraphQL 2.0.0 snapshots
See gh-47826
2025-11-11 10:22:06 +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 721ba65888 Upgrade to Neo4j Java Driver 6.0.2
Closes gh-47997
2025-11-11 10:22:06 +00:00
Stéphane Nicoll 0814e2eaf6 Start building against Spring Data Bom 2025.1.0 snapshots
See gh-47824
2025-11-11 10:22:05 +00:00
Stéphane Nicoll 2ff5b88903 Start building against Spring Batch 6.0.0 snapshots
See gh-47834
2025-11-11 10:22:05 +00:00
Stéphane Nicoll 3928c53740 Start building against Spring AMQP 4.0.0 snapshots
See gh-47823
2025-11-11 10:22:05 +00:00
Moritz Halbritter 995e8560f5 Clarify use of OpenTelemetry's environment variables
See gh-47960
2025-11-11 10:16:26 +01:00