Commit Graph

18539 Commits

Author SHA1 Message Date
Phillip Webb 374176a680 Upgrade to MariaDB 3.0.8
Closes gh-32451
2022-09-20 14:19:12 -07:00
Phillip Webb d849cdf9cb Upgrade to Liquibase 4.16.1
Closes gh-32450
2022-09-20 14:19:09 -07:00
Phillip Webb 0b49fed06c Upgrade to Kafka 3.2.3
Closes gh-32449
2022-09-20 14:19:06 -07:00
Phillip Webb 994a4bdef3 Upgrade to JUnit Jupiter 5.9.1
Closes gh-32448
2022-09-20 14:19:03 -07:00
Phillip Webb 855c2ee617 Upgrade to Jetty 11.0.12
Closes gh-32447
2022-09-20 14:18:59 -07:00
Phillip Webb d8be9975fc Upgrade to Flyway 9.3.1
Closes gh-32446
2022-09-20 14:18:57 -07:00
Andy Wilkinson fa81e8ca79 Skip processAot and processTestAot if there is no main or test code
Closes gh-32424
2022-09-20 17:15:19 +01:00
Andy Wilkinson 64f4da80cb Align with breaking changes in latest Batch snapshots
Batch is now auto-configured to use the context's
PlatformTransactionManager and DataSource or `@BatchDataSource`.
When this does not meet the user's needs, they can use
`@EnableBatchProcessing` or sub-class `DefaultBatchConfiguration` to
take complete control with the auto-configuration backing off.

Closes gh-32330
2022-09-20 15:42:52 +01:00
Stephane Nicoll 375a570717 Upgrade to Spring Kafka 3.0.0-M6
Closes gh-31925
2022-09-20 16:01:14 +02:00
Stephane Nicoll 35916a9962 Upgrade to Spring GraphQL 1.1.0-M1
Closes gh-32294
2022-09-20 16:00:47 +02:00
Stephane Nicoll 9936448269 Upgrade to GraphQL Java 19.2
Closes gh-32430
2022-09-20 16:00:17 +02:00
Andy Wilkinson e8aa5680d6 Support file-based reachability metadata repositories
See gh-32408
2022-09-20 14:06:18 +01:00
Andy Wilkinson 8323f24ccc Make classes generated by AOT test processing available to nativeTest
Closes gh-32428
2022-09-20 11:29:18 +01:00
Stephane Nicoll 0f325f98b5 Disable ContextCustomizer implementations at runtime if necessary
This commit disables ContextCustomizer implementations that tune a
test configuration context at runtime. Previously, these ran again and
required additional hints to work properly.

Rather than contributing those hints, the customizer is skipped as its
impact is irrelevant in an AOT-optimized context: the context is fully
prepared and the updates on the MergedContextConfiguration are not taken
into account.

Closes gh-32422
2022-09-20 04:34:58 +02:00
Stephane Nicoll 6f6a4d9990 Start building against Spring Session 2022.0.0-M3 snapshots
See gh-32427
2022-09-20 03:51:25 +02:00
Stephane Nicoll 4fd6144117 Revert "Upgrade to Spring Kafka 3.0.0-M6"
This reverts commit 876511f212.
2022-09-20 03:51:06 +02:00
Stephane Nicoll 876511f212 Upgrade to Spring Kafka 3.0.0-M6
Closes gh-31925
2022-09-20 03:32:32 +02:00
Stephane Nicoll 56bdb67ecf Upgrade to Spring AMQP 3.0.0-M4
Closes gh-31861
2022-09-20 03:32:10 +02:00
Stephane Nicoll 3d85931fc7 Upgrade to Spring Security 6.0.0-M7
Closes gh-32255
2022-09-20 03:31:41 +02:00
Stephane Nicoll 59b06050b4 Upgrade to Spring Data 2022.0.0-M6
Closes gh-32254
2022-09-19 17:58:00 +02:00
Stephane Nicoll 436366eedf Upgrade to Spring LDAP 3.0.0-M4
Closes gh-32105
2022-09-19 16:45:14 +02:00
dreis2211 bac7d62476 Fix Spring Batch deprecations
See gh-32419
2022-09-19 14:31:54 +02:00
Stephane Nicoll 190d4cbc2f Relax ImportsContextCustomizer to only require a class name
Closes gh-32421
2022-09-19 10:45:33 +02:00
Scott Frederick 1ed4d89466 Copy native reachability metadata to jar file in Gradle plugin
When the Spring Boot Gradle plugin builds a fat jar and the Native
Build Tools Gradle plugin is applied to the build, any configuration
files from the GraalVM reachability metadata repository that match
project dependencies are copied to a `META-INF/native-image`
directory in the fat jar.

Closes gh-32408
2022-09-16 12:26:24 -05:00
Andy Wilkinson 2b3ef96156 Merge branch '2.7.x'
Closes gh-32407
2022-09-16 17:03:34 +01:00
Andy Wilkinson a800f7d77c Merge branch '2.6.x' into 2.7.x
Closes gh-32406
2022-09-16 17:03:13 +01:00
Andy Wilkinson 61e11cd361 Ensure that TCCL is clean when DataSource is accessed
Previously, when using Tomcat, its web app class loader was the thread
context class loader when H2ConsoleAutoConfiguration triggered
initialization of Hikari's pool. This was the case because it's done
in the bean method of a ServletRegistrationBean. Such Servlet-related
beans are intentionally created with Tomcat's web app classloader as
the TCCL. This arrangement results in the pool's threads using
Tomcat's web app class loader as their TCCL which is not desirable.
One consequence of this was that Tomcat could log a warning at
shutdown about the thread being left running when it will, in fact,
be stopped as part of the context being closed.

This commit updates H2ConsoleAutoConfiguration to set the TCCL to its
own ClassLoader while the DataSource information is being logged.

Closes gh-32382
2022-09-16 16:24:57 +01:00
Andy Wilkinson 5cb68eab1e Remove HotSpot specifics from HeapDumper strategy interface
Closes gh-27533
2022-09-16 12:53:43 +01:00
Andy Wilkinson f731279fef Merge branch '2.7.x'
Closes gh-32403
2022-09-16 11:39:25 +01:00
Andy Wilkinson 7827e8166e Merge branch '2.6.x' into 2.7.x
Closes gh-32402
2022-09-16 11:38:07 +01:00
Andy Wilkinson ab26050fe7 Document support for Java 19
Closes gh-32259
2022-09-16 11:37:14 +01:00
Stephane Nicoll b293541906 Upgrade to Spring HATEOAS 2.0.0-M6
Closes gh-31855
2022-09-16 07:41:50 +02:00
Stephane Nicoll 756eaea766 Upgrade to Spring HATEOAS 1.5.2
Closes gh-32378
2022-09-16 07:41:04 +02:00
Stephane Nicoll 998396dd8a Upgrade to Spring HATEOAS 1.4.5
Closes gh-32400
2022-09-16 07:39:56 +02:00
Madhura Bhave b44a7e242c Support Mongo's Stable API in MongoHealthIndicator
Closes gh-30849
2022-09-15 16:48:22 -07:00
Phillip Webb 7f5785182d Switch @SpringBootTest to UseMainMethod.NEVER by default
See gh-22405
2022-09-15 12:37:26 -07:00
Phillip Webb 48f3cd75d4 Refine SpringBootTest.useMainMethod support
Refine `SpringBootContextLoader` so that calls to the main method do
not exit early and the hook is only used when necessary.

See gh-22405
2022-09-15 10:48:58 -07:00
Stephane Nicoll f1b60eef55 Upgrade to Spring Retry 2.0.0-M1
Closes gh-32293
2022-09-15 18:06:17 +02:00
Andy Wilkinson 2b503ee334 Add AOT-generated classes as a dependency
Previously, the AOT-generated classes were added directly to the
compile classpath of the AOT compilation task. This didn't work
perfectly in IntelliJ IDEA, leaving the generated classes in the
runtime scope and causing compilation problems where the
AOT-generated source tried to reference those classes.

This commit updates the plugin to add the AOT-generated classes as
a dependency to the AOT source set's implementation configuration.
This makes the classes available during compilation by the source
set's Java compilation task while also makeing IntelliJ IDEA aware
of their presence on the compile classpath.

Closes gh-32395
2022-09-15 14:02:54 +01:00
Andy Wilkinson 0476b5da5d Upgrade to Selenium HtmlUnit 3.64.0 and Selenium 4.4.0
Closes gh-32372
Closes gh-32373
2022-09-15 12:31:56 +01:00
Andy Wilkinson 52522b87f0 Merge branch '2.6.x' into 2.7.x
Closes gh-32393
2022-09-15 11:57:28 +01:00
Andy Wilkinson 77f428498f Compile against SnakeYAML 1.32 and test against older versions
Closes gh-32392
2022-09-15 11:55:44 +01:00
Stephane Nicoll 3803cda746 Upgrade to Spring Framework 6.0.0-M6
Closes gh-31834
2022-09-15 11:11:28 +02:00
Stephane Nicoll 4aabe7caf5 Upgrade to Spring Framework 5.3.23
Closes gh-32274
2022-09-15 11:09:43 +02:00
Stephane Nicoll 78fb738117 Upgrade to Spring Framework 5.3.23
Closes gh-32267
2022-09-15 11:08:55 +02:00
Stephane Nicoll 9391f329fb Upgrade to Versions Maven Plugin 2.12.0
Closes gh-32391
2022-09-15 09:39:18 +02:00
Stephane Nicoll 8f67cfd709 Upgrade to Undertow 2.2.19.Final
Closes gh-32390
2022-09-15 09:39:16 +02:00
Stephane Nicoll 74c1f5bede Upgrade to UnboundID LDAPSDK 6.0.6
Closes gh-32389
2022-09-15 09:39:13 +02:00
Stephane Nicoll c10a8cb195 Upgrade to SQLite JDBC 3.39.3.0
Closes gh-32387
2022-09-15 09:39:08 +02:00
Stephane Nicoll 59448ce5d2 Upgrade to SnakeYAML 1.32
Closes gh-32386
2022-09-15 09:39:06 +02:00