Commit Graph
585 Commits
Author SHA1 Message Date
Stéphane Nicoll 3b8a35f531 Remove configuration-properties plugin
The webflux-test module only has manual metadata so we shouldn't use
the plugin as it kicks of the annotation processor and that doesn't
generate anything.
2025-10-23 09:26:29 +02:00
Stéphane Nicoll 152635159c Complete modules to be used for generating the changelog
See gh-47758
2025-10-23 08:46:27 +02:00
Phillip Webb 770c94607c Refine 'Introduce a shared abstraction for database initialization'
Use test fixtures to keep getSettings() package-private

See gh-46213
2025-10-22 19:54:46 -07:00
Phillip Webb 84274a2b40 Polish 'Introduce a shared abstraction for database initialization'
See gh-46213
2025-10-22 13:37:20 -07:00
Yanming Zhou 001230c389 Introduce a shared abstraction for database initialization
Add a new shared abstraction used by Spring Batch,
Spring Integration, Spring Session and Quartz.

See gh-46213

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-10-22 13:36:39 -07:00
Andy Wilkinson cb976ba38d Remove @Primary for auto-configured CBORMapper
Closes gh-47641
2025-10-22 16:27:35 +01:00
Varun Patni f84b17c751 Migrate from Dokkatoo to Dokka
This commit migrates from Dokkatoo to Dokka for generation of Kotlin
API documentation.

See gh-47706

Signed-off-by: Varun Patni <varun.patni1@gmail.com>
2025-10-22 15:50:29 +01:00
Moritz Halbritter 0ffc4649a6 Polish 2025-10-22 16:43:50 +02:00
Moritz Halbritter 5862d70725 Polish description of 'spring.http.converters.preferred-json-mapper' 2025-10-22 16:43:12 +02:00
Andy Wilkinson 4e94f26935 Support JMX endpoints when only Jackson 2 is present
Closes gh-47688
2025-10-22 14:40:59 +01:00
Andy Wilkinson 8292954076 Revert "Use spring.restdocs as prefix for Spring REST Docs properties"
This reverts commits a502f4d and 661574b.

Closes gh-47481
2025-10-22 13:27:14 +01:00
Andy Wilkinson 635e766aaf Make it easier to create executable and deployable war
Closes gh-46944
2025-10-22 10:13:46 +01:00
Phillip Webb 350179901f Merge branch '3.5.x'
Closes gh-47751
2025-10-21 15:04:57 -07:00
Phillip Webb 2210252c75 Drop @TestAutoConfiguration annotation
Closes gh-47746
2025-10-21 11:18:01 -07:00
Stéphane Nicoll eca5bfc204 Upgrade to Flyway 11.14.0
This commit also suppresses deprecations introduced in Flyway 11.13.3.
A future release of Flyway should provide an alternative API to those
that are now deprecated and that we are still using.

See gh-47742
Closes gh-47562
2025-10-21 14:23:57 +02:00
Andy Wilkinson c069e924fc Fix codec customization with AutoConfigureWebTestClient
Fixes gh-47697
2025-10-21 12:37:15 +01:00
Stéphane Nicoll aceaee89ee Polish "Replace BaseUrl with LocalTestWebServer"
See gh-47680
2025-10-21 11:08:48 +02:00
Vedran Pavic b3133d4ec1 Disable LiveReload server by default
Change the default value of the configuration property
`spring.devtools.livereload.enabled` to `false`.

See gh-47387

Signed-off-by: Vedran Pavic <vedran@vedranpavic.com>
2025-10-20 18:10:47 -07:00
Phillip Webb 41a399c5ae Replace BaseUrl with LocalTestWebServer
Replace `BaseUrl` and `BaseUrlProvider` provider code with a more
targeted `LocalTestWebServer` class.

The `LocalTestWebServer` can be used to obtain the url of the locally
running server, or provide `UriBuilderFactory` or `UriBuilder`
instances base on it.

This commit also updates the MockMVC HTML Unit auto-configuration to
directly use `localhost` as the base URL.

Closes gh-47680
2025-10-20 17:44:51 -07:00
Phillip Webb de39cc6659 Adapt to upstream Spring Security changes
Adapt to https://github.com/spring-projects/spring-security/issues/16300

See gh-47499
2025-10-20 11:21:24 -07:00
Stéphane Nicoll 9c969f91be Polish "Remove Spring Pulsar Reactive support"
See gh-47707
2025-10-20 18:15:34 +02:00
onobc 4aaa1dfb5f Remove Spring Pulsar Reactive support
This removes the auto-configuration for Spring Pulsar Reactive.

Consolidates the PulsarConfiguration into the PulsarAutoConfiguration because
there is no longer a need to factor out the common components between Spring
Pulsar and Spring Pulsar Reactive.

See gh-47707

Signed-off-by: onobc <chris.bono@gmail.com>
2025-10-20 18:15:34 +02:00
Moritz Halbritter 64136a9901 Remove public modifier from referenced configurations in auto-configurations
Closes gh-47715
2025-10-20 15:18:11 +02:00
Brian Clozel 90c656c529 Merge branch '3.5.x'
Closes gh-47718
2025-10-20 14:32:35 +02:00
Stéphane Nicoll 1b1801adb1 Polish 2025-10-20 13:33:00 +02:00
Yanming Zhou 609b0b444e Use JsonMapper instead of ObjectMapper where feasible
See gh-47503

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-10-20 13:16:52 +02:00
Stéphane Nicoll f1178e6481 Remove management.observations.long-task-timer.enabled
This commit removes the m.observations.long-task-timer.enabled
property in favor of the existing m.metrics.observations.ignored-meters
property.

Closes gh-45725
2025-10-20 12:56:55 +02:00
Stéphane Nicoll 90804c8c2b Adapt @AutoConfigureHttpGraphQlTester to new testing infrastructure
This commit adapts @AutoConfigureHttpGraphQlTester to rely on the
auto-configured WebTestClient and stop triggering the configuration
of MockMvc.

Closes gh-47660
2025-10-19 17:46:11 +02:00
Andy Wilkinson 1be6a54807 Remove support for spring-restdocs-restassured
Closes gh-47685
2025-10-18 10:00:51 +01:00
Andy Wilkinson 5d460bc602 Use RestTestClient rather than REST Assured
Closes gh-47686
2025-10-18 10:00:51 +01:00
Phillip Webb 77f207a079 Simplify BaseUrl code and cache resolved URLs
See gh-47680
2025-10-17 19:28:18 -07:00
Andy Wilkinson ca37f4e972 Document Jackson 2 support
See gh-47688
2025-10-17 13:17:34 -07:00
Andy Wilkinson 00006a6924 Consider Jackson 2 in WebSocket messaging auto-configuration
See gh-47688
2025-10-17 13:17:30 -07:00
Andy Wilkinson dee32e0914 Consider Jackson 2 in RSocket auto-configuration
See gh-47688
2025-10-17 13:17:27 -07:00
Andy Wilkinson 2264b77c6f Consider Jackson 2 in GraphQL RSocket auto-configuration
See gh-47688
2025-10-17 13:17:25 -07:00
Phillip Webb 50a73b8dfe Add Jackson2Tester support
See gh-47688
2025-10-17 13:17:22 -07:00
Phillip Webb 183d765b4d Support actuator with Jackson 2 only
See gh-47688
2025-10-17 13:17:19 -07:00
Andy Wilkinson eb5cb2d4e1 Consider Jackson 2 in HTTP codec auto-config
See gh-47688
2025-10-17 13:17:16 -07:00
Andy Wilkinson 7b60227f41 Consider Jackson 2 in HTTP message converter auto-config
See gh-47688
2025-10-17 13:17:13 -07:00
Andy Wilkinson e9084ddd86 Provide auto-configuration for Jackson 2
See gh-47688
2025-10-17 13:17:08 -07:00
Stéphane Nicoll adb6481c62 Polish "Upgrade to Testcontainers 2.0.1"
See gh-47664
2025-10-17 17:23:35 +02:00
Eddú Meléndez 7f64615690 Upgrade to Testcontainers 2.0.1
* Update dependencies name
  Modules are prefixed with `testcontainers-`
* Update container classes
  Container classes are under `org.testcontainers.<module-name>` package

See gh-47664

Signed-off-by: Eddú Meléndez <eddu.melendez@gmail.com>
2025-10-17 17:11:24 +02:00
Stéphane Nicoll 998a2fa7b4 Fix configuration of HttpGraphQlTester with a running server
This commit restores the user of HttpGraphQlTester when it is configured
against a running server. The logic that appends the graphQl path to
the HTTP url was lost while refactoring the HTTP clients infrastructure.

To work against the new API, BaseUrl has been updated to provide the
ability to append a path to its URL

Closes gh-47659
2025-10-17 16:35:06 +02:00
Moritz Halbritter 1da46813b8 Merge branch '3.5.x'
Closes gh-47679
2025-10-17 14:46:40 +02:00
Stéphane Nicoll 157a07145c Adapt to change in Spring Batch snapshots 2025-10-17 14:11:44 +02:00
Moritz Halbritter 1adead2de3 Remove superfluous NullAway suppressions 2025-10-17 08:42:20 +02:00
Phillip Webb c2e68c0911 Refactor security auto-configuration package structure
Refactor security auto-configuration package structure and classes to
create distinct web configurations.

Closes gh-14412
2025-10-16 14:10:08 -07:00
Phillip Webb 61c8fa2e1c Remove support for Spring Session Hazelcast
Closes gh-47661
2025-10-16 10:42:14 -07:00
Phillip Webb c477d3b8b4 Remove support for Spring Session Data MongoDB
Closes gh-47662
2025-10-16 10:38:45 -07:00
Andy Wilkinson b88551a198 Remove Spock integration until it supports Groovy 5
Closes gh-47650
2025-10-16 15:27:35 +01:00