Commit Graph
61920 Commits
Author SHA1 Message Date
Stéphane Nicoll 3959c56bdd Deprecate RestTemplate support
With Spring Framework 7.1 deprecating RestTemplate for removal, this
commit deprecates our supporting infrastructure as well, and steers
users towards RestClient instead:

* RestTemplateAutoConfiguration and
  RestTemplateObservationAutoConfiguration
* RestTemplateBuilder, RestTemplateBuilderConfigurer, and
  RestTemplateBuilderClientHttpRequestInitializer
* RestTemplateCustomizer, RestTemplateRequestCustomizer, and
  ObservationRestTemplateCustomizer
* MockRestServiceServerAutoConfiguration,
  MockServerRestTemplateCustomizer, and RootUriRequestExpectationManager
  in the test support module

The reference documentation no longer covers RestTemplate and now
solely documents RestClient and WebClient. Code snippets and sample
tests that only existed to illustrate RestTemplate usage have been
removed accordingly.

Closes gh-51118
2026-07-25 08:32:32 +02:00
Stéphane Nicoll 2a8da4b465 Merge branch '4.1.x' 2026-07-25 07:22:49 +02:00
Stéphane Nicoll bc156310c2 Merge branch '4.0.x' into 4.1.x 2026-07-25 07:22:31 +02:00
Stéphane Nicoll 578aca2b08 Polish "Use RestClient in tests and infrastructure code"
See gh-51120
2026-07-25 07:22:03 +02:00
Stéphane Nicoll 07f80348a5 Polish "Remove APIs that were deprecated for removal in 4.2"
See gh-50955
2026-07-24 15:57:23 +02:00
Stéphane Nicoll d4d503b403 Merge branch '4.1.x' 2026-07-24 15:30:50 +02:00
Stéphane Nicoll 7d677d066a Merge branch '4.0.x' into 4.1.x 2026-07-24 15:30:44 +02:00
Stéphane Nicoll 648e2fb5f9 Polish deprecation message
Unfortunately it is too late to flag HttpMessageConverters for removal
as it would be a breaking change in a patch release.

See gh-46411
2026-07-24 15:26:50 +02:00
Stéphane Nicoll ca67fcb642 Merge branch '4.1.x'
Closes gh-51122
2026-07-24 15:19:38 +02:00
Stéphane Nicoll 9821dade80 Merge branch '4.0.x' into 4.1.x
Closes gh-51121
2026-07-24 15:19:14 +02:00
Stéphane Nicoll b9ebff0084 Use RestClient in tests and infrastructure code
Closes gh-51120
2026-07-24 15:10:43 +02:00
Stéphane Nicoll 1a42db1d78 Merge branch '4.1.x'
Closes gh-51116
2026-07-24 08:52:44 +02:00
Stéphane Nicoll 8adbbd7a70 Merge branch '4.0.x' into 4.1.x
Closes gh-51115
2026-07-24 08:52:37 +02:00
Stéphane Nicoll 6e2bba6915 Merge pull request #51110 from wantaekchoi
Closes gh-51110

* fix/htmlunit-url-metadata-type:
  Fix declared type of spring.test.mockmvc.htmlunit.url
2026-07-24 08:52:33 +02:00
wantaek 8f832b659b Fix declared type of spring.test.mockmvc.htmlunit.url
The manual metadata entry declares java.lang.Boolean while its
description and default value ("http://localhost") describe a URL
string, and MockMvcWebClientAutoConfiguration and
MockMvcWebDriverAutoConfiguration read the property as a string.

See gh-51110

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-24 08:51:46 +02:00
Stéphane Nicoll 6970fa5156 Merge branch '4.1.x'
Closes gh-51114
2026-07-24 08:48:55 +02:00
Stéphane Nicoll 6ae046cf2c Merge branch '4.0.x' into 4.1.x
Closes gh-51113
2026-07-24 08:48:47 +02:00
Stéphane Nicoll f1e1aeac52 Merge pull request #51111 from wantaekchoi
Closes gh-51111

* fix/autoconfigurecache-doc-fqcn:
  Fix package of AutoConfigureCache in caching documentation
2026-07-24 08:48:41 +02:00
wantaek cb6e22eb46 Fix package of AutoConfigureCache in caching documentation
See gh-51111

Signed-off-by: wantaek <wantaekchoi@gmail.com>
2026-07-24 08:48:12 +02:00
Stéphane Nicoll abf32590cf Merge branch '4.1.x'
Closes gh-51109
2026-07-23 19:08:57 +02:00
Stéphane Nicoll 45e7f5d76e Merge branch '4.0.x' into 4.1.x
Closes gh-51108
2026-07-23 19:08:45 +02:00
Stéphane Nicoll 8164b0a651 Add support for explictly tagging a release on GitHub as the latest
Closes gh-50927
2026-07-23 19:07:33 +02:00
Stéphane Nicoll d3ef010047 Merge branch '4.1.x' 2026-07-23 18:14:50 +02:00
Stéphane Nicoll b8322169d4 Merge branch '4.0.x' into 4.1.x 2026-07-23 18:14:06 +02:00
Stéphane Nicoll 8c23a6ad66 Stop publishing 4.0.x as SDKMan's default version
Closes gh-51107
2026-07-23 18:13:50 +02:00
Stéphane Nicoll 834203dba5 Merge branch '4.1.x'
Closes gh-51106
2026-07-23 14:23:55 +02:00
Stéphane Nicoll ace30667b8 Merge pull request #50799 from xfocus3
* gh-50791-grpc-health-overall:
  Polish "Honor gRPC overall health setting"
  Honor gRPC overall health setting

Closes gh-50799
2026-07-23 14:23:44 +02:00
Stéphane Nicoll e2b4c93c57 Polish "Honor gRPC overall health setting"
See gh-50799
2026-07-23 14:17:38 +02:00
Ahmed El amraouiyine da318b2540 Honor gRPC overall health setting
See gh-50799

Signed-off-by: Ahmed El amraouiyine <amraouiyine@gmail.com>
2026-07-23 14:16:01 +02:00
Stéphane Nicoll 2351527ab4 Merge branch '4.1.x'
Closes gh-51105
2026-07-23 12:25:33 +02:00
Stéphane Nicoll d107f342f0 Merge branch '4.0.x' into 4.1.x
Closes gh-51104
2026-07-23 12:25:25 +02:00
Stéphane Nicoll 38e03cfa97 Merge pull request #51091 from msridhar
Closes gh-51091

* nullaway-method-ref-warning:
  Adapt function types in ClassPath to avoid nullability warning
2026-07-23 12:25:19 +02:00
Manu Sridharan b6f117c9cd Adapt function types in ClassPath to avoid nullability warning
See gh-51091

Signed-off-by: Manu Sridharan <msridhar@gmail.com>
2026-07-23 12:19:57 +02:00
Stéphane Nicoll a9d1c4b684 Merge branch '4.1.x'
Closes gh-51103
2026-07-23 12:09:49 +02:00
Stéphane Nicoll e42c01e101 Merge branch '4.0.x' into 4.1.x
Closes gh-51102
2026-07-23 12:09:41 +02:00
Stéphane Nicoll bfce39af6f Merge pull request #51097 from scordio
Closes gh-51097

* fix-metadata-example:
  Adapt examples in the metadata section to new package structure
2026-07-23 12:09:33 +02:00
Stefano Cordio 834f7e7197 Adapt examples in the metadata section to new package structure
See gh-51097

Signed-off-by: Stefano Cordio <stefano.cordio@gmail.com>
2026-07-23 11:48:38 +02:00
Stéphane Nicoll 533df5e2f4 Merge branch '4.1.x'
Closes gh-51099
2026-07-22 15:58:20 +02:00
Stéphane Nicoll b0c21aaab1 Merge branch '4.0.x' into 4.1.x
Closes gh-51098
2026-07-22 15:58:05 +02:00
Stéphane Nicoll 5b9cc3aaab Allow NestedConfigurationProperty to be set on a record accessor
Closes gh-50096
2026-07-22 15:57:45 +02:00
Stéphane Nicoll a370fa9e8b Merge branch '4.1.x'
Closes gh-51096
2026-07-22 11:40:43 +02:00
Stéphane Nicoll 7edcc06edb Merge branch '4.0.x' into 4.1.x
Closes gh-51095
2026-07-22 11:40:30 +02:00
Stéphane Nicoll 3d0ec60c8d Fix servlet-api dependency scope for spring-boot-h2-console
Closes gh-51094
2026-07-22 11:40:12 +02:00
Stéphane Nicoll 1a5fa339e7 Merge branch '4.1.x'
Closes gh-51090
2026-07-21 15:18:31 +02:00
Stéphane Nicoll 0a399e49da Merge branch '4.0.x' into 4.1.x
Closes gh-51089
2026-07-21 15:18:23 +02:00
Stéphane Nicoll 3f48c2b65a Merge pull request #50968 from filiphr
Closes gh-50968

* properties-launcher-polish:
  Polish "Fix nested archive paths logging in PropertiesLauncher"
  Fix nested archive paths logging in PropertiesLauncher
2026-07-21 15:18:16 +02:00
Stéphane Nicoll 59de56d66a Polish "Fix nested archive paths logging in PropertiesLauncher"
See gh-50968
2026-07-21 15:15:43 +02:00
Filip Hrisafov 2578e81796 Fix nested archive paths logging in PropertiesLauncher
See gh-50968

Signed-off-by: Filip Hrisafov <filip.hrisafov@gmail.com>
2026-07-21 14:58:48 +02:00
Stéphane Nicoll d9b2f9207a Merge branch '4.1.x'
Closes gh-51088
2026-07-21 14:56:15 +02:00
Stéphane Nicoll bce125b7ec Merge branch '4.0.x' into 4.1.x
Closes gh-51087
2026-07-21 14:51:51 +02:00