Commit Graph
334 Commits
Author SHA1 Message Date
Stéphane Nicoll 5cecd3922f Merge branch '4.0.x'
Closes gh-49834
2026-03-28 18:07:21 +01:00
bachhs 67ad1fa2b4 Adapt to Jackson 3 Kafka support
See gh-49826

Signed-off-by: bachhs <bachhs21@gmail.com>
2026-03-28 18:01:17 +01:00
Stéphane Nicoll a93ad0f173 Merge branch '4.0.x'
Closes gh-49715
2026-03-23 16:27:35 +01:00
Stéphane Nicoll bcd5b28da3 Merge branch '3.5.x' into 4.0.x
Closes gh-49714
2026-03-23 16:27:16 +01:00
Andy Wilkinson e8fe9166bf Merge branch '4.0.x'
Closes gh-49705
2026-03-23 09:44:29 +00:00
Andy Wilkinson 1e5fd25888 Overhaul Spring Session documentation following modularization
Closes gh-49704
2026-03-23 09:43:56 +00:00
Lee Jiwon d804749c2e Fix duplicated words in external-config documentation
See gh-49700

Signed-off-by: Lee Jiwon <dlwldnjs1009@gmail.com>
2026-03-22 10:14:56 +01:00
Stéphane Nicoll 5296a5bbfd Revert "Rename spring-boot-amqp to spring-boot-rabbitmq"
This reverts commit 72b8a6ca05,
b820d9feac, and
edadf816ab.

See gh-49620
2026-03-20 11:03:28 +01:00
Stéphane Nicoll f728235906 Revert "Introduce Generic AMQP 1.0 client support"
This reverts commit 8dde82b557, c388dc92
5b7f0f726b, and
2d71ef94ed.

See gh-49621
2026-03-20 11:02:35 +01:00
Stéphane Nicoll 72c1b3a7c6 Merge branch '4.0.x'
Closes gh-49673
2026-03-20 10:08:52 +01:00
Stéphane Nicoll d8ea797aab Merge branch '3.5.x' into 4.0.x
Closes gh-49672
2026-03-20 10:08:40 +01:00
Chris BonoandPhillip Webb be3a1b7117 Add Spring gRPC test support
Add a testing module that can be used for testing Spring gRPC
server or client applications.

Closes gh-49046

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2026-03-19 15:12:30 -07:00
Chris BonoandPhillip Webb c35b21adb4 Add Spring gRPC client support
Add support for Spring gRPC client applications.

Closes gh-49045

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2026-03-19 15:12:30 -07:00
Chris BonoandPhillip Webb e61bb6df5b Add Spring gRPC server support
Add support for Spring gRPC server applications.

Closes gh-49044

Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2026-03-19 15:12:30 -07:00
Stéphane Nicoll c388dc92f1 Add AMQP 1.0 client auto-configuration
This commit adds auto-configuration for the generic AMQP 1.0 client
in Spring AMQP 4.1, using Qpid ProtonJ. The auto-configuration provides
an AmqpConnectionFactory as well as an AmqpClient with standard
customizer callbacks. The "spring.amqp" namespace exposes settings to
connect to an AMQP 1.0 compliant broker. Docker compose and
testcontainers support using RabbitMQ have been added too.

Closes gh-49621
2026-03-19 15:46:47 +01:00
Stéphane NicollandEddú Meléndez edadf816ab Rename package for RabbitMQ support
This commit renames the RabbitMQ root packages from amqp to rabbitmq.

See gh-49620

Co-authored-by: Eddú Meléndez <eddu.melendez@gmail.com>
2026-03-19 08:04:16 +01:00
Stéphane NicollandEddú Meléndez b820d9feac Harmonize support to refer to RabbitMQ
This commit adapts description to refer to RabbitMQ rather than AMQP.

See gh-49620

Co-authored-by: Eddú Meléndez <eddu.melendez@gmail.com>
2026-03-19 08:04:16 +01:00
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
Stéphane Nicoll 73083c2b51 Upgrade to Kafka 4.1.2
See also https://github.com/yawkat/lz4-java/wiki/Gradle-and-org.lz4:lz4%E2%80%90java:1.8.1

Closes gh-49627
2026-03-17 16:00:21 +01: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
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