Commit Graph

24703 Commits

Author SHA1 Message Date
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 c37f786914 Upgrade to Spring Integration 6.2.9
Closes gh-42126
2024-09-18 08:19:23 +01: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 b75c2b6529 Upgrade to Spring Retry 2.0.9
Closes gh-42325
2024-09-16 14:48:13 +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 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
Stéphane Nicoll e6e7357303 Upgrade to Undertow 2.3.17.Final
Closes gh-42302
2024-09-13 16:26:00 +02:00
Stéphane Nicoll d3861bcaef Upgrade to Spring Data Bom 2023.1.10
Closes gh-42124
2024-09-13 15:45:58 +02:00
Stéphane Nicoll 0215da06df Upgrade to Groovy 4.0.23
Closes gh-42291
2024-09-13 11:17:58 +02:00
Yanming Zhou ee10425b6d Add tests to ensure private constructor is not used for binding
See gh-42277
2024-09-12 18:54:30 -07:00
Phillip Webb 03e7be3ccf Document that spring.jmx.enabled is not for third-party libraries
Closes gh-42272
2024-09-12 18:35:57 -07:00
Stéphane Nicoll a810494447 Upgrade to Spring HATEOAS 2.2.5
Closes gh-42281
2024-09-12 15:06:46 +02:00
Moritz Halbritter 206c28704f Put registration id in validation error message
Closes gh-42278
2024-09-12 14:19:03 +02:00
Stéphane Nicoll 5bddca850a Link to major.minor versions of Spring projects
This commit updates the doc build process to link to the latest doc for
a given generation, rather than a specific version. This applies to both
the reference guide and the aggregated Javadoc.

Closes gh-42196
2024-09-11 18:55:27 +02:00
Andy Wilkinson 504fd62472 Update the link to Log4j2's system properties documentation
Closes gh-42262
2024-09-11 14:02:55 +01:00
Andy Wilkinson e65cc54ec4 Upgrade to Tomcat 10.1.29
Closes gh-42251
2024-09-11 13:06:45 +01:00
Andy Wilkinson c08c5ae5ed Upgrade to Reactor Bom 2023.0.10
Closes gh-42123
2024-09-11 13:05:26 +01:00
Andy Wilkinson e1724277af Upgrade to Netty 4.1.113.Final
Closes gh-42250
2024-09-11 13:05:26 +01:00
Andy Wilkinson 7d22d7f9cf Upgrade to MongoDB 4.11.4
Closes gh-42249
2024-09-11 13:05:22 +01:00
Andy Wilkinson 4676ad4f4b Upgrade to Micrometer Tracing 1.2.10
Closes gh-42122
2024-09-11 13:05:17 +01:00
Andy Wilkinson 6bced8fe56 Upgrade to Micrometer 1.12.10
Closes gh-42121
2024-09-11 13:05:16 +01:00
Andy Wilkinson d8748ec35d Upgrade to Jetty 12.0.13
Closes gh-42248
2024-09-11 13:05:16 +01:00
Andy Wilkinson a6c9382540 Upgrade to Jetty Reactive HTTPClient 4.0.7
Closes gh-42247
2024-09-11 13:05:11 +01:00
Andy Wilkinson 216c69259e Upgrade to Jakarta Servlet JSP JSTL 3.0.2
Closes gh-42246
2024-09-11 13:05:07 +01:00
Andy Wilkinson ec91b4c8b8 Upgrade to Infinispan 14.0.31.Final
Closes gh-42245
2024-09-11 13:05:02 +01:00
Stéphane Nicoll 915cb12c64 Fix broken Spring GraphQL links
Closes gh-42207
2024-09-11 11:05:37 +02:00
Stéphane Nicoll bee3158d91 Use Antora links for Spring Data reference doc
Closes gh-42203
2024-09-11 06:48:21 +02:00
Stéphane Nicoll b1db3ad8ae Clarify reason for deprecating autotime properties
Closes gh-41745
2024-09-09 15:25:23 +02:00
Stéphane Nicoll aef56bceb9 Replace RFC 7807 by RFC 9457 in documentation
This commit updates all references to RFC 7807 by RFC 9457 since the
former is now obsolete.

Closes gh-41260
2024-09-09 14:59:21 +02:00
Andy Wilkinson 9a74437fbc Delete unused javadoc CSS file
Closes gh-42187
2024-09-09 13:52:23 +01:00
Andy Wilkinson e30ae7a240 Document problem with property binding and Kotlin value classes
Closes gh-41693
2024-09-06 14:26:13 +01:00
Andy Wilkinson a89ae3fbee Improve laziness of Pem and JKS SSL store bundles
Fixes gh-42119
2024-09-06 11:28:46 +01:00
Andy Wilkinson f8130791ea Update docs to reflect new no handler found exception behavior
Closes gh-42164
2024-09-06 10:17:20 +01:00
Andy Wilkinson 4f576031bc Polish configuration property reference
Closes gh-42162
2024-09-06 10:11:43 +01:00
Andy Wilkinson 4b1fcdb74a Start building against Spring Pulsar 1.0.10 snapshots
See gh-42128
2024-09-04 12:14:26 +01:00
Andy Wilkinson e972ddfe50 Start building against Spring Kafka 3.1.9 snapshots
See gh-42127
2024-09-04 12:14:21 +01:00
Andy Wilkinson 68c331f496 Start building against Spring Integration 6.2.9 snapshots
See gh-42126
2024-09-04 12:14:17 +01:00
Andy Wilkinson ced01c1dd3 Start building against Spring Data Bom 2023.1.10 snapshots
See gh-42124
2024-09-04 12:14:08 +01:00
Andy Wilkinson a465e37908 Start building against Reactor Bom 2023.0.10 snapshots
See gh-42123
2024-09-04 12:14:03 +01:00
Andy Wilkinson 49d4f7ac0e Start building against Micrometer Tracing 1.2.10 snapshots
See gh-42122
2024-09-04 12:13:59 +01:00
Andy Wilkinson 593fecbe35 Start building against Micrometer 1.12.10 snapshots
See gh-42121
2024-09-04 12:13:54 +01:00
Phillip Webb f3645bba13 Update copyright year of changed files 2024-09-03 21:04:26 -07:00
Brian Clozel d0c9e0e9e7 List types of OpenTelemetry support in Spring Boot
Closes gh-41227
2024-09-03 21:12:14 +02:00
Phillip Webb aeafa20727 Prevent 'Recursive update' exceptions with Restarter
Update `Restarter` to prevent 'Recursive update' `IllegalStateException`
from being thrown. Calls to `objectFactory.getObject()` now happen
outside of `computeIfAbsent`.

Fixes gh-41571
2024-09-03 12:09:40 -07:00
Leszek Jasek 0cd99a7435 Improve "Command-line Completion" section
Replaced deprecated Spring CLI options with the current ones,
improved section related to completion setup for zsh.

See gh-42091
2024-09-03 15:02:46 +01:00
Andy Wilkinson 55f2af1279 Polish "Polish"
See gh-42095
2024-09-03 14:56:14 +01:00
arefbehboudi aa83bbee3d Polish
See gh-42095
2024-09-03 14:45:56 +01:00