Commit Graph
829 Commits
Author SHA1 Message Date
Andy Wilkinson e2f53ee9ee Upgrade to Artemis 2.50.0
Closes gh-49123
2026-02-05 17:46:48 +00:00
Andy Wilkinson 4b3d6e5bcf Start building against Spring Security 7.1.0-M2 snapshots
See gh-49121
2026-02-05 17:46:48 +00:00
Stéphane Nicoll c607594a1e Polish "Add Kotlin DSL extension functions for TestEntityManager"
See gh-49063
2026-02-05 18:22:02 +01:00
Beom Su 177b33eccf Add Kotlin DSL extension functions for TestEntityManager
See gh-49063

Signed-off-by: Beom Su <dj258255@naver.com>
2026-02-05 18:22:02 +01:00
Andy Wilkinson 8774d9286b Merge branch '4.0.x'
Closes gh-49035
2026-02-02 10:45:35 +00:00
Andy Wilkinson 0401000ae2 Merge branch '3.5.x' into 4.0.x
Closes gh-49034
2026-02-02 10:45:15 +00:00
Stéphane Nicoll 01364b7099 Merge branch '4.0.x'
Closes gh-49027
2026-01-30 19:16:38 +01:00
Stéphane Nicoll 3bbf3c79ef Merge branch '3.5.x' into 4.0.x
Closes gh-49026
2026-01-30 19:14:51 +01:00
Brian Clozel e53d008d07 Merge branch '4.0.x'
Closes gh-49016
2026-01-29 09:47:25 +01:00
Brian Clozel 53c1f424ce Fix Jackson3 class reference in condition
Prior to this commit, the `XmlMapper` auto-configuration for Jackson2
would refer to Jackson3's `XmlMapper` instead of Jackson2. This would
not only make the condition invalid, but it could also lead to
`NoClassDefFoundError` at runtime if the application mixed Jackson 2 and
3 on the classpath.

Fixes gh-49015
2026-01-29 09:45:00 +01:00
Andy Wilkinson f8f1da605e Merge branch '4.0.x'
Closes gh-49011
2026-01-28 14:04:59 +00:00
Andy Wilkinson 5826200520 Delay removal of Jackson 2 support until 4.3.0 at the earliest
Closes gh-49010
2026-01-28 13:52:00 +00:00
Moritz Halbritter a3c5f61567 Polish "Add customizers for OtlpHttpLogRecordExporterBuilder and OtlpGrpcLogRecordExporterBuilder"
See gh-49002
2026-01-28 13:31:04 +01:00
Joaquin Santana 743d54e403 Add customizers for OtlpHttpLogRecordExporterBuilder and OtlpGrpcLogRecordExporterBuilder
See gh-49002

Signed-off-by: Joaquin Santana <joaquinjsb@outlook.com>
2026-01-28 13:24:47 +01:00
Andy Wilkinson cec1dd2530 Merge branch '4.0.x'
Closes gh-49005
2026-01-28 11:25:33 +00:00
Andy Wilkinson cbfbe59581 Upgrade to Nullability Plugin 0.0.11
In addition to the upgrade, this commit also fixes some contract
violations in non-public APIs that are now detected as the new
version of the plugin enables contract checking by default.

Closes gh-49000
2026-01-28 10:46:42 +00:00
Moritz Halbritter 4b73f38d44 Merge branch '4.0.x'
Closes gh-48990
2026-01-27 13:41:19 +01:00
Moritz Halbritter b38338fe32 Merge branch '3.5.x' into 4.0.x
Closes gh-48989
2026-01-27 13:41:04 +01:00
Andy Wilkinson a9871f8b88 Merge branch '4.0.x'
Closes gh-48988
2026-01-27 11:09:35 +00:00
Andy Wilkinson 78fbd12510 Merge branch '3.5.x' into 4.0.x
Closes gh-48987
2026-01-27 11:08:52 +00:00
Andy Wilkinson 27e3ddc7fb Merge branch '4.0.x'
Closes gh-48949
2026-01-23 10:36:38 +00:00
Yanming Zhou 5733ee723e Remove unnecessary @ConfigurationPropertiesSource
Remove @ConfigurationPropertiesSource from classes that reside in
the same module as all referencing @ConfigurationProperties classes.

Signed-off-by: Yanming Zhou <zhouyanming@gmail.com>

See gh-48934
2026-01-23 10:33:35 +00:00
jdsalasca b1e9fdc3ec Provide support for adding to the mime types that are compressed
Signed-off-by: jdsalasca <jdsalasc@unal.edu.co>

See gh-48930
2026-01-23 09:25:12 +00:00
Phillip Webb 0463b4d0bc Add @AutoConfigureWebServer test annotation
Introduce `@AutoConfigureWebServer` test annotation to support
`@SpringBootTest` with specific classes and a random port.

Closes gh-48815
2026-01-21 19:32:43 -08:00
Phillip Webb f73a809c8c Polish 2026-01-21 11:07:03 -08:00
Moritz Halbritter 9f3720a171 Automatically configure Spring AMQP's observation convention beans
This automatically registers RabbitListenerObservationConvention,
RabbitTemplateObservationConvention, RabbitStreamListenerObservationConvention
and RabbitStreamTemplateObservationConvention beans.

Closes gh-48922
2026-01-21 09:42:45 +01:00
Andy Wilkinson bba597748b Merge branch '4.0.x'
Closes gh-48918
2026-01-20 18:51:47 +00:00
Andy Wilkinson df5014a29d Revert "Temporarily add hints needed for Hibernate 7.2"
This reverts commit 1a4426a369.

Closes gh-48550
2026-01-20 18:05:52 +00:00
Moritz Halbritter d65eb69647 Automatically configure Spring Kafka's observation convention beans
This automatically registers KafkaListenerObservationConvention on the
container factory, and KafkaTemplateObservationConvention on the
Kafka template.

Closes gh-48914
2026-01-20 17:29:35 +01:00
Andy Wilkinson c51788b4ee Remove stale metadata that was hiding new properties
See gh-48870
2026-01-20 12:58:52 +00:00
Andy Wilkinson 44748296c7 Merge branch '4.0.x'
Closes gh-48903
2026-01-20 10:02:18 +00:00
Johnny Lim 485b16ad0a Remove @ConditionalOnClass(Sniffer.class) on RestClientSnifferConfiguration
The condition is unnecessary as the sniifer is now included in the
same jar as the REST client itself.

See gh-48900

Signed-off-by: Johnny Lim <izeye@naver.com>
2026-01-20 09:59:59 +00:00
Andy Wilkinson 60bad35a1c Merge branch '4.0.x'
See gh-48633
2026-01-20 09:55:01 +00:00
Andy Wilkinson 85f3f3856d Revert "Allow a custom JsonFactory to be used with JsonMapper.Builder"
This reverts commit 22d6f6a7de.

See gh-48594
2026-01-20 09:34:39 +00:00
Andy Wilkinson e1cf93c545 Polish "Add properties for format-agnostic read and write features"
Apply the format-agnostic read and write feature properties to all
supported mappers (CBOR, JSON, and XML), not just JSON.

See gh-48870
2026-01-20 09:28:13 +00:00
michaldo 9c15debfb2 Add properties for format-agnostic read and write features
Signed-off-by: michaldo <michaldo@github.com>

See gh-48870
2026-01-20 09:28:13 +00:00
Moritz Halbritter c9be84af6e Delete web server's temporary directories when the context is closed
Closes gh-9983
2026-01-20 10:16:54 +01:00
paullee714 1e458eff63 Add spring.data.rest.return-body-on-delete configuration property
This commit adds the missing returnBodyOnDelete property to
DataRestProperties, completing the symmetric configuration for
controlling response body behavior across all CRUD operations.

The property maps to RepositoryRestConfiguration.setReturnBodyOnDelete()
which was added in Spring Data REST 4.1.

Signed-off-by: paullee714 <woolba714@kakao.com>

See gh-48872
2026-01-19 14:54:05 +00:00
Andy Wilkinson 7d0d003786 Merge branch '4.0.x'
Closes gh-48898
2026-01-19 10:24:24 +00:00
Andy Wilkinson 6df1caf8f9 Auto-configure transactions when using spring-boot-kafka
spring-kafka has an api dependency on spring-tx, placing
the latter on the compile classpath of the former's consumers.
Additionally, when spring.kafka.producer.transaction-id-prefix is
set, the Kafka auto-configuration will define a Kafka-based
transaction manager. However, the transaction manager won't be used
without some configuration from the user as there's no dependency on
spring-boot-transaction and, therefore, no auto-configuration of
@EnableTransactionManagement.

This commit adds a spring-boot-transaction dependency to
spring-boot-kafka, aligning it with the spring-tx dependency that
spring-kafka already has.

Fixes gh-48880
2026-01-19 10:23:12 +00:00
Andy Wilkinson bbe82d61c5 Polish "Allow user-provided alternatives to MockRestServiceServer beans"
See gh-48825
2026-01-16 09:40:57 +00:00
HuitaePark f21bab293b Allow user-provided alternatives to MockRestServiceServer beans
Previously, MockRestServiceServerAutoConfiguration unconditionally
defined its beans, preventing the user from providing an alternative.

This commit adds @ConditionalOnMissingBean to ensure the auto-configuration
backs off when a user-provided alternatives are present.

See gh-48825

Signed-off-by: HuitaePark <qkrgmlxo3174@gmail.com>
2026-01-16 09:40:57 +00:00
Phillip Webb a1b7a6c34d Merge branch '4.0.x'
Closes gh-48861
2026-01-15 18:20:20 -08:00
Phillip Webb ea564d21e0 Ensure that the session same site defaults to "lax"
Remove the `always()` call from the same site mapping and replace `as`
with a direct call. This update means that mapping only occurs when
`getSameSite` is not `null`, but mapping can still be applied if
`sameSite.getAttributeValue()` returns `null`.

Closes gh-48830
2026-01-15 17:36:56 -08:00
Phillip Webb 5d2373eab8 Merge branch '3.5.x' into 4.0.x 2026-01-15 17:33:45 -08:00
Andy Wilkinson 4e6ce7b141 Merge branch '4.0.x'
Closes gh-48844
2026-01-15 14:31:24 +00:00
Andy Wilkinson 625571c3d1 Fix MVC and WebFlux validator creation in a native image
Following modularization, a presence check for ValidatorAdapter was
needed in the MVC and WebFlux auto-configuratiomn when creating
their Validators. Runtime hints to allow this check to work in a
native image were not added at the same time, resulting in the
class appearing to be absent. This caused message interpolation
for constraint violations to fail as newly created Validator was
being used which lacked the necessary MessageInterpolator
configuration.

This commit adds reflection hints for ValidatorAdapter, allowing
re-use of the context's main validator as the MVC and WebFlux
validators.

Fixes gh-48828
2026-01-15 14:12:33 +00:00
Andy Wilkinson e11994c54f Merge branch '4.0.x'
See gh-48823
2026-01-15 12:02:55 +00:00
Andy Wilkinson e8cea82772 Don't require …TestAutoConfiguration classes in imports file
See gh-48822
2026-01-15 12:01:46 +00:00
Andy Wilkinson d15ce76b7b Merge branch '4.0.x'
Closes gh-48843
2026-01-15 12:00:27 +00:00