Commit Graph
571 Commits
Author SHA1 Message Date
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
Andy Wilkinson 2d68442939 Remove Jackson auto-config from DataElasticsearchTest
Closes gh-47365
2025-10-16 14:23:21 +01:00
Andy Wilkinson e221bfdd69 Rename Jackson-specific Json… classes to Jackson…
Closes gh-47625
2025-10-16 13:53:17 +01:00
Moritz Halbritter 32e98c4871 Add nullability annotations to tests in module/spring-boot-zipkin
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter b0f503c24c Add nullability annotations to tests in module/spring-boot-webtestclient
See gh-47263
2025-10-16 11:24:41 +02:00
Moritz Halbritter a7bf5b3e13 Add nullability annotations to tests in module/spring-boot-websocket
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter 59aadced88 Add nullability annotations to tests in module/spring-boot-webservices-test
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter ff83723d99 Add nullability annotations to tests in module/spring-boot-webservices
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter 9d5c7a15f3 Add nullability annotations to tests in module/spring-boot-webmvc-test
See gh-47263
2025-10-16 11:24:40 +02:00
Moritz Halbritter 73aa73f50d Add nullability annotations to tests in module/spring-boot-webmvc
See gh-47263
2025-10-16 11:24:40 +02:00
Stéphane Nicoll 36c2432f69 Rename 'spring-boot-tx' module to 'spring-boot-transaction'
Closes gh-47603
2025-10-16 09:14:20 +02:00
Stéphane Nicoll 7bfeb7aab9 Polish "Fix binding of spring.mongodb.representation.uuid"
See gh-47654
2025-10-16 09:06:28 +02:00
Johnny Lim a10e4baa9a Fix binding of spring.mongodb.representation.uuid
See gh-47654

Signed-off-by: Johnny Lim <izeye@naver.com>
2025-10-16 09:06:14 +02:00
Stéphane Nicoll 6cebe3aca4 Migrate test to Jackson 3 2025-10-16 08:53:16 +02:00
Jonatan Ivanov c3962e16ed Add support for @ObservationKeyValue
See gh-47637
2025-10-16 08:20:48 +02:00