Commit Graph

26392 Commits

Author SHA1 Message Date
Dmytro Nosan 09b57eff76 Add option for configuring max messages per task
See gh-42341
2024-09-19 14:12:24 +02:00
Andy Wilkinson 6346d4fd6b Accommodate absence of last execution
A task's last execution is absent if it has not yet been executed.
This commit updates the documentation test to accommodate this
possibility.

See gh-42351
2024-09-19 12:03:04 +01:00
Andy Wilkinson 627c691616 Document the reason for deprecation of clean-on-validation-error
See gh-42295
2024-09-19 11:22:08 +01:00
Andy Wilkinson 814369e8b0 Enable graceful shutdown by default
Closes gh-37495
2024-09-19 10:58:53 +01:00
Johnny Lim 94e8c5db36 Polish gh-39957 and gh-41444
See gh-42359
2024-09-19 11:37:11 +02:00
Phillip Webb d72a9d9eb5 Allow EndpointRequest to match additional paths
Add `toAdditionalPaths(...)` methods on the servlet and reactive
`EndpointRequest` classes to support matching of additional paths.

A new `AdditionalPathsMapper` interface provides the mappings between
endpoint IDs and any additional paths that they might use. The existing
`AutoConfiguredHealthEndpointGroups` class has been updated to implement
the interface.

Auto-configurations have also been updated so that additional health
endpoint paths (typically `/livez` and `/readyz`) are permitted
when using Spring Security without any custom configuration.

Fixes gh-40962
2024-09-18 23:47:13 -07:00
Phillip Webb f5b6514bef Allow additional context interfaces to be defined for testing
Update `AssertableApplicationContext` and `ApplicationContextRunner`
implementations to support additional `ApplicationContext` interfaces.

Closes gh-42369
2024-09-18 23:47:13 -07:00
Stéphane Nicoll 8ac3528b89 Upgrade to SendGrid 4.10.3
Closes gh-42368
2024-09-19 08:15:40 +02:00
Stéphane Nicoll ced82a854c Upgrade to Zipkin Reporter 3.4.2
Closes gh-42367
2024-09-19 08:15:36 +02:00
Phillip Webb d7c6589b5e Make `PulsarContainerFactoryCustomizers` package private
See gh-42182
2024-09-18 18:31:40 -07:00
Andy Wilkinson 47134974fc Revert "Start building against Spring Session 3.4.0 snapshots"
This reverts commit 0ce4170612.

See gh-42149
2024-09-18 19:09:54 +01:00
Andy Wilkinson 1a4f5abb13 Merge branch '3.3.x'
Closes gh-42358
2024-09-18 14:58:35 +01:00
Andy Wilkinson 4a6793eab5 Merge branch '3.2.x' into 3.3.x
Closes gh-42357
2024-09-18 14:55:35 +01:00
Andy Wilkinson 1240c59482 Only configure plugin classpath where it's needed
When spring-boot-gradle-plugin is using GradleRunner, it needs to be
configured with a custom plugin classpath to account for the fact
that our Gradle plugin is on the classpath of the system classloader
but some of the other plugins would only be available on a
Gradle-created classloader. This imbalance cause class loading
problems as code in spring-boot-gradle-plugin can't see types at
runtime that are only available on the Gradle-created classloader.

To overcome this, we need to configure the GradleRunner with a custom
plugin classpath that contains both spring-boot-gradle-plugin and all
of the other plugins that are used in its various integration tests.
Previously, this was done in GradleBuild that's used by both
spring-boot-gradle-plugin and spring-boot-image-tests. This caused
a problem as spring-boot-image-tests does not have the
above-described problem and trying to correct it did not work leaving
tests that use spring-boot-gradle-plugin unable to see other plugins
such that the native image plugin.

This commit reworks the customization of the plugin classpath so that
it's only done in spring-boot-gradle-plugin's integration tests.

Closes gh-42338
2024-09-18 14:53:54 +01:00
Andy Wilkinson 713afae013 Accommodate next execution time being unknown
A task's next execution time is unknown if, for example, it's
currently running. When it's unknown the nextExecution.time will be
missing from the json describing the task. This commit updates the
documentation test to accommodate this possibility.

Closes gh-42351
2024-09-18 11:55:35 +01:00
Andy Wilkinson c1bd5bdc8b Upgrade to Spring Batch 5.2.0-M1
Closes gh-42142
2024-09-18 10:30:09 +01:00
Johnny Lim a0d1c10d8a Polish
See gh-42340
2024-09-18 11:19:59 +02:00
Andy Wilkinson 7eaf6d1a96 Prohibit upgrades to Kotlin Coroutines 1.9
Closes gh-42348
2024-09-18 09:49:28 +01:00
Andy Wilkinson fe90ef0d13 Upgrade to Spring Integration 6.4.0-M3
Closes gh-42145
2024-09-18 08:57:41 +01:00
Andy Wilkinson 32917323f9 Upgrade to Spring Authorization Server 1.4.0-M2
Closes gh-42141
2024-09-18 08:57:40 +01:00
Andy Wilkinson 6fc881e565 Upgrade to Rabbit AMQP Client 5.22.0
Closes gh-42350
2024-09-18 08:57:40 +01:00
Andy Wilkinson 59fb90ea0c Upgrade to Hibernate 6.6.1.Final
Closes gh-42349
2024-09-18 08:57:35 +01:00
Andy Wilkinson 3706dced23 Upgrade to Spring Integration 6.3.4
Closes gh-42134
2024-09-18 08:48:02 +01:00
Andy Wilkinson c37f786914 Upgrade to Spring Integration 6.2.9
Closes gh-42126
2024-09-18 08:19:23 +01:00
Moritz Halbritter 9294c003b4 Remove setting BP_NATIVE_IMAGE
Closes gh-32884
2024-09-17 15:50:57 +02:00
Stéphane Nicoll f057559b17 Upgrade to Spring Security 6.4.0-M4
Closes gh-42148
2024-09-17 09:14:40 +02:00
Stéphane Nicoll 01b4ae526a Upgrade to Spring Pulsar 1.2.0-M2
Closes gh-42147
2024-09-17 09:14:40 +02:00
Stéphane Nicoll 12b25e5280 Upgrade to Spring Kafka 3.3.0-M3
Closes gh-42146
2024-09-17 09:14:39 +02:00
Stéphane Nicoll f844c64b12 Upgrade to Spring AMQP 3.2.0-M3
Closes gh-42140
2024-09-17 09:14:39 +02:00
Stéphane Nicoll 36b43f681c Upgrade to Spring Pulsar 1.1.4
Closes gh-42136
2024-09-17 09:13:10 +02:00
Stéphane Nicoll fc5b80ac64 Upgrade to Spring Kafka 3.2.4
Closes gh-42135
2024-09-17 09:13:10 +02:00
Stéphane Nicoll de5f7ad318 Upgrade to Spring Pulsar 1.0.10
Closes gh-42128
2024-09-17 09:13:03 +02:00
Stéphane Nicoll e009581a41 Upgrade to Spring Kafka 3.1.9
Closes gh-42127
2024-09-17 09:13:02 +02:00
Stéphane Nicoll 4dbc636c51 Upgrade to Spring Retry 2.0.9
Closes gh-42329
2024-09-16 14:56:13 +02:00
Stéphane Nicoll c5cfcfb2fd Upgrade to R2DBC MariaDB 1.2.2
Closes gh-42328
2024-09-16 14:56:09 +02:00
Stéphane Nicoll f7cb18c605 Upgrade to Spring Retry 2.0.9
Closes gh-42327
2024-09-16 14:49:27 +02:00
Stéphane Nicoll c16c04abfe Upgrade to R2DBC MariaDB 1.2.2
Closes gh-42326
2024-09-16 14:49:22 +02:00
Stéphane Nicoll b75c2b6529 Upgrade to Spring Retry 2.0.9
Closes gh-42325
2024-09-16 14:48:13 +02:00
Moritz Halbritter 4877e4d1e3 Allow the configuration of active profiles in SpringApplication.Augmented
Closes gh-36660
2024-09-16 11:27:26 +02:00
Stéphane Nicoll eff76131fb Merge branch '3.3.x'
Closes gh-42323
2024-09-16 09:45:30 +02:00
Stéphane Nicoll 04891746ff Merge branch '3.2.x' into 3.3.x
Closes gh-42322
2024-09-16 09:45:23 +02:00
Stéphane Nicoll 78a140ae25 Polish "Use DataSource.unwrap to get routing data source"
See gh-42313
2024-09-16 09:37:22 +02:00
Dmytro Nosan 3f9f0490a6 Use DataSource.unwrap to get routing data source
This commit uses DataSource.isWrapperFor and DataSource.unwrap to detect
if a DataSource is an AbstractRoutingDataSource. Previously, it relied
on instanceof which does not account for cases where the datasource has
been proxied.

See gh-42313
2024-09-16 09:28:46 +02:00
Stéphane Nicoll 00440b982c Merge branch '3.3.x'
Closes gh-42321
2024-09-16 09:04:19 +02:00
Stéphane Nicoll 437ff754ef Merge branch '3.2.x' into 3.3.x
Closes gh-42320
2024-09-16 09:04:07 +02:00
Stéphane Nicoll 242803d59b Polish "Replace Configuration fully qualified name by constant"
See gh-42311
2024-09-16 09:01:36 +02:00
mushroom528 9bcfc72307 Replace Configuration fully qualified name by constant
See gh-42311
2024-09-16 09:01:23 +02:00
Phillip Webb d3a2bf4044 Merge pull request #42289 from quaff
* pr/42289:
  Add common definition annotations support for ConfigurationProperties

Closes gh-42289
2024-09-13 10:52:05 -07:00
Yanming Zhou 44be2e11d9 Add common definition annotations support for ConfigurationProperties
Update `` to ensure that common bean definition annotations, such as
`@Lazy`, `@Primary` and `@Fallback`, are applied.

See gh-42289
2024-09-13 10:18:13 -07:00
Stéphane Nicoll 27169a9ace Merge branch '3.3.x'
Closes gh-42304
2024-09-13 16:27:24 +02:00