Commit Graph
326 Commits
Author SHA1 Message Date
Stéphane NicollandEddú Meléndez 72b8a6ca05 Migrate Spring RabbitMQ support to spring-boot-rabbitmq
See gh-49620

Co-authored-by: Eddú Meléndez <eddu.melendez@gmail.com>
2026-03-19 08:04:14 +01:00
Phillip Webb 55eba139ec Support binding of default properties when an empty property is defined
Update the `Binder` so that empty properties are treated as an indicator
that default value binding should be attempted. This update allow bound
objects to differentiate between a completely missing property vs one
that is present but doesn't have any values.

For example, given the following value object:

	@ConfigurationProperties("my")
	public record My(Name name, int age) {

		public record Name(String first, String last) {
		}

	}

The following binding scenarios are supported:

1) Full binding

	my.name.first=Spring
	my.name.last=Boot
	my.age=4

Binds to `new My(new Name("Spring", "Boot"), 4)`
(works the same as Spring Boot 4.0)

2) Missing Properties

	my.age=4

Binds to `new My(null, 4)`
(works the same as Spring Boot 4.0)

3) Default Properties

	my.name=
	my.age=4

Binds to `new My(new Name(null, null), 4)`
(previously would throw a converter exception)

Closes gh-48920
2026-03-17 11:37:51 -07:00
Andy Wilkinson 391c898b49 Polish "Add SSL support to auto-configuration for Rabbit Streams"
See gh-48960

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-03-17 12:03:38 +00:00
Stéphane Nicoll b12d40e8e5 Add support for Spring Batch MongoDB
This commit adds support for running Spring Batch jobs with a MongoDB
store. It aligns as much as possible to the JDBC counterpart, with
spring-boot-starter-batch-data-mongodb and spring-boot-starter-batch-data-mongodb-test.

As we do not have a way to initialize a MongoDB store at the moment,
this commit adds a conservative approach of executing commands defined
by the standard Spring Batch schema script.

Closes gh-43236
2026-03-16 12:11:19 +01:00
Moritz Halbritter 3c1e2c0fcc Merge branch '4.0.x'
Closes gh-49605
2026-03-16 08:45:46 +01:00
Moritz Halbritter 766e11dc28 Document support for Java 26
Closes gh-49604
2026-03-16 08:44:42 +01:00
Moritz Halbritter efd44dce56 Rename management.tracing.exemplars.filter to management.tracing.exemplars.include
See gh-49572
2026-03-13 15:07:11 +01:00
Andy Wilkinson 5721f57acd Polish "Update TestRestTemplate's default cookie handling to match RestTemplate's"
See gh-49261

Signed-off-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
2026-03-12 13:05:21 +00:00
Moritz Halbritter 5ca8e0956a Add more fine-grained support for selecting metric exemplars
Closes gh-49572
2026-03-12 11:58:05 +01:00
Andy Wilkinson 29e4938971 Polish "Add more styling support to the Logback and Log4j2 color converters"
See gh-49285
2026-03-12 09:27:04 +00:00
Moritz Halbritter bd663c1551 Add property to disable the OpenTelemetry SDK
This uses no-op implementations for the SdkTracerProvider,
SdkLoggerProvider and SdkMeterProvider, but still configures the
propagators.

Additionally, it doesn't create the tracing and logging beans which
would be superfluous for a disabled SDK.

Closes gh-49564
2026-03-11 14:04:46 +01:00
Andy Wilkinson ee629caf1c Merge branch '4.0.x'
Closes gh-49563
2026-03-11 11:26:47 +00:00
Andy Wilkinson 5b0538c94c Merge branch '3.5.x' into 4.0.x
Closes gh-49562
2026-03-11 11:25:07 +00:00
Moritz Halbritter 2a8ad44cef Polish "Add auto-configuration for otlp exemplars"
See gh-49538
2026-03-11 09:11:09 +01:00
Moritz Halbritter 7172d227b7 Merge branch '4.0.x'
Closes gh-49557
2026-03-11 08:42:13 +01:00
Moritz Halbritter 0e9840e7de Provide advance warning of the deprecation and forthcoming removal of
OpenTelemetry's ZipkinSpanExporter

Closes gh-49453
2026-03-11 08:36:37 +01:00
Moritz Halbritter 81d04f2c4d Add documentation for the new span and log limits
See gh-49554
2026-03-10 17:06:49 +01:00
Moritz Halbritter 951d37a25c Add properties to select OpenTelemetry's sampler
Closes gh-49548
2026-03-10 15:20:32 +01:00
Moritz Halbritter 27723a11ab Add properties to configure BatchLogRecordProcessor
Closes gh-49543
2026-03-10 14:42:16 +01:00
Andy Wilkinson 632a19ad63 Polish "Add customizers for opaque token introspector builders"
See gh-49029
2026-03-10 10:42:00 +00:00
Brian Clozel 07bd80fe6b Merge branch '4.0.x'
Closes gh-49521
2026-03-09 11:28:36 +01:00
Brian Clozel e487a6b499 Improve EndpointRequest matcher documentation
Prior to this commit, `EndpointRequest` exposed factory methods for
creating security matchers in the context of Actuator endpoints. This is
using the popular pattern matching approach for security matchers.
Such matchers are not as focused as method-level security and will match
the endpoint path itself (`"actuator/endpoint"`) as well as everything
beneath it (`"actuator/endpoint/**"`).

This commit improves the Javadoc and reference documentation to make
this behavior more explicit.

Closes gh-49520
2026-03-09 11:25:39 +01:00
Andy Wilkinson d9d92a4618 Merge branch '4.0.x'
Closes gh-49515
2026-03-09 08:54:33 +00:00
Andy Wilkinson 6a13e47664 Merge branch '3.5.x' into 4.0.x
Closes gh-49514
2026-03-09 08:54:18 +00:00
Brian Clozel d655f1c9a7 Merge branch '4.0.x'
Closes gh-49511
2026-03-09 09:41:34 +01:00
Brian Clozel 7a6d92cbff Document security considerations for forwarded headers
This commit highlights that while "forwarded headers" support is enabled
automatically for cloud platforms, we generally assume that apps are
behind trusted HTTP proxies.

If this is not the case, app developers should disable this feature if
they choose to expose the application to direct Internet traffic.

Closes gh-49507
2026-03-09 09:41:11 +01:00
Stéphane Nicoll 494e86b56e Start building against Spring Framework 7.0.6 snapshots
See gh-49441
2026-03-06 09:53:35 +01:00
Stéphane Nicoll 9c93ff4b78 Start building against Spring Framework 7.0.6 snapshots
See gh-49418
2026-03-06 09:29:09 +01:00
Stéphane Nicoll 4b45f6f91e Merge branch '4.0.x'
Closes gh-49430
2026-03-05 16:15:54 +01:00
Stéphane Nicoll dd75c09277 Merge branch '3.5.x' into 4.0.x
Closes gh-49429
2026-03-05 16:15:38 +01:00
Stéphane Nicoll c6ca9fbe25 Merge branch '4.0.x'
Closes gh-49393
2026-03-04 08:49:39 +01:00
Stéphane Nicoll bad9c3c903 Merge branch '3.5.x' into 4.0.x
Closes gh-49392
2026-03-04 08:49:31 +01:00
Stéphane Nicoll fae95ee334 Polish "Add support for Log4j2 rolling policy configuration"
See gh-47260
2026-03-02 14:38:11 +01:00
Stéphane Nicoll 27cf8e90eb Merge branch '4.0.x'
Closes gh-49363
2026-03-02 09:39:36 +01:00
Stéphane Nicoll 49d2296c8e Merge branch '3.5.x' into 4.0.x
Closes gh-49362
2026-03-02 09:39:24 +01:00
Andy Wilkinson ac290cdb43 Polish
See gh-48971
2026-02-26 15:18:08 +00:00
Brian Clozel 8018829ff5 Deprecate LiveReload support for removal
Closes gh-48971
2026-02-26 14:22:02 +01:00
Andy Wilkinson d11f64a7af Merge branch '4.0.x'
Closes gh-49328
2026-02-26 09:38:21 +00:00
Andy Wilkinson 6c8cd183bd Merge branch '3.5.x' into 4.0.x
Closes gh-49327
2026-02-26 09:38:10 +00:00
Andy Wilkinson 89d6faae1a Merge branch '4.0.x'
Closes gh-49313
2026-02-24 15:37:47 +00:00
giyeon95 9ab01f61bd Remove extraneous semicolon from read-timeout value
Signed-off-by: giyeon95 <giyeon15@gmail.com>

See gh-49306
2026-02-24 15:36:55 +00:00
Stéphane Nicoll f0a66e7865 Merge branch '4.0.x' 2026-02-23 12:14:14 +01:00
Stéphane Nicoll f092971c7c Fix link to INSTALL.txt 2026-02-23 12:13:30 +01:00
Stéphane Nicoll 2fb9eb49d6 Merge branch '4.0.x'
Closes gh-49288
2026-02-22 17:23:57 +01:00
Stéphane Nicoll eff9ca0af2 Merge branch '3.5.x' into 4.0.x
Closes gh-49287
2026-02-22 17:23:48 +01:00
Andy Wilkinson 918e59b817 Add customizer and property support for configuring Jackson factories
Closes gh-34709
2026-02-13 11:31:17 +00:00
Andy Wilkinson 6c820776b5 Merge branch '4.0.x'
Closes gh-49213
2026-02-13 09:15:01 +00:00
Andy Wilkinson 6f303032e2 Merge branch '3.5.x' into 4.0.x
Closes gh-49212
2026-02-13 09:14:36 +00:00
Andy Wilkinson be750eb306 Adapt to deprecation of support for Dynatrace V1 API
See gh-49111
2026-02-10 09:06:57 +00:00
Andy Wilkinson 12c6292708 Support RabbitMQ Streams with Docker Compose
Closes gh-49162
2026-02-09 17:23:09 +00:00