Commit Graph

19918 Commits (d7d89c2d7e60d76db6e2fdc3a6b1c88558f9ad96)

Author SHA1 Message Date
Moritz Halbritter 012e13527a Fix typo in documentation 2 years ago
Stephane Nicoll e922650877 Upgrade to Spring Framework 6.0.2
Closes gh-33286
2 years ago
Stephane Nicoll 14ba9b18df Start building against Spring Framework 6.0.2 snapshots
See gh-33286
2 years ago
Andy Wilkinson abcbac92ef Merge branch '2.6.x' into 2.7.x
Closes gh-33343
2 years ago
Andy Wilkinson ebfbf4a412 Stop testing Gradle plugin against Gradle 7.6 RCs
Closes gh-33342
2 years ago
Stephane Nicoll 2b3a236f88 Upgrade to Postgresql 42.5.1
Closes gh-33340
2 years ago
Stephane Nicoll 2bbc475469 Upgrade to Caffeine 3.1.2
Closes gh-33339
2 years ago
Stephane Nicoll 76de7a8024 Upgrade to Postgresql 42.3.8
Closes gh-33338
2 years ago
Stephane Nicoll f68e8ce3b4 Upgrade to Postgresql 42.3.8
Closes gh-33337
2 years ago
Stephane Nicoll 4d735de591 Upgrade to Spring Batch 5.0.0
Closes gh-33148
2 years ago
Moritz Halbritter 39aaab082b Polish "Document observation for R2DBC"
See gh-33335
2 years ago
Tadaya Tsuyukubo 9ddad34f42 Document observation for R2DBC
Adds a link to the R2DBC observation repo in documentation.

See gh-33335
2 years ago
Andy Wilkinson e1a407ca9d Upgrade to Micrometer 1.10.2
Closes gh-33334
2 years ago
Moritz Halbritter 26db0c7120 Merge branch '2.7.x' 2 years ago
Moritz Halbritter 2170941cf6 Update Kotlin example for Tomcat connector customization
See gh-33331
2 years ago
Moritz Halbritter 9af2a5712c Merge branch '2.6.x' into 2.7.x
Closes gh-33331
2 years ago
Moritz Halbritter b00f4f926a Create a HTTP connector in the custom tomcat connector example
Closes gh-28707
2 years ago
Moritz Halbritter d430779f00 Merge branch '2.6.x' into 2.7.x
Closes gh-33328
2 years ago
Moritz Halbritter 2f6edecedb Improve JavaDoc on ConditionalOnClass
Closes gh-27846
2 years ago
Moritz Halbritter d9aea476b4 Merge branch '2.7.x'
Closes gh-33327
2 years ago
Moritz Halbritter 1da3a9d636 Merge branch '2.6.x' into 2.7.x
Closes gh-33326
2 years ago
Moritz Halbritter ae8ec86486 Clarify startup probe in actuator documentation
Closes gh-28432
2 years ago
Stephane Nicoll 656f109296 Upgrade to Spring Framework 6.0.1
Closes gh-33286
2 years ago
Stephane Nicoll b39f4d7d85 Upgrade to HttpClient5 5.1.4
Closes gh-33323
2 years ago
Stephane Nicoll ccd85b7eae Upgrade to Ehcache3 3.10.8
Closes gh-33322
2 years ago
Stephane Nicoll 4a792d14c5 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33321
2 years ago
Stephane Nicoll 92ed0dc61e Upgrade to HttpClient5 5.1.4
Closes gh-33320
2 years ago
Stephane Nicoll 928d210665 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33319
2 years ago
Brian Clozel 762fb53c21 Upgrade to Spring Session 3.0.0
Closes gh-33147
2 years ago
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
2 years ago
Stephane Nicoll f6ac891cc1 Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RELEASE
Closes gh-33314
2 years ago
Stephane Nicoll 47ca1dfe8d Upgrade to Thymeleaf 3.1.0.RELEASE
Closes gh-33313
2 years ago
Stephane Nicoll 1c9f336156 Upgrade to SQLite JDBC 3.39.4.1
Closes gh-33312
2 years ago
Stephane Nicoll 1f95480e48 Upgrade to SLF4J 2.0.4
Closes gh-33311
2 years ago
Stephane Nicoll 272133ce84 Upgrade to REST Assured 5.2.1
Closes gh-33310
2 years ago
Stephane Nicoll 72bc70593d Upgrade to R2DBC Proxy 1.0.1.RELEASE
Closes gh-33309
2 years ago
Stephane Nicoll 1aa80f0a6c Upgrade to Logback 1.4.5
Closes gh-33308
2 years ago
Stephane Nicoll be5099a9ce Upgrade to Janino 3.1.9
Closes gh-33307
2 years ago
Stephane Nicoll e3d7f718b0 Upgrade to HttpClient5 5.1.4
Closes gh-33306
2 years ago
Stephane Nicoll 493e3cb2ab Upgrade to Glassfish JSTL 3.0.1
Closes gh-33305
2 years ago
Stephane Nicoll 0ba83f0827 Upgrade to Ehcache3 3.10.8
Closes gh-33304
2 years ago
Stephane Nicoll db2906bff0 Upgrade to Dropwizard Metrics 4.2.13
Closes gh-33303
2 years ago
Stephane Nicoll 0fd1babf19 Upgrade to Byte Buddy 1.12.19
Closes gh-33302
2 years ago
Andy Wilkinson 20397ad782 Upgrade to Spring Integration 6.0.0
Closes gh-33146
2 years ago
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
2 years ago
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
2 years ago
Stephane Nicoll 232f3cd070 Upgrade to Spring GraphQL 1.0.3
Closes gh-33150
2 years ago
Moritz Halbritter 369424853b Update links to GraalVM page on wiki 2 years ago
Jonatan Ivanov 2d40d07773 Remove Brave and OTel HTTP support in favor of instrumentation
See gh-33287
2 years ago
Brian Clozel aeccf7673b Upgrade to Spring for GraphQL 1.1.0
Closes gh-33145
2 years ago
Brian Clozel cbc19abb61 Upgrade to Jackson 2.14.1
Closes gh-33289
2 years ago
Moritz Halbritter fad610ef72 Add factory for NoopTracer instead of using instance supplier
Closes gh-33298
2 years ago
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
2 years ago
Stephane Nicoll 29ee5d2d9a Polish 2 years ago
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
2 years ago
Stephane Nicoll efa8d8b877 Upgrade to Spring WS 4.0.0
Closes gh-33139
2 years ago
Brian Clozel e8c3157db5 Start building against Spring Framework 6.0.1 SNAPSHOTs
See gh-33286
2 years ago
Phillip Webb 12b4578e98 Further refine WavefrontProperties
See gh-33244
2 years ago
Andy Wilkinson 2d4ef90954 Upgrade to Spring Kafka 3.0.0
Closes gh-33142
2 years ago
Andy Wilkinson 2848593caa Merge branch '2.6.x' into 2.7.x
Closes gh-33133
2 years ago
Andy Wilkinson b960609995 Upgrade to Spring Kafka 2.8.11
Closes gh-33126
2 years ago
Stephane Nicoll a9375afb06 Upgrade to Spring Security 6.0.0
Closes gh-33144
2 years ago
Stephane Nicoll a6de2e88ed Upgrade to Spring AMQP 3.0.0
Closes gh-33141
2 years ago
Stephane Nicoll bed7df63a9 Upgrade to Spring AMQP 2.4.8
Closes gh-33223
2 years ago
Stephane Nicoll 5035f638a5 Upgrade to Spring AMQP 2.4.8
Closes gh-33222
2 years ago
Stephane Nicoll d89861e056 Merge branch '2.7.x'
Closes gh-33284
2 years ago
Stephane Nicoll 78d8bfdc52 Merge branch '2.6.x' into 2.7.x
Closes gh-33283
2 years ago
Henning Poettker 330848d339 Make `ScheduledBeanLazyInitializationExcludeFilter` conditional
See gh-33276
2 years ago
Andy Wilkinson cb14089d24 Align reference docs with @Timed changes
Closes gh-33282
2 years ago
Andy Wilkinson 4100561b3d Align docs with tags provider and contributor changes
Closes gh-33281
2 years ago
Andy Wilkinson 810efdb53d Upgrade to Spring REST Docs 3.0.0
Closes gh-33143
2 years ago
Andy Wilkinson 3d2e0f38a7 Merge branch '2.6.x' into 2.7.x
Closes gh-33134
2 years ago
Andy Wilkinson a23c7df2df Upgrade to Spring REST Docs 2.0.7.RELEASE
Closes gh-33127
2 years ago
Phillip Webb c93e248c46 Refine WavefrontProperties
Remove naming properties under `management.wavefront.application`.

Closes gh-33244
2 years ago
Stephane Nicoll f841cafbc9 Upgrade to Janino 3.1.9
Closes gh-33274
2 years ago
Stephane Nicoll 87444abccb Upgrade to Ehcache3 3.10.6
Closes gh-33273
2 years ago
Stephane Nicoll 7d3fa4e7a6 Upgrade to Byte Buddy 1.12.19
Closes gh-33272
2 years ago
Stephane Nicoll e0b08f0536 Upgrade to Janino 3.1.9
Closes gh-33271
2 years ago
Stephane Nicoll d02901ca5a Upgrade to Spring HATEOAS 2.0.0
Closes gh-33137
2 years ago
Stephane Nicoll eb6f48cfbc Upgrade to Spring Data 2022.0.0
Closes gh-33140
2 years ago
Andy Wilkinson b8142d168b Merge branch '2.7.x'
Closes gh-33269
2 years ago
Andy Wilkinson 9879538c02 Merge branch '2.6.x' into 2.7.x
Closes gh-33268
2 years ago
Andy Wilkinson e860efca65 Test Gradle plugin against 7.6-rc-3
Closes gh-33267
2 years ago
Andy Wilkinson 1f7da3e4eb Merge branch '2.7.x'
Closes gh-33266
2 years ago
Andy Wilkinson 77cb05e804 Merge branch '2.6.x' into 2.7.x
Closes gh-33265
2 years ago
Andy Wilkinson ec467402b3 Link to Micrometer's documentation on @Timed
Closes gh-33264
2 years ago
Andy Wilkinson 5dc589e7ae Merge branch '2.7.x'
Closes gh-33263
2 years ago
Andy Wilkinson 6bf35e3dd0 Merge branch '2.6.x' into 2.7.x
Closes gh-33262
2 years ago
Andy Wilkinson 0c8ae65bd4 Switch of the banner when SpringBootTest runs an app with a parent
Closes gh-33079
2 years ago
Moritz Halbritter e9429b4652 Merge branch '2.7.x'
Closes gh-33260
2 years ago
Moritz Halbritter 2cee6a88e3 Merge branch '2.6.x' into 2.7.x
Closes gh-33259
2 years ago
Moritz Halbritter acb5491b79 Fix section links to not include .html suffix
Closes gh-33206
2 years ago
Moritz Halbritter edb0ee219d Merge branch '2.7.x'
Closes gh-33258
2 years ago
Moritz Halbritter b72b70f0ba Merge branch '2.6.x' into 2.7.x
Closes gh-33257
2 years ago
Moritz Halbritter d05e792157 Clarify spring.cache.type=hazelcast in the documentation
Closes gh-33245
2 years ago
Andy Wilkinson e63fcebcf4 Merge branch '2.7.x'
Closes gh-33256
2 years ago
Andy Wilkinson c483e662a9 Merge branch '2.6.x' into 2.7.x
Closes gh-33255
2 years ago
Andy Wilkinson fc9c036c88 Create git commit time with epoch seconds rather than milliseconds
Closes gh-33237
2 years ago
Vedran Pavic ca72f322d6 Fix Spring Security filter dispatcher types related docs
See gh-33252
2 years ago
Andy Wilkinson 98171921da Polish "Polish SecurityProperties"
See gh-33251
2 years ago
Vedran Pavic c1691f525a Polish SecurityProperties
See gh-33251
2 years ago
Stephane Nicoll 3c1c91bc5d Upgrade to Spring LDAP 3.0.0
Closes gh-33138
2 years ago
Moritz Halbritter 9206b6cda1 Add warning to not disable jar task when building native images
Closes gh-33238
2 years ago
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
2 years ago
Moritz Halbritter 517ec654ed Document @NestedConstructorBinding in all cases
This covers Kotlin data classes, constructor injection and records.

Closes gh-33235
2 years ago
Andy Wilkinson 931cc8a508 Merge branch '2.7.x'
Closes gh-33250
2 years ago
Andy Wilkinson 0a3c403948 Merge branch '2.6.x' into 2.7.x
Closes gh-33249
2 years ago
Andy Wilkinson 7c65c3e260 Handle invalid names gracefully in properties migrator
Closes gh-32729
2 years ago
Stephane Nicoll 92454ca4e1 Upgrade to Spring Data 2021.2.6
Closes gh-33132
2 years ago
Stephane Nicoll 97e6626b34 Upgrade to Spring Data 2021.1.10
Closes gh-33125
2 years ago
Moritz Halbritter 5a88468c09 Refine example to show @NestedConfigurationProperty usage
Closes gh-33239
2 years ago
Moritz Halbritter 5c10ae2f0b Revert "Remove unneeded NestedConfigurationProperty"
This reverts commit 8048e2d6c2.
2 years ago
Moritz Halbritter 8048e2d6c2 Remove unneeded NestedConfigurationProperty
Closes gh-33239
2 years ago
Moritz Halbritter b7de4020cb Mention @RegisterReflectionForBinding in the docs
Closes gh-32903
2 years ago
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
2 years ago
Phillip Webb fafbefa35c Ensure @ContextHierarchy is never used with UseMainMethod
Fixes gh-33078
2 years ago
Andy Wilkinson b9e57c73b5 Consider Kotlin when checking if parameter names are available
See gh-33182
2 years ago
Andy Wilkinson cd455a9f6f Restore previous serialization formatting in Actuator responses
Fixes gh-33236
2 years ago
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
2 years ago
Stephane Nicoll 55ba5a5074 Upgrade to Elasticsearch Client 8.5.1
Closes gh-33225
2 years ago
Phillip Webb a0f39d66fe Polish 'Align Wavefront application tags support with Spring Boot 2.x'
See gh-32844
2 years ago
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
2 years ago
Phillip Webb a50d1f0bd6 Switch to use BeanUtils.getPropertyDescriptors
Update `BindableRuntimeHintsRegistrar` to use
`BeanUtils.getPropertyDescriptors` rather than `BeanInfoFactory`.

Closes gh-33232
2 years ago
Phillip Webb 2e8d766889 Fix BindableRuntimeHintsRegistrarTests inner class to be static 2 years ago
Phillip Webb d6151858f2 Merge pull request #32851 from tumit
* pr/32851:
  Polish 'Add test for BindableRuntimeHintsRegistrar'
  Add tests for BindableRuntimeHintsRegistrar

Closes gh-32851
2 years ago
Phillip Webb 13a4902018 Polish 'Add test for BindableRuntimeHintsRegistrar'
See gh-32851
2 years ago
tumit 7e424bdf0c Add tests for BindableRuntimeHintsRegistrar
See gh-32851
2 years ago
Andy Wilkinson 421f2fac67 Fail fast when constructor bound and not compiled with -parameters
Closes gh-33182
2 years ago
Phillip Webb e2dc35954e Merge branch '2.7.x'
Closes gh-33230
2 years ago
Phillip Webb e255bba018 Merge branch '2.6.x' into 2.7.x
Closes gh-33229
2 years ago
Phillip Webb 6cc6a15edf Polish 'Refine BackgroundPreinitializer Jackson initialization'
See gh-33220
2 years ago
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
2 years ago
Andy Wilkinson f39b297677 Merge branch '2.7.x'
Closes gh-33227
2 years ago
Andy Wilkinson 04353e4961 Merge branch '2.6.x' into 2.7.x
Closes gh-33226
2 years ago
Andy Wilkinson 4bb13bcdfd Fix package tangles in spring-boot-autoconfigure
See gh-17299
2 years ago
Brian Clozel c1c818d43c Polish
See gh-33208
2 years ago
Stephane Nicoll 3f67037acf Start building against Spring AMQP 2.4.8 snapshots
See gh-33223
2 years ago
Stephane Nicoll 8bcde6d57b Start building against Spring AMQP 2.4.8 snapshots
See gh-33222
2 years ago
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
2 years ago
Stephane Nicoll 934b601c88 Upgrade to Spring Retry 2.0.0
Closes gh-33149
2 years ago
Stephane Nicoll bee259e3ce Upgrade to Micrometer 1.10.1
Closes gh-33218
2 years ago
Stephane Nicoll 8983a6b013 Upgrade to Micrometer 1.9.6
Closes gh-33129
2 years ago
Stephane Nicoll 4067dec811 Upgrade to Micrometer 1.8.12
Closes gh-33122
2 years ago
Stephane Nicoll 6f1f73ef67 Upgrade to Spring Framework 6.0.0
Closes gh-33136
2 years ago
Stephane Nicoll d9a93a1514 Update copyright year of changed file
See gh-33108
2 years ago
Johnny Lim 6027508cf7 Polish
See gh-33108
2 years ago
Stephane Nicoll 964de7e204 Upgrade to Spring Framework 5.3.24
Closes gh-33131
2 years ago
Stephane Nicoll afa5d15625 Upgrade to Spring Framework 5.3.24
Closes gh-33124
2 years ago
dreis2211 3b496766da Fix broken links in docs
See gh-33209
2 years ago
Stephane Nicoll 731797ed84 Merge branch '2.7.x'
Closes gh-33214
2 years ago
Stephane Nicoll 2fa1cc74ab Merge branch '2.6.x' into 2.7.x
Closes gh-33213
2 years ago
Stephane Nicoll 4d6f956b24 Fix summary of "Core Features" section
Closes gh-33207
2 years ago
Phillip Webb 28dd6b3215 Merge branch '2.7.x'
Closes gh-33212
2 years ago
Phillip Webb e077060a1b Merge branch '2.6.x' into 2.7.x
Closes gh-33211
2 years ago
Phillip Webb 46acb6fb97 Ignore bridge methods when binding java beans
Update `JavaBeanBinder` so that bridge methods are ignored when binding.

Fixes gh-33105
2 years ago
Phillip Webb e212214227 Fix Kotlin main method detection for UseMainMethod
Update `SpringBootContextLoader` to detect main methods on `*Kt`
classes.

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

See gh-33181
2 years ago
Stephane Nicoll e03c2e876a Revert "Upgrade to Undertow 2.2.21.Final"
This reverts commit 51a1673252.

See gh-33165
2 years ago
Stephane Nicoll 46ba0dfdb6 Upgrade to Reactor 2020.0.25
Closes gh-33130
2 years ago
Stephane Nicoll 0562636ae7 Upgrade to Reactor 2020.0.25
Closes gh-33123
2 years ago
Andy Wilkinson 55b5a32254 Try to stabilize JBoss Logging provider tests
See gh-33155
2 years ago
Stephane Nicoll ac72530d85 Upgrade to Undertow 2.2.21.Final
Closes gh-33181
2 years ago
Stephane Nicoll 6f8bcd764a Upgrade to Spring WS 3.1.4
Closes gh-33179
2 years ago
Stephane Nicoll 3b9260d4ca Upgrade to Spring Security 5.7.5
Closes gh-33178
2 years ago
Stephane Nicoll 7de8c9bd53 Upgrade to Netty 4.1.85.Final
Closes gh-33177
2 years ago
Stephane Nicoll ba40a88c10 Upgrade to MariaDB 3.0.9
Closes gh-33176
2 years ago
Stephane Nicoll a241093b55 Upgrade to Jaybird 4.0.7.java8
Closes gh-33175
2 years ago
Stephane Nicoll f14eedc20a Upgrade to HttpCore5 5.1.5
Closes gh-33174
2 years ago
Stephane Nicoll b134269048 Upgrade to Hibernate 5.6.14.Final
Closes gh-33173
2 years ago
Stephane Nicoll ecc929fb1f Upgrade to Hazelcast 5.1.5
Closes gh-33172
2 years ago
Stephane Nicoll f2018fa778 Upgrade to Elasticsearch 7.17.7
Closes gh-33171
2 years ago
Stephane Nicoll fcf774c333 Upgrade to Ehcache3 3.10.4
Closes gh-33170
2 years ago
Phillip Webb 0754665973 Merge branch '2.7.x'
Closes gh-33169
2 years ago
Phillip Webb 733638cf89 Merge branch '2.6.x' into 2.7.x
Closes gh-33168
2 years ago
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
2 years ago
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
2 years ago
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
2 years ago
Andy Wilkinson 31f5e768a8 Polish "Add config property for Spring Integration component observation"
See gh-33099
2 years ago
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
2 years ago
Andy Wilkinson 6d8a1c90a4 Revert "Upgrade to Tomcat 10.1.2"
This reverts commit 4ccdfc66d6.

See gh-33167
See gh-33071
2 years ago
Andy Wilkinson 45ec107e2f Correct ClassUtils import
See gh-33155
2 years ago
Andy Wilkinson 4ccdfc66d6 Upgrade to Tomcat 10.1.2
Closes gh-33167
Closes gh-33071
2 years ago
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
2 years ago
Brian Clozel 932f7d705f Start building against Spring Framework 6.0.0 SNAPSHOTs
See gh-33136
2 years ago
Stephane Nicoll 51a1673252 Upgrade to Undertow 2.2.21.Final
Closes gh-33165
2 years ago
Stephane Nicoll 7885387d24 Upgrade to Spring WS 3.1.4
Closes gh-33163
2 years ago
Stephane Nicoll cd7f6d049e Upgrade to Spring Security 5.6.9
Closes gh-33162
2 years ago
Stephane Nicoll 925cd10d9d Upgrade to Netty 4.1.85.Final
Closes gh-33161
2 years ago
Stephane Nicoll d8867e7c2e Upgrade to MariaDB 2.7.7
Closes gh-33160
2 years ago
Stephane Nicoll c1e105ffea Upgrade to Jaybird 4.0.7.java8
Closes gh-33159
2 years ago
Stephane Nicoll 83ec78b2af Upgrade to HttpCore5 5.1.5
Closes gh-33158
2 years ago
Stephane Nicoll bdc80ec484 Upgrade to Hibernate 5.6.14.Final
Closes gh-33157
2 years ago
Andy Wilkinson 4bd2fe151e Don't use spring-ws-bom as it manages third-party dependencies
See gh-33139
2 years ago
Stephane Nicoll a18d3e0a3f Start building against Spring Batch 5.0.0 snapshots
See gh-33148
2 years ago
Stephane Nicoll 8dfe0ab95f Start building against Spring Session 3.0.0 snapshots
See gh-33147
2 years ago
Stephane Nicoll 32b8150fac Start building against Spring Integration 6.0.0 snapshots
See gh-33146
2 years ago
Stephane Nicoll 455cccd11a Start building against Spring GraphQL 1.1.0 snapshots
See gh-33145
2 years ago
Stephane Nicoll 45f7c848b5 Start building against Spring Security 6.0.0 snapshots
See gh-33144
2 years ago
Stephane Nicoll 2cf0eafc25 Start building against Spring REST Docs 3.0.0 snapshots
See gh-33143
2 years ago
Stephane Nicoll 636568d3cc Start building against Spring Kafka 3.0.0 snapshots
See gh-33142
2 years ago
Stephane Nicoll 871abe729d Start building against Spring AMQP 3.0.0 snapshots
See gh-33141
2 years ago
Stephane Nicoll 261d7bae17 Start building against Spring Data 2022.0.0 snapshots
See gh-33140
2 years ago
Stephane Nicoll e62b2d9df4 Start building against Spring WS 4.0.0 snapshots
See gh-33139
2 years ago
Stephane Nicoll 2d630f667c Start building against Spring LDAP 3.0.0 snapshots
See gh-33138
2 years ago
Stephane Nicoll 13b6e3fce1 Start building against Spring HATEOAS 2.0.0 snapshots
See gh-33137
2 years ago
Stephane Nicoll 3a6dd7e1a1 Start building against Spring Retry 2.0.0 snapshots
See gh-33149
2 years ago
Stephane Nicoll 2d09711942 Start building against Spring GraphQL 1.0.3 snapshots
See gh-33150
2 years ago
Stephane Nicoll 41914ab15b Start building against Spring Batch 4.3.8 snapshots
See gh-33135
2 years ago
Stephane Nicoll cf3a22b495 Start building against Spring REST Docs 2.0.7 snapshots
See gh-33134
2 years ago
Stephane Nicoll 2d90378595 Start building against Spring Kafka 2.8.11 snapshots
See gh-33133
2 years ago
Stephane Nicoll 6705d1b087 Start building against Spring Data 2021.2.6 snapshots
See gh-33132
2 years ago
Stephane Nicoll 2eb6cef081 Start building against Spring Framework 5.3.24 snapshots
See gh-33131
2 years ago
Stephane Nicoll 9c289b7090 Start building against Reactor 2020.0.25 snapshots
See gh-33130
2 years ago
Stephane Nicoll dfbf0be6f9 Start building against Micrometer 1.9.6 snapshots
See gh-33129
2 years ago
Stephane Nicoll 2b4ceb35a2 Start building against Spring Batch 4.3.8 snapshots
See gh-33128
2 years ago
Stephane Nicoll 579daad219 Start building against Spring REST Docs 2.0.7 snapshots
See gh-33127
2 years ago
Stephane Nicoll 37ffaa3e12 Start building against Spring Kafka 2.8.11 snapshots
See gh-33126
2 years ago
Stephane Nicoll 4873671ada Start building against Spring Data 2021.1.10 snapshots
See gh-33125
2 years ago
Stephane Nicoll 22e56d27a6 Start building against Spring Framework 5.3.24 snapshots
See gh-33124
2 years ago
Stephane Nicoll 89212aa3ba Start building against Reactor 2020.0.25 snapshots
See gh-33123
2 years ago
Stephane Nicoll 36c5ddbd13 Start building against Micrometer 1.8.12 snapshots
See gh-33122
2 years ago
Sébastien Deleuze 88cf2bbae9 Remove outdated native image documentation
See gh-33109
2 years ago
Andy Wilkinson fe72f307f4 Avoid actuator beans being ineligible for post-processing
Closes gh-33110
2 years ago
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
2 years ago
Madhura Bhave 8cb615e9b6 Remove workarounds for SecurityContextRepository 2 years ago
Madhura Bhave f4cf722c27 Align default security filter dispatcher types with Spring Security
Fixes gh-33090
2 years ago
Andy Wilkinson d34ccb3880 Avoid duplicate test database replacement in native tests
Closes gh-33100
2 years ago
Phillip Webb 954ed3e15e Merge branch '2.7.x'
Closes gh-33102
2 years ago
Phillip Webb 9193e527cc Merge branch '2.6.x' into 2.7.x
Closes gh-33101
2 years ago
67 e55e23482a Fix kafka streams start description typo in documentation
See gh-33098
2 years ago
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>
2 years ago
Andy Wilkinson d6ecdd5741 Remove old Jakarta EE 8 entries from spring-boot-dependencies
Closes gh-33094
2 years ago
Andy Wilkinson 5f6b63e277 Auto-configure span customizer beans
Closes gh-33087
2 years ago
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
2 years ago
Andy Wilkinson e60084112e Avoid NPE when TraceContext has deferred sampling
Closes gh-33093
2 years ago
Andy Wilkinson 6e4bece912 Make auto-configured OtelTracer back off when user defines a Tracer
Closes gh-33097
2 years ago
Andy Wilkinson d91e16a6c5 Make auto-configured BraveTracer back off when user defines a Tracer
Closes gh-33095
2 years ago
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
2 years ago
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
2 years ago
Phillip Webb 72cbb8a5d8 Polish 2 years ago
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.
2 years ago
Scott Frederick a53141f8a4 Fix JMX exposure default in config metadata and docs
Fixes gh-33072
2 years ago
Andy Wilkinson 21f0fdffa1 Upgrade to Spring Session 3.0.0-RC2
Closes gh-33034
2 years ago
Phillip Webb 883e97b166 Merge branch '2.7.x' 2 years ago
Phillip Webb ea10a64a0c Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb f423a26dd5 Polish 2 years ago
Andy Wilkinson 54aaaeec6f Upgrade to Spring Batch 6.0.0-RC2
Closes gh-332935
2 years ago
Andy Wilkinson e25792ee58 Upgrade to Spring Security 6.0.0-RC2
Closes gh-33063
2 years ago
Andy Wilkinson ac867c3c40 Polish 2 years ago
Phillip Webb 1adc7c7dd4 Merge branch '2.7.x' 2 years ago
Phillip Webb 0ef03d725f Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb a431ae04e6 Polish 2 years ago
Andy Wilkinson 7eb0fe4c89 Contribute reflection hints for JsonComponent inner classes
Closes gh-33089
2 years ago
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
2 years ago
Andy Wilkinson 70f7258341 Simplify JacksonAutoConfiguration as we now require Jackson 2.14
See gh-33086
2 years ago
Andy Wilkinson fcbc7dacf1 Add reflection hints for JsonTesters
Closes gh-32858
2 years ago
Stephane Nicoll 41e2423a0c Upgrade to Spring Framework 6.0.0-RC4
Closes gh-33023
2 years ago
Andy Wilkinson 60917bd114 Remove tests for Jackson 2.11
Closes gh-33086
2 years ago
Andy Wilkinson 112bed886c Merge branch '2.7.x'
Closes gh-33085
2 years ago
Andy Wilkinson b1494d4a39 Merge branch '2.6.x' into 2.7.x
Closes gh-33084
2 years ago
Andy Wilkinson 6423535f67 Delete temp directory after MavenBuild has exected
Closes gh-33083
2 years ago
Phillip Webb 32b9945632 Polish 2 years ago
Phillip Webb 0d5c13cb28 Polish 'Add reflection hints for PropertyNamingStrategies'
See gh-33080
2 years ago
Ralf Ueberfuhr e9bca3e6de Add reflection hints for PropertyNamingStrategies
See gh-33080
2 years ago
Andy Wilkinson 50bb317215 Upgrade to Reactor Bom 2022.0.0
Closes gh-32939
2 years ago
Andy Wilkinson 546853bba5 Upgrade to Spring Integration 6.0.0-RC2
Closes gh-33009
2 years ago
Andy Wilkinson c1cf939199 Merge branch '2.7.x'
Closes gh-33076
2 years ago
Andy Wilkinson 1c3a4906fa Merge pull request #32861 from izeye
* gh-32861:
  Polish "Provide dependency management for missing Selenium modules"
  Provide dependency management for missing Selenium modules

Closes gh-32861
2 years ago
Andy Wilkinson 03d1631d4c Polish "Provide dependency management for missing Selenium modules"
See gh-32861
2 years ago
Andy Wilkinson 843493d915 Merge branch '2.7.x'
Closes gh-33075
2 years ago
Andy Wilkinson 00d22c9fc5 Merge branch '2.6.x' into 2.7.x
Closes gh-33074
2 years ago
Andy Wilkinson f42e90a2b4 Add missing dependency management for Selenum
Closes gh-32721
2 years ago
Andy Wilkinson eed86c0d0a Test Boot's Gradle plugin against Gradle 7.6-rc-2
Closes gh-33073
2 years ago
Johnny Lim 4161f5bdf1 Provide dependency management for missing Selenium modules
See gh-32861
2 years ago
Johnny Lim ea4f22684d Polish Log4j2 changes
See gh-32742
2 years ago
Johnny Lim 6b385a4f79 Fix configLocationsWithConfigurationFileSystemProperty
See gh-32740
2 years ago
Andy Wilkinson 1481676b54 Merge branch '2.7.x'
Closes gh-33069
2 years ago
Andy Wilkinson bb141ffc09 Merge branch '2.6.x' into 2.7.x
Closes gh-33068
2 years ago
EricGao888 569e752159 Fix a minor bug in an example in oauth2 doc
See gh-32931
2 years ago
Andy Wilkinson c314d62030 Merge branch '2.7.x'
Closes gh-33067
2 years ago
Andy Wilkinson 0e70c33725 Merge branch '2.6.x' into 2.7.x
Closes gh-33066
2 years ago
dreis2211 34902f5a02 Fix possible type pollution in ConditionEvaluationReport
See gh-32916
2 years ago
Andy Wilkinson a19f1a733e Correct crash handling in condition report logging listener
Closes gh-33027
2 years ago
Andy Wilkinson 6d1fca10a3 Polish "Remove Sleuth references in favor of Micrometer Tracing"
See gh-32994
2 years ago
Toshiaki Maki bf4c367d7e Remove Sleuth references in favor of Micrometer Tracing
See gh-32994
2 years ago
Andy Wilkinson 5a299dd501 Correct coordinates of Artemis' server artifact
Closes gh-33065
2 years ago
Andy Wilkinson df2445a6be Update docs now that GraalVM 22.3 is fully available
Closes gh-32813
2 years ago
Andy Wilkinson 6a2f2a0afd Upgrade to Micrometer 1.10.0
Closes gh-32936
2 years ago
Andy Wilkinson aff8a3b182 Upgrade to Micrometer Tracing 1.0.0
Closes gh-32937
2 years ago
Andy Wilkinson b1fcc38338 Upgrade to Jakara XML WS 4.0.0
Closes gh-33054
2 years ago
Andy Wilkinson 918182bfdf Upgrade to Jakarta XML SOAP and SAAJ Impl 3.0.0
Closes gh-33053
Closes gh-33057
2 years ago
Andy Wilkinson e274dbcfc4 Upgrade to Jakarta JMS 3.1.0
Closes gh-33047
2 years ago
Andy Wilkinson 01940144af Upgrade to Jakarta Annotation 2.1.1
Closes gh-33046
2 years ago
Andy Wilkinson b357239861 Upgrade to Jakarta Activation 2.1.0
Closes gh-33045
2 years ago
Andy Wilkinson 524d0599b1 Upgrade to Jakarta Json Bind 3.0.0 and Yasson 3.0.0
Closes gh-33049
Closes gh-33058
2 years ago
Andy Wilkinson c27948c725 Upgrade to Jakarta Json 2.1.1
Closes gh-33048
2 years ago
Andy Wilkinson 335986ee4e Upgrade to Jakarta Persistence 3.1.0
Closes gh-33051
2 years ago
Andy Wilkinson 47c453f473 Upgrade to Hibernate Validator 8.0.0.Final
Closes gh-33056
2 years ago
Andy Wilkinson 9cdea13c56 Upgrade to Jakarta XML Bind 4.0.0 and Glassfish JAXB 4.0.1
Closes gh-33055
Closes gh-33052
2 years ago
Andy Wilkinson 3a2703e8f6 Upgrade to Jakarta Mail 2.1 and switch to Eclipse Angus RI
Closes gh-33059
Closes gh-33050
2 years ago
Andy Wilkinson 6940e348a7 Try to fix NativeImagePluginActionIntegrationTests on Windows 2 years ago
Andy Wilkinson beb1e398c9 Polish "Add reflection hints for Tomcat 10.1"
See gh-33064
2 years ago
Sébastien Deleuze 7972224313 Add reflection hints for Tomcat 10.1
In Tomcat 10.0, reflection hints on Http11AprProtocol were
registering hints on AbstractProtocol as a side effect.

Tomcat 10.1 removed this protocol and related hints, breaking
Http11NioProtocol usage in Spring Boot.

This commit contributes reflection hints for protocol properties
accessed reflectively from org.apache.catalina.connector.Connector.

See gh-33064
2 years ago
Phillip Webb 0bdf7e8af7 Allow spring properties to be used in logback <if> blocks
Reorder `SpringBootJoranConfigurator.addModelHandlerAssociations` so
that handlers are added before calling the super method. Prior to this
commit, handlers were added behind filters which prevented them from
being used in `<if>` blocks.

Fixes gh-33028
2 years ago
Phillip Webb 95557ddbc6 Start building against Spring Integration 6.0.0-RC2 snapshots
See gh-33009
2 years ago
Andy Wilkinson b67c427259 Upgrade to Servlet 6.0 and related EE 10 specs
Co-authored-by: Phillip Webb <pwebb@vmware.com>

Closes gh-33036
Closes gh-33037
Closes gh-33038
Closes gh-33039
Closes gh-33040
Closes gh-33041
Closes gh-33042
Closes gh-33043
2 years ago
Andy Wilkinson 1525ed9170 Start building against Spring Session 3.0.0-RC2 snapshots
Closes gh-33034
2 years ago
Andy Wilkinson 1b6e8ee3cc Remove dependency management for unused EL dependencies
Closes gh-33035
2 years ago
Andy Wilkinson 690b6fa086 Start building against Spring Framework 6.0.0-RC4 snapshots
See gh-33023
2 years ago
Andy Wilkinson fce6016399 Merge branch '2.7.x'
See gh-33016
2 years ago
Andy Wilkinson 7c0f397129 Merge branch '2.6.x' into 2.7.x
See gh-33015
2 years ago
Andy Wilkinson ac6ad7c0f1 Fix ModifiedClassPathExtension with parameterized tests
Closes gh-33014
2 years ago
Andy Wilkinson 651f4f7236 Polish "Polish ImportCandidates"
See gh-33013
2 years ago
biergit d7090b500b Polish ImportCandidates
See gh-33013
2 years ago
Phillip Webb 179aa987ee Unify actuator descriptor class names
Update actuator endpoints to consistently use `...Descriptor` for
JSON support classes.

Closes gh-33022
2 years ago
Phillip Webb 0fa7dba87a Fix formatting
See gh-33013
2 years ago
Phillip Webb 2c193e7736 Remove legacy cookie processor documentation
Remove legacy processor documentation since support will be removed
in Tomcat 10.1.

Closes gh-33021
2 years ago
biergit 8d98ae3435 Polish
See gh-33013
2 years ago
Andy Wilkinson bf468ab808 Polish tests to make use of @ParamterizedTest
Update tests to use @ParamterizedTest to reduce duplication.
2 years ago
Phillip Webb 3bd945766f Merge branch '2.7.x' 2 years ago
Phillip Webb b4283d45c5 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb d2cceb6b77 Polish 2 years ago
Phillip Webb 262c30ddc1 Improve error message when DirtiesUrlFactoriesExtension fails
See gh-33019
2 years ago
Phillip Webb 34b4ae8e05 Merge branch '2.7.x'
Closes gh-33019
2 years ago
Phillip Webb 2ab1f49442 Merge branch '2.6.x' into 2.7.x
Closes gh-33018
2 years ago
Phillip Webb caf46043c6 Add @DirtiesUrlFactories annotation
Add `@DirtiesUrlFactories` annotation that can be used to reset URL
factories.

Closes gh-33017
2 years ago
Phillip Webb fb3c095e35 Merge branch '2.7.x'
Closes gh-33016
2 years ago
Phillip Webb 948893f36d Merge branch '2.6.x' into 2.7.x
Closes gh-33015
2 years ago
Phillip Webb d4cc8fc3a6 Support modified classpath on methods and parameterized tests
Update `ModifiedClassPathExtension` and related classes so that
annotations can be used directly on test methods, or on classes
passed into parameterized tests.

Closes gh-33014
2 years ago
Andy Wilkinson 42f4fd7e41 Revert to Spring Integration 6.0.0-RC1
Latest snapshots contain breaking changes that we do not yet know how
to address.
2 years ago
Andy Wilkinson 7e6bc3fdca Adapt to breaking API change in Spring Integration
See gh-33009
2 years ago
Andy Wilkinson 39f6a5d8a8 Start building against Spring Integration 6.0.0-RC2 snapshots
See gh-33009
2 years ago
Andy Wilkinson db8af6e638 Upgrade to Spring Data Bom 2022.0.0-RC2
Closes gh-32938
2 years ago
Andy Wilkinson 9472cb2db7 Polish 2 years ago
Andy Wilkinson 443d80ce6e Polish
See gh-32924
2 years ago
Andy Wilkinson edecebb641 Upgrade to Neo4j Java Driver 5.2.0
Closes gh-33008
2 years ago
Andy Wilkinson 3173f3e1ac Upgrade to Liquibase 4.17.2
Closes gh-33007
2 years ago
Andy Wilkinson 56252b72c8 Upgrade to jOOQ 3.17.5
Closes gh-33006
2 years ago
Andy Wilkinson 0f0d7e5336 Upgrade to Elasticsearch Client 8.5.0
Closes gh-33005
2 years ago
Andy Wilkinson fe8644cc59 Fail more elegantly when GraalVM version is too old
Closes gh-32924
2 years ago
Andy Wilkinson 8f5ec06a55 Upgrade to Spring HATEOAS 2.0.0-RC2
Closes gh-33001
2 years ago
Andy Wilkinson 2d5a3eac51 Include AOT-generated classes in native test binary
Closes gh-32940
2 years ago
Andy Wilkinson 2b29a10d5b Merge branch '2.7.x'
Closes gh-33000
2 years ago
Andy Wilkinson 06c83e5345 Merge branch '2.6.x' into 2.7.x
Closes gh-32999
2 years ago
Andy Wilkinson d00e004622 Add missing XMLUnit dependency management
Closes gh-32998
2 years ago
Scott Frederick 67af4c0a65 Polish documentation 2 years ago
Andy Wilkinson bc23080cc6 Upgrade to Spring Kafka 3.0.0-RC2
Closes gh-32934
2 years ago
Andy Wilkinson 3fce1e9715 Fix reflection hint registration for @JsonMixins
The hints need to be registered for the mixin not the target of the
mixin.

Closes gh-32929
2 years ago
Scott Frederick bb684cc0ad Add support for CNB platform API 0.10
Fixes gh-32949
2 years ago
Andy Wilkinson 538f1505f0 Rename Spring Session Bom to Spring Session
Closes gh-32952
2 years ago
Andy Wilkinson 17e9b50b7e Upgrade to Spring Framework 6.0.0-RC3
Closes gh-32856
2 years ago
Andy Wilkinson 604aa4d512 Align auto-configured Lettuce metrics with Lettuce's defaults
Closes gh-32986
2 years ago
Andy Wilkinson 8e08931411 Merge branch '2.7.x'
Closes gh-32990
2 years ago
Andy Wilkinson 394ae76b04 Merge branch '2.6.x' into 2.7.x
Closes gh-32989
2 years ago
Andy Wilkinson fcd3413ba0 Allow histograms to be disabled for Lettuce metrics
Closes gh-32985
2 years ago
Andy Wilkinson 9ccc1e8d62 Merge branch '2.7.x'
Closes gh-32988
2 years ago
Andy Wilkinson a3870f8da7 Merge branch '2.6.x' into 2.7.x
Closes gh-32987
2 years ago
Andy Wilkinson beb62be843 Test Boot's Gradle plugin against Gradle 7.6-rc-1
Closes gh-32933
2 years ago
Andy Wilkinson beea06f515 Polish "Handle custom observation name for HTTP reqs in max URI tag filters"
See gh-32973
2 years ago
Johnny Lim 89fe895cd6 Handle custom observation name for HTTP reqs in max URI tag filters
See gh-32973
2 years ago
Brian Clozel 0acaa0e460 Adapt to observation changes in Framework
See spring-projects/spring-framework#29388
2 years ago
Moritz Halbritter 05c5b1225c Replace Tag to KeyValues adapter code
Closes gh-32876
2 years ago
Johnny Lim 7f44572b70 Remove Infinispan's Spring Boot Starter in README
See gh-32974
2 years ago
Andy Wilkinson 89af931c29 Update coordinates of jaybird dependency
See gh-32954
2 years ago
Moritz Halbritter 85fd475821 Add noop tracer bean if tracing is disabled
The new functionality doesn't expose any public API
and works the same as WebTestClientContextCustomizer
does.

Closes gh-32907
2 years ago
Moritz Halbritter 7aff82009f Revert "Register no-op tracer bean if tracing is disabled"
This reverts commit 2d75a8a9eb.
2 years ago
Andy Wilkinson c8679184c1 Remove dependency management for Hazelcast Hibernate 5
Closes gh-32953
2 years ago
Andy Wilkinson 6fe341745b Upgrade to Jaybird 4.0.6.java11
Closes gh-32954
2 years ago
Moritz Halbritter 2d75a8a9eb Register no-op tracer bean if tracing is disabled
Closes gh-32907
2 years ago
Andy Wilkinson b001aeb9ff Upgrade to Selenium HtmlUnit 4.5.2
Closes gh-32966
2 years ago
Andy Wilkinson 261d7f0d97 Upgrade to Selenium 4.5.3
Closes gh-32965
2 years ago
Andy Wilkinson b56026fd75 Upgrade to Maven Shade Plugin 3.4.1
Closes gh-32964
2 years ago
Andy Wilkinson bf2e8b7f7b Upgrade to Liquibase 4.17.1
Closes gh-32963
2 years ago
Andy Wilkinson c5a4bef0ee Upgrade to Jedis 4.3.1
Closes gh-32962
2 years ago
Andy Wilkinson f663763f9d Upgrade to Jackson Bom 2.14.0-rc3
Closes gh-32961
2 years ago
Andy Wilkinson f1db3c779f Upgrade to Infinispan 14.0.2.Final
Closes gh-32960
2 years ago
Andy Wilkinson 323105fe2a Upgrade to HSQLDB 2.7.1
Closes gh-32959
2 years ago
Andy Wilkinson 335a09204e Upgrade to Hibernate 6.1.5.Final
Closes gh-32958
2 years ago
Andy Wilkinson 9e5f20c3b8 Upgrade to Flyway 9.5.1
Closes gh-32957
2 years ago
Andy Wilkinson 46fd43a72c Upgrade to DB2 JDBC 11.5.8.0
Closes gh-32956
2 years ago
Andy Wilkinson bc63ffd1ca Upgrade to Couchbase Client 3.4.0
Closes gh-32955
2 years ago
Scott Frederick a0d765cab8 Restore invocation of DefaultTestExecutionListenersPostProcessors
This commit partially reverts c81ebf63d9,
so that `DefaultTestExecutionListenersPostProcessor`s are invoked
even though deprecated.

See gh-31793
2 years ago
Andy Wilkinson 519250cacf Polish Gradle tasks for AOT processing
Closes gh-32946
2 years ago
Andy Wilkinson bd75965ff8 Start building against Spring Kafka 3.0.0-RC2 snapshots
See gh-32934
2 years ago
Andy Wilkinson 61c9a1540f Start building against Spring Batch 5.0.0-RC2 snapshots
See gh-32935
2 years ago
Andy Wilkinson ea0ebe54e3 Start building against Spring Data Bom 2022.0.0 snapshots
See gh-32938
2 years ago
Andy Wilkinson 72202ab19a Start building against Reactor Bom 2022.0.0 snapshots
See gh-32939
2 years ago
Andy Wilkinson 11cff48271 Start building against Micrometer Tracing 1.0.0 snapshots
See gh-32937
2 years ago
Andy Wilkinson 08154fab46 Start building against Micrometer 1.10.0 snapshots
See gh-32936
2 years ago
Andy Wilkinson b192c29edb Use AOT's outputs to configure source set's inputs
Closes gh-32919
2 years ago
Andy Wilkinson 0103e24bbb Stop configuring AOT-generated classes as output of AOT source set
Closes gh-32940
2 years ago
Andy Wilkinson 2bb9b2640e Separate classpath of AOT tasks from source sets they populate
Closes gh-32930
2 years ago
Phillip Webb 2b5a29d514 No longer log hostname during application start
Remove hostname logging since `InetAddress.getLocalHost().getHostName()`
causes a network lookup and can take a long time.

Closes gh-32908
2 years ago
Scott Frederick c81ebf63d9 Use ApplicationContextFailureProcessor to log report on failure
Closes gh-31793
2 years ago
Moritz Halbritter 6a138e1753 Polish 2 years ago
Moritz Halbritter 4fef5291bf Fix build
Commit 29f085bd1a690ff7281e00b3a925e1160850ffbb in Spring Framework
automatically registers hints for enclosing directories. This fixes the
tests to use a contains instead of exact match.
2 years ago
Moritz Halbritter 5e034eab59 Revert "Fix build"
This reverts commit ec0d598ba4.
2 years ago
Moritz Halbritter dd2bec267c Revert "Fix build"
This reverts commit 50599c5046.
2 years ago
Moritz Halbritter 50599c5046 Fix build
Commit 29f085bd1a690ff7281e00b3a925e1160850ffbb in Spring Framework
automatically registers hints for enclosing directories. This fixes the
tests to expect hints for those directories as well.
2 years ago
Moritz Halbritter ec0d598ba4 Fix build
Commit 29f085bd1a690ff7281e00b3a925e1160850ffbb in Spring Framework
automatically registers hints for enclosing directories. This fixes the
tests to expect hints for those directories as well.
2 years ago
Moritz Halbritter 5bf088d88b Add runtime hints for Liquibase migration file
Closes gh-32926
2 years ago
Moritz Halbritter 5d1ff17a0a Add Micrometer Observability documentation
Closes gh-32833
Closes gh-32912
2 years ago
Phillip Webb 9856286a2d Refine actuator httpexhanges naming
See gh-32885
2 years ago
Andy Wilkinson 29f7a596fe Polish 2 years ago
Phillip Webb 3e50836b1a Rename httptrace endpoint and related classes to httpexchanges
Rename `/actuator/httptrace` to `/actuator/httpexchanges` to better
describe its purpose and to remove confusion with distribute tracing.

This change also takes the opportunity to improve the code by making
the `HttpExchange` class (previously `HttpTrace`) fully immutable.

Closes gh-32885

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>
2 years ago
Johnny Lim 8d17d2d443 Handle null span in LazyTracingSpanContextSupplier consistently
See gh-32817
2 years ago
Andy Wilkinson 67e4ac4f1e Remove stale reference to MetricsWebFilter from the docs
Closes gh-32909
2 years ago
Moritz Halbritter 40e2d0b8cd Remove mention of the Infinispan Spring Boot starter
The starter is not yet Spring Boot 3 compatible.

Closes gh-32896
2 years ago
Johnny Lim 5067aab552 Polish
See gh-32840
2 years ago
Johnny Lim 7dd083ad69 Polish "Remove spring.xml.ignore flag usages"
See gh-32846
2 years ago
Andy Wilkinson 1cb149596d Add json starter so that Elasticsearch uses Jackson mapper by default
Closes gh-32906
2 years ago
Andy Wilkinson b9e176ce1a Inject Jackson modules rather than retrieving them manually
Fixes gh-32863
2 years ago
Moritz Halbritter 65c68ba64e Reinstate old flyway bean method
Closes gh-32849
2 years ago
Moritz Halbritter cd5d2ad3e8 Revert "Extract Flyway configuration mapping in separate class"
This reverts commit cf4117856b.
2 years ago
Moritz Halbritter cf4117856b Extract Flyway configuration mapping in separate class
Closes gh-32849
2 years ago
Marcin Grzejszczak b753170807 Add missing BaggageTextMapPropagator for OTel W3C
Without this change we're missing the BaggageTextMapPropagator for
OTel. This means that we're not propagating remote-fields
(only baggage via the 'baggage' field).

With this change we're adding the missing propagator as
THE LAST entry in the composite TextMapPropagator. It has to be
last cause with the latest Snapshots of Micrometer Tracing it
will append the remote field baggage to existing baggage in the
context extracted via the W3CBaggagePropagator.

See gh-32898
2 years ago
Moritz Halbritter 1f0cf1ac2b Make EmbeddedDatabaseConnection GraalVM compatible
Without those changes, if @AutoConfigureTestDatabase is used, the
native image build process fails with:

  EmbeddedDatabaseConnection was unintentionally initialized at build
  time.

Closes gh-32865
2 years ago
Scott Frederick eeac08e50e Remove references to WebSecurityConfigurerAdapter from javadoc
Closes gh-32879
2 years ago
Moritz Halbritter 0985e3d237 Add resource hint for banner.txt
Closes gh-32882
2 years ago
Phillip Webb a59b6cb1f3 Polish 2 years ago
Phillip Webb 0f405c06bf Merge branch '2.7.x' 2 years ago
Phillip Webb f44531a7a2 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 92b513dc8d Polish 2 years ago
Phillip Webb 4be3218cb6 Merge branch '2.7.x' 2 years ago
Phillip Webb c8676a81de Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb d7ac20cd6c Update copyright year of changed files 2 years ago
Phillip Webb 9505673d6f Ensure application event listeners are always refreshed
Update `EventPublishingRunListener` to ensure that application event
listeners are always refreshed before multicasting initial events.

Prior to this commit, refreshing occurred after multicasting which
meant that listeners added by a different `SpringApplicationRunListener`
would not be picked up. This caused properties from tests that have
`UseMainMethod` set to `ALWAYS` or `WHEN_AVAILABLE` to be missing.

Fixes gh-32860
2 years ago
Phillip Webb 159910b0d9 Polish 2 years ago
Andy Wilkinson e6c37d698f Reinstate support for read timeouts with RestTemplateBuilder
Refactor the way `ClientHttpRequestFactory` instances are created in
order to support setting read timeouts.

Prior to this commit, the reflection based approach would call
`setReadTimeout`. As of Spring Framework 6.0, the
`HttpComponentsClientHttpRequestFactory` class no longer supports this
approach. The timeout must be set on the `HttpClientConnectionManager`
used in the `HttpClient` which can be passed in to the constructor.

In order to support this approach, the `ClientHttpRequestFactory` can
now be created using a `Function` rather than a `Supplier`. The
function accepts a `ClientHttpRequestFactorySettings` which provides
the timeout settings to apply.

The `ClientHttpRequestFactories` utility class provides methods to
create `ClientHttpRequestFactory` instances that respect the settings.
Whenever possible, these are created without using reflection.

Fixes gh-32857

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Scott Frederick c22e76632c Add Build-Jdk-Spec to jar and war manifest when building with Gradle
This commit adds a `Build-Jdk-Spec` attribute to the manifest in a
jar or war file built with the Spring Boot Gradle plugin. This
aligns the Gradle plugin's behavior with the default Maven plugin
behavior.

This removes the need to set a `BP_JVM_VERSION` environment variable
when invoking Cloud Native Buildpacks, as the Paketo buildpacks will
honor `Build-Jdk-Spec` in a jar or war manifest to determine the
default JVM version.

Fixes gh-32829
2 years ago
Moritz Halbritter 383d6c897f Remove reflection for SimpleRequestExpectationManager creation
Closes gh-32867
2 years ago
Moritz Halbritter 9ee3fd0b0b Disable HttpGraphQlTesterContextCustomizer after AOT processing
After AOT processing, a HttpGraphQlTester bean will be defined directly
so the context customizer that initiates its registration is not
needed.

Closes gh-32872
2 years ago
Andy Wilkinson 99edda735e Polish 2 years ago
Moritz Halbritter b014039a34 Disable WebTestClientContextCustomizer after AOT processing
After AOT processing, a WebTestClient bean will be defined directly
so the context customizer that initiates its registration is not
needed.

Closes gh-32859
2 years ago
Moritz Halbritter f2c004f604 Remove reflection in OutputCaptureExtension
Closes gh-32870
2 years ago
Moritz Halbritter 512a4c7544 Revert "Register runtime hints for OutputCapture"
This reverts commit 35abc3a6dc.
2 years ago
Moritz Halbritter 35abc3a6dc Register runtime hints for OutputCapture
Closes gh-32870
2 years ago
Andy Wilkinson f11945b961 Start building against Spring Framework 6.0.0-RC3 snapshots
See gh-32856
2 years ago
Andy Wilkinson b7fb345709 Revert workaround for multiple ImportRuntimeHints
Closes gh-32830
2 years ago
Andy Wilkinson b78e7b5ac7 Disable TestRestTemplateContextCustomizer after AOT processing
After AOT processing, a TestRestTemplate bean will be defined
directly so the context customizer that initiates its registration is
not needed. We'd already disabled the registrar but this is
insufficient in Graal 22.3 which fails fast when the customizer tries
to reference the registrar.

Fixes gh-32848
2 years ago
Moritz Halbritter 605dd3d4bd Polish docs 2 years ago
Andy Wilkinson 9e6259cd37 Remove development-only dependencies from native image classpath
Fixes gh-32843
2 years ago
Andy Wilkinson b0b2818f0b Improve type discovery in Logback AOT contribution
Logback can infer the Java class to which an XML tag should be mapped
by looking for a setter method on the class to which the parent tag
was mapped. This commits ensures that reflection hints are added for
such classes.

Fixes gh-32839
2 years ago
Andy Wilkinson eebe23a081 Make all AOT-generated resources available to native-compile
Fixes gh-32841
2 years ago
Moritz Halbritter ff6d9aa881 Polish "Add micrometer tracing documentation" 2 years ago
Andy Wilkinson bed313746b Correct property names to align with changes in 3.0
See gh-32837
2 years ago
Johnny Lim fc61690675 Add missing @Test to sanitizeLists()
See gh-32792
2 years ago
Andy Wilkinson a606b26920 Merge branch '2.7.x'
Closes gh-32837
2 years ago
Andy Wilkinson 032487117b Merge branch '2.6.x' into 2.7.x
Closes gh-32836
2 years ago
Andy Wilkinson fe51e03019 Support IPv6 addresses in spring.redis.sentinel.nodes
Fixes gh-32762
2 years ago
Moritz Halbritter e999513838 Add micrometer tracing documentation
Closes gh-30658
2 years ago
Sébastien Deleuze 4e131bd627 Provide a workaround to allow multiple @ImportRuntimeHints
Provide a workaround for spring-projects/spring-framework#29361 so
that multiple `@ImportRuntimeHints` can be used in a type hierarchy.

The commit should cover Actuator web endpoint use cases with the
exception of Cloud Foundry endpoints which are not possible due to
package access issues.

See gh-29361
2 years ago
Phillip Webb ea094ddba6 Fix package tangles caused by ConfigurationProperties hints
Relocate `ConfigurationPropertiesReflectionHintsProcessor` and refactor
it to be a general purpose `BindableRuntimeHintsRegistrar`.

Prior to this commit, `ConfigurationPropertiesReflectionHintsProcessor`
was used to declare binding hints for classes that were bound, but
might be `@ConfigurationProperties`. By moving and renaming the class,
it's now better aligned to the way it's used.

Support for `@NestedConfigurationProperties` has been implemented by
adding a `@Nestable` meta-annotation. This allow us to create the
appropriate hints, without the `Binder` needing to be directly aware of
the `@NestedConfigurationProperties` annotation.

Closes gh-32815
2 years ago
Phillip Webb eb1d72e7b7 Merge branch '2.7.x' 2 years ago
Phillip Webb d8c4aec946 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 1a14f39f83 Polish 2 years ago
Phillip Webb 7db93aeb90 Merge branch '2.7.x'
Closes gh-32827
2 years ago
Phillip Webb 1c7bff7cc1 Merge branch '2.6.x' into 2.7.x
Closes gh-32826
2 years ago
Phillip Webb 463a614d27 Fix package tangle between SpringApplication and Environment types
Update `SpringApplication` so that it no longer directly decides the
type of `Environment` that should be created.

Closes gh-32825
2 years ago
Scott Frederick 072ce5c151 Fix versions in documentation links
Fixes gh-32772
2 years ago
Scott Frederick b78b22b6f6 Allow Gradle task property to be set with String or enum value
See gh-32769
2 years ago
Phillip Webb c53c8c84b8 Fix annotation processor to deal with relocated @ConstructorBinding
Update `ConfigurationMetadataAnnotationProcessor` to use the correct
location for the `@ConstructorBinding` annotation and to deal with
finding it as a meta-annotation.

Closes gh-32660
2 years ago
Scott Frederick bdedae21c0 Polish native image documentation
See gh-32582
2 years ago
Stephane Nicoll 010891a3c6 Merge branch '2.7.x'
Closes gh-32821
2 years ago
Stephane Nicoll 7bd9754ce1 Merge branch '2.6.x' into 2.7.x
Closes gh-32820
2 years ago
James Seung Hyun Son 5e0a67ac66 Fix typos in logging.adoc
See gh-32812
2 years ago
Stephane Nicoll 74a8eb7160 Merge branch '2.7.x'
Closes gh-32819
2 years ago
Stephane Nicoll 13691f27bd Merge branch '2.6.x' into 2.7.x
Closes gh-32818
2 years ago
Stephane Nicoll 4d7cb7144e Upgrade copyright year of changed files
See gh-32644
2 years ago
Ada-Claire c5a1944267 Harmonize ConfigurationProperties code samples
Rename the SomeProperties class so that it is consistent with other
examples given within the Type-safe Configuration Properties. This
ensures that readers can intuitively draw the conclusion that the
MyProperties class is annotated with ConfigurationProperties.

See gh-32644
2 years ago
Andy Wilkinson 482eb49391 Support <import> in logback.xml during AOT processing
See gh-32756
2 years ago
Brian Clozel 685fa900f8 Auto-configure Observation instrumentation for WebFlux
Prior to this commit, Spring Boot would offer a specific Metrics
instrumentation for WebFlux applications through a `WebFilter` and
custom Tag providers.

As of Spring Framework 6.0, the Observation instrumentation is done
directly in WebFlux, also with a `WebFilter`. While this allows both
metrics and traces, some features cannot be supported in the same way
with this new infrastructure.
The former `WebFilter` has been removed and the Tagging infrastructure
deprecated in favor of custom Observation conventions. This commit
provides an adapter layer so that developers can refactor their custom
tagging solution to the convention way, during the deprecation phase,
without losing any feature.

Closes gh-32539
2 years ago
Stephane Nicoll cda63b541f Upgrade to Spring Framework 6.0.0-RC2
Closes gh-32696
2 years ago
Andy Wilkinson 26e747d2db Fix package tangle in spring-boot-gradle-plugin
Closes gh-32814
2 years ago
Stephane Nicoll 04d6840ff3 Polish "Upgrade to Spring Security 6.0.0-RC1"
See gh-32604
2 years ago
Stephane Nicoll d8ec24b542 Upgrade to Spring Batch 5.0.0-RC1
Closes gh-32618
2 years ago
Stephane Nicoll d39144232f Upgrade to Spring Session 3.0.0-RC1
Closes gh-32606
2 years ago
Moritz Halbritter 1635f61368 Update GraalVM requirement to 22.3
See gh-32813
2 years ago
Phillip Webb 73a34b6c0a Fix checkstyle issues
See gh-32582
2 years ago
Sébastien Deleuze 3002779195 Remove LogbackConfigurationAotContribution from native image
Remove `LogbackConfigurationAotContribution` from the reachable
code path from a native image POV.

See gh-32793
2 years ago
Phillip Webb fb736e8427 Add native image reference documentation
Update reference documentation with a new "native image" section.

This commit includes some work derived from the "Spring Native"
project documentation written by Andy Clement, Sébastien Deleuze,
Filip Hanik, Dave Syer, Esteban Ginez, Jay Bryant, Brian Clozel,
Stéphane Nicoll, and Josh Long.

Closes gh-32582

Co-authored-by: Moritz Halbritter <mkammerer@vmware.com>
2 years ago
Phillip Webb 0219b222c2 Merge branch '2.7.x' 2 years ago
Phillip Webb d3750c4991 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb c416c17fe8 Polish documentation title case 2 years ago
Scott Frederick 8acf9afccb Use String instead of enum for Gradle task Property
See gh-32769
2 years ago
Brian Clozel 9948fc3e39 Use GraphQL Observation instrumentation
This commit migrates the existing metrics support (added in #29140) to
the new `Observation` instrumentation contributed in
spring-projects/spring-graphql#501.

We cannot have a smoother migration path here as the instrumentation
does not use the same context information for metadata extraction.

Closes gh-32794
2 years ago
Stephane Nicoll 1822ce1ef3 Upgrade to Mockito 4.8.1
Closes gh-32799
2 years ago
Stephane Nicoll 5cc9527fde Upgrade to Infinispan 14.0.1.Final
Closes gh-32798
2 years ago
Stephane Nicoll 8a9b679c4c Upgrade to Groovy 4.0.6
Closes gh-32797
2 years ago
Stephane Nicoll 973121db5d Upgrade to Flyway 9.5.0
Closes gh-32796
2 years ago
Madhura Bhave ce3c933f77 Adapt to Spring Security changes
Closes gh-32604
2 years ago
Phillip Webb 2e74878ba4 Downgrade to OpenSAML 4.0.1
See gh-32604
2 years ago
Madhura Bhave cedd553b83 Remove error page security filter
Spring Security now re-applies the authorization rules
to the error page by default. Additionally, it configures
RequestAttributeSecurityContextRepository as the default for
stateless applications allowing those applications to have access
to the original authentication during an error dispatch.

Closes gh-31703
2 years ago
Andy Wilkinson 8621be6bba Make consistent use of Property for Gradle task configuration
Closes gh-32769
2 years ago
Brian Clozel e5c12c2b56 Move HTTP client observation auto-configuration
This commit moves the observation auto-configuration from the metrics
package to the observation package for consistency.

See gh-32484
See gh-32518
2 years ago
Brian Clozel b2fe807d47 Move MVC metrics to Observation auto-configuration
This commit moves the entire Metrics auto-configuration for Spring MVC
to the new `Observation` API and the instrumentation contributed in
Spring Framework.

Closes gh-32538
2 years ago
Andy Wilkinson e6c69061b5 Upgrade to Jackson 2.14.0-rc2
Closes gh-32771
2 years ago
Andy Wilkinson 6f787c4b79 Upgrade to Infinispan 13.0.12.Final
Closes gh-32788
2 years ago
Andy Wilkinson 3aa835845e Upgrade to Glassfish JAXB 2.3.7
Closes gh-32787
2 years ago
Andy Wilkinson ba02a64743 Upgrade to Dependency Management Plugin 1.0.15.RELEASE
Closes gh-32786
2 years ago
Andy Wilkinson 65bdcdb2a5 Upgrade to Glassfish JAXB 2.3.7
Closes gh-32785
2 years ago
Andy Wilkinson 02760ffee4 Upgrade to Dependency Management Plugin 1.0.15.RELEASE
Closes gh-32784
2 years ago
Andy Wilkinson 391e2f7a26 Make META-INF/spring/logback-pattern-rules repeatable
See gh-32756
2 years ago
Andy Wilkinson a87aca2744 Merge branch '2.7.x'
Closes gh-32782
2 years ago
Andy Wilkinson a19e394ebb Merge branch '2.6.x' into 2.7.x
Closes gh-32781
2 years ago
Henning Poettker 4ed072a06b Upgrade MySQL Connector/J and use new Maven identifiers
See gh-32747
2 years ago
Stephane Nicoll b69cf43ec0 Revert "Upgrade to Spring Session 2022.0.0-RC1"
This reverts commit e7b3114db7.
2 years ago
Stephane Nicoll e7b3114db7 Upgrade to Spring Session 2022.0.0-RC1
Closes gh-32606
2 years ago
Phillip Webb 43a44006c9 Update getting started documentation to use @SpringBootApplication
Closes gh-32780
2 years ago
Phillip Webb 8dadf86f93 Merge branch '2.7.x'
Closes gh-32778
2 years ago
Phillip Webb fcaac2b343 Merge branch '2.6.x' into 2.7.x
Closes gh-32777
2 years ago
Phillip Webb 2c7114fa17 Polish 'Use exclamation character for the document separator prefix'
See gh-32521
2 years ago
Guirong Hu 33e379c4a2 Use exclamation character for the document separator prefix
See gh-32521
2 years ago
Phillip Webb 07dd388b58 Merge branch '2.7.x'
Closes gh-32776
2 years ago
Phillip Webb 8dec296dfd Merge branch '2.6.x' into 2.7.x
Closes gh-32775
2 years ago
Phillip Webb de111dba5c Polish 'Add DataSize serializer for configprops endpoint'
See gh-32645
2 years ago
Guirong Hu 3b25132e38 Add DataSize serializer for configprops endpoint
See gh-32645
2 years ago
Phillip Webb 02cd910f5a Merge branch '2.7.x'
Closes gh-32774
2 years ago
Phillip Webb fbd416adc6 Merge branch '2.6.x' into 2.7.x
Closes gh-32773
2 years ago
Phillip Webb b02c702ad1 Polish 'Use more specific bean method return types in KafkaAutoConfiguration'
See gh-32770
2 years ago
yuanhao18 c498ad0320 Use more specific bean method return types in KafkaAutoConfiguration
Update `KafkaAutoConfiguration` so that more specific bean types are
returned.

See gh-32770
2 years ago
Scott Frederick 76c7263eff Provide default groupId for AOT processing
Framework requires the `groupId` passed to the AOT processing
to be non-empty, so a default should be used if the build
system does not provide a value.

See gh-32696
2 years ago
Andy Wilkinson 9d07a09ed4 Upgrade to Spring Integration 6.0.0-RC1
Closes gh-32619
2 years ago
Andy Wilkinson 60112e7d90 Upgrade to Spring WS 4.0.0-RC1
Closes gh-32621
2 years ago
Andy Wilkinson d20f582493 Upgrade to Spring GraphQL 1.0.0-RC1
Closes gh-32605
2 years ago
Andy Wilkinson 4a76fbf93c Support logback.xml in a native image
Closes gh-32756
2 years ago
Phillip Webb cb48674536 Switch Java versions used in documentation
See gh-32746
2 years ago
Phillip Webb 7d03a201c0 Switch Java version displayed in documentation
Closes gh-32746
2 years ago
Phillip Webb 45ce096b6b Replace our TestCompiler with Spring Framework's version
Replace the last use of our `TestCompiler` with Spring Framework's
version.

See gh-31266
2 years ago
Andy Wilkinson 7bae02be2d Adapt to breaking changes to AotProcessor settings
See gh-32696
2 years ago
Stephane Nicoll d53c2b25d0 Upgrade to Spring Retry 2.0.0-RC2
Closes gh-32600
2 years ago
Stephane Nicoll 4b778ff4c1 Polish Maven documentation to mention native profile 2 years ago
Stephane Nicoll f0d1eb7891 Configure the Native buildpack when enabling the native Maven profile
This commit makes sure that the Native Cloud Native Buildpacks is
configured when the native Maven profile is enabled. Doing so lets
users generate a native image with a single command-line by default:

$ ./mvnw -Pnative spring-boot:build-image

Closes gh-32764
2 years ago