Andy Wilkinson
98dbabda08
Require since attribute when marking API as deprecated
...
Closes gh-32612
2022-10-06 11:12:42 +01:00
Andy Wilkinson
edce1f4e91
Merge branch '2.7.x'
...
Closes gh-32611
2022-10-06 11:12:12 +01:00
Andy Wilkinson
d909c4efb6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32610
2022-10-06 11:11:56 +01:00
Andy Wilkinson
c4a0dad6fe
Upgrade to Spring Java Format 0.0.35
...
Closes gh-32609
2022-10-06 11:10:45 +01:00
Andy Wilkinson
0ee277b8c3
Ensure that run mojo's child process is killed when Maven is killed
...
Fixes gh-32607
2022-10-06 10:19:22 +01:00
Stephane Nicoll
4ffc421b3c
Adapt to Spring Framework API change
2022-10-06 09:58:05 +02:00
Stephane Nicoll
d106fc266a
Revert "Adapt to deprecations in Spring Framework snapshots"
...
This reverts commit ff6acbe972 .
2022-10-06 07:09:51 +02:00
Stephane Nicoll
44c843145a
Add support for specifying application arguments
...
This commit makes sure that application arguments can be provided when
optimizing an application at build-time. It uses the same mechanism of
the regular run goal, merging the profile property if set.
Closes gh-32579
2022-10-05 16:36:38 +02:00
Stephane Nicoll
39cf17ed81
Add missing integration test for profile management in process-aot
2022-10-05 16:22:44 +02:00
Stephane Nicoll
e94a1f7988
Replace outcome of JsonMixins scanning in AOT optimized contexts
...
This commit adds an AOT contribution that replaces the scanning of
@JsonMixin by a mapping in generated code. This makes sure that such
components are found in a native image.
Closes gh-32567
2022-10-05 15:55:33 +02:00
Stephane Nicoll
ff6acbe972
Adapt to deprecations in Spring Framework snapshots
2022-10-05 15:55:33 +02:00
Andy Wilkinson
5199ffe6a9
Allow auto-configured Rabbit Stream Environment to be customized
...
Closes gh-32580
2022-10-05 11:56:32 +01:00
Andy Wilkinson
0ae7e935c3
Allow user to replace auto-configured Data JDBC beans
...
Closes gh-32571
2022-10-04 18:07:56 +01:00
Andy Wilkinson
7c4e46e538
Allow thread dump endpoint to call ThreadMXBean in a native image
...
Closes gh-31680
2022-10-04 17:09:22 +01:00
Andy Wilkinson
e6568596b9
Make max header size config consistent across web servers
...
Closes gh-29382
2022-10-04 15:16:54 +01:00
Andy Wilkinson
4f86f685c5
Reinstate support for Infinispan
...
Closes gh-32556
2022-10-04 11:32:56 +01:00
Phillip Webb
e0b67889a8
Use Stream.toList instead of Stream.collect when possible
...
Update code to make use of `Stream.toList()` whenever possible.
Closes gh-28177
2022-10-04 00:29:22 -07:00
Phillip Webb
118836d204
Merge branch '2.7.x'
...
Closes gh-32576
2022-10-03 17:56:21 -07:00
Phillip Webb
0f4d98b1f4
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32575
2022-10-03 17:56:10 -07:00
Phillip Webb
e917bd0ed0
Only build OutputCapture strings when necessary
...
Update `OutputCapture` so that expensive build operations are only
performed when necessary. This update is especially important for Kotlin
users calling `"Expected String" in output` since this results in a call
to Kotlin's `CharSequence.contains` which calls the `length()` and
`charAt()` methods many times.
Closes gh-32033
2022-10-03 16:55:44 -07:00
Andy Wilkinson
803d353d49
Fix formatting of R2dbcDataAutoConfiguration
...
See c2b8d3d .
2022-10-03 14:29:46 +01:00
Andy Wilkinson
3ab36074dc
Make management.tracing.enabled are first-class property
...
This will allow metadata to be generated for it automatically.
Closes gh-31656
2022-10-03 14:28:23 +01:00
Andy Wilkinson
6d4390e034
Simplify ConditionalOnEnabledTracing
...
Closes gh-32572
2022-10-03 14:26:41 +01:00
Andy Wilkinson
69c8959e6d
Remove remnants of references to GlobalKeyValuesProviders
...
Closes gh-31841
2022-10-03 14:03:15 +01:00
Stephane Nicoll
c2b8d3de21
Declare beans that can be instantiated at build-time static
...
This commit updates the bean factory methods for beans that can be
instantiated at build-time to be static. Doing so makes sure that
the enclosing configuration class does not have to be resolved in
order to create the instance.
Closes gh-32570
2022-10-03 14:36:04 +02:00
Johnny Lim
d6cfcd0825
Fix compile errors
...
Closes gh-32569
2022-10-02 18:38:28 +02:00
Phillip Webb
2c39345794
Merge branch '2.7.x'
2022-09-30 21:18:20 -07:00
Phillip Webb
0e98a577fe
Merge branch '2.6.x' into 2.7.x
2022-09-30 21:18:09 -07:00
Phillip Webb
75f4d9e3fd
Fix empty @DefaultValue annotation test failures on Java 17
...
See gh-32559
2022-09-30 21:16:48 -07:00
Phillip Webb
bf96816654
Merge branch '2.7.x'
...
Closes gh-32564
2022-09-30 20:16:53 -07:00
Phillip Webb
1eb0dd5e39
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32563
2022-09-30 20:16:36 -07:00
Phillip Webb
efc431bdc4
Support empty @DefaultValue annotations on aggregates and optional
...
Update `ValueObjectBinder` to allow an empty `@DefaultValue` to be
used on map, collection, arrays and optional types.
Closes gh-32559
2022-09-30 18:21:54 -07:00
Scott Frederick
d25a99692f
Replace Spring Boot TestCompiler with Spring Framework's version
...
See gh-31266
2022-09-30 15:58:11 -05:00
Phillip Webb
8b2fd6a05a
Fix formatting
2022-09-30 12:00:14 -07:00
Phillip Webb
63f6d872e0
Test addAotGeneratedInitializerIfNecessary logic
...
Closes gh-32555
2022-09-30 11:24:04 -07:00
Andy Wilkinson
522cb1c0ea
Polish deprecation warnings
...
See gh-32541
2022-09-30 18:51:37 +01:00
Andy Wilkinson
dbcb291b7a
Polish
...
See gh-32541
2022-09-30 18:31:01 +01:00
Andy Wilkinson
bcb5e84129
Avoid using reflection when creating composite health contributors
...
Closes gh-32541
2022-09-30 17:03:02 +01:00
Stephane Nicoll
e2dd0ef9a4
Adapt AotProcessor to changes in Spring Framework
...
Closes gh-32560
2022-09-30 16:47:03 +02:00
Andy Wilkinson
51df7813a5
Remove code deprecated in 2.x and add since and forRemoval attributes
...
Closes gh-32548
Closes gh-32549
2022-09-30 14:39:05 +01:00
Andy Wilkinson
03b3a772c9
Adapt to PathMatchingResourcePatternResolver's behavior being reverted
...
See spring-projects/spring-framework#29163
2022-09-30 13:08:10 +01:00
Brian Clozel
5b092f5d80
Polish
...
See gh-32518
2022-09-30 12:52:22 +02:00
Brian Clozel
7f7ecdc7ac
Fix documentation build
...
See gh-32518
2022-09-30 12:18:41 +02:00
Brian Clozel
ceb1e5d223
Polish
...
See gh-32518
2022-09-30 12:16:55 +02:00
Brian Clozel
8b4a20d6cd
Use Observation infrastructure for instrumenting WebClient
...
As of spring-projects/spring-framework#28341 , `WebClient` is
instrumented directly for `Observation`.
This commit removes the custom `ExchangeFilterFunction` that previously
instrumented the client for metrics.
As a result, the relevant tag providers are now deprecated and adapted
as `ObservationConvention` for the time being.
Closes gh-32518
2022-09-30 11:24:35 +02:00
Stephane Nicoll
f0e40bb00d
Avoid NoSuchMethodError by assigning ApplicationContextInitializer
...
See gh-32555
2022-09-30 10:54:35 +02:00
Phillip Webb
7a5b61fd19
Replace AotApplicationContextInitializer with Framework version
2022-09-29 16:37:26 -07:00
Andy Wilkinson
7eb8abbda8
Adapt to PathMatchingResourcePatternResolver now matching root dir
...
See spring-projects/spring-framework#29163
2022-09-29 18:55:42 +02:00
Brian Clozel
a0735eb3fb
Migrate remaining usage of httpclient API
...
This commit migrates our remaining usage of the httpclient 4.x to use
instead httpclient5, now that the 4.x support has been removed in
`RestTemplate`.
Closes gh-32461
2022-09-29 18:55:42 +02:00
Brian Clozel
cc169e7623
Adapt TestRestTemplate to httpclient5 changes
...
This commit adapts the `TestRestTemplate` implementation to the
httpclient5 API since httpclient 4.x is now unsupported in Spring
Framework.
See gh-32461
2022-09-29 18:55:42 +02:00