19329 Commits

Author SHA1 Message Date
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 8048e2d6c233e6e3586bd7ecf95885f8ff3e6c61.
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