Commit Graph

24897 Commits

Author SHA1 Message Date
Andy Wilkinson
83f692237d Migrate to com.gradle.develocity plugin
Closes gh-40153
2024-04-26 09:30:48 +01:00
Moritz Halbritter
760bc9237d Merge branch '3.2.x' 2024-04-26 09:20:47 +02:00
Moritz Halbritter
f13e487724 Close streams in test before deleting file 2024-04-26 09:20:36 +02:00
Phillip Webb
abdff95ad0 Merge branch '3.2.x'
Closes gh-40526
2024-04-25 12:54:13 -07:00
Phillip Webb
9e40970280 Support gzip compressed image layers
Update buildpack support to allow gzip compressed image layers to be
used when returned by the Docker engine. This update is restores
buildpack support when using Docker Desktop with the "Use containerd
for pulling and storing images" option enabled.

This commit introduces a new `ExportedImageTar` class to deal with the
intricacies of determining the mimetype of a layer. The class deals with
the parsing of `index.json' and related manifest blobs in order to
obtain layer information. The legacy `manifest.json` format is also
supported should `index.json` be missing.

Tests have been added to ensure that export archives from Docker Engine,
Docker Desktop (with and without containerd), and Podman can be used.

Fixes gh-40100

Co-authored-by: Moritz Halbritter <moritz.halbritter@broadcom.com>
Co-authored-by: Scott Frederick <scott.frederick@broadcom.com>
2024-04-25 11:51:59 -07:00
Andy Wilkinson
515bccac6b Polish 2024-04-25 14:10:02 +01:00
Andy Wilkinson
aeb5b1ffe3 Merge branch '3.2.x'
Closes gh-40523
2024-04-25 13:45:12 +01:00
Andy Wilkinson
79c3f0335b Merge branch '3.1.x' into 3.2.x
Closes gh-40522
2024-04-25 13:43:03 +01:00
Andy Wilkinson
27418edeb0 Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto
Closes gh-40503
2024-04-25 13:39:28 +01:00
Andy Wilkinson
f1d0bcda2f Revert "Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto"
This reverts commit 273f8e20c2.
2024-04-25 12:44:51 +01:00
Andy Wilkinson
273f8e20c2 Remove references to s.j.generate-ddl in favor of s.j.hibernate.ddl-auto 2024-04-25 12:24:47 +01:00
Moritz Halbritter
6bb8a11295 Merge branch '3.2.x'
Closes gh-40517
2024-04-25 11:07:36 +02:00
Moritz Halbritter
26f1bbb634 Merge branch '3.1.x' into 3.2.x
Closes gh-40516
2024-04-25 11:07:25 +02:00
Moritz Halbritter
2e906c4720 Catch exceptions thrown during String format when collecting diagnostics
Registers the LoggingLinesWriter only if debug logging is actually
enabled.

Closes gh-40500
2024-04-25 11:06:31 +02:00
Moritz Halbritter
744bea5587 Merge branch '3.2.x'
Closes gh-40515
2024-04-25 09:45:37 +02:00
Moritz Halbritter
503d8c1273 Merge branch '3.1.x' into 3.2.x
Closes gh-40514
2024-04-25 09:44:51 +02:00
Moritz Halbritter
8be85611e0 Clarify the directory that's used by default to find Docker Compose file
Closes gh-40512
2024-04-25 09:44:35 +02:00
Scott Frederick
add22c399a Merge branch '3.2.x'
Closes gh-40509
2024-04-24 15:10:08 -05:00
Scott Frederick
3e2d151c0e Merge branch '3.1.x' into 3.2.x
Closes gh-40508
2024-04-24 15:08:50 -05:00
Scott Frederick
f210d83062 Don't reuse Testcontainers containers if reuse is globally disabled
Fixes gh-39609
2024-04-24 14:37:59 -05:00
Moritz Halbritter
2c346bcdcb Merge branch '3.2.x'
Closes gh-40501
2024-04-24 16:06:07 +02:00
Moritz Halbritter
00a25f5d89 Don't apply CookieSameSiteSupplier to session cookies when using Jetty
Closes gh-39766
2024-04-24 15:59:10 +02:00
Moritz Halbritter
126927f462 Merge branch '3.2.x'
Closes gh-40499
2024-04-24 14:04:17 +02:00
Moritz Halbritter
b416db4dee Merge branch '3.1.x' into 3.2.x
Closes gh-40498
2024-04-24 14:04:08 +02:00
Moritz Halbritter
2cb19f368e Polish "Remove unnecessary nesting of calls to String.format"
See gh-40494
2024-04-24 13:57:07 +02:00
Hyeon Sung
0cf15fcad0 Remove unnecessary nesting of calls to String.format
See gh-40494
2024-04-24 13:55:04 +02:00
Freeman Liu
6aefe505e5 Add grpc starter and httpexchange starter to community starters
See gh-39437
2024-04-23 09:10:57 +01:00
Moritz Halbritter
e496a6f6ad Merge branch '3.2.x'
Closes gh-40486
2024-04-23 09:35:26 +02:00
Moritz Halbritter
35c9233007 Merge branch '3.1.x' into 3.2.x
Closes gh-40485
2024-04-23 09:24:32 +02:00
Moritz Halbritter
b50b0e89c9 Remove detection of missing parameter information
There are some cases where false positives of the detection prevent
compiling an application to native which otherwise would run perfectly
fine in a native image.

Closes gh-40051
2024-04-23 09:10:46 +02:00
Phillip Webb
ec10673b48 Merge branch '3.2.x'
Closes gh-40483
2024-04-22 17:57:05 -07:00
Phillip Webb
5c9d5e262f Merge branch '3.1.x' into 3.2.x
Closes gh-40482
2024-04-22 17:56:52 -07:00
Phillip Webb
3e5d6c9cce Register ServiceLevelObjectiveBoundary reflection hinds
Register hints for `ServiceLevelObjectiveBoundary` so that the `valueOf`
method can be used when binding in a native image.

Fixes gh-40480
2024-04-22 17:56:11 -07:00
Scott Frederick
44941fea48 Merge branch '3.2.x'
Closes gh-40481
2024-04-22 16:55:57 -05:00
Scott Frederick
08bc0460ed Document usage of Docker Compose support in tests
Closes gh-40171
2024-04-22 16:47:29 -05:00
Scott Frederick
fd010988ef Merge branch '3.2.x'
Closes gh-40479
2024-04-22 14:38:37 -05:00
Scott Frederick
3a9ee9f1a7 Merge branch '3.1.x' into 3.2.x
Closes gh-40478
2024-04-22 14:38:28 -05:00
Scott Frederick
362c0c1b4e Verify alignment of MongoDB UUID representation defaults
Closes gh-33532
2024-04-22 14:38:18 -05:00
Scott Frederick
2019533b65 Merge branch '3.2.x'
Closes gh-40476
2024-04-22 13:28:09 -05:00
Scott Frederick
fc03fded39 Merge branch '3.1.x' into 3.2.x
Closes gh-40475
2024-04-22 13:27:57 -05:00
Scott Frederick
cdf207cf74 Stop expecting deprecations in NativeImagePluginActionIntegrationTests
Closes gh-35709
2024-04-22 13:14:37 -05:00
Phillip Webb
bce468fb19 Polish 'Generate configuration metadata for records'
Restructure `PropertyDescriptor` type hierarchy and polish code.

See gh-29403
2024-04-22 10:28:00 -07:00
Pavel Anisimov
af976caec9 Generate configuration metadata for records
Update `spring-boot-configuration-processor` to support generating
configuration metadata from record parameter javadoc.

See gh-29403
2024-04-22 10:27:47 -07:00
Andy Wilkinson
cde9166d50 Merge branch '3.2.x'
Closes gh-40474
2024-04-22 17:50:24 +01:00
Andy Wilkinson
82b218937c Polish "Consider HandlerMethodValidationException in DefaultErrorAttributes"
See gh-39865
2024-04-22 16:17:08 +01:00
Yanming Zhou
20e9ff9f3d Consider HandlerMethodValidationException in DefaultErrorAttributes
See gh-39865
2024-04-22 15:38:47 +01:00
Moritz Halbritter
9184448054 Merge branch '3.2.x'
Closes gh-40471
2024-04-22 14:34:48 +02:00
Moritz Halbritter
4b61ae415b Merge branch '3.1.x' into 3.2.x
Closes gh-40470
2024-04-22 14:34:36 +02:00
Moritz Halbritter
5510c6f61b Clarify that all named properties must match for @ConditionalOnProperty to match
Closes gh-40110
2024-04-22 14:27:54 +02:00
nahid.mahbub
ac0d17671a Fix links to Batch's javadoc
See gh-40141
2024-04-22 12:48:04 +01:00
Andy Wilkinson
3a6f83e2d6 Fix links to Batch's javadoc
Closes gh-40468
2024-04-22 12:39:56 +01:00
Johnny Lim
3c76f81fe3 Polish
See gh-40449
2024-04-22 12:27:49 +01:00
Moritz Halbritter
de560a933c Extract all files under META-INF
Closes gh-40456
2024-04-22 13:20:57 +02:00
Andy Wilkinson
4118de7f59 Merge branch '3.2.x'
Closes gh-40467
2024-04-22 12:11:04 +01:00
Andy Wilkinson
07bb1878cf Merge branch '3.1.x' into 3.2.x
Closes gh-40466
2024-04-22 12:10:52 +01:00
Andy Wilkinson
34f53d48b9 Polish "Fix handling of Redis nodes with IPv6 addresses"
See gh-39819
2024-04-22 11:51:31 +01:00
Tobias Laatsch
9b326d59fe Fix handling of Redis nodes with IPv6 addresses
See gh-39819
2024-04-22 11:33:09 +01:00
Andy Wilkinson
eb23d3cf59 Merge branch '3.2.x'
Closes gh-40465
2024-04-22 11:18:35 +01:00
Andy Wilkinson
deffda47f6 Merge branch '3.1.x' into 3.2.x
Closes gh-40464
2024-04-22 11:18:22 +01:00
Andy Wilkinson
ca4d64ed16 Use absolute path when showing classpath where main class was not found
Closes gh-40463
2024-04-22 11:16:37 +01:00
Andy Wilkinson
3725d70b1d Merge branch '3.2.x'
Closes gh-40451
2024-04-19 17:31:09 +01:00
Andy Wilkinson
2e114b6971 Merge branch '3.1.x' into 3.2.x
Closes gh-40450
2024-04-19 17:31:00 +01:00
Andy Wilkinson
172b3d5336 Improve diagnostics when native image fails before logging is set up
Closes gh-40429
2024-04-19 17:30:22 +01:00
Andy Wilkinson
f25dc86a3a Merge branch '3.2.x'
Closes gh-40441
2024-04-19 10:58:06 +01:00
Andy Wilkinson
c55f136c2a Merge branch '3.1.x' into 3.2.x
Closes gh-40440
2024-04-19 10:57:47 +01:00
Andy Wilkinson
5e9161f785 Make DevToolsDataSourceAutoConfiguration back off without DataSource class
Manually tested as an automated test is prohibitively difficult as it
requires hiding one of the JDK's own classes.

Closes gh-40434
2024-04-19 10:54:23 +01:00
Phillip Webb
6963bd884b Merge branch '3.2.x' 2024-04-18 12:53:26 -07:00
Phillip Webb
38af8cd362 Merge branch '3.1.x' into 3.2.x 2024-04-18 12:52:54 -07:00
Phillip Webb
20db2b54c7 Update copyright year of changed files 2024-04-18 12:52:29 -07:00
Yanming Zhou
6226faa9cd Polishing RabbitAutoConfigurationTests to use kebab-case keys
See gh-40422
2024-04-18 12:51:35 -07:00
Phillip Webb
dc76240612 Polish 2024-04-18 12:50:50 -07:00
Phillip Webb
d243d7eb50 Polish 'Add spring.rabbitmq.template.allowed-list-patterns property'
See gh-40421
2024-04-18 12:48:39 -07:00
Yanming Zhou
c329c5fe5b Add spring.rabbitmq.template.allowed-list-patterns property
Update `RabbitProperties` and `RabbitTemplateConfigurer` to support a
`spring.rabbitmq.template.allowed-list-patterns` property.

The can be used to prevent errors of the form:

	java.lang.SecurityException: Attempt to deserialize unauthorized
	class com.example.domain.Message; add allowed class name patterns
	to the message converter or, if you trust the message orginiator,
	set environment variable 'SPRING_AMQP_DESERIALIZATION_TRUST_ALL'
	or system property 'spring.amqp.deserialization.trust.all' to true

See gh-40421
2024-04-18 12:46:38 -07:00
Vedran Pavic
db1ace2765 Add reference to OpenTelemetry Spring Boot starter
See gh-40339
2024-04-18 12:19:51 -07:00
Thebora Kompanioni
75343a85bf Add reference to Nostr Spring Boot Starter
See gh-40080
2024-04-18 12:19:18 -07:00
Phillip Webb
73b1836a00 Polish 'Fix forward-headers-strategy documentation regarding cloud defaults'
See gh-40054
2024-04-18 12:17:29 -07:00
Vilius Šumskas
a832e4bb38 Fix forward-headers-strategy documentation regarding cloud defaults
Update the reference documentation since all cloud platform use
forward-headers-strategy=NATIVE.

See gh-40054
2024-04-18 12:16:12 -07:00
Yanming Zhou
a52ab774de Configure JpaBaseConfiguration with custom ManagedClassNameFilter
Update `JpaBaseConfiguration` to configure a `ManagedClassNameFilter`
if one is available.

See gh-39813
2024-04-18 12:08:06 -07:00
Andy Wilkinson
8c2b988010 Switch to same-minor-version upgrade policy
Closes gh-40432
2024-04-18 20:04:55 +01:00
Moritz Halbritter
8df899b510 Merge branch '3.1.x' into 3.2.x
Closes gh-40427
2024-04-18 11:59:50 +02:00
Moritz Halbritter
3479304e13 Disable creation time verification on Linux
Closes gh-40423
2024-04-18 11:58:46 +02:00
Chris Bono
08ad7aa444 Add Spring Pulsar transaction support
Adds auto-config for Spring for Apache Pulsar transactions.

Introduces a new `spring.pulsar.transaction.enabled` property
which can be used to enable transactions. This feature is
opt-in and remains disabled by default.

See gh-40189

Co-authored-by: Andy Wilkinson <andy.wilkinson@broadcom.com>
Co-authored-by: Phillip Webb <phil.webb@broadcom.com>
2024-04-17 19:30:58 -07:00
Andy Wilkinson
997f2bbbf3 Upgrade to SQLite JDBC 3.45.3.0
Closes gh-40406
2024-04-17 19:21:53 +01:00
Andy Wilkinson
57ee867945 Upgrade to Spring Integration 6.3.0-RC1
Closes gh-40226
2024-04-17 19:21:48 +01:00
Andy Wilkinson
defb3a1abd Upgrade to SLF4J 2.0.13
Closes gh-40405
2024-04-17 19:21:47 +01:00
Andy Wilkinson
c8f816c577 Upgrade to Pulsar Reactive 0.5.4
Closes gh-40404
2024-04-17 19:21:42 +01:00
Andy Wilkinson
8ab0375bdd Upgrade to Netty 4.1.109.Final
Closes gh-40403
2024-04-17 19:21:38 +01:00
Andy Wilkinson
ecb4903f58 Upgrade to Maven Jar Plugin 3.4.0
Closes gh-40402
2024-04-17 19:21:32 +01:00
Andy Wilkinson
80afc56123 Upgrade to Logback 1.5.6
Closes gh-40401
2024-04-17 19:21:27 +01:00
Andy Wilkinson
2061d885bb Upgrade to Hazelcast 5.4.0
Closes gh-40400
2024-04-17 19:21:21 +01:00
Andy Wilkinson
b3205bda56 Upgrade to ActiveMQ 6.1.2
Closes gh-40399
2024-04-17 19:21:15 +01:00
Andy Wilkinson
4bf8020292 Upgrade to Spring Integration 6.2.4
Closes gh-40214
2024-04-17 18:24:00 +01:00
Andy Wilkinson
f70cfb0b03 Upgrade to SLF4J 2.0.13
Closes gh-40397
2024-04-17 18:23:59 +01:00
Andy Wilkinson
49f7f79424 Upgrade to Pulsar Reactive 0.5.4
Closes gh-40396
2024-04-17 18:23:55 +01:00
Andy Wilkinson
369cadd70d Upgrade to Netty 4.1.109.Final
Closes gh-40395
2024-04-17 18:23:50 +01:00
Andy Wilkinson
22ee684473 Upgrade to ActiveMQ 5.18.4
Closes gh-40394
2024-04-17 18:23:45 +01:00
Andy Wilkinson
e03d691db1 Upgrade to SLF4J 2.0.13
Closes gh-40391
2024-04-17 15:50:05 +01:00
Andy Wilkinson
c969cbbdba Upgrade to R2DBC Postgresql 1.0.5.RELEASE
Closes gh-40390
2024-04-17 15:50:01 +01:00
Andy Wilkinson
031bebb144 Upgrade to Netty 4.1.109.Final
Closes gh-40389
2024-04-17 15:49:56 +01:00
Andy Wilkinson
eb0506eaed Upgrade to ActiveMQ 5.18.4
Closes gh-40388
2024-04-17 15:49:50 +01:00