Commit Graph
361 Commits
Author SHA1 Message Date
Phillip Webb b206830ca4 Merge branch '4.0.x'
Closes gh-50025
2026-04-10 17:00:22 -07:00
Phillip Webb fdf478e6d5 Merge branch '3.5.x' into 4.0.x
Closes gh-50024
2026-04-10 17:00:04 -07:00
Stéphane Nicoll c76b6b8c66 Add lazy JDBC connection fetching for pooled DataSources
This commit allows wrapping the auto-configured pooled DataSource in a
proxy that fetches connections as late as possible. JMX registration of
the underlying pool is preserved.

Closes gh-15480
2026-04-10 15:21:23 +02:00
Andy Wilkinson 7edde21acc Merge branch '4.0.x'
Closes gh-50016
2026-04-10 10:14:31 +01:00
Andy Wilkinson dd6bc60d46 Merge branch '3.5.x' into 4.0.x
Closes gh-50015
2026-04-10 10:14:16 +01:00
Stéphane Nicoll b103d2bb4c Polish "Add support for configuring a custom SessionTimeout bean"
See gh-49883
2026-04-07 15:08:09 +02:00
Stéphane Nicoll f1941b045f Merge branch '4.0.x'
Closes gh-49875
2026-04-03 09:18:21 +02:00
Stéphane Nicoll c9cb517deb Polish "Adapt documentation for Liquibase and Flyway to new modules"
See gh-49839
2026-04-03 09:12:01 +02:00
Piotr Papaj ebe074c7d3 Adapt documentation for Liquibase and Flyway to new modules
See gh-49839

Signed-off-by: Piotr Papaj <4591951+ppapaj@users.noreply.github.com>
2026-04-03 09:10:39 +02:00
Moritz Halbritter 09ece896a5 Merge branch '4.0.x'
Closes gh-49870
2026-04-02 11:16:36 +02:00
Moritz Halbritter d437c11761 Merge branch '3.5.x' into 4.0.x
Closes gh-49869
2026-04-02 11:12:20 +02:00
Moritz Halbritter dc375134f9 Merge branch '4.0.x'
Closes gh-49867
2026-04-02 10:47:07 +02:00
Moritz Halbritter 4f47202910 Merge branch '3.5.x' into 4.0.x
Closes gh-49866
2026-04-02 10:46:26 +02:00
Stéphane Nicoll fec0e94570 Merge branch '4.0.x'
Closes gh-49852
2026-03-31 10:34:34 +02:00
Stéphane Nicoll 3c16fe6f4b Merge branch '3.5.x' into 4.0.x
Closes gh-49851
2026-03-31 10:31:10 +02:00
Moritz Halbritter c56cbd46b2 Map OpenTelemetry environment variables to properties
Closes gh-48799
2026-03-30 15:28:42 +02:00
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
Phillip Webb b650f3c558 Rework spring-boot-health for reuse
Update `spring-boot-health` to allow for better reuse outside
of the actuator module.

See gh-49048
2026-03-19 15:12:30 -07: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