Commit Graph

54581 Commits

Author SHA1 Message Date
Phillip Webb
02ee7fdb30 Suppress Jackson 2 warnings
See gh-45535
2025-05-13 11:42:25 -07:00
Olga Maciaszek-Sharma
5bdb0ecbb4 Improve HttpServiceClientAutoConfiguration conditions
See gh-18366

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-05-13 08:23:21 -07:00
Stéphane Nicoll
2ae354d6ec Polish "Remove outdated Session's Cookie override"
Closes gh-45523
2025-05-13 17:03:45 +02:00
Stéphane Nicoll
083b49030e Remove outdated Session's Cookie override
Closes gh-45523
2025-05-13 16:28:38 +02:00
Stéphane Nicoll
c25e330b2e Merge pull request #45521 from quaff
* pr/45521:
  Polish MetricsAutoConfiguration

Closes gh-45521
2025-05-13 16:18:38 +02:00
Yanming Zhou
658764bfd8 Polish MetricsAutoConfiguration
Align `meterRegistryPostProcessor` with `meterRegistryCloser`, the
`@Bean` method shouldn't be public if the return type is not public.

See gh-45521

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-05-13 16:18:25 +02:00
Stéphane Nicoll
b054a01b55 Merge pull request #45503 from quaff
* pr/45503:
  Polish PrometheusProperties

Closes gh-45503
2025-05-13 16:17:11 +02:00
Yanming Zhou
1325429e5e Polish PrometheusProperties
See gh-45503

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-05-13 16:14:52 +02:00
Stéphane Nicoll
1dfa5c721c Upgrade to Tomcat 11.0.7
Closes gh-45533
2025-05-13 15:58:00 +02:00
Stéphane Nicoll
84578d12a7 Upgrade to Micrometer Tracing 1.5.0
Closes gh-45532
2025-05-13 15:52:09 +02:00
Stéphane Nicoll
f866339e2a Upgrade to Micrometer 1.15.0
Closes gh-45531
2025-05-13 15:52:05 +02:00
Stéphane Nicoll
f3f6152502 Upgrade to Jetty 12.0.21
Closes gh-45530
2025-05-13 15:52:01 +02:00
Stéphane Nicoll
19d0af9d2d Upgrade to Jakarta Validation 3.1.1
Closes gh-45529
2025-05-13 15:51:57 +02:00
Stéphane Nicoll
c19fa8062e Upgrade to Hibernate 7.0.0.CR1
Closes gh-45528
2025-05-13 15:51:53 +02:00
Stéphane Nicoll
7393418a36 Upgrade to Couchbase Client 3.8.1
Closes gh-45527
2025-05-13 15:51:49 +02:00
Stéphane Nicoll
7bb00396a1 Upgrade to Commons Logging 1.3.5
Closes gh-45526
2025-05-13 15:51:45 +02:00
Stéphane Nicoll
2a7dcd0eb7 Switch to task for dependency upgrades
Closes gh-45525
2025-05-13 15:47:57 +02:00
Stéphane Nicoll
8c56624d3c Generate configuration metadata for types in other modules
Closes gh-18366
2025-05-13 13:53:54 +02:00
Stéphane Nicoll
d8a9db534f Apply ConfigurationPropertySource where possible
See gh-18366
2025-05-13 13:42:55 +02:00
Stéphane Nicoll
b3f35baed3 Add metadata support for types in arbitrary modules
Previously, if a ConfigurationProperties had a nested type or was
extending from a type located outside the compilation unit, no
metadata discovered on the source code was available (documentation and
explicit default value, if any). This typically happens when such a type
resides in another module.

This commit introduces `@ConfigurationPropertiesSource` as a way to
annotate such type and have metadata generated for them in their own
module.

Type-metadata is generated as one file per type and is reused
transparently whenever that type is used. As for module metadata, an
additional file can be crafted manually and will be merged when the
metadata for the type is generated.

The following is an example structure with two types where one has
an additional metadata:

META-iNF/
  spring/
    configuration-properties/
      additional/
        com.example.SourceOne.json
      com.example.SourceOne.json
      com.example.SourceTwo.json

Those files are used only by the annotation processor and are not meant
to be public API.

See gh-18366
2025-05-13 13:42:55 +02:00
Stéphane Nicoll
2fa8d38aa7 Move web-specific FailureAnalyzer to a more focused package
This commit moves PortInUseFailureAnalyzer to o.s.b.web.server as its
current location means the whole general failure analyzer package has
to know about web servers.

Closes gh-45524
2025-05-13 13:42:17 +02:00
Stéphane Nicoll
0aeb263c76 Merge branch 'main' into 4.0.x 2025-05-13 09:52:39 +02:00
Stéphane Nicoll
711c53d16c Merge branch '3.4.x' 2025-05-13 09:52:17 +02:00
Stéphane Nicoll
f9724ca5c8 Merge branch '3.3.x' into 3.4.x 2025-05-13 09:52:10 +02:00
Stéphane Nicoll
e9ff0c6074 Upgrade to Tomcat 10.1.41
Closes gh-45520
2025-05-13 09:37:42 +02:00
Stéphane Nicoll
9eff5df50c Upgrade to Micrometer Tracing 1.5.0
Closes gh-45433
2025-05-13 09:36:30 +02:00
Stéphane Nicoll
af2ee6af1e Upgrade to Micrometer 1.15.0
Closes gh-45432
2025-05-13 09:36:29 +02:00
Stéphane Nicoll
f99ea0d68d Upgrade to Jetty 12.0.21
Closes gh-45519
2025-05-13 09:36:29 +02:00
Stéphane Nicoll
82ca49c46b Upgrade to Hibernate 6.6.14.Final
Closes gh-45518
2025-05-13 09:36:25 +02:00
Stéphane Nicoll
83494b22ad Upgrade to Tomcat 10.1.41
Closes gh-45517
2025-05-13 09:30:22 +02:00
Stéphane Nicoll
d0a13b14bf Upgrade to Micrometer Tracing 1.4.6
Closes gh-45413
2025-05-13 09:28:44 +02:00
Stéphane Nicoll
c74ceaea73 Upgrade to Micrometer 1.14.7
Closes gh-45412
2025-05-13 09:28:44 +02:00
Stéphane Nicoll
1169307cee Upgrade to Jetty 12.0.21
Closes gh-45516
2025-05-13 09:28:44 +02:00
Stéphane Nicoll
9c928056ee Upgrade to Hibernate 6.6.14.Final
Closes gh-45515
2025-05-13 09:28:39 +02:00
Stéphane Nicoll
09c79cce85 Upgrade to Tomcat 10.1.41
Closes gh-45514
2025-05-13 09:22:46 +02:00
Stéphane Nicoll
1662f051d4 Upgrade to Micrometer Tracing 1.3.12
Closes gh-45418
2025-05-13 09:07:04 +02:00
Stéphane Nicoll
48c765674f Upgrade to Micrometer 1.13.14
Closes gh-45416
2025-05-13 09:07:04 +02:00
Stéphane Nicoll
8afae11be2 Upgrade to Jetty 12.0.21
Closes gh-45513
2025-05-13 09:07:04 +02:00
Phillip Webb
7b08c07e7e Replace ClientHttpRequestFactorySettings.Redirects with HttpRedirects
Closes gh-45505
2025-05-12 21:58:00 -07:00
Olga Maciaszek-Sharma
8f6a9b9440 Support declarative HTTP Service clients
Add auto-configuration support for Spring Framework's HTTP Service
clients, supporting both `RestClient` and `WebClient` client types.

Configuration properties are provided under `spring.http.client.service`
and `spring.http.reactiveclient.service` names. Group specific
properties are available under `....service.group.<name>.`.

Auto-configuration support includes automatic registration of user
defined `HttpServiceGroupConfigurer` beans. `RestClientCustomizer` and
`WebClientCustomizer` beans are also supported.

Closes gh-31337

Co-authored-by: Rossen Stoyanchev <rossen.stoyanchev@broadcom.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2025-05-12 21:21:49 -07:00
Phillip Webb
f1f54382ed Merge branch 'main' into 4.0.x 2025-05-12 17:58:06 -07:00
Phillip Webb
48ed394679 Remove settings suffix from http client properties
Remove `spring.http.client` deprecation and change
`spring.http.reactiveclient.settings` to `spring.http.reactiveclient`.

Closes gh-45507
2025-05-12 17:55:02 -07:00
Stéphane Nicoll
2923e66143 Merge pull request #45380 from quaff
* pr/45380:
  Stop considering "spring.batch.initialize-schema"

Closes gh-45380
2025-05-12 16:41:59 +02:00
Yanming Zhou
ef5031fd0e Stop considering "spring.batch.initialize-schema"
See gh-45380

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-05-12 16:33:56 +02:00
Stéphane Nicoll
4bc3456f0b Merge branch 'main' into 4.0.x 2025-05-11 20:14:35 +02:00
Stéphane Nicoll
dd120b937e Merge branch '3.4.x' 2025-05-11 20:14:11 +02:00
Stéphane Nicoll
8922f23cb2 Reapply "Start building against Spring Framework 6.2.7 snapshots"
This reverts commit 650ce62193.

See gh-45147
2025-05-11 20:13:06 +02:00
Andy Wilkinson
93f2d5fce8 Merge branch 'main' into 4.0.x 2025-05-11 09:01:41 +01:00
Andy Wilkinson
caddef7949 Merge branch '3.4.x'
See gh-45437
2025-05-11 08:59:51 +01:00
Andy Wilkinson
650ce62193 Revert "Start building against Spring Framework 6.2.7 snapshots"
This reverts commit 9aa0c2ee8a.

See gh-45417
2025-05-11 08:58:36 +01:00