Commit Graph

22215 Commits

Author SHA1 Message Date
Andy Wilkinson 6c3c8398d0 Upgrade to Elasticsearch Client 8.9.0
Closes gh-36886
2023-08-09 20:45:31 +01:00
Andy Wilkinson 2c3049f961 Upgrade to Commons Lang3 3.13.0
Closes gh-36884
2023-08-09 17:06:36 +01:00
Andy Wilkinson 33a6911f52 Upgrade to Cassandra Driver 4.17.0
Closes gh-36883
2023-08-09 17:06:29 +01:00
Andy Wilkinson d7ddf67700 Upgrade to Caffeine 3.1.8
Closes gh-36882
2023-08-09 17:06:21 +01:00
Andy Wilkinson 07a4646329 Upgrade to Artemis 2.30.0
Closes gh-36881
2023-08-09 17:06:13 +01:00
Andy Wilkinson 9948fdf975 Upgrade to MSSQL JDBC 12.4.0.jre11
Closes gh-36880
2023-08-09 16:54:31 +01:00
Andy Wilkinson 51bff73fe5 Upgrade to Netty 4.1.96.Final
Closes gh-36871
2023-08-09 15:13:54 +01:00
Andy Wilkinson 40d0bc0551 Upgrade to Elasticsearch 7.17.12
Closes gh-36870
2023-08-09 15:13:53 +01:00
Stephane Nicoll 96aa0611f6 Merge branch '3.1.x'
Closes gh-36878
2023-08-09 16:08:59 +02:00
Stephane Nicoll 63a1248a6d Merge branch '3.0.x' into 3.1.x
Closes gh-36877
2023-08-09 16:06:44 +02:00
Stephane Nicoll 6800f15aa6 Merge branch '2.7.x' into 3.0.x
Closes gh-36876
2023-08-09 16:06:33 +02:00
Stephane Nicoll 94c7140001 Use a dedicated application to collect log samples
This commit moves the tasks that collect log samples for the reference
guide to an isolated application.

Closes gh-36875
2023-08-09 16:06:09 +02:00
Andy Wilkinson 3c7d400f0d Merge branch '3.1.x'
Closes gh-36866
2023-08-09 13:01:43 +01:00
Andy Wilkinson cac157b2a6 Merge branch '3.0.x' into 3.1.x
Closes gh-36865
2023-08-09 13:01:33 +01:00
Andy Wilkinson 7c77668372 Merge branch '2.7.x' into 3.0.x
Closes gh-36864
2023-08-09 13:01:23 +01:00
Andy Wilkinson c1f2efe00c Document that spring.security.filter properties are Servlet-only
Closes gh-33551
2023-08-09 12:56:33 +01:00
Andy Wilkinson 94d6ccd7a5 Merge branch '3.1.x'
Closes gh-36863
2023-08-09 12:51:25 +01:00
Andy Wilkinson 8bd2e1a717 Merge branch '3.0.x' into 3.1.x
Closes gh-36862
2023-08-09 12:51:11 +01:00
Andy Wilkinson 29beb3ed24 Merge branch '2.7.x' into 3.0.x
Closes gh-36861
2023-08-09 12:50:59 +01:00
Andy Wilkinson d277631331 Document `@EntityScan` and `@Enable…Repositories` for tuning scanning
Closes gh-36282
2023-08-09 12:47:30 +01:00
Moritz Halbritter 5b00d5f89b Auto-configure SimpleAsyncTaskScheduler when virtual threads are enabled
This auto-configures a new SimpleAsyncTaskSchedulerBuilder bean in the
context. This bean is configured to use virtual threads, if enabled.

SimpleAsyncTaskSchedulerCustomizers can be used to customize the built
SimpleAsyncTaskScheduler.

If virtual threads are enabled, the application task scheduler is
configured to be a SimpleAsyncTaskScheduler.

Adds a new configuration property spring.task.scheduling.simple
.concurrency-limit

Closes gh-36609
2023-08-09 13:43:08 +02:00
Andy Wilkinson 3c12f39adb Merge branch '3.1.x'
Closes gh-36860
2023-08-09 12:27:50 +01:00
Andy Wilkinson 30bfc34b5b Merge branch '3.0.x' into 3.1.x
Closes gh-36859
2023-08-09 12:27:41 +01:00
Andy Wilkinson b411fffb30 Merge branch '2.7.x' into 3.0.x
Closes gh-36858
2023-08-09 12:27:27 +01:00
Andy Wilkinson 21de3fba3c Describe quirks of JUL and Log4j2 in OutputCaptureExtension javadoc
Closes gh-32562
2023-08-09 12:25:26 +01:00
Andy Wilkinson bd0652f8db Merge branch '3.1.x'
Closes gh-36857
2023-08-09 12:07:33 +01:00
Andy Wilkinson 0c9e6268d5 Merge branch '3.0.x' into 3.1.x
Closes gh-36856
2023-08-09 12:01:00 +01:00
Andy Wilkinson f82f4d6b56 Merge branch '2.7.x' into 3.0.x
Closes gh-36855
2023-08-09 12:00:45 +01:00
Andy Wilkinson 694ff4f875 Include throwables from Logback errors when reporting invalid config
Closes gh-32562
2023-08-09 11:43:58 +01:00
Andy Wilkinson 4f9fcfc2de Merge branch '3.1.x'
Closes gh-36854
2023-08-09 10:46:11 +01:00
Andy Wilkinson c59eca02ba Merge branch '3.0.x' into 3.1.x
Closes gh-36853
2023-08-09 10:45:48 +01:00
Andy Wilkinson 4ec1a05b9c Merge branch '2.7.x' into 3.0.x
Closes gh-36852
2023-08-09 10:45:32 +01:00
Andy Wilkinson 45b62b1452 Clarify transfer of logging props from Environment to System props
Closes gh-32160
2023-08-09 10:42:22 +01:00
Stephane Nicoll cee5c9142c Merge branch '3.1.x'
Closes gh-36851
2023-08-09 11:40:52 +02:00
Stephane Nicoll 22fde44e3b Merge branch '3.0.x' into 3.1.x
Closes gh-36850
2023-08-09 11:40:41 +02:00
Stephane Nicoll 2d8dbbd1f3 Review Google Cloud section of the reference guide
Closes gh-33730
2023-08-09 11:38:14 +02:00
Stephane Nicoll 38dbc644ae Add auto-configuration for JdbcClient
Closes gh-36579
2023-08-09 11:18:25 +02:00
Stephane Nicoll 5544ccdcba Start build against Spring LDAP 3.2.0-M2 snapshots
See gh-36679
2023-08-09 11:18:25 +02:00
Stephane Nicoll 309ea53ff3 Start build against Spring Data 2023.1.0-M2 snapshots
See gh-36680
2023-08-09 11:18:25 +02:00
Stephane Nicoll 421448233f Remove invalid check for String-based FactoryBean.OBJECT_TYPE_ATTRIBUTE
Closes gh-36659
2023-08-09 11:18:25 +02:00
Stephane Nicoll b46e81c230 Start building against Spring Framework 6.1.0-M4 snapshots
See gh-36678
2023-08-09 11:18:25 +02:00
Stephane Nicoll 57eee66b8e Start build against Micrometer Tracing 1.12.0-M2 snapshots
See gh-36676
2023-08-09 11:18:24 +02:00
Stephane Nicoll 7454368e1e Start build against Micrometer 1.12.0-M2 snapshots
See gh-36675
2023-08-09 11:18:24 +02:00
Stephane Nicoll e89e0c8956 Start build against Reactor Bom 2023.0.0-M2 snapshots
See gh-36677
2023-08-09 11:18:24 +02:00
Stephane Nicoll 59c667caeb Start building against Spring Data Bom 2021.2.15 snapshots
See gh-36828
2023-08-09 11:16:02 +02:00
Stephane Nicoll aa50b3f846 Start building against Spring Batch 4.3.9 snapshots
See gh-36827
2023-08-09 11:16:02 +02:00
Stephane Nicoll 9ae960ea7d Start building against Spring AMQP 2.4.15 snapshots
See gh-36826
2023-08-09 11:16:01 +02:00
Stephane Nicoll 8bec4526d3 Start building against Reactor Bom 2020.0.35 snapshots
See gh-36825
2023-08-09 11:16:01 +02:00
Stephane Nicoll 3db0352806 Start building against Micrometer 1.9.14 snapshots
See gh-36824
2023-08-09 11:16:01 +02:00
Stephane Nicoll 69c40bd6df Start building against Spring Session 3.1.2 snapshots
See gh-36849
2023-08-09 11:01:31 +02:00
Stephane Nicoll ae418315ca Start building against Spring Security 6.1.3 snapshots
See gh-36848
2023-08-09 11:01:26 +02:00
Stephane Nicoll 13dad8ab06 Start building against Spring LDAP 3.1.1 snapshots
See gh-36847
2023-08-09 11:01:22 +02:00
Stephane Nicoll b96c24878a Start building against Spring Kafka 3.0.10 snapshots
See gh-36846
2023-08-09 11:01:17 +02:00
Stephane Nicoll 6bdc510fc6 Start building against Spring AMQP 3.0.8 snapshots
See gh-36842
2023-08-09 11:01:07 +02:00
Stephane Nicoll 9a56025b43 Start building against Spring Session 3.0.3 snapshots
See gh-36838
2023-08-09 10:41:39 +02:00
Stephane Nicoll 52fb6688b2 Start building against Spring Security 6.0.6 snapshots
See gh-36837
2023-08-09 10:41:35 +02:00
Stephane Nicoll aad34aee28 Start building against Spring LDAP 3.0.5 snapshots
See gh-36836
2023-08-09 10:41:30 +02:00
Stephane Nicoll 7fac959b90 Start building against Spring Kafka 3.0.10 snapshots
See gh-36835
2023-08-09 10:41:25 +02:00
Stephane Nicoll 740e8c0b85 Start building against Spring Data Bom 2022.0.9 snapshots
See gh-36834
2023-08-09 10:41:21 +02:00
Stephane Nicoll d26b7ef793 Start building against Spring Batch 5.0.3 snapshots
See gh-36833
2023-08-09 10:41:16 +02:00
Stephane Nicoll db41aae0e2 Start building against Spring AMQP 3.0.8 snapshots
See gh-36832
2023-08-09 10:41:11 +02:00
Stephane Nicoll c5a4e4e52a Start building against Reactor Bom 2022.0.10 snapshots
See gh-36831
2023-08-09 10:41:07 +02:00
Stephane Nicoll f6b6b3b460 Start building against Micrometer Tracing 1.0.9 snapshots
See gh-36830
2023-08-09 10:41:02 +02:00
Stephane Nicoll 5d11ffbc11 Start building against Micrometer 1.10.10 snapshots
See gh-36829
2023-08-09 10:40:57 +02:00
Andy Wilkinson 1e28ebd8aa Merge branch '3.1.x'
Closes gh-36823
2023-08-09 09:25:38 +01:00
Andy Wilkinson 9f2e592b9b Merge branch '3.0.x' into 3.1.x
Closes gh-36822
2023-08-09 09:21:02 +01:00
Andy Wilkinson 4062ba6d28 Merge branch '2.7.x' into 3.0.x
Closes gh-36821
2023-08-09 08:25:41 +01:00
Andy Wilkinson 68baa6e7df Make section IDs consistent in Maven Plugin docs and enforce it
Closes gh-26619
2023-08-09 08:06:38 +01:00
Moritz Halbritter 9e670b81ea Merge branch '3.1.x'
Closes gh-36820
2023-08-09 08:58:16 +02:00
Moritz Halbritter 1a8bd1cfe5 Merge branch '3.0.x' into 3.1.x
Closes gh-36819
2023-08-09 08:58:03 +02:00
Moritz Halbritter 95b0b62b0a Merge branch '2.7.x' into 3.0.x
Closes gh-36818
2023-08-09 08:52:28 +02:00
Moritz Halbritter 032d92a9fb Cleanup remote debug tunnel leftovers from devtools
Closes gh-36808
2023-08-09 08:45:17 +02:00
Andy Wilkinson 647b20bb30 Merge branch '3.1.x'
Closes gh-36814
2023-08-08 17:10:59 +01:00
Andy Wilkinson 786673f936 Merge branch '3.0.x' into 3.1.x
Closes gh-36813
2023-08-08 17:09:02 +01:00
Andy Wilkinson b4378e4415 Merge branch '2.7.x' into 3.0.x
Closes gh-36812
2023-08-08 17:08:47 +01:00
Andy Wilkinson 05244d7a5c Clarify which NoSQL stores are supported by Spring Data
Closes gh-29694
2023-08-08 17:06:19 +01:00
Andy Wilkinson 6e3cbac7df Merge branch '3.1.x'
Closes gh-36811
2023-08-08 16:50:54 +01:00
Andy Wilkinson 331e90ccbe Merge branch '3.0.x' into 3.1.x
Closes gh-36810
2023-08-08 16:50:14 +01:00
Andy Wilkinson 24ba267516 Merge branch '2.7.x' into 3.0.x
Closes gh-36809
2023-08-08 16:50:00 +01:00
Andy Wilkinson 0ab7129dab Clarify treatment of nested directories for configtree with wildcards
Closes gh-28203
2023-08-08 16:49:21 +01:00
Moritz Halbritter 4aaca291de Remove MD5 from RandomValuePropertySource
Before that change, we get 32 random bytes, and then used MD5 on them to
get a hex string. This removes the MD5, we now get 128 bits (output size
 of MD5) of random bytes directly.
2023-08-08 14:13:26 +02:00
Moritz Halbritter 0588f9bf37 Use Deque instead of Stack 2023-08-08 14:06:31 +02:00
Andy Wilkinson a1f30a2316 Merge branch '3.1.x'
Closes gh-36798
2023-08-08 12:57:26 +01:00
Andy Wilkinson 8c8aa19691 Merge branch '3.0.x' into 3.1.x
Closes gh-36797
2023-08-08 12:57:12 +01:00
Andy Wilkinson 355012d40b Merge branch '2.7.x' into 3.0.x
Closes gh-36796
2023-08-08 12:57:00 +01:00
Andy Wilkinson b978950cb2 Clarify the effect of `@EnableWebMvc`
Closes gh-36506
2023-08-08 12:56:24 +01:00
Andy Wilkinson d658a8cd47 Merge branch '3.1.x'
Closes gh-36794
2023-08-08 12:52:40 +01:00
Andy Wilkinson 930824a566 Merge branch '3.0.x' into 3.1.x
Closes gh-36793
2023-08-08 12:52:26 +01:00
Andy Wilkinson 4b8a848ecf Merge branch '2.7.x' into 3.0.x
Closes gh-36792
2023-08-08 12:52:14 +01:00
Andy Wilkinson 8dec443e3b Document default for MVC and WebFlux date and time formatting
Closes gh-30041
2023-08-08 12:51:29 +01:00
Moritz Halbritter e4484c3db5 Use constants in SpringBootAotPlugin 2023-08-08 13:12:48 +02:00
Moritz Halbritter b5a48e926d Handle timeout of latch await in tests 2023-08-08 13:12:48 +02:00
Moritz Halbritter de57b5f4a4 Call remove() on ThreadLocal in SpringBootMockMvcBuilderCustomizer 2023-08-08 13:12:48 +02:00
Moritz Halbritter 62fb45f75f Replace contains/put/get pattern with computeIfAbsent 2023-08-08 13:12:47 +02:00
Moritz Halbritter 7bb337aeb1 Polish tests 2023-08-08 13:12:47 +02:00
Moritz Halbritter 4ea3c75331 Improve exception message if endpoint can't be found 2023-08-08 13:12:47 +02:00
Moritz Halbritter ed9169501e Polish 2023-08-08 13:12:47 +02:00
Andy Wilkinson 00264cb9c8 Merge branch '3.1.x'
Closes gh-36790
2023-08-08 12:01:35 +01:00
Andy Wilkinson f0343df9c5 Merge branch '3.0.x' into 3.1.x
Closes gh-36789
2023-08-08 12:01:25 +01:00
Andy Wilkinson 406e934325 Merge branch '2.7.x' into 3.0.x
Closes gh-36788
2023-08-08 12:01:10 +01:00
Andy Wilkinson e7203e31c8 Correct documentation of default path matching strategy
Closes gh-32557
2023-08-08 11:48:04 +01:00
Andy Wilkinson 41a69c870c Merge branch '3.1.x'
Closes gh-36787
2023-08-08 11:29:20 +01:00
Andy Wilkinson ed89272585 Merge branch '3.0.x' into 3.1.x
Closes gh-36786
2023-08-08 11:29:11 +01:00
Andy Wilkinson 34b2de3095 Merge branch '2.7.x' into 3.0.x
Closes gh-36785
2023-08-08 11:28:59 +01:00
Andy Wilkinson 35d3cdbe74 Fail more helpfully when schema or data location is a directory
Previously a schema or data locatio that was a directory would
result in an attempt being made to apply the directory listing as
SQL scripts. This would typically result in a hard to diagnose
failure due to the directory listing not being valid SQL.

This commit updates the initializer to ignore locations for
which the Resources is not readable. This works as Framework's
Resource abstraction does not consider directory resources to be
readable.

Closes gh-36386
2023-08-08 11:20:07 +01:00
Andy Wilkinson e286213110 Merge branch '3.1.x'
Closes gh-36784
2023-08-08 11:01:39 +01:00
Andy Wilkinson f2fce3a008 Merge branch '3.0.x' into 3.1.x
Closes gh-36783
2023-08-08 11:01:11 +01:00
Andy Wilkinson a91f1f0387 Merge branch '2.7.x' into 3.0.x
Closes gh-36782
2023-08-08 10:59:29 +01:00
Andy Wilkinson db0ab9f580 Improve documentation for configuration of schema and data scripts
Closes gh-36176
2023-08-08 10:58:28 +01:00
Stephane Nicoll f5b3bc7a9f Merge branch '3.1.x'
Closes gh-36775
2023-08-07 16:49:18 +02:00
Stephane Nicoll 3e72b8625d Merge branch '3.0.x' into 3.1.x
Closes gh-36774
2023-08-07 16:48:50 +02:00
Stephane Nicoll 56535d804c Rename WebDriverContextCustomizerFactory's customizer
Closes gh-36416
2023-08-07 16:44:16 +02:00
Andy Wilkinson 3441833c5c Add missing Details class 2023-08-07 13:41:47 +01:00
Stephane Nicoll acf6bb644a Merge branch '3.1.x'
Closes gh-36773
2023-08-07 14:09:07 +02:00
Stephane Nicoll 10fecc855c Merge branch '3.0.x' into 3.1.x
Closes gh-36772
2023-08-07 14:08:57 +02:00
Stephane Nicoll e7706b4201 Merge branch '2.7.x' into 3.0.x
Closes gh-36771
2023-08-07 14:08:48 +02:00
Stephane Nicoll 5e11bac1da Polish "Configure ActiveMQConnectionFactory properly without spring-jms"
See gh-36767
2023-08-07 14:05:31 +02:00
Eddú Meléndez bcfaad2cb8 Configure ActiveMQConnectionFactory properly without spring-jms
Previously, if spring-jms is not available and a non-pool connection
factory is requested (the default), no `CachingConnectionFactory` is
created. This commit makes sure to separate the two conditions, so
that a connection factory can be obtained even if spring-jms is not
on the classpath.

See gh-36767
2023-08-07 14:03:27 +02:00
Andy Wilkinson b1d26fe961 Revert "Upgrade default CNB builders to Paketo Jammy"
This reverts commit 6506208d29. The
upgrade to the Jammy builder was causing
failsWhenBuildImageIsInvokedOnMultiModuleProjectWithBuildImageGoal to
hang on CI.

See gh-36689
2023-08-07 12:10:27 +01:00
Andy Wilkinson 9d42cff472 Upgrade to Spock Framework 2.3-groovy-4.0
Closes gh-36754
2023-08-04 19:27:53 +01:00
Andy Wilkinson 0c36f1f26f Upgrade to MockK 1.13.5
Closes gh-36753
2023-08-04 19:27:50 +01:00
Andy Wilkinson 579aac055d Upgrade to Maven Shade Plugin 3.5.0
Closes gh-36752
2023-08-04 19:27:49 +01:00
Andy Wilkinson 1368593199 Upgrade to Maven Resolver 1.9.14
Closes gh-36751
2023-08-04 19:27:46 +01:00
Andy Wilkinson ef79d88acf Upgrade to Maven Plugin Tools 3.9.0
Closes gh-36750
2023-08-04 19:27:45 +01:00
Andy Wilkinson 7b70d99144 Upgrade to Maven Invoker 3.2.0
Closes gh-36749
2023-08-04 19:27:45 +01:00
Andy Wilkinson b6db68bb9b Upgrade to Maven Common Artifact Filters 3.3.2
Closes gh-36748
2023-08-04 19:27:43 +01:00
Andy Wilkinson 0c7c7ac8a9 Upgrade to Maven 3.9.4
Closes gh-36747
2023-08-04 19:27:42 +01:00
Andy Wilkinson f32e27f92e Upgrade to JNA 5.13.0
Closes gh-36746
2023-08-04 16:01:33 +01:00
Andy Wilkinson faef25357f Upgrade to Janino 3.1.10
Closes gh-36745
2023-08-04 16:01:33 +01:00
Andy Wilkinson bc6bf24df8 Upgrade to Commons FileUpload 1.5
Closes gh-36744
2023-08-04 16:01:32 +01:00
Andy Wilkinson e63a30906c Upgrade to Commons Compress 1.23.0
Closes gh-36743
2023-08-04 16:01:32 +01:00
Andy Wilkinson 3a6dbb4cc8 Upgrade to API Guardian 1.1.2
Closes gh-36742
2023-08-04 16:01:32 +01:00
Stephane Nicoll 870df5ab08 Merge branch '2.7.x' into 3.0.x
Closes gh-36761
2023-08-04 16:23:51 +02:00
Stephane Nicoll 5ed5820f92 Clarify expected jar size in getting started doc
Closes gh-34514
2023-08-04 16:23:31 +02:00
Stephane Nicoll 85f74ba564 Merge branch '3.1.x'
Closes gh-36760
2023-08-04 16:07:48 +02:00
Stephane Nicoll ac1d8a3651 Merge branch '3.0.x' into 3.1.x
Closes gh-36759
2023-08-04 16:07:40 +02:00
Stephane Nicoll f8a5aff160 Merge branch '2.7.x' into 3.0.x
Closes gh-36758
2023-08-04 16:07:04 +02:00
Stephane Nicoll 1e5a72f1f8 Provide nested cause if datasource fails to provide DatabaseDriver
Closes gh-34728
2023-08-04 16:01:14 +02:00
Stephane Nicoll 05df721d51 Merge branch '2.7.x' into 3.0.x 2023-08-04 16:00:02 +02:00
Stephane Nicoll 97ce95c417 Polish "Upgrade to MariaDB 3.1.4"
See gh-36394
2023-08-04 15:58:32 +02:00
Stephane Nicoll c8334e90f8 Merge branch '3.1.x'
Closes gh-36757
2023-08-04 15:27:04 +02:00
Stephane Nicoll f7c8e48dc4 Merge branch '3.0.x' into 3.1.x
Closes gh-36756
2023-08-04 15:26:54 +02:00
Stephane Nicoll 89cb599d0d Merge branch '2.7.x' into 3.0.x
Closes gh-36755
2023-08-04 15:26:41 +02:00
Stephane Nicoll d101004d5f Document @DataR2dbcTest support
Closes gh-35014
2023-08-04 15:25:16 +02:00
Andy Wilkinson 7038eb4a7d Upgrade to Spock Framework 2.3-groovy-4.0
Closes gh-36733
2023-08-04 13:49:32 +01:00
Andy Wilkinson dc964642f0 Upgrade to MockK 1.13.5
Closes gh-36732
2023-08-04 13:49:32 +01:00
Andy Wilkinson ce14c70fbd Upgrade to Maven Resolver 1.9.14
Closes gh-36731
2023-08-04 13:49:32 +01:00
Andy Wilkinson d76e8ad7d1 Upgrade to Maven Invoker 3.2.0
Closes gh-36730
2023-08-04 13:49:32 +01:00
Andy Wilkinson 64463fe7ec Upgrade to Maven 3.9.4
Closes gh-36729
2023-08-04 13:49:31 +01:00
Andy Wilkinson 599322c154 Upgrade to Janino 3.1.10
Closes gh-36728
2023-08-04 13:49:31 +01:00
Andy Wilkinson d4f9532644 Upgrade to Commons FileUpload 1.5
Closes gh-36727
2023-08-04 13:49:31 +01:00
Andy Wilkinson c7f32bb8ee Upgrade to API Guardian 1.1.2
Closes gh-36726
2023-08-04 13:49:30 +01:00
Stephane Nicoll 2dc8531000 Merge branch '2.7.x' into 3.0.x
Closes gh-36740
2023-08-04 14:41:48 +02:00
Stephane Nicoll 1ca763e5de Upgrade to MariaDB 3.1.4
Closes gh-36394
2023-08-04 14:41:03 +02:00
Stephane Nicoll 37d8760652 Merge branch '3.1.x'
Closes gh-36739
2023-08-04 14:36:27 +02:00
Stephane Nicoll 1df70c9f9b Merge branch '3.0.x' into 3.1.x
Closes gh-36738
2023-08-04 14:36:15 +02:00
Stephane Nicoll 6ee002456d Merge branch '2.7.x' into 3.0.x
Closes gh-36737
2023-08-04 14:36:04 +02:00
Stephane Nicoll 747dbc35fe Warmup connection pool in ConnectionPoolMetricsTests
Closes gh-36474
2023-08-04 14:29:59 +02:00
Stephane Nicoll 04d17a7903 Merge branch '3.1.x'
Closes gh-36736
2023-08-04 14:12:15 +02:00
Stephane Nicoll 2e37b0ae47 Merge branch '3.0.x' into 3.1.x
Closes gh-36735
2023-08-04 14:12:04 +02:00
Stephane Nicoll de632dd77b Merge branch '2.7.x' into 3.0.x
Closes gh-36734
2023-08-04 14:11:51 +02:00
Stephane Nicoll fd88024402 Add @since for JavaVersion values
Closes gh-36608
2023-08-04 14:09:12 +02:00
Andy Wilkinson 80f9d5c9e4 Upgrade to Testcontainers 1.18.3
Closes gh-36722
2023-08-04 11:49:12 +01:00
Andy Wilkinson 0ce260fa02 Upgrade to Spock Framework 2.3-groovy-4.0
Closes gh-36721
2023-08-04 11:49:12 +01:00
Andy Wilkinson a642769d73 Upgrade to MockK 1.13.5
Closes gh-36720
2023-08-04 11:49:11 +01:00
Andy Wilkinson 14cf2335ee Upgrade to Maven Resolver 1.9.14
Closes gh-36719
2023-08-04 11:49:11 +01:00
Andy Wilkinson bbe01a89b0 Upgrade to Maven Invoker 3.2.0
Closes gh-36718
2023-08-04 11:49:10 +01:00
Andy Wilkinson 0457519fab Upgrade to Maven 3.9.4
Closes gh-36717
2023-08-04 11:49:10 +01:00
Andy Wilkinson 63a94f762a Upgrade to Janino 3.1.10
Closes gh-36716
2023-08-04 09:19:18 +01:00
Andy Wilkinson de3d39b880 Upgrade to Commons FileUpload 1.5
Closes gh-36715
2023-08-04 09:19:14 +01:00
Andy Wilkinson 533168b31b Upgrade to API Guardian 1.1.2
Closes gh-36714
2023-08-04 09:19:09 +01:00
Andy Wilkinson 80a6873a98 Upgrade to Testcontainers 1.18.3
Closes gh-36710
2023-08-04 08:22:57 +01:00
Andy Wilkinson f0d2f6e991 Upgrade to Spock Framework 2.3-groovy-3.0
Closes gh-36709
2023-08-04 08:22:57 +01:00
Andy Wilkinson 4b552d5c44 Upgrade to MockK 1.13.5
Closes gh-36708
2023-08-04 08:22:56 +01:00
Andy Wilkinson 2c7fe47529 Upgrade to Maven Resolver 1.9.14
Closes gh-36707
2023-08-04 08:22:56 +01:00
Andy Wilkinson 7fcf4c7dcf Upgrade to Maven Invoker 3.2.0
Closes gh-36706
2023-08-04 08:22:56 +01:00
Andy Wilkinson 59bd6879a2 Upgrade to Maven 3.9.4
Closes gh-36705
2023-08-04 08:22:55 +01:00
Scott Frederick ecdb9f6b07 Add support for CNB platform API 0.12
Closes gh-36712
2023-08-03 15:57:36 -05:00
Moritz Halbritter 726d2e6678 Remove unnecessary synchronization
- on AtomicBoolean in SpringApplicationBuilder
- on SimpleFormatter
- in a private method in FileSystemWatcher which is always called in a
  synchronized block
- Replaced synchronized guarded HashMap with ConcurrentHashMap
2023-08-03 17:33:52 +02:00
Moritz Halbritter 1a8b8ce26e Revert "Revise synchronized blocks"
This reverts commit 497bbf9c2d.
2023-08-03 17:26:31 +02:00
Moritz Halbritter 02a7c22f40 Revert "Use virtual threads in JmsHealthIndicator if enabled"
This reverts commit 6fc585c5d2.
2023-08-03 17:25:28 +02:00
Moritz Halbritter a843aca821 Revert "Polish"
This reverts commit 25eb3c8c18.
2023-08-03 17:25:15 +02:00
Moritz Halbritter d93d05ade2 Revert "Use virtual threads in BackgroundPreinitializer if enabled"
This reverts commit 4bbc336321.
2023-08-03 17:24:56 +02:00
Stephane Nicoll f34dc05452 Rename run goal's directories property to additionalClasspathElements
This clarifies what used to be called "directories" as both a directory
and a jar file can be provided. A directory with `/*` would also load
all the jar files from that directory.

The "directories" property has been deprecated as a result.

Closes gh-35179
2023-08-03 16:22:07 +02:00
Andy Wilkinson a709625c24 Upgrade to Commons FileUpload 1.5
Closes gh-36704
2023-08-03 14:55:27 +01:00
Andy Wilkinson f24b56b541 Upgrade to API Guardian 1.1.2
Closes gh-36703
2023-08-03 14:55:22 +01:00
Marc Becker 36e31c0612 Add resource hints for MessageSource
This only registers the default locations, not the one users can provide
via 'spring.messages.basename'.

This is similar to the approach taken for schema.sql and data.sql
in class SqlInitializationScriptsRuntimeHints.

See gh-36682
2023-08-03 12:56:06 +01:00
Andy Wilkinson 8ce5fb5f06 Merge branch '3.1.x'
Closes gh-36701
2023-08-03 12:44:43 +01:00
Andy Wilkinson 664581eb90 Merge branch '3.0.x' into 3.1.x
Closes gh-36700
2023-08-03 12:44:26 +01:00
Andy Wilkinson c6dc505932 Auto-configure JsonpMapper even with user-defined transport
Closes gh-36698
2023-08-03 12:44:13 +01:00
Johnny Lim 677db72210 Add Javadoc since to a new constructor for PemSslStoreBundle
See gh-36693
2023-08-03 12:47:08 +02:00
Moritz Halbritter 4bbc336321 Use virtual threads in BackgroundPreinitializer if enabled
Closes gh-36695
2023-08-03 11:16:16 +02:00
Moritz Halbritter 25eb3c8c18 Polish 2023-08-03 11:16:16 +02:00
Andy Wilkinson 48813a0e5b Merge branch '3.1.x'
Closes gh-36697
2023-08-03 10:11:43 +01:00
Andy Wilkinson 12a2c615a9 Merge branch '3.0.x' into 3.1.x
Closes gh-36696
2023-08-03 10:10:22 +01:00
Andy Wilkinson 803c155e69 Order default customizers so that they can be overridden
Closes gh-36674
2023-08-03 10:09:27 +01:00
Moritz Halbritter 6fc585c5d2 Use virtual threads in JmsHealthIndicator if enabled
Closes gh-36694
2023-08-03 10:32:42 +02:00
Moritz Halbritter 9f5749832b Polish JettyWebServer 2023-08-03 09:23:48 +02:00
Moritz Halbritter 3515196c2b Add missing synchronization and remove unnecessary volatile 2023-08-03 09:23:48 +02:00
Moritz Halbritter 497bbf9c2d Revise synchronized blocks
- Replace synchronized with Lock when guarding long-running operations
- Remove unnecessary synchronization in FileSystemWatcher
- Replace HashMap with ConcurrentHashMap in Restarter
- Remove unnecessary locking on AtomicBoolean in
  SpringApplicationBuilder
- Remove unnecessary locking in SimpleFormatter

Closes gh-36670
2023-08-03 09:23:46 +02:00
Scott Frederick 6506208d29 Upgrade default CNB builders to Paketo Jammy
Closes gh-36689
2023-08-02 19:06:16 -05:00
Scott Frederick 63a8edfa15 Merge branch '3.1.x'
Closes gh-36691
2023-08-02 17:51:52 -05:00
Scott Frederick ecd2b0178f Merge branch '3.0.x' into 3.1.x
Closes gh-36690
2023-08-02 17:50:56 -05:00
Scott Frederick e25c267585 Update Paketo builder references in documentation
Closes gh-36688
2023-08-02 17:49:32 -05:00
Andy Wilkinson b02c1877fc Fix configIsReadWithProvidedContext on Windows
See gh-36445
2023-08-02 14:59:47 +01:00
Andy Wilkinson 77e382ec64 Polish "Add support for using an AuthTokenManager with Neo4j"
See gh-36650
2023-08-02 14:30:03 +01:00
Michael Simons 1f0a3901b2 Add support for using an AuthTokenManager with Neo4j
Neo4j Java driver introduced support for an `AuthTokenManager` that can
be used to define expiring tokens for authentication with a database.

This commit adds an `ObjectProvider<AuthTokenManager> authTokenManagers`
parameter to the corresponding auto configuration class. If the provider
resolves to a unique object, that `AuthTokenManager` will have precedence
over any static token.

See gh-36650
2023-08-02 14:30:03 +01:00
Stephane Nicoll a223834d57 Polish "Order auto-configured ProblemDetailsExceptionHandler beans"
See gh-36288
2023-08-02 15:28:01 +02:00
Maurice Zeijen 9955ee7e8a Order auto-configured ProblemDetailsExceptionHandler beans
Add `@Order(0)` to the WebMVC and Webflux
`ProblemDetailsExceptionHandler` beans. This makes it easier to create
custom `@ControllerAdvice` beans that must be ordered before or after
the `ProblemDetailsExceptionHandler`.

See gh-36288
2023-08-02 15:27:44 +02:00
Moritz Halbritter e677eb7759 Polish Polish R2dbcObservationAutoConfiguration 2023-08-02 12:14:03 +02:00
Moritz Halbritter 20d264150b Polish R2dbcObservationAutoConfiguration 2023-08-02 11:41:30 +02:00
Moritz Halbritter 7c0fc11480 Merge branch '3.1.x'
Closes gh-36673
2023-08-02 11:30:34 +02:00
Moritz Halbritter 4b09d444ba Upgrade to R2DBC Proxy 1.1.2.RELEASE
Closes gh-36672
2023-08-02 11:28:03 +02:00
Moritz Halbritter 3a9fadf30f Enable virtual threads for Kafka listener
Closes gh-36396
2023-08-02 10:59:19 +02:00
Moritz Halbritter 7c5ec73724 Polish SimpleAsyncTaskExecutorBuilderTests 2023-08-02 10:51:10 +02:00
Moritz Halbritter 5d9d0f43b6 Implement AssertJ assertions for SimpleAsyncTaskExecutor 2023-08-02 10:51:09 +02:00
Scott Frederick f2ad08c292 Add since version to deprecated config properties
See gh-36482
2023-08-01 16:13:22 -05:00
Scott Frederick 2e50d11d86 Add since attribute to @DeprecatedConfigurationProperty annotation
Closes gh-36482
2023-08-01 16:13:22 -05:00
Andy Wilkinson 0646eabd4a Merge branch '3.1.x'
Closes gh-36665
2023-08-01 20:03:25 +01:00
Andy Wilkinson 92361b5545 Merge branch '3.0.x' into 3.1.x
Closes gh-36664
2023-08-01 20:03:01 +01:00
Andy Wilkinson 51b81ced6f Merge branch '2.7.x' into 3.0.x
Closes gh-36663
2023-08-01 20:01:20 +01:00
Andy Wilkinson 28b3054a9e Try to stabilize DataCouchbaseTestIntegrationTests
Closes gh-36662
2023-08-01 19:58:28 +01:00
Andy Wilkinson 806aa45279 Merge branch '3.1.x'
Closes gh-36661
2023-08-01 18:14:03 +01:00
Andy Wilkinson 0d646d7c26 Polish "Support ServiceConnection beans in slice tests"
See gh-36037
2023-08-01 18:12:53 +01:00
Eddú Meléndez 4dfb60c9a3 Support ServiceConnection beans in slice tests
Previously, to use `@ServiceConnection` on a `@Bean` method in a sliced
test required ServiceConnectionAutoConfiguration to be imported using
`@ImportAutoConfiguration`. This commit removes the need for this
import by registering ServiceConnectionAutoConfiguration in specific
slice test annotations.

See gh-36037
2023-08-01 18:09:57 +01:00
Andy Wilkinson d0d545468a Revert "Remove invalid check for String-based FactoryBean.OBJECT_TYPE_ATTRIBUTE"
This reverts commit 279f8221a5.

See gh-36659
2023-08-01 17:57:34 +01:00
Stephane Nicoll 75bb862255 Remove dead code 2023-08-01 16:51:48 +02:00
Stephane Nicoll 279f8221a5 Remove invalid check for String-based FactoryBean.OBJECT_TYPE_ATTRIBUTE
Closes gh-36659
2023-08-01 16:50:56 +02:00
Stephane Nicoll 191ac10009 Deprecate support for OkHttp
Closes gh-36632
2023-08-01 16:45:13 +02:00
Moritz Halbritter 19859a9023 Simplify TaskExecutionAutoConfiguration 2023-08-01 15:40:05 +02:00
Moritz Halbritter 4ba7463d75 Polish 2023-08-01 15:34:52 +02:00
Moritz Halbritter 51008a7d39 Add ThreadPoolTaskSchedulerBuilder and deprecate TaskSchedulerBuilder
Closes gh-36651
2023-08-01 10:32:58 +02:00
Stephane Nicoll 922f66a85d Merge branch '3.1.x'
Closes gh-36654
2023-07-31 17:16:17 +02:00
Michael Simons ef3b99ee51 Fix test declaration in Neo4jAutoConfigurationTests
The test was annotated `@Bean`, must be `@Test`.

See gh-36649
2023-07-31 17:12:57 +02:00
Moritz Halbritter de4b2d679f Add documentation for SimpleAsyncTaskExecutorBuilder
See gh-35711
2023-07-31 14:17:17 +02:00
Moritz Halbritter e4c38e59a9 Implement SimpleAsyncTaskExecutorBuilder
The SimpleAsyncTaskExecutorBuilder can be used to create
SimpleAsyncTaskExecutor. It will be auto-configured into the context.
SimpleAsyncTaskExecutorCustomizer can be used to customize the built
SimpleAsyncTaskExecutor.

If virtual threads are enabled:
- SimpleAsyncTaskExecutor will use virtual threads
- SimpleAsyncTaskExecutorBuilder will be used as the application task
  executor

A new property 'spring.task.execution.simple.concurrency-limit' has been
added to control the concurrency limit of the SimpleAsyncTaskExecutor

Closes gh-35711
2023-07-31 14:08:00 +02:00
Moritz Halbritter 32c91af440 Add ThreadPoolTaskExecutorBuilder and deprecate TaskExecutorBuilder
Closes gh-36637
2023-07-31 11:51:17 +02:00
Andy Wilkinson 5c845c7ddc Merge branch '3.1.x'
Closes gh-36647
2023-07-31 10:05:05 +01:00
Andy Wilkinson 5f72e441d0 Polish "Add note about enabling docker compose support in tests"
See gh-36636
2023-07-31 09:47:24 +01:00
Matteo Bianchi 0e43e81e73 Add note about enabling docker compose support in tests
See gh-36636
2023-07-31 09:39:05 +01:00
Moritz Halbritter 1347b998e6 Remove @ConditionalOnVirtualThreads
See gh-36624
See gh-35892
2023-07-28 14:28:16 +02:00
Moritz Halbritter 9e212875c3 Remove VirtualThreads bean
Reverts eeb1e1fc35

See gh-36615
See gh-36387
2023-07-28 14:28:15 +02:00
Moritz Halbritter bf48819222 Implement @ConditionalOnThreading
Closes gh-36624
2023-07-28 14:28:15 +02:00
Andy Wilkinson f3d623bb1d Merge branch '3.1.x'
Closes gh-36635
2023-07-28 12:22:48 +01:00
Andy Wilkinson 65bc351847 Merge branch '3.0.x' into 3.1.x
Closes gh-36634
2023-07-28 12:22:36 +01:00
Andy Wilkinson 3e99118a48 Merge branch '2.7.x' into 3.0.x
Closes gh-36633
2023-07-28 12:22:21 +01:00
Andy Wilkinson 21ce7a08fc Polish "Polish"
See gh-36620
2023-07-28 11:40:34 +01:00
Johnny Lim 5a205dbfd1 Polish
See gh-36620
2023-07-28 11:35:33 +01:00
Andy Wilkinson 0191943be2 Merge branch '3.1.x'
Closes gh-36631
2023-07-28 11:32:12 +01:00
Andy Wilkinson 8f576c36a2 Merge branch '3.0.x' into 3.1.x
Closes gh-36630
2023-07-28 11:31:59 +01:00