Commit Graph

19487 Commits

Author SHA1 Message Date
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
Andy Wilkinson e60084112e Avoid NPE when TraceContext has deferred sampling
Closes gh-33093
2022-11-10 11:22:42 +00:00
Andy Wilkinson 6e4bece912 Make auto-configured OtelTracer back off when user defines a Tracer
Closes gh-33097
2022-11-10 11:20:39 +00:00
Andy Wilkinson d91e16a6c5 Make auto-configured BraveTracer back off when user defines a Tracer
Closes gh-33095
2022-11-10 11:20:38 +00:00
Phillip Webb 3d2071d044 Migrate endpoints to return OperationResponseBody types
Update types returned from endpoints to implement the
`OperationResponseBody` interface. This ensures that they will be
serialized using the isolated actuator `ObjectMapper`.

See gh-20291
2022-11-09 22:17:16 -08:00
Phillip Webb 1f8493fb29 Support isolated actuator ObjectMapper
Add `OperationResponseBody` tagging interface that can be used
to trigger the use of an isolated ObjectMapper specifically for
actuator responses.

The isolated mapper is provided by an `EndpointObjectMapper`
bean which is auto-configured unless specifically disabled
by the user.

WebMVC, WebFlux and Jersey integrations have been updated
to provide a link between the `OperationResponseBody` type
and the endpoint `ObjectMapper`.

See gh-20291
2022-11-09 22:17:13 -08:00
Phillip Webb 72cbb8a5d8 Polish 2022-11-09 21:56:49 -08:00
Phillip Webb 79ff11cb2b Rename and relocate ExemplarsAutoConfiguration
Rename `ExemplarsAutoConfiguration` and relocate it to a diffent
package to make it clear that it is for Prometheus.
2022-11-09 18:03:09 -08:00
Scott Frederick a53141f8a4 Fix JMX exposure default in config metadata and docs
Fixes gh-33072
2022-11-09 14:56:44 -06:00
Andy Wilkinson 21f0fdffa1 Upgrade to Spring Session 3.0.0-RC2
Closes gh-33034
2022-11-09 20:20:12 +00:00
Phillip Webb 883e97b166 Merge branch '2.7.x' 2022-11-09 11:40:56 -08:00
Phillip Webb ea10a64a0c Merge branch '2.6.x' into 2.7.x 2022-11-09 11:39:53 -08:00
Phillip Webb f423a26dd5 Polish 2022-11-09 11:39:48 -08:00
Andy Wilkinson 54aaaeec6f Upgrade to Spring Batch 6.0.0-RC2
Closes gh-332935
2022-11-09 19:32:44 +00:00
Andy Wilkinson e25792ee58 Upgrade to Spring Security 6.0.0-RC2
Closes gh-33063
2022-11-09 19:32:44 +00:00
Andy Wilkinson ac867c3c40 Polish 2022-11-09 19:32:44 +00:00
Phillip Webb 1adc7c7dd4 Merge branch '2.7.x' 2022-11-09 11:32:24 -08:00
Phillip Webb 0ef03d725f Merge branch '2.6.x' into 2.7.x 2022-11-09 11:31:55 -08:00
Phillip Webb a431ae04e6 Polish 2022-11-09 11:30:11 -08:00
Andy Wilkinson 7eb0fe4c89 Contribute reflection hints for JsonComponent inner classes
Closes gh-33089
2022-11-09 19:24:15 +00:00
Scott Frederick b882de7c68 Throw ContextLoadException on test context load failure
When a test context fails to load, a `ContextLoadException` should
be thrown so that Framework can catch it and call any registered
`ApplicationContextFailureProcessor`s.

Closes gh-31793
2022-11-09 13:10:11 -06:00
Andy Wilkinson 70f7258341 Simplify JacksonAutoConfiguration as we now require Jackson 2.14
See gh-33086
2022-11-09 17:31:04 +00:00
Andy Wilkinson fcbc7dacf1 Add reflection hints for JsonTesters
Closes gh-32858
2022-11-09 15:15:29 +00:00
Stephane Nicoll 41e2423a0c Upgrade to Spring Framework 6.0.0-RC4
Closes gh-33023
2022-11-09 14:12:51 +01:00
Andy Wilkinson 60917bd114 Remove tests for Jackson 2.11
Closes gh-33086
2022-11-09 11:33:55 +00:00
Andy Wilkinson 112bed886c Merge branch '2.7.x'
Closes gh-33085
2022-11-09 10:37:40 +00:00
Andy Wilkinson b1494d4a39 Merge branch '2.6.x' into 2.7.x
Closes gh-33084
2022-11-09 10:37:06 +00:00
Andy Wilkinson 6423535f67 Delete temp directory after MavenBuild has exected
Closes gh-33083
2022-11-09 10:35:56 +00:00
Phillip Webb 32b9945632 Polish 2022-11-08 23:15:30 -08:00
Phillip Webb 0d5c13cb28 Polish 'Add reflection hints for PropertyNamingStrategies'
See gh-33080
2022-11-08 23:09:27 -08:00
Ralf Ueberfuhr e9bca3e6de Add reflection hints for PropertyNamingStrategies
See gh-33080
2022-11-08 23:03:54 -08:00