Commit Graph

4208 Commits

Author SHA1 Message Date
Stéphane Nicoll
92fe6b09e5 Merge branch '3.4.x'
Closes gh-45225
2025-04-17 14:28:34 +02:00
Stéphane Nicoll
497a1f7860 Merge branch '3.3.x' into 3.4.x
Closes gh-45224
2025-04-17 14:28:27 +02:00
Stéphane Nicoll
6eb20abc90 Polish "Document the semantic of using multiple profile expressions"
See gh-44866
2025-04-17 14:24:18 +02:00
Yanming Zhou
6eae09ba68 Document the semantic of using multiple profile expressions
This commit clarifies the semantic of declaring multiple profile
expression with the "spring.config.activate.on-profile" property.

See gh-44866

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>
2025-04-17 14:24:03 +02:00
Stéphane Nicoll
0e347afd31 Polish "Add support for optional Log4J2 configuration"
See gh-44488

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-17 13:59:53 +02:00
Dmytro Nosan
48154a393f Add support for optional Log4J2 configuration
This commit adds support for the standard 'optional:' prefix in Log4j2
override file locations, ensuring missing files are ignored without
throwing exceptions.

See gh-44488

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-17 13:42:47 +02:00
Tommy Ludwig
776d233c1c Auto-configure OtlpMetricsSender if available
Update `OtlpMetricsExportAutoConfiguration` to use the new
`OtlpMetricsSender`interface that allows users to customize the
sending of OTLP metrics using the `OtlpMeterRegistry`.

See gh-45204
2025-04-15 09:56:18 -07:00
Moritz Halbritter
752842a4ee Merge branch '3.4.x'
Closes gh-45200
2025-04-15 10:23:10 +02:00
Moritz Halbritter
f20e796d2b Update CDS documentation to cover AOTCache
Closes gh-44970
2025-04-15 10:22:36 +02:00
Phillip Webb
5b165b35e3 Used nested format for ECS structure logging
Update `ElasticCommonSchemaStructuredLogFormatter` implementations so
that nested JSON is used for entries that previous has a '.' in the
name. This format follows the ECS specification and should be compatible
with more backends.

Fixes gh-45063
2025-04-14 15:30:14 -07:00
Andy Wilkinson
9d063e3ea9 Merge branch '3.3.x' into 3.4.x
Closes gh-45176
2025-04-14 10:39:06 +01:00
Andy Wilkinson
4cfc3b0735 Add the use of token properties in documentation
Closes gh-44990
2025-04-14 10:37:57 +01:00
Phillip Webb
c69d3ef406 Rename 'spring.http.client' properties to 'spring.http.client.settings'
Deprecate 'spring.http.client' properties in favor of
'spring.http.client.settings` to align with the new reactive client
properties.

Closes gh-44958
2025-04-10 22:05:41 -07:00
Stéphane Nicoll
75bc4b2888 Merge branch '3.4.x'
Closes gh-45048
2025-04-10 10:14:53 +02:00
Stéphane Nicoll
87cd1bb7fd Merge branch '3.3.x' into 3.4.x
Closes gh-45047
2025-04-10 10:14:11 +02:00
Jonatan Ivanov
23c3c2753a Add details of the purpose of the metrics endpoint
See gh-44767
2025-04-10 10:08:02 +02:00
Tran Ngoc Nhan
cdb8ed4d38 Add the use of token properties in documentation
Show the use of token properties in authorization server clients
configuration example

See gh-45019

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-04-08 11:58:46 -07:00
Moritz Halbritter
04e945c348 Merge branch '3.4.x'
Closes gh-45034
2025-04-08 11:31:37 +02:00
Moritz Halbritter
257ce0a839 Merge branch '3.3.x' into 3.4.x
Closes gh-45033
2025-04-08 11:31:29 +02:00
Neven C
f13dc345cf Escape the asterisk in spring-application.adoc
See gh-45032

Signed-off-by: Neven C <neven.cvetkovic@gmail.com>
2025-04-08 11:26:19 +02:00
Phillip Webb
3c806d2b31 Polish "Update documentation for Task Execution"
See gh-44926
2025-04-07 16:57:45 -07:00
Moritz Halbritter
cfecdfcb92 Polish "Update documentation for Task Execution"
See gh-44926
2025-04-07 11:40:16 +02:00
Dmytro Nosan
6a92364ccd Update documentation for Task Execution
See gh-44926

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-04-07 11:36:15 +02:00
Moritz Halbritter
c179fed3b4 Add annotation for registering Servlets and Filters
@ServletRegistration and @FilterRegistration can be used as an
annotation-based alternative to ServletRegistrationBean and
FilterRegistrationBean.

Closes gh-16500
2025-04-04 09:57:52 +02:00
Phillip Webb
455bb0f835 Add ClientHttpRequestFactoryBuilderCustomizer support
Add `ClientHttpRequestFactoryBuilderCustomizer` interface that can be
used to customize the `ClientHttpRequestFactoryBuilder`.

Closes gh-44987
2025-04-03 17:20:11 -07:00
Phillip Webb
983e7b637b Introduce ClientHttpConnectorBuilder support
Add a new `ClientHttpConnectorBuilder` interface to support the
creation of `ClientHttpConnector` instances. The new code is similar
to the `ClientHttpRequestFactoryBuilder` interface that was added to
Spring Boot 3.4.

The `ClientHttpConnectorBuilder` is a functional interface with
additional static factory methods for the various supported
`ClientHttpConnector` types. Each type has it's own builder
which to support client specific customization.

The previous auto-configuration has been relocated to the
`org.springframework.boot.autoconfigure.http.client.reactive`
package and updated to make use of the builder.

Closes gh-43079
2025-04-03 17:05:12 -07:00
Andy Wilkinson
b8e4ec3dc4 Merge branch '3.4.x'
Closes gh-44973
2025-04-02 10:41:33 +01:00
Andy Wilkinson
f039c73db7 Move spring.codec properties to spring.http.codecs
Closes gh-44925
2025-04-01 20:22:49 +01:00
Andy Wilkinson
25ea5901aa Merge branch '3.4.x'
Closes gh-44967
2025-04-01 10:05:44 +01:00
Andy Wilkinson
05f9177abc Merge branch '3.3.x' into 3.4.x
Closes gh-44966
2025-04-01 10:05:34 +01:00
Andy Wilkinson
d07cc59907 Polish security documentation
This commit updates the WebFlux security documentation, primarily to
link to reactive types rather than their Servlet-based equivalents.
It also attempts to clarify when a user details service is
auto-configured.

Closes gh-44955
2025-04-01 10:05:25 +01:00
Moritz Halbritter
88b5ad04e5 Merge branch '3.4.x'
Closes gh-44963
2025-04-01 08:57:09 +02:00
Andreas Ahlenstorf
64843ec2f0 Replace mentions of deprecated MockBean annotation
See gh-44947

Signed-off-by: Andreas Ahlenstorf <andreas@ahlenstorf.ch>
2025-04-01 08:55:22 +02:00
Andy Wilkinson
2a92c0df1e Address warnings in SSL service connection doc snippets 2025-03-28 09:29:48 +00:00
Stéphane Nicoll
13bd61445b Allow configuring a TaskExecutor even if an Executor is present
This commit updates `TaskExecutionAutoConfiguration` to permit the
auto-configuration of a `TaskExecutor` even if a user-defined `Executor`
bean is present.

Such `Executor` may have been created for totally unrelated reason, and
it may or may not be an `AsyncTaskExecutor`. The default behavior has
not changed, but this commit provides a new property,
`spring.task.execution.mode` that can be set to `force` to
auto-configure the `TaskExecutor` anyway.

Because this mode made it so that two `Executor` will be present in the
context, this commit also automatically configures an `AsyncConfigurer`
if none is present already to make sure task processing uses the
auto-configured TaskExecutor.

Closes gh-44659
2025-03-26 16:27:21 +01:00
Stéphane Nicoll
ac550945fe Merge branch '3.4.x'
Closes gh-44909
2025-03-26 16:10:57 +01:00
Stéphane Nicoll
44dbf1a71b Merge branch '3.3.x' into 3.4.x
Closes gh-44908
2025-03-26 16:10:48 +01:00
Stéphane Nicoll
dd1ac616f3 Clarify the behavior if multiple Executor beans are present
Closes gh-44907
2025-03-26 16:06:06 +01:00
Moritz Halbritter
f36d9a921a Polish "Add OTLP span exporter builder customizers"
See gh-44900
2025-03-26 12:00:36 +01:00
Dmytro Nosan
19004e028b Add OTLP span exporter builder customizers
This commit adds customizers for both OtlpHttpSpanExporterBuilder
and OtlpGrpcSpanExporterBuilder.

See gh-44900

Signed-off-by: Dmytro Nosan <dimanosan@gmail.com>
2025-03-26 12:00:36 +01:00
Abel Salgado Romero
1ac039dbe5 Update org.cyclonedx.bom version in docs 2.2.0
See gh-44753

Signed-off-by: Abel Salgado Romero <abel.salgado@broadcom.com>
2025-03-20 12:41:33 +00:00
Moritz Halbritter
c0b74480ab Merge branch '3.4.x'
Closes gh-44756
2025-03-18 14:03:55 +01:00
Moritz Halbritter
c2075bf8e0 Document support for Java 24
Closes gh-44754
2025-03-18 14:00:14 +01:00
Brian Clozel
39a18948bd Remove TraceId HTTP response header support
Closes gh-44752
2025-03-18 10:30:32 +01:00
Stéphane Nicoll
e35a499b9e Merge branch '3.4.x'
Closes gh-44749
2025-03-18 09:48:13 +01:00
Stéphane Nicoll
274e2ed1ea Merge branch '3.3.x' into 3.4.x
Closes gh-44748
2025-03-18 09:48:04 +01:00
Tran Ngoc Nhan
5909d1e919 Remove redhat architect guide link
See gh-44724

Signed-off-by: Tran Ngoc Nhan <ngocnhan.tran1996@gmail.com>
2025-03-18 09:47:39 +01:00
Stéphane Nicoll
d0cdae2369 Align nativeTest to native to make it multi-modules friendly
This commit harmonizes the behavior of the native and nativeTest Maven
profiles. Previously, enabling the nativeTest profile would
automatically add an execution of the Spring Boot and Native Build Tools
plugins, even in a module that doesn't represent an application or a
Spring Boot-related module.

With this commit, the native testing feature is only enabled if the
plugins are defined in the project, either directly, or in a parent.

The documentation has been updated as the behavior of both profiles is
now much more consistent.

Closes gh-44696
2025-03-17 11:32:35 +01:00
Stéphane Nicoll
0a84ebf9f1 Merge branch '3.4.x'
Closes gh-44626
2025-03-06 15:34:11 +01:00
Stéphane Nicoll
e06244d007 Adapt EntityManagerFactoryBuilder to work with multiple data sources
This commit allows EntityManagerFactoryBuilder to provide the JPA
properties to use according to the DataSource used to build the
EntityManagerFactory. Previously the JPA properties were computed only
once based on the primary data source, which was a problem since its
default DDL setting may be different.

EntityManagerFactoryBuilder takes a function that provides the JPA
properties based on a data source, rather than the properties
themselves. Constructors with the previous variant have been deprecated
as a result.

Closes gh-44516
2025-03-06 15:33:53 +01:00