Commit Graph

19617 Commits

Author SHA1 Message Date
Stephane Nicoll e922650877 Upgrade to Spring Framework 6.0.2
Closes gh-33286
2022-11-24 15:40:46 +01:00
Stephane Nicoll 14ba9b18df Start building against Spring Framework 6.0.2 snapshots
See gh-33286
2022-11-24 13:19:23 +01:00
Andy Wilkinson abcbac92ef Merge branch '2.6.x' into 2.7.x
Closes gh-33343
2022-11-24 11:29:24 +00:00
Andy Wilkinson ebfbf4a412 Stop testing Gradle plugin against Gradle 7.6 RCs
Closes gh-33342
2022-11-24 11:23:45 +00:00
Stephane Nicoll 2b3a236f88 Upgrade to Postgresql 42.5.1
Closes gh-33340
2022-11-24 10:05:57 +01:00
Stephane Nicoll 2bbc475469 Upgrade to Caffeine 3.1.2
Closes gh-33339
2022-11-24 10:05:54 +01:00
Stephane Nicoll 76de7a8024 Upgrade to Postgresql 42.3.8
Closes gh-33338
2022-11-24 10:03:18 +01:00
Stephane Nicoll f68e8ce3b4 Upgrade to Postgresql 42.3.8
Closes gh-33337
2022-11-24 10:01:14 +01:00
Stephane Nicoll 4d735de591 Upgrade to Spring Batch 5.0.0
Closes gh-33148
2022-11-24 09:57:08 +01:00
Moritz Halbritter 39aaab082b Polish "Document observation for R2DBC"
See gh-33335
2022-11-24 09:19:36 +01:00
Tadaya Tsuyukubo 9ddad34f42 Document observation for R2DBC
Adds a link to the R2DBC observation repo in documentation.

See gh-33335
2022-11-24 09:17:32 +01:00
Andy Wilkinson e1a407ca9d Upgrade to Micrometer 1.10.2
Closes gh-33334
2022-11-23 18:59:46 +00:00
Moritz Halbritter 26db0c7120 Merge branch '2.7.x' 2022-11-23 17:25:07 +01:00
Moritz Halbritter 2170941cf6 Update Kotlin example for Tomcat connector customization
See gh-33331
2022-11-23 17:10:36 +01:00
Moritz Halbritter 9af2a5712c Merge branch '2.6.x' into 2.7.x
Closes gh-33331
2022-11-23 17:01:19 +01:00
Moritz Halbritter b00f4f926a Create a HTTP connector in the custom tomcat connector example
Closes gh-28707
2022-11-23 17:00:08 +01:00
Moritz Halbritter d430779f00 Merge branch '2.6.x' into 2.7.x
Closes gh-33328
2022-11-23 16:32:19 +01:00
Moritz Halbritter 2f6edecedb Improve JavaDoc on ConditionalOnClass
Closes gh-27846
2022-11-23 16:26:43 +01:00
Moritz Halbritter d9aea476b4 Merge branch '2.7.x'
Closes gh-33327
2022-11-23 14:23:24 +01:00
Moritz Halbritter 1da3a9d636 Merge branch '2.6.x' into 2.7.x
Closes gh-33326
2022-11-23 14:23:08 +01:00
Moritz Halbritter ae8ec86486 Clarify startup probe in actuator documentation
Closes gh-28432
2022-11-23 14:21:51 +01:00
Stephane Nicoll 656f109296 Upgrade to Spring Framework 6.0.1
Closes gh-33286
2022-11-23 11:52:10 +01:00
Stephane Nicoll b39f4d7d85 Upgrade to HttpClient5 5.1.4
Closes gh-33323
2022-11-23 06:12:51 +01:00
Stephane Nicoll ccd85b7eae Upgrade to Ehcache3 3.10.8
Closes gh-33322
2022-11-23 06:12:47 +01:00
Stephane Nicoll 4a792d14c5 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33321
2022-11-23 06:12:43 +01:00
Stephane Nicoll 92ed0dc61e Upgrade to HttpClient5 5.1.4
Closes gh-33320
2022-11-23 06:08:49 +01:00
Stephane Nicoll 928d210665 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33319
2022-11-23 06:08:46 +01:00
Brian Clozel 762fb53c21 Upgrade to Spring Session 3.0.0
Closes gh-33147
2022-11-22 21:13:43 +01:00
Brian Clozel 07766c436c Apply user-provided ObservationConventions in auto-configurations
Prior to this commit, we would advise developers, as migration path from
Spring Boot 2.0-x metrics, to create `GlobalObservationConvention` beans
for the observations they want to customize (observation name or key
values).

`GlobalObservationConvention` are currently applied **in addition** to
the chosen convention in some cases, so this does not work well with
this migration path.

Instead, instrumentations always provide a default convention but also a
way to configure a custom convention for their observations. Spring Boot
should inject custom convention beans in the relevant
auto-configurations.

Fixes gh-33285
2022-11-22 20:44:05 +01:00
Stephane Nicoll f6ac891cc1 Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RELEASE
Closes gh-33314
2022-11-22 18:00:28 +01:00
Stephane Nicoll 47ca1dfe8d Upgrade to Thymeleaf 3.1.0.RELEASE
Closes gh-33313
2022-11-22 18:00:28 +01:00
Stephane Nicoll 1c9f336156 Upgrade to SQLite JDBC 3.39.4.1
Closes gh-33312
2022-11-22 18:00:27 +01:00
Stephane Nicoll 1f95480e48 Upgrade to SLF4J 2.0.4
Closes gh-33311
2022-11-22 18:00:27 +01:00
Stephane Nicoll 272133ce84 Upgrade to REST Assured 5.2.1
Closes gh-33310
2022-11-22 18:00:27 +01:00
Stephane Nicoll 72bc70593d Upgrade to R2DBC Proxy 1.0.1.RELEASE
Closes gh-33309
2022-11-22 18:00:27 +01:00
Stephane Nicoll 1aa80f0a6c Upgrade to Logback 1.4.5
Closes gh-33308
2022-11-22 18:00:26 +01:00
Stephane Nicoll be5099a9ce Upgrade to Janino 3.1.9
Closes gh-33307
2022-11-22 18:00:26 +01:00
Stephane Nicoll e3d7f718b0 Upgrade to HttpClient5 5.1.4
Closes gh-33306
2022-11-22 18:00:26 +01:00
Stephane Nicoll 493e3cb2ab Upgrade to Glassfish JSTL 3.0.1
Closes gh-33305
2022-11-22 18:00:26 +01:00
Stephane Nicoll 0ba83f0827 Upgrade to Ehcache3 3.10.8
Closes gh-33304
2022-11-22 18:00:26 +01:00
Stephane Nicoll db2906bff0 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33303
2022-11-22 18:00:25 +01:00
Stephane Nicoll 0fd1babf19 Upgrade to Byte Buddy 1.12.19
Closes gh-33302
2022-11-22 18:00:25 +01:00
Andy Wilkinson 20397ad782 Upgrade to Spring Integration 6.0.0
Closes gh-33146
2022-11-22 15:28:18 +00:00
Andy Wilkinson 98113c975b Revert "Start building against Spring Batch 4.3.8 snapshots"
This reverts commit 41914ab15b.

4.3.8 has been postponed

See gh-33135
2022-11-22 15:09:18 +00:00
Andy Wilkinson c4151bb629 Revert "Start building against Spring Batch 4.3.8 snapshots"
This reverts commit 2b4ceb35a2.

The 4.3.8 release has been postponed.

See gh-33128
2022-11-22 15:05:58 +00:00
Stephane Nicoll 232f3cd070 Upgrade to Spring GraphQL 1.0.3
Closes gh-33150
2022-11-22 14:46:33 +01:00
Moritz Halbritter 369424853b Update links to GraalVM page on wiki 2022-11-22 14:39:57 +01:00
Jonatan Ivanov 2d40d07773 Remove Brave and OTel HTTP support in favor of instrumentation
See gh-33287
2022-11-22 13:22:14 +00:00
Brian Clozel aeccf7673b Upgrade to Spring for GraphQL 1.1.0
Closes gh-33145
2022-11-22 14:17:01 +01:00
Brian Clozel cbc19abb61 Upgrade to Jackson 2.14.1
Closes gh-33289
2022-11-22 14:09:21 +01:00
Moritz Halbritter fad610ef72 Add factory for NoopTracer instead of using instance supplier
Closes gh-33298
2022-11-22 14:02:57 +01:00
Stephane Nicoll 75b74637f6 Make sure the 'native' profile can be used in a multi-modules project
This commit updates the 'native' profile so that it provides plugin
management for the plugins involved in building a native image, rather
than forcing their executions.

This commit also update the Maven Plugin reference guide to describe
what the native profile does, and how it can be used in various
scenarios.

Closes gh-33184
2022-11-22 12:33:52 +01:00
Stephane Nicoll 29ee5d2d9a Polish 2022-11-22 10:45:03 +01:00
Stephane Nicoll a7f57091a6 Add support for building an image without forking the Maven lifecycle
This commit adds a new "build-image-no-fork" goal that behaves exactly
as "build-image", except it does not fork the lifecycle. This is a
common pattern in maven plugins where a goal can be invoked on the
command-line and conveniently make sure that a certain phase has run
prior to its execution.

The new goal is suitable for binding the goal in a phase, typically
package, and rely on it rather than invoking the goal. This makes sure
that the lifecycle is forked, which would run everything again.

Closes gh-26455
2022-11-22 10:42:26 +01:00
Stephane Nicoll efa8d8b877 Upgrade to Spring WS 4.0.0
Closes gh-33139
2022-11-22 08:53:11 +01:00
Brian Clozel e8c3157db5 Start building against Spring Framework 6.0.1 SNAPSHOTs
See gh-33286
2022-11-21 20:53:37 +01:00
Phillip Webb 12b4578e98 Further refine WavefrontProperties
See gh-33244
2022-11-21 11:43:10 -08:00
Andy Wilkinson 2d4ef90954 Upgrade to Spring Kafka 3.0.0
Closes gh-33142
2022-11-21 17:49:13 +00:00
Andy Wilkinson 2848593caa Merge branch '2.6.x' into 2.7.x
Closes gh-33133
2022-11-21 17:47:40 +00:00
Andy Wilkinson b960609995 Upgrade to Spring Kafka 2.8.11
Closes gh-33126
2022-11-21 17:46:24 +00:00
Stephane Nicoll a9375afb06 Upgrade to Spring Security 6.0.0
Closes gh-33144
2022-11-21 17:41:18 +01:00
Stephane Nicoll a6de2e88ed Upgrade to Spring AMQP 3.0.0
Closes gh-33141
2022-11-21 17:40:47 +01:00
Stephane Nicoll bed7df63a9 Upgrade to Spring AMQP 2.4.8
Closes gh-33223
2022-11-21 17:39:58 +01:00
Stephane Nicoll 5035f638a5 Upgrade to Spring AMQP 2.4.8
Closes gh-33222
2022-11-21 17:39:22 +01:00
Stephane Nicoll d89861e056 Merge branch '2.7.x'
Closes gh-33284
2022-11-21 16:23:11 +01:00
Stephane Nicoll 78d8bfdc52 Merge branch '2.6.x' into 2.7.x
Closes gh-33283
2022-11-21 16:22:54 +01:00
Henning Poettker 330848d339 Make `ScheduledBeanLazyInitializationExcludeFilter` conditional
See gh-33276
2022-11-21 16:11:07 +01:00
Andy Wilkinson cb14089d24 Align reference docs with @Timed changes
Closes gh-33282
2022-11-21 14:14:28 +00:00
Andy Wilkinson 4100561b3d Align docs with tags provider and contributor changes
Closes gh-33281
2022-11-21 13:58:27 +00:00
Andy Wilkinson 810efdb53d Upgrade to Spring REST Docs 3.0.0
Closes gh-33143
2022-11-21 12:27:28 +00:00
Andy Wilkinson 3d2e0f38a7 Merge branch '2.6.x' into 2.7.x
Closes gh-33134
2022-11-21 12:00:54 +00:00
Andy Wilkinson a23c7df2df Upgrade to Spring REST Docs 2.0.7.RELEASE
Closes gh-33127
2022-11-21 11:57:57 +00:00
Phillip Webb c93e248c46 Refine WavefrontProperties
Remove naming properties under `management.wavefront.application`.

Closes gh-33244
2022-11-18 16:36:37 -08:00
Stephane Nicoll f841cafbc9 Upgrade to Janino 3.1.9
Closes gh-33274
2022-11-18 22:23:23 +01:00
Stephane Nicoll 87444abccb Upgrade to Ehcache3 3.10.6
Closes gh-33273
2022-11-18 22:23:20 +01:00
Stephane Nicoll 7d3fa4e7a6 Upgrade to Byte Buddy 1.12.19
Closes gh-33272
2022-11-18 22:23:17 +01:00
Stephane Nicoll e0b08f0536 Upgrade to Janino 3.1.9
Closes gh-33271
2022-11-18 22:20:12 +01:00
Stephane Nicoll d02901ca5a Upgrade to Spring HATEOAS 2.0.0
Closes gh-33137
2022-11-18 18:39:39 +01:00
Stephane Nicoll eb6f48cfbc Upgrade to Spring Data 2022.0.0
Closes gh-33140
2022-11-18 18:39:03 +01:00
Andy Wilkinson b8142d168b Merge branch '2.7.x'
Closes gh-33269
2022-11-18 17:16:01 +00:00
Andy Wilkinson 9879538c02 Merge branch '2.6.x' into 2.7.x
Closes gh-33268
2022-11-18 17:15:13 +00:00
Andy Wilkinson e860efca65 Test Gradle plugin against 7.6-rc-3
Closes gh-33267
2022-11-18 17:14:29 +00:00
Andy Wilkinson 1f7da3e4eb Merge branch '2.7.x'
Closes gh-33266
2022-11-18 16:29:25 +00:00
Andy Wilkinson 77cb05e804 Merge branch '2.6.x' into 2.7.x
Closes gh-33265
2022-11-18 16:29:11 +00:00
Andy Wilkinson ec467402b3 Link to Micrometer's documentation on @Timed
Closes gh-33264
2022-11-18 16:28:28 +00:00
Andy Wilkinson 5dc589e7ae Merge branch '2.7.x'
Closes gh-33263
2022-11-18 15:56:30 +00:00
Andy Wilkinson 6bf35e3dd0 Merge branch '2.6.x' into 2.7.x
Closes gh-33262
2022-11-18 15:49:12 +00:00
Andy Wilkinson 0c8ae65bd4 Switch of the banner when SpringBootTest runs an app with a parent
Closes gh-33079
2022-11-18 15:43:41 +00:00
Moritz Halbritter e9429b4652 Merge branch '2.7.x'
Closes gh-33260
2022-11-18 14:54:38 +01:00
Moritz Halbritter 2cee6a88e3 Merge branch '2.6.x' into 2.7.x
Closes gh-33259
2022-11-18 14:54:18 +01:00
Moritz Halbritter acb5491b79 Fix section links to not include .html suffix
Closes gh-33206
2022-11-18 14:53:44 +01:00
Moritz Halbritter edb0ee219d Merge branch '2.7.x'
Closes gh-33258
2022-11-18 14:39:19 +01:00
Moritz Halbritter b72b70f0ba Merge branch '2.6.x' into 2.7.x
Closes gh-33257
2022-11-18 14:35:39 +01:00
Moritz Halbritter d05e792157 Clarify spring.cache.type=hazelcast in the documentation
Closes gh-33245
2022-11-18 14:30:49 +01:00
Andy Wilkinson e63fcebcf4 Merge branch '2.7.x'
Closes gh-33256
2022-11-18 13:04:08 +00:00
Andy Wilkinson c483e662a9 Merge branch '2.6.x' into 2.7.x
Closes gh-33255
2022-11-18 13:03:50 +00:00
Andy Wilkinson fc9c036c88 Create git commit time with epoch seconds rather than milliseconds
Closes gh-33237
2022-11-18 13:03:05 +00:00
Vedran Pavic ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2022-11-18 12:52:07 +00:00
Andy Wilkinson 98171921da Polish "Polish SecurityProperties"
See gh-33251
2022-11-18 12:50:15 +00:00
Vedran Pavic c1691f525a Polish SecurityProperties
See gh-33251
2022-11-18 12:50:15 +00:00
Stephane Nicoll 3c1c91bc5d Upgrade to Spring LDAP 3.0.0
Closes gh-33138
2022-11-18 13:44:25 +01:00
Moritz Halbritter 9206b6cda1 Add warning to not disable jar task when building native images
Closes gh-33238
2022-11-18 13:26:59 +01:00
Sébastien Deleuze e7f91bab78 Refine BackgroundPreinitializer code reachability
GraalVM code reachability algorithm is not able to evaluate at build
time that ENABLED static field is always false in a native image,
shipping unreachable code.

Before this commit, building a native image with -H:+PrintAnalysisCallTree
shows that the following methods are included:
- BackgroundPreinitializer$1.<init>(BackgroundPreinitializer):void
- BackgroundPreinitializer$1.run():void
- BackgroundPreinitializer$1.runSafely(Runnable):void
- BackgroundPreinitializer$CharsetInitializer.run():void
- BackgroundPreinitializer$ConversionServiceInitializer.run():void
- BackgroundPreinitializer$JacksonInitializer.run():void
- BackgroundPreinitializer$MessageConverterInitializer.run():void
- BackgroundPreinitializer$ValidationInitializer.run():void
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void
- BackgroundPreinitializer.performPreinitialization():void

After this commit, only those are included:
- BackgroundPreinitializer.<clinit>():void
- BackgroundPreinitializer.getOrder():int
- BackgroundPreinitializer.onApplicationEvent(ApplicationEvent):void
- BackgroundPreinitializer.onApplicationEvent(SpringApplicationEvent):void

See gh-33240
2022-11-18 10:52:42 +00:00
Moritz Halbritter 517ec654ed Document @NestedConstructorBinding in all cases
This covers Kotlin data classes, constructor injection and records.

Closes gh-33235
2022-11-18 11:43:12 +01:00
Andy Wilkinson 931cc8a508 Merge branch '2.7.x'
Closes gh-33250
2022-11-18 10:39:52 +00:00
Andy Wilkinson 0a3c403948 Merge branch '2.6.x' into 2.7.x
Closes gh-33249
2022-11-18 10:39:18 +00:00
Andy Wilkinson 7c65c3e260 Handle invalid names gracefully in properties migrator
Closes gh-32729
2022-11-18 10:38:53 +00:00
Stephane Nicoll 92454ca4e1 Upgrade to Spring Data 2021.2.6
Closes gh-33132
2022-11-18 11:30:07 +01:00
Stephane Nicoll 97e6626b34 Upgrade to Spring Data 2021.1.10
Closes gh-33125
2022-11-18 11:29:01 +01:00
Moritz Halbritter 5a88468c09 Refine example to show @NestedConfigurationProperty usage
Closes gh-33239
2022-11-18 10:25:30 +01:00
Moritz Halbritter 5c10ae2f0b Revert "Remove unneeded NestedConfigurationProperty"
This reverts commit 8048e2d6c2.
2022-11-18 10:23:09 +01:00
Moritz Halbritter 8048e2d6c2 Remove unneeded NestedConfigurationProperty
Closes gh-33239
2022-11-18 09:45:55 +01:00
Moritz Halbritter b7de4020cb Mention @RegisterReflectionForBinding in the docs
Closes gh-32903
2022-11-18 09:39:41 +01:00
Phillip Webb fb5cdbd11c Create ApplicationTags in common WavefrontAutoConfiguration
Relocate `ApplicationTags` `@Bean` method from
`WavefrontTracingAutoConfiguration` to `WavefrontAutoConfiguration`
since it is now shared between tracing and metrics.

The `application-name`, `service-name`, `cluster-name` and `shard-name`
have also been relocated from `management.wavefront.tracing` to
`management.wavefront`.

Fixes gh-33244
2022-11-17 20:16:38 -08:00
Phillip Webb fafbefa35c Ensure @ContextHierarchy is never used with UseMainMethod
Fixes gh-33078
2022-11-17 10:16:24 -08:00
Andy Wilkinson b9e57c73b5 Consider Kotlin when checking if parameter names are available
See gh-33182
2022-11-17 12:05:16 +00:00
Andy Wilkinson cd455a9f6f Restore previous serialization formatting in Actuator responses
Fixes gh-33236
2022-11-17 11:31:27 +00:00
Stephane Nicoll cb1ee205ea Exclude SharedMetadataReaderFactoryContextInitializer from AOT contexts
SharedMetadataReaderFactoryContextInitializer exposes an additional
bean post processor that is only relevant when parsing the bean
factory, auto-configurations in particular. Given that this does not
happen in an AOT-optimized context, this commit excludes the bean
and makes sure the initializer does not do anything at runtime.

Closes gh-33216
2022-11-17 11:30:22 +01:00
Stephane Nicoll 55ba5a5074 Upgrade to Elasticsearch Client 8.5.1
Closes gh-33225
2022-11-17 11:29:51 +01:00
Phillip Webb a0f39d66fe Polish 'Align Wavefront application tags support with Spring Boot 2.x'
See gh-32844
2022-11-16 17:10:19 -08:00
Glenn Oppegard 42bb4c0615 Align Wavefront application tags support with Spring Boot 2.x
Update `application-name` and `service-name` `management.wavefront`
properties to align with Spring Boot 2.x support. The properties now
use the wavefront terminology where `application` refers to an a
collection of (micro)`services`.

This commit also adds `cluster-name` and `shard-name` properties that
can be used to add additional items to the `ApplicationTags`.

See gh-32844
2022-11-16 16:49:51 -08:00
Phillip Webb a50d1f0bd6 Switch to use BeanUtils.getPropertyDescriptors
Update `BindableRuntimeHintsRegistrar` to use
`BeanUtils.getPropertyDescriptors` rather than `BeanInfoFactory`.

Closes gh-33232
2022-11-16 16:28:08 -08:00
Phillip Webb 2e8d766889 Fix BindableRuntimeHintsRegistrarTests inner class to be static 2022-11-16 13:54:34 -08:00
Phillip Webb d6151858f2 Merge pull request #32851 from tumit
* pr/32851:
  Polish 'Add test for BindableRuntimeHintsRegistrar'
  Add tests for BindableRuntimeHintsRegistrar

Closes gh-32851
2022-11-16 13:41:37 -08:00
Phillip Webb 13a4902018 Polish 'Add test for BindableRuntimeHintsRegistrar'
See gh-32851
2022-11-16 13:37:48 -08:00
tumit 7e424bdf0c Add tests for BindableRuntimeHintsRegistrar
See gh-32851
2022-11-16 13:37:31 -08:00
Andy Wilkinson 421f2fac67 Fail fast when constructor bound and not compiled with -parameters
Closes gh-33182
2022-11-16 21:00:55 +00:00
Phillip Webb e2dc35954e Merge branch '2.7.x'
Closes gh-33230
2022-11-16 12:06:20 -08:00
Phillip Webb e255bba018 Merge branch '2.6.x' into 2.7.x
Closes gh-33229
2022-11-16 12:06:10 -08:00
Phillip Webb 6cc6a15edf Polish 'Refine BackgroundPreinitializer Jackson initialization'
See gh-33220
2022-11-16 12:01:05 -08:00
Sébastien Deleuze bdac416a62 Refine BackgroundPreinitializer Jackson initialization
AllEncompassingFormHttpMessageConverter already initializes
Jackson ObjectMapper. This commit updates BackgroundPreinitializer
in order to not run JacksonInitializer when
MessageConverterInitializer already takes care of initializing
ObjectMapper.

See gh-33220
2022-11-16 12:00:47 -08:00
Andy Wilkinson f39b297677 Merge branch '2.7.x'
Closes gh-33227
2022-11-16 18:09:35 +00:00
Andy Wilkinson 04353e4961 Merge branch '2.6.x' into 2.7.x
Closes gh-33226
2022-11-16 16:41:02 +00:00
Andy Wilkinson 4bb13bcdfd Fix package tangles in spring-boot-autoconfigure
See gh-17299
2022-11-16 16:12:00 +00:00
Brian Clozel c1c818d43c Polish
See gh-33208
2022-11-16 16:34:49 +01:00
Stephane Nicoll 3f67037acf Start building against Spring AMQP 2.4.8 snapshots
See gh-33223
2022-11-16 16:15:34 +01:00
Stephane Nicoll 8bcde6d57b Start building against Spring AMQP 2.4.8 snapshots
See gh-33222
2022-11-16 16:10:04 +01:00
Brian Clozel 200458136c Contribute GraphQL resources during AOT phase
This commit ensures that the default locations for GraphQL schema files
and the GraphiQL UI HTML page are included in the native image by
registering resource hints during the AOT phase.

Fixes gh-33208
2022-11-16 15:56:15 +01:00
Stephane Nicoll 934b601c88 Upgrade to Spring Retry 2.0.0
Closes gh-33149
2022-11-16 13:46:54 +01:00
Stephane Nicoll bee259e3ce Upgrade to Micrometer 1.10.1
Closes gh-33218
2022-11-16 13:06:27 +01:00
Stephane Nicoll 8983a6b013 Upgrade to Micrometer 1.9.6
Closes gh-33129
2022-11-16 13:05:11 +01:00
Stephane Nicoll 4067dec811 Upgrade to Micrometer 1.8.12
Closes gh-33122
2022-11-16 13:04:26 +01:00
Stephane Nicoll 6f1f73ef67 Upgrade to Spring Framework 6.0.0
Closes gh-33136
2022-11-16 12:42:58 +01:00
Stephane Nicoll d9a93a1514 Update copyright year of changed file
See gh-33108
2022-11-16 10:00:50 +01:00
Johnny Lim 6027508cf7 Polish
See gh-33108
2022-11-16 10:00:36 +01:00
Stephane Nicoll 964de7e204 Upgrade to Spring Framework 5.3.24
Closes gh-33131
2022-11-16 09:47:15 +01:00
Stephane Nicoll afa5d15625 Upgrade to Spring Framework 5.3.24
Closes gh-33124
2022-11-16 09:43:46 +01:00
dreis2211 3b496766da Fix broken links in docs
See gh-33209
2022-11-16 08:24:16 +01:00
Stephane Nicoll 731797ed84 Merge branch '2.7.x'
Closes gh-33214
2022-11-16 08:19:26 +01:00
Stephane Nicoll 2fa1cc74ab Merge branch '2.6.x' into 2.7.x
Closes gh-33213
2022-11-16 08:18:48 +01:00
Stephane Nicoll 4d6f956b24 Fix summary of "Core Features" section
Closes gh-33207
2022-11-16 08:18:08 +01:00
Phillip Webb 28dd6b3215 Merge branch '2.7.x'
Closes gh-33212
2022-11-15 19:33:04 -08:00
Phillip Webb e077060a1b Merge branch '2.6.x' into 2.7.x
Closes gh-33211
2022-11-15 19:32:46 -08:00
Phillip Webb 46acb6fb97 Ignore bridge methods when binding java beans
Update `JavaBeanBinder` so that bridge methods are ignored when binding.

Fixes gh-33105
2022-11-15 19:31:06 -08:00
Phillip Webb e212214227 Fix Kotlin main method detection for UseMainMethod
Update `SpringBootContextLoader` to detect main methods on `*Kt`
classes.

Fixes gh-33114
2022-11-15 19:27:53 -08:00
Stephane Nicoll 2baac78175 Only contribute hints for matching methods
Closes gh-33203
2022-11-15 16:56:09 +01:00
Stephane Nicoll 54a977cc9a Upgrade to Yasson 3.0.2
Closes gh-33201
2022-11-15 15:06:22 +01:00
Stephane Nicoll fe8c601d7e Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RC2
Closes gh-33200
2022-11-15 15:06:22 +01:00
Stephane Nicoll 624fdad2e4 Upgrade to Thymeleaf 3.1.0.RC2
Closes gh-33199
2022-11-15 15:06:22 +01:00
Stephane Nicoll 735ef39267 Upgrade to SQLite JDBC 3.39.4.0
Closes gh-33198
2022-11-15 15:06:22 +01:00
Stephane Nicoll aa2abba5f3 Upgrade to R2DBC Postgresql 1.0.0.RELEASE
Closes gh-33197
2022-11-15 15:06:21 +01:00
Stephane Nicoll fc17171be6 Upgrade to R2DBC Pool 1.0.0.RELEASE
Closes gh-33196
2022-11-15 15:06:21 +01:00
Stephane Nicoll bf7576daaf Upgrade to R2DBC H2 1.0.0.RELEASE
Closes gh-33195
2022-11-15 14:20:57 +01:00
Stephane Nicoll eee4824518 Upgrade to Netty 4.1.85.Final
Closes gh-33194
2022-11-15 14:20:57 +01:00
Stephane Nicoll 3f2451b6c2 Upgrade to MongoDB 4.8.0-rc0
Closes gh-33193
2022-11-15 14:20:57 +01:00
Stephane Nicoll f33489d16f Upgrade to MariaDB 3.0.9
Closes gh-33192
2022-11-15 14:20:57 +01:00
Stephane Nicoll 825ed0e593 Upgrade to Jaybird 4.0.7.java11
Closes gh-33190
2022-11-15 14:20:56 +01:00
Stephane Nicoll 6f5379a77f Upgrade to Jackson Bom 2.14.0
Closes gh-33189
2022-11-15 14:20:56 +01:00
Stephane Nicoll 127fc89797 Upgrade to HttpCore5 5.1.5
Closes gh-33188
2022-11-15 14:20:56 +01:00
Stephane Nicoll db959445fe Upgrade to Hazelcast 5.1.5
Closes gh-33187
2022-11-15 14:20:56 +01:00
Stephane Nicoll 06473a8ed5 Upgrade to Ehcache3 3.10.4
Closes gh-33186
2022-11-15 14:20:55 +01:00
Stephane Nicoll aba179ccfc Switch bomr policy to same-minor-version 2022-11-15 14:20:55 +01:00
Stephane Nicoll f177c1bae7 Revert "Upgrade to Undertow 2.2.21.Final"
This reverts commit ac72530d85.

See gh-33181
2022-11-15 14:19:38 +01:00
Stephane Nicoll e03c2e876a Revert "Upgrade to Undertow 2.2.21.Final"
This reverts commit 51a1673252.

See gh-33165
2022-11-15 14:19:05 +01:00
Stephane Nicoll 46ba0dfdb6 Upgrade to Reactor 2020.0.25
Closes gh-33130
2022-11-15 13:16:02 +01:00
Stephane Nicoll 0562636ae7 Upgrade to Reactor 2020.0.25
Closes gh-33123
2022-11-15 13:15:14 +01:00
Andy Wilkinson 55b5a32254 Try to stabilize JBoss Logging provider tests
See gh-33155
2022-11-15 07:35:04 +00:00
Stephane Nicoll ac72530d85 Upgrade to Undertow 2.2.21.Final
Closes gh-33181
2022-11-15 07:51:58 +01:00
Stephane Nicoll 6f8bcd764a Upgrade to Spring WS 3.1.4
Closes gh-33179
2022-11-15 07:51:53 +01:00
Stephane Nicoll 3b9260d4ca Upgrade to Spring Security 5.7.5
Closes gh-33178
2022-11-15 07:51:50 +01:00
Stephane Nicoll 7de8c9bd53 Upgrade to Netty 4.1.85.Final
Closes gh-33177
2022-11-15 07:51:47 +01:00
Stephane Nicoll ba40a88c10 Upgrade to MariaDB 3.0.9
Closes gh-33176
2022-11-15 07:51:44 +01:00
Stephane Nicoll a241093b55 Upgrade to Jaybird 4.0.7.java8
Closes gh-33175
2022-11-15 07:51:42 +01:00
Stephane Nicoll f14eedc20a Upgrade to HttpCore5 5.1.5
Closes gh-33174
2022-11-15 07:51:39 +01:00
Stephane Nicoll b134269048 Upgrade to Hibernate 5.6.14.Final
Closes gh-33173
2022-11-15 07:51:36 +01:00
Stephane Nicoll ecc929fb1f Upgrade to Hazelcast 5.1.5
Closes gh-33172
2022-11-15 07:51:33 +01:00
Stephane Nicoll f2018fa778 Upgrade to Elasticsearch 7.17.7
Closes gh-33171
2022-11-15 07:51:30 +01:00
Stephane Nicoll fcf774c333 Upgrade to Ehcache3 3.10.4
Closes gh-33170
2022-11-15 07:51:27 +01:00
Phillip Webb 0754665973 Merge branch '2.7.x'
Closes gh-33169
2022-11-14 15:08:55 -08:00
Phillip Webb 733638cf89 Merge branch '2.6.x' into 2.7.x
Closes gh-33168
2022-11-14 15:07:48 -08:00
Phillip Webb 2a989b31aa Create Environment and apply ConversionService to management contexts
Update `ManagementContextFactory` implementations to create an
appropriate `Environment` type and to apply the `ConversionService`
from the parent context.

Prior to this commit, the management context `Environment` would not
be able to convert values from a `configtree:` source due to a missing
converter.

Fixes gh-32941
2022-11-14 15:06:30 -08:00
Scott Frederick c28c614c47 Set Java source and target when compiling AOT generated sources
When compiling AOT-generated sources in the Maven plugin `process-aot`
and `process-test-aot` goals, the Java compiler should be provided
with the same `--source`, `--target`, and `--release` configuration
values as the Maven compiler plugin uses to compile main sources.

Fixes gh-33112
2022-11-14 15:05:13 -06:00
Scott Frederick 11652bd8e6 Add compilerArguments parameter to process-aot Maven goal
This commit adds a `compilerArguments` parameter to the Maven plugin
`process-aot` and `process-test-aot` goals to allow the user to
configure the command used to compile the AOT-generated sources.

Fixes gh-33012
2022-11-14 15:05:12 -06:00
Andy Wilkinson 31f5e768a8 Polish "Add config property for Spring Integration component observation"
See gh-33099
2022-11-14 20:16:16 +00:00
artembilan b87d5c728d Add config property for Spring Integration component observation
Spring Integration has introduced a new observationPatterns attribute
on EnableIntegrationManagement. Spring Boot auto-configures
EnableIntegrationManagement so this commit adds a property that
allows users to configure the patterns without declaring the
annotation themselves.

See gh-33099
2022-11-14 20:16:16 +00:00
Andy Wilkinson 6d8a1c90a4 Revert "Upgrade to Tomcat 10.1.2"
This reverts commit 4ccdfc66d6.

See gh-33167
See gh-33071
2022-11-14 20:15:17 +00:00
Andy Wilkinson 45ec107e2f Correct ClassUtils import
See gh-33155
2022-11-14 20:05:35 +00:00
Andy Wilkinson 4ccdfc66d6 Upgrade to Tomcat 10.1.2
Closes gh-33167
Closes gh-33071
2022-11-14 19:46:33 +00:00
Andy Wilkinson b5bdee24c2 When Logback's in use, route JBoss Logging straight into SLF4J
Prior to this change, when using spring-boot-starter-logging, JBoss
Logging would route like this:

JBoss Logging -> Log4j2 API -> SLF4J -> Logback

This is inefficient as there's no need for it to go via the Log4j2
API.

This commit updates the Logback logging system to configure a system
property that controls JBoss's routing. With this change in place,
JBoss Logging will route like this:

JBoss Logging -> SLF4J -> Logback

Closes gh-33155
2022-11-14 18:06:35 +00:00
Brian Clozel 932f7d705f Start building against Spring Framework 6.0.0 SNAPSHOTs
See gh-33136
2022-11-14 16:40:30 +01:00
Stephane Nicoll 51a1673252 Upgrade to Undertow 2.2.21.Final
Closes gh-33165
2022-11-14 16:03:26 +01:00
Stephane Nicoll 7885387d24 Upgrade to Spring WS 3.1.4
Closes gh-33163
2022-11-14 16:03:21 +01:00
Stephane Nicoll cd7f6d049e Upgrade to Spring Security 5.6.9
Closes gh-33162
2022-11-14 16:03:18 +01:00
Stephane Nicoll 925cd10d9d Upgrade to Netty 4.1.85.Final
Closes gh-33161
2022-11-14 16:03:15 +01:00
Stephane Nicoll d8867e7c2e Upgrade to MariaDB 2.7.7
Closes gh-33160
2022-11-14 16:03:12 +01:00
Stephane Nicoll c1e105ffea Upgrade to Jaybird 4.0.7.java8
Closes gh-33159
2022-11-14 16:03:10 +01:00
Stephane Nicoll 83ec78b2af Upgrade to HttpCore5 5.1.5
Closes gh-33158
2022-11-14 16:03:07 +01:00
Stephane Nicoll bdc80ec484 Upgrade to Hibernate 5.6.14.Final
Closes gh-33157
2022-11-14 16:03:04 +01:00
Andy Wilkinson 4bd2fe151e Don't use spring-ws-bom as it manages third-party dependencies
See gh-33139
2022-11-14 14:58:23 +00:00
Stephane Nicoll a18d3e0a3f Start building against Spring Batch 5.0.0 snapshots
See gh-33148
2022-11-14 13:48:03 +01:00
Stephane Nicoll 8dfe0ab95f Start building against Spring Session 3.0.0 snapshots
See gh-33147
2022-11-14 13:48:03 +01:00
Stephane Nicoll 32b8150fac Start building against Spring Integration 6.0.0 snapshots
See gh-33146
2022-11-14 13:48:02 +01:00
Stephane Nicoll 455cccd11a Start building against Spring GraphQL 1.1.0 snapshots
See gh-33145
2022-11-14 13:48:02 +01:00
Stephane Nicoll 45f7c848b5 Start building against Spring Security 6.0.0 snapshots
See gh-33144
2022-11-14 13:48:02 +01:00
Stephane Nicoll 2cf0eafc25 Start building against Spring REST Docs 3.0.0 snapshots
See gh-33143
2022-11-14 13:48:01 +01:00
Stephane Nicoll 636568d3cc Start building against Spring Kafka 3.0.0 snapshots
See gh-33142
2022-11-14 13:48:00 +01:00
Stephane Nicoll 871abe729d Start building against Spring AMQP 3.0.0 snapshots
See gh-33141
2022-11-14 13:47:59 +01:00
Stephane Nicoll 261d7bae17 Start building against Spring Data 2022.0.0 snapshots
See gh-33140
2022-11-14 13:47:58 +01:00
Stephane Nicoll e62b2d9df4 Start building against Spring WS 4.0.0 snapshots
See gh-33139
2022-11-14 13:47:57 +01:00
Stephane Nicoll 2d630f667c Start building against Spring LDAP 3.0.0 snapshots
See gh-33138
2022-11-14 13:47:56 +01:00
Stephane Nicoll 13b6e3fce1 Start building against Spring HATEOAS 2.0.0 snapshots
See gh-33137
2022-11-14 13:47:55 +01:00
Stephane Nicoll 3a6dd7e1a1 Start building against Spring Retry 2.0.0 snapshots
See gh-33149
2022-11-14 13:47:54 +01:00
Stephane Nicoll 2d09711942 Start building against Spring GraphQL 1.0.3 snapshots
See gh-33150
2022-11-14 10:11:13 +01:00
Stephane Nicoll 41914ab15b Start building against Spring Batch 4.3.8 snapshots
See gh-33135
2022-11-14 09:20:52 +01:00
Stephane Nicoll cf3a22b495 Start building against Spring REST Docs 2.0.7 snapshots
See gh-33134
2022-11-14 09:20:21 +01:00
Stephane Nicoll 2d90378595 Start building against Spring Kafka 2.8.11 snapshots
See gh-33133
2022-11-14 09:19:52 +01:00
Stephane Nicoll 6705d1b087 Start building against Spring Data 2021.2.6 snapshots
See gh-33132
2022-11-14 09:19:26 +01:00
Stephane Nicoll 2eb6cef081 Start building against Spring Framework 5.3.24 snapshots
See gh-33131
2022-11-14 09:18:58 +01:00
Stephane Nicoll 9c289b7090 Start building against Reactor 2020.0.25 snapshots
See gh-33130
2022-11-14 09:18:23 +01:00
Stephane Nicoll dfbf0be6f9 Start building against Micrometer 1.9.6 snapshots
See gh-33129
2022-11-14 09:17:56 +01:00
Stephane Nicoll 2b4ceb35a2 Start building against Spring Batch 4.3.8 snapshots
See gh-33128
2022-11-14 08:57:30 +01:00
Stephane Nicoll 579daad219 Start building against Spring REST Docs 2.0.7 snapshots
See gh-33127
2022-11-14 08:57:06 +01:00
Stephane Nicoll 37ffaa3e12 Start building against Spring Kafka 2.8.11 snapshots
See gh-33126
2022-11-14 08:56:41 +01:00
Stephane Nicoll 4873671ada Start building against Spring Data 2021.1.10 snapshots
See gh-33125
2022-11-14 08:56:16 +01:00
Stephane Nicoll 22e56d27a6 Start building against Spring Framework 5.3.24 snapshots
See gh-33124
2022-11-14 08:55:50 +01:00
Stephane Nicoll 89212aa3ba Start building against Reactor 2020.0.25 snapshots
See gh-33123
2022-11-14 08:55:23 +01:00
Stephane Nicoll 36c5ddbd13 Start building against Micrometer 1.8.12 snapshots
See gh-33122
2022-11-14 08:54:58 +01:00
Sébastien Deleuze 88cf2bbae9 Remove outdated native image documentation
See gh-33109
2022-11-11 18:30:11 +01:00
Andy Wilkinson fe72f307f4 Avoid actuator beans being ineligible for post-processing
Closes gh-33110
2022-11-11 16:39:57 +00:00
Andy Wilkinson b5e502d03b Make class package-private as it's returned from package-private method
Returning a private class from a package-private method causes the
AOT-generated source files to fail to compile as the private class is
not visible.

Closes gh-33106
2022-11-11 15:47:09 +00:00
Madhura Bhave 8cb615e9b6 Remove workarounds for SecurityContextRepository 2022-11-10 14:23:17 -08:00
Madhura Bhave f4cf722c27 Align default security filter dispatcher types with Spring Security
Fixes gh-33090
2022-11-10 13:53:47 -08:00
Andy Wilkinson d34ccb3880 Avoid duplicate test database replacement in native tests
Closes gh-33100
2022-11-10 19:25:36 +00:00
Phillip Webb 954ed3e15e Merge branch '2.7.x'
Closes gh-33102
2022-11-10 11:12:34 -08:00
Phillip Webb 9193e527cc Merge branch '2.6.x' into 2.7.x
Closes gh-33101
2022-11-10 11:12:25 -08:00
67 e55e23482a Fix kafka streams start description typo in documentation
See gh-33098
2022-11-10 11:11:13 -08:00
Andy Wilkinson a2f65cd887 Consider user classes when finding bind constructor
Update `@Autowired` detection logic to consider all constructors and to
search user classes.

Fixes gh-33061

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2022-11-10 11:05:34 -08:00
Andy Wilkinson d6ecdd5741 Remove old Jakarta EE 8 entries from spring-boot-dependencies
Closes gh-33094
2022-11-10 12:25:48 +00:00
Andy Wilkinson 5f6b63e277 Auto-configure span customizer beans
Closes gh-33087
2022-11-10 12:15:22 +00:00
Phillip Webb e5a0b164ac Configure MeterBinders after beans have been created
Update `MeterRegistryPostProcessor` to configure `MeterRegistry` beans
in two distinct sweeps. The first sweep applies customizers and filters
as the `MeterRegistry` bean is initialized, the second sweep applies
`MeterBinder` beans once all singletons have been instantiated.

Prior to this commit, it was not possible for a `MeterBinder` bean to
directly or indirectly use a `MeterRegistry`. It was also possible for
bound meters to cause a deadlock during refresh processing if those
meters could be updated on a thread other than main, such as GC
notifications.

Fixes gh-30636
Fixes gh-33070
2022-11-10 11:39:12 +00:00