Andy Wilkinson
651f4f7236
Polish "Polish ImportCandidates"
...
See gh-33013
2022-11-06 11:30:29 +00:00
biergit
d7090b500b
Polish ImportCandidates
...
See gh-33013
2022-11-06 11:30:29 +00:00
Phillip Webb
179aa987ee
Unify actuator descriptor class names
...
Update actuator endpoints to consistently use `...Descriptor` for
JSON support classes.
Closes gh-33022
2022-11-05 20:15:35 -07:00
Phillip Webb
0fa7dba87a
Fix formatting
...
See gh-33013
2022-11-05 19:32:19 -07:00
Phillip Webb
2c193e7736
Remove legacy cookie processor documentation
...
Remove legacy processor documentation since support will be removed
in Tomcat 10.1.
Closes gh-33021
2022-11-05 18:50:33 -07:00
biergit
8d98ae3435
Polish
...
See gh-33013
2022-11-05 18:47:37 -07:00
Andy Wilkinson
bf468ab808
Polish tests to make use of @ParamterizedTest
...
Update tests to use @ParamterizedTest to reduce duplication.
2022-11-05 18:46:13 -07:00
Phillip Webb
3bd945766f
Merge branch '2.7.x'
2022-11-05 17:03:10 -07:00
Phillip Webb
b4283d45c5
Merge branch '2.6.x' into 2.7.x
2022-11-05 17:03:02 -07:00
Phillip Webb
d2cceb6b77
Polish
2022-11-05 17:02:57 -07:00
Phillip Webb
262c30ddc1
Improve error message when DirtiesUrlFactoriesExtension fails
...
See gh-33019
2022-11-05 16:44:53 -07:00
Phillip Webb
34b4ae8e05
Merge branch '2.7.x'
...
Closes gh-33019
2022-11-05 16:36:55 -07:00
Phillip Webb
2ab1f49442
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33018
2022-11-05 16:35:26 -07:00
Phillip Webb
caf46043c6
Add @DirtiesUrlFactories annotation
...
Add `@DirtiesUrlFactories` annotation that can be used to reset URL
factories.
Closes gh-33017
2022-11-05 16:30:27 -07:00
Phillip Webb
fb3c095e35
Merge branch '2.7.x'
...
Closes gh-33016
2022-11-05 16:06:13 -07:00
Phillip Webb
948893f36d
Merge branch '2.6.x' into 2.7.x
...
Closes gh-33015
2022-11-05 16:04:40 -07:00
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
2022-11-05 16:04:19 -07:00
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.
2022-11-05 13:39:45 +00:00
Andy Wilkinson
7e6bc3fdca
Adapt to breaking API change in Spring Integration
...
See gh-33009
2022-11-04 19:40:52 +00:00
Andy Wilkinson
39f6a5d8a8
Start building against Spring Integration 6.0.0-RC2 snapshots
...
See gh-33009
2022-11-04 17:49:39 +00:00
Andy Wilkinson
db8af6e638
Upgrade to Spring Data Bom 2022.0.0-RC2
...
Closes gh-32938
2022-11-04 17:46:50 +00:00
Andy Wilkinson
9472cb2db7
Polish
2022-11-04 17:44:50 +00:00
Andy Wilkinson
443d80ce6e
Polish
...
See gh-32924
2022-11-04 17:23:01 +00:00
Andy Wilkinson
edecebb641
Upgrade to Neo4j Java Driver 5.2.0
...
Closes gh-33008
2022-11-04 17:23:01 +00:00
Andy Wilkinson
3173f3e1ac
Upgrade to Liquibase 4.17.2
...
Closes gh-33007
2022-11-04 16:22:06 +00:00
Andy Wilkinson
56252b72c8
Upgrade to jOOQ 3.17.5
...
Closes gh-33006
2022-11-04 16:22:02 +00:00
Andy Wilkinson
0f0d7e5336
Upgrade to Elasticsearch Client 8.5.0
...
Closes gh-33005
2022-11-04 16:21:59 +00:00
Andy Wilkinson
fe8644cc59
Fail more elegantly when GraalVM version is too old
...
Closes gh-32924
2022-11-04 13:05:22 +00:00
Andy Wilkinson
8f5ec06a55
Upgrade to Spring HATEOAS 2.0.0-RC2
...
Closes gh-33001
2022-11-04 12:12:32 +00:00
Andy Wilkinson
2d5a3eac51
Include AOT-generated classes in native test binary
...
Closes gh-32940
2022-11-04 11:53:33 +00:00
Andy Wilkinson
2b29a10d5b
Merge branch '2.7.x'
...
Closes gh-33000
2022-11-04 10:46:41 +00:00
Andy Wilkinson
06c83e5345
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32999
2022-11-04 10:42:55 +00:00
Andy Wilkinson
d00e004622
Add missing XMLUnit dependency management
...
Closes gh-32998
2022-11-04 10:42:26 +00:00
Scott Frederick
67af4c0a65
Polish documentation
2022-11-03 15:45:09 -05:00
Andy Wilkinson
bc23080cc6
Upgrade to Spring Kafka 3.0.0-RC2
...
Closes gh-32934
2022-11-03 19:03:47 +00:00
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
2022-11-03 17:57:27 +00:00
Scott Frederick
bb684cc0ad
Add support for CNB platform API 0.10
...
Fixes gh-32949
2022-11-03 11:29:02 -05:00
Andy Wilkinson
538f1505f0
Rename Spring Session Bom to Spring Session
...
Closes gh-32952
2022-11-03 15:19:40 +00:00
Andy Wilkinson
17e9b50b7e
Upgrade to Spring Framework 6.0.0-RC3
...
Closes gh-32856
2022-11-03 15:17:58 +00:00
Andy Wilkinson
604aa4d512
Align auto-configured Lettuce metrics with Lettuce's defaults
...
Closes gh-32986
2022-11-03 10:49:24 +00:00
Andy Wilkinson
8e08931411
Merge branch '2.7.x'
...
Closes gh-32990
2022-11-03 10:44:46 +00:00
Andy Wilkinson
394ae76b04
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32989
2022-11-03 10:44:21 +00:00
Andy Wilkinson
fcd3413ba0
Allow histograms to be disabled for Lettuce metrics
...
Closes gh-32985
2022-11-03 10:34:41 +00:00
Andy Wilkinson
9ccc1e8d62
Merge branch '2.7.x'
...
Closes gh-32988
2022-11-03 10:27:42 +00:00
Andy Wilkinson
a3870f8da7
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32987
2022-11-03 10:23:30 +00:00
Andy Wilkinson
beb62be843
Test Boot's Gradle plugin against Gradle 7.6-rc-1
...
Closes gh-32933
2022-11-03 10:22:14 +00:00
Andy Wilkinson
beea06f515
Polish "Handle custom observation name for HTTP reqs in max URI tag filters"
...
See gh-32973
2022-11-02 20:10:16 +00:00
Johnny Lim
89fe895cd6
Handle custom observation name for HTTP reqs in max URI tag filters
...
See gh-32973
2022-11-02 20:09:12 +00:00
Brian Clozel
0acaa0e460
Adapt to observation changes in Framework
...
See spring-projects/spring-framework#29388
2022-11-02 18:39:10 +01:00
Moritz Halbritter
05c5b1225c
Replace Tag to KeyValues adapter code
...
Closes gh-32876
2022-11-02 16:25:37 +01:00
Johnny Lim
7f44572b70
Remove Infinispan's Spring Boot Starter in README
...
See gh-32974
2022-11-02 15:20:16 +00:00
Andy Wilkinson
89af931c29
Update coordinates of jaybird dependency
...
See gh-32954
2022-11-02 14:59:31 +00:00
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
2022-11-02 15:45:39 +01:00
Moritz Halbritter
7aff82009f
Revert "Register no-op tracer bean if tracing is disabled"
...
This reverts commit 2d75a8a9eb
.
2022-11-02 15:45:39 +01:00
Andy Wilkinson
c8679184c1
Remove dependency management for Hazelcast Hibernate 5
...
Closes gh-32953
2022-11-02 11:54:09 +00:00
Andy Wilkinson
6fe341745b
Upgrade to Jaybird 4.0.6.java11
...
Closes gh-32954
2022-11-02 11:38:52 +00:00
Moritz Halbritter
2d75a8a9eb
Register no-op tracer bean if tracing is disabled
...
Closes gh-32907
2022-11-02 08:48:25 +01:00
Andy Wilkinson
b001aeb9ff
Upgrade to Selenium HtmlUnit 4.5.2
...
Closes gh-32966
2022-11-01 20:25:11 +00:00
Andy Wilkinson
261d7f0d97
Upgrade to Selenium 4.5.3
...
Closes gh-32965
2022-11-01 20:25:10 +00:00
Andy Wilkinson
b56026fd75
Upgrade to Maven Shade Plugin 3.4.1
...
Closes gh-32964
2022-11-01 20:25:10 +00:00
Andy Wilkinson
bf2e8b7f7b
Upgrade to Liquibase 4.17.1
...
Closes gh-32963
2022-11-01 20:25:10 +00:00
Andy Wilkinson
c5a4bef0ee
Upgrade to Jedis 4.3.1
...
Closes gh-32962
2022-11-01 20:25:10 +00:00
Andy Wilkinson
f663763f9d
Upgrade to Jackson Bom 2.14.0-rc3
...
Closes gh-32961
2022-11-01 20:25:09 +00:00
Andy Wilkinson
f1db3c779f
Upgrade to Infinispan 14.0.2.Final
...
Closes gh-32960
2022-11-01 20:25:09 +00:00
Andy Wilkinson
323105fe2a
Upgrade to HSQLDB 2.7.1
...
Closes gh-32959
2022-11-01 20:25:08 +00:00
Andy Wilkinson
335a09204e
Upgrade to Hibernate 6.1.5.Final
...
Closes gh-32958
2022-11-01 20:25:08 +00:00
Andy Wilkinson
9e5f20c3b8
Upgrade to Flyway 9.5.1
...
Closes gh-32957
2022-11-01 20:25:08 +00:00
Andy Wilkinson
46fd43a72c
Upgrade to DB2 JDBC 11.5.8.0
...
Closes gh-32956
2022-11-01 20:25:07 +00:00
Andy Wilkinson
bc63ffd1ca
Upgrade to Couchbase Client 3.4.0
...
Closes gh-32955
2022-11-01 20:25:07 +00:00
Scott Frederick
a0d765cab8
Restore invocation of DefaultTestExecutionListenersPostProcessors
...
This commit partially reverts c81ebf63d9
,
so that `DefaultTestExecutionListenersPostProcessor`s are invoked
even though deprecated.
See gh-31793
2022-11-01 13:16:36 -05:00
Andy Wilkinson
519250cacf
Polish Gradle tasks for AOT processing
...
Closes gh-32946
2022-11-01 16:42:26 +00:00
Andy Wilkinson
bd75965ff8
Start building against Spring Kafka 3.0.0-RC2 snapshots
...
See gh-32934
2022-11-01 12:09:39 +00:00
Andy Wilkinson
61c9a1540f
Start building against Spring Batch 5.0.0-RC2 snapshots
...
See gh-32935
2022-11-01 12:09:39 +00:00
Andy Wilkinson
ea0ebe54e3
Start building against Spring Data Bom 2022.0.0 snapshots
...
See gh-32938
2022-11-01 11:48:32 +00:00
Andy Wilkinson
72202ab19a
Start building against Reactor Bom 2022.0.0 snapshots
...
See gh-32939
2022-11-01 11:48:32 +00:00
Andy Wilkinson
11cff48271
Start building against Micrometer Tracing 1.0.0 snapshots
...
See gh-32937
2022-11-01 11:48:32 +00:00
Andy Wilkinson
08154fab46
Start building against Micrometer 1.10.0 snapshots
...
See gh-32936
2022-11-01 10:55:46 +00:00
Andy Wilkinson
b192c29edb
Use AOT's outputs to configure source set's inputs
...
Closes gh-32919
2022-11-01 10:33:17 +00:00
Andy Wilkinson
0103e24bbb
Stop configuring AOT-generated classes as output of AOT source set
...
Closes gh-32940
2022-11-01 10:32:37 +00:00
Andy Wilkinson
2bb9b2640e
Separate classpath of AOT tasks from source sets they populate
...
Closes gh-32930
2022-11-01 10:06:33 +00:00
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
2022-10-31 13:46:47 -07:00
Scott Frederick
c81ebf63d9
Use ApplicationContextFailureProcessor to log report on failure
...
Closes gh-31793
2022-10-31 15:15:49 -05:00
Moritz Halbritter
6a138e1753
Polish
2022-10-31 17:03:16 +01:00
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.
2022-10-31 16:59:15 +01:00
Moritz Halbritter
5e034eab59
Revert "Fix build"
...
This reverts commit ec0d598ba4
.
2022-10-31 16:54:06 +01:00
Moritz Halbritter
dd2bec267c
Revert "Fix build"
...
This reverts commit 50599c5046
.
2022-10-31 16:54:05 +01:00
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.
2022-10-31 16:03:49 +01:00
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.
2022-10-31 13:34:14 +01:00
Moritz Halbritter
5bf088d88b
Add runtime hints for Liquibase migration file
...
Closes gh-32926
2022-10-31 11:29:53 +01:00
Moritz Halbritter
5d1ff17a0a
Add Micrometer Observability documentation
...
Closes gh-32833
Closes gh-32912
2022-10-31 09:47:16 +01:00
Phillip Webb
9856286a2d
Refine actuator httpexhanges naming
...
See gh-32885
2022-10-28 12:50:59 -07:00
Andy Wilkinson
29f7a596fe
Polish
2022-10-28 08:57:00 +01:00
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>
2022-10-27 16:34:42 -07:00
Johnny Lim
8d17d2d443
Handle null span in LazyTracingSpanContextSupplier consistently
...
See gh-32817
2022-10-27 18:02:47 +01:00
Andy Wilkinson
67e4ac4f1e
Remove stale reference to MetricsWebFilter from the docs
...
Closes gh-32909
2022-10-27 16:56:34 +01:00
Moritz Halbritter
40e2d0b8cd
Remove mention of the Infinispan Spring Boot starter
...
The starter is not yet Spring Boot 3 compatible.
Closes gh-32896
2022-10-27 16:48:34 +02:00
Johnny Lim
5067aab552
Polish
...
See gh-32840
2022-10-27 16:33:14 +02:00
Johnny Lim
7dd083ad69
Polish "Remove spring.xml.ignore flag usages"
...
See gh-32846
2022-10-27 16:27:29 +02:00
Andy Wilkinson
1cb149596d
Add json starter so that Elasticsearch uses Jackson mapper by default
...
Closes gh-32906
2022-10-27 14:30:57 +01:00
Andy Wilkinson
b9e176ce1a
Inject Jackson modules rather than retrieving them manually
...
Fixes gh-32863
2022-10-27 13:35:37 +01:00
Moritz Halbritter
65c68ba64e
Reinstate old flyway bean method
...
Closes gh-32849
2022-10-27 10:15:58 +02:00
Moritz Halbritter
cd5d2ad3e8
Revert "Extract Flyway configuration mapping in separate class"
...
This reverts commit cf4117856b
.
2022-10-27 10:08:27 +02:00
Moritz Halbritter
cf4117856b
Extract Flyway configuration mapping in separate class
...
Closes gh-32849
2022-10-27 09:53:29 +02:00
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
2022-10-27 09:33:33 +02:00
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
2022-10-27 09:21:19 +02:00
Scott Frederick
eeac08e50e
Remove references to WebSecurityConfigurerAdapter from javadoc
...
Closes gh-32879
2022-10-26 16:55:10 -05:00
Moritz Halbritter
0985e3d237
Add resource hint for banner.txt
...
Closes gh-32882
2022-10-26 15:59:50 +02:00
Phillip Webb
a59b6cb1f3
Polish
2022-10-25 21:56:53 -07:00
Phillip Webb
0f405c06bf
Merge branch '2.7.x'
2022-10-25 16:40:56 -07:00
Phillip Webb
f44531a7a2
Merge branch '2.6.x' into 2.7.x
2022-10-25 16:02:04 -07:00
Phillip Webb
92b513dc8d
Polish
2022-10-25 16:01:58 -07:00
Phillip Webb
4be3218cb6
Merge branch '2.7.x'
2022-10-25 15:48:26 -07:00
Phillip Webb
c8676a81de
Merge branch '2.6.x' into 2.7.x
2022-10-25 15:48:04 -07:00
Phillip Webb
d7ac20cd6c
Update copyright year of changed files
2022-10-25 15:47:30 -07:00
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
2022-10-25 15:41:57 -07:00
Phillip Webb
159910b0d9
Polish
2022-10-25 14:49:04 -07:00
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>
2022-10-25 14:41:19 -07:00
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
2022-10-25 15:48:05 -05:00
Moritz Halbritter
383d6c897f
Remove reflection for SimpleRequestExpectationManager creation
...
Closes gh-32867
2022-10-25 16:15:51 +02:00
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
2022-10-25 14:02:55 +02:00
Andy Wilkinson
99edda735e
Polish
2022-10-25 12:57:58 +01:00
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
2022-10-25 13:51:43 +02:00
Moritz Halbritter
f2c004f604
Remove reflection in OutputCaptureExtension
...
Closes gh-32870
2022-10-25 11:42:52 +02:00
Moritz Halbritter
512a4c7544
Revert "Register runtime hints for OutputCapture"
...
This reverts commit 35abc3a6dc
.
2022-10-25 11:40:44 +02:00
Moritz Halbritter
35abc3a6dc
Register runtime hints for OutputCapture
...
Closes gh-32870
2022-10-25 11:29:12 +02:00
Andy Wilkinson
f11945b961
Start building against Spring Framework 6.0.0-RC3 snapshots
...
See gh-32856
2022-10-24 12:19:16 +01:00
Andy Wilkinson
b7fb345709
Revert workaround for multiple ImportRuntimeHints
...
Closes gh-32830
2022-10-24 10:20:50 +01:00
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
2022-10-24 10:18:08 +01:00
Moritz Halbritter
605dd3d4bd
Polish docs
2022-10-24 11:01:30 +02:00
Andy Wilkinson
9e6259cd37
Remove development-only dependencies from native image classpath
...
Fixes gh-32843
2022-10-24 09:22:13 +01:00
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
2022-10-21 16:38:52 +01:00
Andy Wilkinson
eebe23a081
Make all AOT-generated resources available to native-compile
...
Fixes gh-32841
2022-10-21 16:38:52 +01:00
Moritz Halbritter
ff6d9aa881
Polish "Add micrometer tracing documentation"
2022-10-21 14:51:19 +02:00
Andy Wilkinson
bed313746b
Correct property names to align with changes in 3.0
...
See gh-32837
2022-10-21 12:23:07 +01:00
Johnny Lim
fc61690675
Add missing @Test to sanitizeLists()
...
See gh-32792
2022-10-21 12:05:44 +01:00
Andy Wilkinson
a606b26920
Merge branch '2.7.x'
...
Closes gh-32837
2022-10-21 11:04:52 +01:00
Andy Wilkinson
032487117b
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32836
2022-10-21 11:04:09 +01:00
Andy Wilkinson
fe51e03019
Support IPv6 addresses in spring.redis.sentinel.nodes
...
Fixes gh-32762
2022-10-21 10:53:54 +01:00
Moritz Halbritter
e999513838
Add micrometer tracing documentation
...
Closes gh-30658
2022-10-21 10:04:40 +02:00
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
2022-10-20 17:12:58 -07:00
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
2022-10-20 17:05:54 -07:00
Phillip Webb
eb1d72e7b7
Merge branch '2.7.x'
2022-10-20 17:05:49 -07:00
Phillip Webb
d8c4aec946
Merge branch '2.6.x' into 2.7.x
2022-10-20 17:04:37 -07:00
Phillip Webb
1a14f39f83
Polish
2022-10-20 17:04:29 -07:00
Phillip Webb
7db93aeb90
Merge branch '2.7.x'
...
Closes gh-32827
2022-10-20 15:20:15 -07:00
Phillip Webb
1c7bff7cc1
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32826
2022-10-20 15:01:00 -07:00
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
2022-10-20 14:51:13 -07:00
Scott Frederick
072ce5c151
Fix versions in documentation links
...
Fixes gh-32772
2022-10-20 14:59:14 -05:00
Scott Frederick
b78b22b6f6
Allow Gradle task property to be set with String or enum value
...
See gh-32769
2022-10-20 13:59:54 -05:00
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
2022-10-20 10:19:57 -07:00
Scott Frederick
bdedae21c0
Polish native image documentation
...
See gh-32582
2022-10-20 11:45:10 -05:00
Stephane Nicoll
010891a3c6
Merge branch '2.7.x'
...
Closes gh-32821
2022-10-20 16:43:25 +02:00
Stephane Nicoll
7bd9754ce1
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32820
2022-10-20 16:43:14 +02:00
James Seung Hyun Son
5e0a67ac66
Fix typos in logging.adoc
...
See gh-32812
2022-10-20 16:41:24 +02:00
Stephane Nicoll
74a8eb7160
Merge branch '2.7.x'
...
Closes gh-32819
2022-10-20 16:40:30 +02:00
Stephane Nicoll
13691f27bd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32818
2022-10-20 16:37:57 +02:00
Stephane Nicoll
4d7cb7144e
Upgrade copyright year of changed files
...
See gh-32644
2022-10-20 16:35:55 +02:00
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
2022-10-20 16:35:18 +02:00
Andy Wilkinson
482eb49391
Support <import> in logback.xml during AOT processing
...
See gh-32756
2022-10-20 14:56:25 +01:00
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
2022-10-20 15:29:31 +02:00
Stephane Nicoll
cda63b541f
Upgrade to Spring Framework 6.0.0-RC2
...
Closes gh-32696
2022-10-20 15:24:51 +02:00
Andy Wilkinson
26e747d2db
Fix package tangle in spring-boot-gradle-plugin
...
Closes gh-32814
2022-10-20 13:12:12 +01:00
Stephane Nicoll
04d6840ff3
Polish "Upgrade to Spring Security 6.0.0-RC1"
...
See gh-32604
2022-10-20 10:50:17 +02:00
Stephane Nicoll
d8ec24b542
Upgrade to Spring Batch 5.0.0-RC1
...
Closes gh-32618
2022-10-20 10:50:17 +02:00
Stephane Nicoll
d39144232f
Upgrade to Spring Session 3.0.0-RC1
...
Closes gh-32606
2022-10-20 10:50:17 +02:00
Moritz Halbritter
1635f61368
Update GraalVM requirement to 22.3
...
See gh-32813
2022-10-20 10:36:42 +02:00
Phillip Webb
73a34b6c0a
Fix checkstyle issues
...
See gh-32582
2022-10-20 00:09:07 -07:00
Sébastien Deleuze
3002779195
Remove LogbackConfigurationAotContribution from native image
...
Remove `LogbackConfigurationAotContribution` from the reachable
code path from a native image POV.
See gh-32793
2022-10-19 23:49:34 -07:00
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>
2022-10-19 23:46:21 -07:00
Phillip Webb
0219b222c2
Merge branch '2.7.x'
2022-10-19 22:03:18 -07:00
Phillip Webb
d3750c4991
Merge branch '2.6.x' into 2.7.x
2022-10-19 22:01:13 -07:00
Phillip Webb
c416c17fe8
Polish documentation title case
2022-10-19 21:53:21 -07:00
Scott Frederick
8acf9afccb
Use String instead of enum for Gradle task Property
...
See gh-32769
2022-10-19 17:23:23 -05:00
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
2022-10-19 22:06:40 +02:00
Stephane Nicoll
1822ce1ef3
Upgrade to Mockito 4.8.1
...
Closes gh-32799
2022-10-19 21:03:31 +02:00
Stephane Nicoll
5cc9527fde
Upgrade to Infinispan 14.0.1.Final
...
Closes gh-32798
2022-10-19 21:03:28 +02:00
Stephane Nicoll
8a9b679c4c
Upgrade to Groovy 4.0.6
...
Closes gh-32797
2022-10-19 21:03:24 +02:00
Stephane Nicoll
973121db5d
Upgrade to Flyway 9.5.0
...
Closes gh-32796
2022-10-19 21:03:21 +02:00
Madhura Bhave
ce3c933f77
Adapt to Spring Security changes
...
Closes gh-32604
2022-10-19 11:46:27 -07:00
Phillip Webb
2e74878ba4
Downgrade to OpenSAML 4.0.1
...
See gh-32604
2022-10-19 11:46:27 -07:00
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
2022-10-19 11:46:27 -07:00
Andy Wilkinson
8621be6bba
Make consistent use of Property for Gradle task configuration
...
Closes gh-32769
2022-10-19 19:08:45 +01:00
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
2022-10-19 19:59:25 +02:00
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
2022-10-19 19:33:31 +02:00
Andy Wilkinson
e6c69061b5
Upgrade to Jackson 2.14.0-rc2
...
Closes gh-32771
2022-10-19 11:47:40 +01:00
Andy Wilkinson
6f787c4b79
Upgrade to Infinispan 13.0.12.Final
...
Closes gh-32788
2022-10-19 11:44:54 +01:00
Andy Wilkinson
3aa835845e
Upgrade to Glassfish JAXB 2.3.7
...
Closes gh-32787
2022-10-19 11:44:51 +01:00
Andy Wilkinson
ba02a64743
Upgrade to Dependency Management Plugin 1.0.15.RELEASE
...
Closes gh-32786
2022-10-19 11:44:48 +01:00
Andy Wilkinson
65bdcdb2a5
Upgrade to Glassfish JAXB 2.3.7
...
Closes gh-32785
2022-10-19 10:44:06 +01:00
Andy Wilkinson
02760ffee4
Upgrade to Dependency Management Plugin 1.0.15.RELEASE
...
Closes gh-32784
2022-10-19 10:44:03 +01:00
Andy Wilkinson
391e2f7a26
Make META-INF/spring/logback-pattern-rules repeatable
...
See gh-32756
2022-10-19 10:04:49 +01:00
Andy Wilkinson
a87aca2744
Merge branch '2.7.x'
...
Closes gh-32782
2022-10-19 10:02:56 +01:00
Andy Wilkinson
a19e394ebb
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32781
2022-10-19 10:00:48 +01:00
Henning Poettker
4ed072a06b
Upgrade MySQL Connector/J and use new Maven identifiers
...
See gh-32747
2022-10-19 09:58:32 +01:00
Stephane Nicoll
b69cf43ec0
Revert "Upgrade to Spring Session 2022.0.0-RC1"
...
This reverts commit e7b3114db7
.
2022-10-19 08:01:29 +02:00
Stephane Nicoll
e7b3114db7
Upgrade to Spring Session 2022.0.0-RC1
...
Closes gh-32606
2022-10-19 07:52:21 +02:00
Phillip Webb
43a44006c9
Update getting started documentation to use @SpringBootApplication
...
Closes gh-32780
2022-10-18 20:45:23 -07:00
Phillip Webb
8dadf86f93
Merge branch '2.7.x'
...
Closes gh-32778
2022-10-18 17:15:03 -07:00
Phillip Webb
fcaac2b343
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32777
2022-10-18 17:14:48 -07:00
Phillip Webb
2c7114fa17
Polish 'Use exclamation character for the document separator prefix'
...
See gh-32521
2022-10-18 17:08:21 -07:00
Guirong Hu
33e379c4a2
Use exclamation character for the document separator prefix
...
See gh-32521
2022-10-18 17:07:51 -07:00
Phillip Webb
07dd388b58
Merge branch '2.7.x'
...
Closes gh-32776
2022-10-18 15:51:27 -07:00
Phillip Webb
8dec296dfd
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32775
2022-10-18 15:49:51 -07:00
Phillip Webb
de111dba5c
Polish 'Add DataSize serializer for configprops endpoint'
...
See gh-32645
2022-10-18 15:46:56 -07:00
Guirong Hu
3b25132e38
Add DataSize serializer for configprops endpoint
...
See gh-32645
2022-10-18 15:46:33 -07:00
Phillip Webb
02cd910f5a
Merge branch '2.7.x'
...
Closes gh-32774
2022-10-18 15:37:42 -07:00
Phillip Webb
fbd416adc6
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32773
2022-10-18 15:37:20 -07:00
Phillip Webb
b02c702ad1
Polish 'Use more specific bean method return types in KafkaAutoConfiguration'
...
See gh-32770
2022-10-18 15:35:37 -07:00
yuanhao18
c498ad0320
Use more specific bean method return types in KafkaAutoConfiguration
...
Update `KafkaAutoConfiguration` so that more specific bean types are
returned.
See gh-32770
2022-10-18 15:33:58 -07:00
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
2022-10-18 16:39:17 -05:00
Andy Wilkinson
9d07a09ed4
Upgrade to Spring Integration 6.0.0-RC1
...
Closes gh-32619
2022-10-18 21:41:32 +01:00
Andy Wilkinson
60112e7d90
Upgrade to Spring WS 4.0.0-RC1
...
Closes gh-32621
2022-10-18 21:40:25 +01:00
Andy Wilkinson
d20f582493
Upgrade to Spring GraphQL 1.0.0-RC1
...
Closes gh-32605
2022-10-18 21:39:33 +01:00
Andy Wilkinson
4a76fbf93c
Support logback.xml in a native image
...
Closes gh-32756
2022-10-18 21:37:28 +01:00
Phillip Webb
cb48674536
Switch Java versions used in documentation
...
See gh-32746
2022-10-18 13:28:29 -07:00
Phillip Webb
7d03a201c0
Switch Java version displayed in documentation
...
Closes gh-32746
2022-10-18 11:48:12 -07:00
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
2022-10-18 11:39:03 -07:00
Andy Wilkinson
7bae02be2d
Adapt to breaking changes to AotProcessor settings
...
See gh-32696
2022-10-18 17:42:00 +01:00
Stephane Nicoll
d53c2b25d0
Upgrade to Spring Retry 2.0.0-RC2
...
Closes gh-32600
2022-10-18 16:28:03 +02:00
Stephane Nicoll
4b778ff4c1
Polish Maven documentation to mention native profile
2022-10-18 15:36:38 +02:00
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
2022-10-18 15:32:23 +02:00
Moritz Halbritter
8cd9f49fad
Add runtime hints for ConfigDataProperties
...
Closes gh-32608
2022-10-18 14:31:39 +02:00
Andy Wilkinson
2dacddb4d7
Make bootBuildImage produce native image when NBT plugin is applied
...
Closes gh-32768
2022-10-18 13:12:45 +01:00
Andy Wilkinson
2c756ea874
Use collectReachabilityMetadata task to add metadata to bootJar
...
Closes gh-32737
2022-10-18 11:25:34 +01:00
Moritz Halbritter
b986a9b12e
Add Flyway native-image support
...
The ResourceProviderCustomizer, which is used by FlywayAutoConfiguration
gets replaced with NativeImageResourceProviderCustomizer when running
in AOT mode. The NativeImageResourceProvider does the heavy lifting when
running in a native image: it uses PathMatchingResourcePatternResolver
to find the migration files.
Closes gh-31999
2022-10-18 12:07:04 +02:00
Andy Wilkinson
3acdf590b7
Upgrade to Dependency Management Plugin 1.1.0
...
Closes gh-32760
2022-10-18 10:06:06 +01:00
Andy Wilkinson
93436f29dd
Correct assertion in test for member with private constructor
...
See gh-32639
2022-10-18 10:05:09 +01:00
Phillip Webb
a34b1d3c6e
Don't detect private constructors on member classes for binding
...
Refine constructor binding detection logic so that `private`
constructors on member classes are no longer automatically picked for
constructor binding. This provides users a way of signalling that
they wish to use the constructor directly.
Closes gh-32639
2022-10-18 00:59:46 -07:00
Phillip Webb
754f39e6ef
Polish
2022-10-18 00:59:45 -07:00
Phillip Webb
e3df6c5b6f
Move @ConstructorBinding annotation and support add default support
...
Relocate `@ConstructorBinding` from the `boot.context.properties`
package to `boot.context.properties.bind` and update the
`DefaultBindConstructorProvider` to support it.
Closes gh-32660
2022-10-18 00:59:45 -07:00
Moritz Halbritter
db248b80bb
Add info log message if AOT mode is enabled
...
Closes gh-32396
2022-10-18 09:40:05 +02:00
Moritz Halbritter
99765e785f
Revert "Add info log message if AOT mode is enabled"
...
This reverts commit 6cb7fb5897
.
2022-10-18 09:05:57 +02:00
Phillip Webb
c16c6bc3b5
Fix reachability argfile format
...
Update the argfile to a format that actually works when
passed to the `native-image` command.
See gh-32738
2022-10-17 18:59:50 -07:00
Phillip Webb
a8e701cee2
Provide maven configuration for add-reachability-metadata goal
...
Update `spring-boot-starter-parent` to execute the native build tools
`add-reachability-metadata` goal when the 'native' profile is active.
Closes gh-32736
2022-10-17 14:31:38 -07:00
Phillip Webb
8358a0e3f3
Fix reachability-metadata.properties location
...
Update tools to use the correct `reachability-metadata.properties`
location which should include the version number.
See gh-32738
2022-10-17 14:31:38 -07:00
Phillip Webb
9aa2854e00
Remove the execution of NBT in the native maven profile
...
Update `spring-boot-starter-parent` to remove the `native-compile`
execution.
Closes gh-31770
2022-10-17 14:31:38 -07:00
Brian Clozel
5cee828546
Fix javadoc warnings in HTTP Observation support
2022-10-17 23:06:30 +02:00
Brian Clozel
cbca457eff
Adapt to HTTP Observation changes in Framework
...
This commit adapts to the renames/package changes in the HTTP
Observation support in Spring Framework.
See spring-projects/spring-framework#29334
2022-10-17 22:46:06 +02:00
Andy Wilkinson
99f0a5e01d
Upgrade to Spring Security 5.7.4
...
Closes gh-32597
2022-10-17 20:45:40 +01:00
Andy Wilkinson
a92388cbee
Upgrade to Spring Security 5.6.8
...
Closes gh-32590
2022-10-17 20:43:40 +01:00
Andy Wilkinson
bdb4f24300
Upgrade to Spring Kafka 2.8.10
...
Closes gh-32596
2022-10-17 19:44:24 +01:00
Andy Wilkinson
a16e3e6688
Upgrade to Spring Kafka 2.8.10
...
Closes gh-32589
2022-10-17 19:42:27 +01:00
Andy Wilkinson
68ea7299f6
Upgrade to Spring Kafka 3.0.0-RC1
...
Closes gh-32603
2022-10-17 19:40:22 +01:00
Andy Wilkinson
5fbcdfc393
Upgrade to Spring AMQP 3.0.0-RC1
...
Closes gh-32602
2022-10-17 18:17:40 +01:00
Andy Wilkinson
3082b0c5bf
Add a section on AOT to the Gradle plugin's docs
...
Closes gh-32750
2022-10-17 18:15:34 +01:00
Andy Wilkinson
3d5c864bc9
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32758
2022-10-17 17:11:59 +01:00
Andy Wilkinson
dade5ec3aa
Test against Gradle 6.9.3
...
Closes gh-32757
2022-10-17 17:11:37 +01:00
Moritz Halbritter
6cb7fb5897
Add info log message if AOT mode is enabled
...
Closes gh-32396
2022-10-17 15:29:38 +02:00
Andy Wilkinson
4700a00d94
Auto-configure CompositeSpanHandler with Brave
...
Closes gh-32753
2022-10-17 13:58:48 +01:00
Andy Wilkinson
ff16f6d6c6
Work around configuration cache problem in NBT Gradle Plugin
...
See gh-32752
See graalvm/native-build-tools#338
2022-10-17 13:58:07 +01:00
Andy Wilkinson
db2641d20f
Upgrade to Spring LDAP 3.0.0-RC1
...
Closes gh-32624
2022-10-17 10:55:11 +01:00
Andy Wilkinson
8fdd12ffeb
Upgrade to Spring REST Docs 3.0.0-RC1
...
Closes gh-32623
2022-10-17 10:53:50 +01:00
Phillip Webb
76ef540716
Merge branch '2.7.x'
2022-10-15 14:19:18 -07:00
Phillip Webb
0f4a978731
Merge branch '2.6.x' into 2.7.x
2022-10-15 14:19:06 -07:00
Phillip Webb
6641a98913
Improve the phrasing around property source ordering
2022-10-15 14:18:49 -07:00
Phillip Webb
071649360b
Generate 'META-INF/native-image/argfile' file for buildpack use
...
Update the Maven and Gradle plugin to generate an `argfile` file
file under `META-INF/native-image` that contains `--exclude-config`
arguments that should be passed when generating a native image.
The contents of the file is generated for each nested jar that has a
`reachability-metadata.properties` file containing 'override=true'.
The `reachability-metadata.properties` file is expected to be generated
by the Graal native build tools plugin.
Closes gh-32738
2022-10-14 15:23:06 -07:00
Phillip Webb
430c6b7e9f
Downgrade to SLF4J 1.7 for spring-boot-gradle-plugin tests
...
The downgrade is required for tests to run in Eclipse.
Closes gh-32626
2022-10-14 11:58:16 -07:00
Phillip Webb
029aab6b58
Document Log4j2 extensions
...
See gh-32578
2022-10-14 10:14:43 -07:00
Phillip Webb
cec090c32e
Polish 'Resolve URLs using Log4J2 mechanisms'
...
See gh-32735
2022-10-14 10:13:33 -07:00
Ralph Goers
5286785127
Resolve URLs using Log4j2 mechanisms
...
Update `Log4J2LoggingSystem` to that non file URLs are resolved using
Log4j2's `UrlConnectionFactory` mechanism rather than directly.
See gh-32735
2022-10-14 10:13:30 -07:00
Phillip Webb
5a7964af2b
Polish 'Support profile specific Log4j2 configuration'
...
See gh-32734
2022-10-14 10:12:31 -07:00
Ralph Goers
27ed30fdbf
Support profile specific Log4j2 configuration
...
Add a `SpringProfileArbiter` Log4j2 plugin which allows Log4j2
configuration to be included or skipped based on the active Spring
`Environment` profiles.
See gh-32734
2022-10-14 10:12:27 -07:00
Phillip Webb
ed424d3adb
Polish 'Add Log4J2 PropertySource backed by the Spring Environment'
...
See gh-32733
2022-10-14 10:11:25 -07:00
Ralph Goers
4f8a9441c2
Add Log4J2 PropertySource backed by the Spring Environment
...
Register a new `PropertySource` when initializing Log4j2 so that
properties may be resolved against Spring's Environment.
See gh-32733
2022-10-14 10:11:21 -07:00
Phillip Webb
71f5857363
Polish 'Support Log4J2 string lookups from the Spring Environment'
...
See gh-32732
2022-10-14 10:10:23 -07:00
Ralph Goers
5228b99b22
Support Log4J2 string lookups from the Spring Environment
...
Add a Log4j2 `SpringLookup` plugin which can be used to resolve strings
from the Spring Environment.
See gh-32732
2022-10-14 10:10:17 -07:00
Phillip Webb
d665441ca9
Polish 'Add Spring Environment to LoggerContext'
...
See gh-32731
2022-10-14 10:09:02 -07:00
Ralph Goers
05a2bd4585
Add Spring Environment to LoggerContext
...
Update `Log4J2LoggingSystem` to add the Spring `Environment` to Log4j2's
`LoggerContext`. This allow Log4j2 plugins to access the `Environment`
if they need it.
See gh-32731
2022-10-14 10:08:48 -07:00
Phillip Webb
a08a6378f0
Polish 'Support 'log4j.configurationFile' system property'
...
See gh-32730
2022-10-14 10:06:01 -07:00
Ralph Goers
64eb36b7a1
Support 'log4j.configurationFile' system property
...
Update `Log4J2LoggingSystem.getStandardConfigLocations()` so that
any configured 'log4j.configurationFile' system property is also
included as a location.
See gh-32730
2022-10-14 10:05:44 -07:00
Stephane Nicoll
0ae448eae6
Upgrade to Spring Retry 2.0.0-RC1
...
Closes gh-32600
2022-10-14 10:29:20 +02:00
Stephane Nicoll
040c78062e
Upgrade to Spring Retry 1.3.4
...
Closes gh-32594
2022-10-14 10:28:30 +02:00
Stephane Nicoll
c858c1e998
Upgrade to Spring Retry 1.3.4
...
Closes gh-32593
2022-10-14 10:23:47 +02:00
Andy Wilkinson
1900dc7566
Upgrade to Jackson Bom 2.13.4.20221013
...
Closes gh-32725
2022-10-13 21:34:34 +01:00
Andy Wilkinson
9fd3d78bae
Upgrade to Jackson Bom 2.13.4.20221013
...
Closes gh-32724
2022-10-13 21:18:15 +01:00
Scott Frederick
3ea18f07fa
Polish "Use NBT plugin version from gradle.properties in image tests"
...
See gh-32643
2022-10-13 15:05:06 -05:00
Scott Frederick
fc93e6bf8b
Adapt to changes in Spring Framework snapshots
...
See gh-32696
2022-10-13 15:04:05 -05:00
Andy Wilkinson
936cb41c6e
Upgrade to Jetty Reactive HTTPClient 1.1.13
...
Closes gh-32723
2022-10-13 20:10:11 +01:00
Andy Wilkinson
0411ebeeaf
Upgrade to Jackson Bom 2.13.4.20221013
...
Closes gh-32722
2022-10-13 20:10:07 +01:00
Andy Wilkinson
3a34916bde
Remove dependency management for slf4j-jcl
...
The module was removing in SLF4J 2.0
See gh-12649
2022-10-13 18:09:46 +01:00
Andy Wilkinson
653309cd5d
Upgrade to Undertow 2.2.20.Final
...
Closes gh-32720
2022-10-13 17:20:02 +01:00
Andy Wilkinson
93a51d0f79
Upgrade to Thymeleaf Extras SpringSecurity 3.1.0.RC1
...
Closes gh-32718
2022-10-13 17:20:01 +01:00
Andy Wilkinson
2084b41cd3
Upgrade to SLF4J 2.0.3
...
Closes gh-32717
2022-10-13 17:20:01 +01:00
Andy Wilkinson
809a3b73ba
Upgrade to Selenium HtmlUnit 4.5.0
...
Closes gh-32716
2022-10-13 17:20:01 +01:00
Andy Wilkinson
bca00bf0e8
Upgrade to Selenium 4.5.0
...
Closes gh-32715
2022-10-13 17:20:00 +01:00
Andy Wilkinson
a6338f8e20
Upgrade to Rabbit Stream Client 0.8.0
...
Closes gh-32714
2022-10-13 17:15:22 +01:00
Andy Wilkinson
23028ebc36
Upgrade to OpenTelemetry 1.19.0
...
Closes gh-32713
2022-10-13 17:15:19 +01:00
Andy Wilkinson
7e80f6268e
Upgrade to Netty 4.1.84.Final
...
Closes gh-32712
2022-10-13 17:15:16 +01:00
Andy Wilkinson
29cb323762
Upgrade to Neo4j Java Driver 5.1.0
...
Closes gh-32711
2022-10-13 17:15:13 +01:00
Andy Wilkinson
dd39e09a51
Upgrade to Logback 1.4.4
...
Closes gh-32710
2022-10-13 17:15:10 +01:00
Andy Wilkinson
df02ec88f5
Upgrade to Liquibase 4.17.0
...
Closes gh-32709
2022-10-13 17:15:07 +01:00
Andy Wilkinson
ef97e5e803
Upgrade to Jetty Reactive HTTPClient 3.0.7
...
Closes gh-32707
2022-10-13 17:15:02 +01:00
Andy Wilkinson
37c4cfbe34
Upgrade to HtmlUnit 2.65.1
...
Closes gh-32706
2022-10-13 17:14:59 +01:00
Andy Wilkinson
9247de804b
Upgrade to Hazelcast 5.1.4
...
Closes gh-32705
2022-10-13 17:14:56 +01:00
Andy Wilkinson
3a1e3b35d5
Upgrade to Flyway 9.4.0
...
Closes gh-32704
2022-10-13 17:14:53 +01:00
Andy Wilkinson
9a398549e9
Upgrade to Ehcache3 3.10.2
...
Closes gh-32703
2022-10-13 17:14:51 +01:00
Andy Wilkinson
d1d9750f23
Upgrade to Byte Buddy 1.12.18
...
Closes gh-32702
2022-10-13 17:14:48 +01:00
Andy Wilkinson
9161afff3c
Upgrade to Artemis 2.26.0
...
Closes gh-32701
2022-10-13 17:14:45 +01:00
Andy Wilkinson
5544023e33
Upgrade to Spring Data 2022.0.0-RC1
...
Closes gh-32601
2022-10-13 17:08:16 +01:00
Andy Wilkinson
5b37dd1c66
Upgrade to Thymeleaf 3.1.0.RC1
...
Closes gh-32628
2022-10-13 15:54:24 +01:00
Andy Wilkinson
654c3353d5
Upgrade to Netty 4.1.84.Final
...
Closes gh-32700
2022-10-13 15:44:57 +01:00
Andy Wilkinson
09d7bede29
Upgrade to Jetty Reactive HTTPClient 1.1.13
...
Closes gh-32699
2022-10-13 15:44:54 +01:00
Andy Wilkinson
b9148ede2f
Upgrade to Hazelcast 5.1.4
...
Closes gh-32698
2022-10-13 15:44:51 +01:00
Andy Wilkinson
7470342dda
Upgrade to Byte Buddy 1.12.18
...
Closes gh-32697
2022-10-13 15:44:49 +01:00
Andy Wilkinson
4474af6265
Upgrade to Spring Data 2021.2.5
...
Closes gh-32595
2022-10-13 15:42:16 +01:00
Andy Wilkinson
567146954d
Upgrade to Reactor 2020.0.24
...
Closes gh-32592
2022-10-13 15:41:36 +01:00
Andy Wilkinson
0031759d65
Starting building against Spring Framework 6.0.0-RC2 snapshots
...
See gh-32696
2022-10-13 14:38:43 +01:00
Andy Wilkinson
eaf0523656
Upgrade to Spring Data 2021.1.9
...
Closes gh-32588
2022-10-13 14:32:37 +01:00
Andy Wilkinson
5329eac5e4
Upgrade to Reactor 2020.0.24
...
Closes gh-32587
2022-10-13 14:31:47 +01:00
Andy Wilkinson
3244a4a59b
Upgrade to Netty 4.1.84.Final
...
Closes gh-32695
2022-10-13 14:30:51 +01:00
Andy Wilkinson
d593d194de
Polish "Add auto-configuration for Exemplars"
...
See gh-32415
2022-10-13 13:23:48 +01:00
Jonatan Ivanov
c5b2bc3dc7
Add auto-configuration for Exemplars
...
See gh-32415
2022-10-13 12:54:06 +01:00
Andy Wilkinson
81ee173877
Polish
...
See gh-32399
2022-10-13 12:51:25 +01:00
Andy Wilkinson
c9b929bd89
Starting building against Spring Data 2021.2.5 snapshots
...
See gh-32595
2022-10-13 12:39:12 +01:00
Andy Wilkinson
78bf7b640c
Start building against Spring Data 2021.1.9 snapshots
...
See gh-32588
2022-10-13 12:37:39 +01:00
Andy Wilkinson
1af21fe33f
Polish "Use TracingAwareMeterObservationHandler if tracing is configured"
...
See gh-32399
2022-10-13 12:09:43 +01:00
Jonatan Ivanov
415b9025c8
Use TracingAwareMeterObservationHandler if tracing is configured
...
See gh-32399
2022-10-13 12:09:43 +01:00
Scott Frederick
a15c5e2498
Merge branch '2.7.x'
2022-10-12 13:47:26 -05:00
Scott Frederick
6c1103cde0
Support PEM formatted elliptic-curve TLS keys
...
Apply the changes from e0c79ce598
to the `PrivateKeyParser` used for web server SSL configuration.
See gh-32646
2022-10-12 13:25:58 -05:00
Bertolt Meier
647a2905c8
Add checkstyle rule for List.of() / Set.of() / Map.of()
...
This commits adds a checkstyle rule to not use List.of(), Set.of()
and Map.of(), preferring Collections.emptyList(), emptySet(), and
emptyMap() respectively.
It replaces usages of these methods across the codebase.
See gh-32655
2022-10-12 18:15:48 +01:00
Johnny Lim
1032f8cc94
Polish Micrometer tracing changes
...
See gh-32627
2022-10-12 18:05:41 +01:00
Andy Wilkinson
e4544c1785
Use new constructor to configure W3CPropagation without baggage
...
Closes gh-32524
2022-10-12 17:19:45 +01:00
Andy Wilkinson
a816851582
Upgrade to Spring HATEOAS 2.0.0-RC1
...
Closes gh-32652
2022-10-12 17:17:39 +01:00
Andy Wilkinson
7852c45a77
Generate reflection hints for loggers endpoint's responses
...
Some of the types that are returned are hidden behind a
Map<String, Object> so the operation annotations already been marked
as reflective isn't sufficient.
This commit uses `@RegisterReflectionForBinding` to register the
types that are used as (nested) values in the response maps.
Closes gh-32486
2022-10-12 15:56:22 +01:00
Andy Wilkinson
180d0edbca
Decouple AutoTimeProperties from Micrometer Core
...
Closes gh-32676
2022-10-12 14:40:42 +01:00
Andy Wilkinson
7e9e64a2ea
Revert "Merge pull request #32399 from jonatan-ivanov"
...
This reverts commit ad40ef3398
, reversing
changes made to 6eb32647f5
.
2022-10-12 14:36:08 +01:00
Jonatan Ivanov
a0ceb2c3ff
Use TracingAwareMeterObservationHandler if tracing is configured
...
See gh-32399
2022-10-12 13:57:39 +01:00
Jonatan Ivanov
fff4aaaac1
Fix Observation lifecycle issues in ObservationAutoConfigurationTests
...
See gh-32662
2022-10-12 13:31:21 +01:00
Sébastien Deleuze
5b17cacb1f
Remove spring.xml.ignore flag usages
...
This commit is a follow-up of spring-projects/spring-framework#29277 .
See gh-32653
2022-10-12 13:27:29 +01:00
Stephane Nicoll
8013c5f182
Upgrade to MongoDB 4.8.0-beta0
...
Closes gh-32684
2022-10-12 14:06:59 +02:00
Emil
ea654b42fa
Fix typo "Elastixsearch"
...
See gh-32656
2022-10-12 12:35:23 +01:00
Andy Wilkinson
78dccb2772
Upgrade to Reactor 2022.0.0-RC1
...
Closes gh-32599
2022-10-12 12:28:34 +01:00
Andy Wilkinson
4c2c04ca95
Upgrade to Spring Framework 6.0.0-RC1
...
Closes gh-32550
2022-10-12 12:26:22 +01:00
Andy Wilkinson
3ab4606584
Make runScripts method of DB initializer more extensible
...
Closes gh-29137
2022-10-12 11:52:38 +01:00
Andy Wilkinson
403803837a
Adapt to changes in REST Docs for documenting query parameters
...
See gh-32623
2022-10-12 11:30:57 +01:00
Phillip Webb
7e8ed075c0
Merge branch '2.7.x'
...
Closes gh-32682
2022-10-11 23:21:52 -07:00
Phillip Webb
ed01a77a99
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32681
2022-10-11 23:19:34 -07:00
Phillip Webb
e0c79ce598
Support PEM formatted elliptic-curve TLS keys
...
Update `PrivateKeyParser` to support loading PEM formatted
elliptic-curve keys. We need to do a similar trick to the PKCS1 keys
and convert them to a `PKCS8EncodedKeySpec`.
Fixes gh-32646
2022-10-11 23:18:44 -07:00
Andy Wilkinson
4dfd770406
Ensure that metrics and observation properties are enabled
...
Closes gh-32676
2022-10-11 20:30:40 +01:00
Andy Wilkinson
3ca5c7ff5b
Create AOT source sets as soon as the Java plugin is applied
...
Previously, the AOT source sets were not created until both the
Java and Spring Boot plugins had been applied. This could create
ordering problems when the Spring Boot plugin's native image plugin
action tried to access the AOT source sets to configure the
classpaths of the nativeCompile and nativeTest tasks. If the
plugins were applied in a particular order the AOT source sets
would not exist and a failure would occur.
This commit updates the Spring Boot AOT plugin to create the source
sets as soon as the Java plugin has been applied. This ensure that
they're in place when reacting to the native image plugin being
applied.
Closes gh-32661
2022-10-11 19:58:03 +01:00
Andy Wilkinson
808e0be552
Merge branch '2.7.x'
...
Closes gh-32679
2022-10-11 19:16:08 +01:00
Andy Wilkinson
1b604e30f7
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32678
2022-10-11 19:15:33 +01:00
Andy Wilkinson
215eb96355
Improve error handling in SpringBootPlugin
...
Closes gh-32677
2022-10-11 19:15:23 +01:00
Stephane Nicoll
579a858361
Upgrade to Lettuce 6.2.1.RELEASE
...
Closes gh-32674
2022-10-11 12:42:17 +02:00
Stephane Nicoll
aee3ab75b1
Upgrade to Jedis 4.3.0
...
Closes gh-32673
2022-10-11 12:42:17 +02:00
Stephane Nicoll
df364987df
Upgrade to Hibernate 6.1.4.Final
...
Closes gh-32672
2022-10-11 12:42:17 +02:00
Stephane Nicoll
cbf24bd1cd
Upgrade to Elasticsearch Client 8.4.3
...
Closes gh-32671
2022-10-11 12:42:17 +02:00
Stephane Nicoll
2c5be354be
Upgrade to Cassandra Driver 4.15.0
...
Closes gh-32670
2022-10-11 11:11:23 +02:00
Stephane Nicoll
907396021f
Upgrade to Lettuce 6.1.10.RELEASE
...
Closes gh-32669
2022-10-11 11:06:30 +02:00
Stephane Nicoll
0c703c5317
Upgrade to Micrometer Tracing 1.0.0-RC1
...
Closes gh-32616
2022-10-11 08:39:16 +02:00
Stephane Nicoll
5dc0af7b0e
Upgrade to Micrometer 1.10.0-RC1
...
Closes gh-32598
2022-10-11 08:38:57 +02:00
Stephane Nicoll
5b6a5873a5
Upgrade to Micrometer 1.9.5
...
Closes gh-32591
2022-10-11 06:15:51 +02:00
Stephane Nicoll
8a231e52b3
Upgrade to Undertow 2.2.20.Final
...
Closes gh-32668
2022-10-11 06:15:36 +02:00
Stephane Nicoll
1207d55f34
Upgrade to Lettuce 6.1.10.RELEASE
...
Closes gh-32666
2022-10-11 06:15:31 +02:00
Stephane Nicoll
858a48d979
Upgrade to Hibernate 5.6.12.Final
...
Closes gh-32665
2022-10-11 06:15:29 +02:00
Stephane Nicoll
483d62fa40
Upgrade to Embedded Mongo 3.4.11
...
Closes gh-32664
2022-10-11 06:15:27 +02:00
Stephane Nicoll
7e0de51cd2
Upgrade to Ehcache3 3.10.2
...
Closes gh-32663
2022-10-11 06:15:24 +02:00
Stephane Nicoll
f49d1704f2
Upgrade to Micrometer 1.8.11
...
Closes gh-32586
2022-10-11 06:13:04 +02:00
Stephane Nicoll
645595c19e
Start building against Spring HATEOAS 2.0.0-RC1 snapshots
...
See gh-32652
2022-10-11 06:03:00 +02:00
Andy Wilkinson
d351086a06
Adapt to breaking changes to AOT processing entry points
...
See gh-32550
2022-10-10 22:02:25 +01:00
Brian Clozel
d870474fcd
Remove spring.webflux.multipart.streaming property
...
As of spring-projects/spring-framework#29293 , the streaming mode on the
`DefaultPartHttpMessageReader` is deprecated as hard limitations have
been found with the design and won't be fixed. Instead, developers
should use the `PartEvent` API and the `PartEventHttpMessageReader`
(which is configured by default with the codecs).
This commit removes the `spring.webflux.multipart.streaming` property
and applies all `spring.webflux.multipart.*` properties that are
applicable to `PartEventHttpMessageReader`.
Closes gh-32658
2022-10-10 14:59:34 +02:00
Stephane Nicoll
ac9b869cfd
Upgrade to Undertow 2.2.20.Final
...
Closes gh-32651
2022-10-10 09:33:24 +02:00
Stephane Nicoll
19c3078623
Upgrade to Hibernate 5.6.12.Final
...
Closes gh-32649
2022-10-10 09:33:19 +02:00
Stephane Nicoll
1efbfdb3d3
Upgrade to Ehcache3 3.9.10
...
Closes gh-32648
2022-10-10 09:33:16 +02:00
Madhura Bhave
263433cd81
Populate base for embedded LDAPContextSource
...
Fixes gh-23030
2022-10-07 13:20:45 -07:00
Andy Wilkinson
3eb3d79104
Log condition evaluation report during AOT processing
...
Closes gh-32109
2022-10-07 18:08:18 +01:00
Andy Wilkinson
8e35f2ae92
Separate report logging from context initialization and events
...
See gh-32109
2022-10-07 18:08:18 +01:00
Johnny Lim
73fd760137
Polish HTTP client observability changes
...
See gh-32484
See gh-32518
Closes gh-32636
2022-10-07 19:05:14 +02:00
Brian Clozel
23a9818e0d
Auto-configure ProblemDetails support
...
This commit auto-configures ProblemDetails support for both Spring MVC
and Spring WebFlux, contributing a `@ControllerAdvice` annotated
`ResponseEntityExceptionHandler` bean if the
`spring.mvc.problemdetails.enabled` or
`spring.webflux.problemdetails.enabled` properties are set to `true`.
Closes gh-32634
2022-10-07 17:23:12 +02:00
Vedran Pavic
e0a7bd8143
Fix deprecation warnings in Spring Session auto-configuration
...
This commit updates Spring Session auto-configuration to avoid usage of
deprecated methods, and moves to newly introduced Duration based
defaultMaxInactiveInterval setters across all session repository
implementations.
Additionally, this fixes several tests that are broken due to session
repository implementations now using Duration type for their
defaultMaxInactiveInterval fields.
See gh-32633
2022-10-07 15:38:46 +01:00
Marcin Grzejszczak
dfd148fb76
Make auto-configured Brave Tracer more compliant with OTel tracer
...
By default we will not support joined spans and the trace ID will
be 128-bit.
See gh-32615
2022-10-07 11:14:46 +01:00
Brian Clozel
da7128ce7e
Upgrade to Thymeleaf 3.1.0-M3
...
See gh-32628
2022-10-07 11:42:01 +02:00
Brian Clozel
0f3b94592b
Temporarily suppress warnings on R2DBC deprecation
...
See gh-32601
See spring-projects/spring-data-relational#1350
2022-10-07 11:41:16 +02:00
Stephane Nicoll
627725b10f
Start building against Spring Security 5.7.4 snapshots
...
See gh-32597
2022-10-07 09:48:08 +02:00
Stephane Nicoll
1de704b864
Start building against Spring Kafka 2.9.2 snapshots
...
See gh-32596
2022-10-07 09:47:40 +02:00
Stephane Nicoll
4803f289fe
Start building against Spring Data 2021.2.4 snapshots
...
See gh-32595
2022-10-07 09:47:12 +02:00
Stephane Nicoll
1db0e998a6
Start building against Spring Retry 1.3.4 snapshots
...
See gh-32594
2022-10-07 09:46:49 +02:00
Stephane Nicoll
edd907eb9d
Start building against Micrometer 1.9.5 snapshots
...
See gh-32591
2022-10-07 09:46:22 +02:00
Stephane Nicoll
593f2ca7fe
Start building against Reactor 2020.0.24 snapshots
...
See gh-32592
2022-10-07 09:45:47 +02:00
Stephane Nicoll
86176e8f4b
Start building against Spring Security 5.6.8 snapshots
...
See gh-32590
2022-10-07 09:06:37 +02:00
Stephane Nicoll
525b724adc
Start building against Spring Kafka 2.8.10 snapshots
...
See gh-32589
2022-10-07 09:06:37 +02:00
Stephane Nicoll
2b2f23ef9c
Start building against Spring Data 2021.1.8 snapshots
...
See gh-32588
2022-10-07 09:06:37 +02:00
Stephane Nicoll
9b002e1c05
Start building against Spring Retry 1.3.4 snapshots
...
See gh-32593
2022-10-07 09:06:37 +02:00
Stephane Nicoll
556543043e
Start building against Micrometer 1.8.11 snapshots
...
See gh-32586
2022-10-07 09:04:34 +02:00
Stephane Nicoll
8d2af7ea93
Start building against Reactor 2020.0.24 snapshots
...
See gh-32587
2022-10-07 09:04:08 +02:00
Andy Wilkinson
67b52e12da
Upgrade to Kafka 3.3.1
...
Closes gh-32574
2022-10-06 22:08:55 +01:00
Andy Wilkinson
f1a7e84866
Polish "Use Brave's bom instead of only managing a single Zipkin dependency"
...
See gh-32614
2022-10-06 21:58:25 +01:00
Marcin Grzejszczak
f586d0f7bb
Use Brave's bom instead of only managing a single Zipkin dependency
...
See gh-32614
2022-10-06 21:57:38 +01:00
Andy Wilkinson
48e606fcfe
Start building against Spring LDAP 3.0.0-RC1 snapshots
...
See gh-32624
2022-10-06 21:39:31 +01:00
Andy Wilkinson
02183d82f6
Start building against Spring WS 4.0.0-RC1 snapshots
...
See gh-32621
2022-10-06 21:28:17 +01:00
Andy Wilkinson
978e939b3d
Start building against Spring RESTDocs 3.0.0-RC1 snapshots
...
See gh-32623
2022-10-06 21:26:25 +01:00
Andy Wilkinson
f0009411c4
Start building against Spring Retry 2.0.0-RC1 snapshots
...
See gh-32600
2022-10-06 21:25:22 +01:00
Andy Wilkinson
7e47d3bbd6
Polish "Rework Spring Session auto-configuration to use customizers"
...
See gh-32554
2022-10-06 20:59:59 +01:00
Vedran Pavic
ad8753923a
Rework Spring Session auto-configuration to use customizers
...
This commit reworks Spring Session auto-configuration to avoid
extending Spring Session's configuration classes. Instead, those
configuration classes are now imported and customizations are
applied using dedicated (Reactive)SessionRepositoryCustomizer beans.
See gh-32554
2022-10-06 20:59:13 +01:00
Andy Wilkinson
a9c1b4a7c3
Start building against Spring Session 2022.0.0-RC1 snapshots
...
See gh-32606
2022-10-06 20:20:48 +01:00
Andy Wilkinson
0e23fbe30b
Use Neo4j 4.4.11 for integration testing
...
See gh-32620
2022-10-06 19:53:46 +01:00
Brian Clozel
d25fc73dae
Upgrade to Neo4J Java Driver 5.0.0
...
Closes gh-32620
2022-10-06 19:46:31 +02:00
Brian Clozel
7e52607bab
Switch to Spring AMQP 3.0.0-SNAPSHOT
...
See gh-32602
2022-10-06 16:26:05 +02:00
Brian Clozel
fc82f0c0ab
Switch to Spring Kafka 3.0.0-SNAPSHOT
...
See gh-32603
2022-10-06 16:25:07 +02:00
Brian Clozel
9472cbe2b7
Switch to Spring Data 2022.0.0-SNAPSHOT
...
See gh-32601
2022-10-06 16:24:07 +02:00
Brian Clozel
219ed47d1e
Switch to Spring Integration 6.0.0-SNAPSHOT
...
See gh-32619
2022-10-06 16:22:59 +02:00
Brian Clozel
18ecb84004
Switch to Reactor 2020.0.0-SNAPSHOT
...
See gh-32599
2022-10-06 16:11:27 +02:00
Brian Clozel
c8c73b195d
Switch to Spring Batch 5.0.0-SNAPSHOT
...
See gh-32618
2022-10-06 16:11:26 +02:00
Brian Clozel
6ff31fe231
Switch to Spring for GraphQL 1.1.0-SNAPSHOT
...
See gh-32605
2022-10-06 15:18:32 +02:00
Brian Clozel
a681a93443
Micrometer Tracing 1.0.0-SNAPSHOT
...
See gh-32616
2022-10-06 15:18:32 +02:00
Brian Clozel
3e6ad67f16
Switch to Micrometer 1.10.0-SNAPSHOT
...
See gh-32598
2022-10-06 15:18:32 +02:00
Andy Wilkinson
f2f4a4a40e
Space out smart lifecycle phases used for graceful shutdown
...
Previously, the web server was stopped in the last smart lifecycle
phase with graceful shutdown having begun in the previous phase.
This lack of space between the two phases and after the stop phase
made it hard to for other smart lifecycles to be part of the
graceful shutdown process.
This commit moves stop to 1024 phases before the final phase and
graceful shutdown a further 1024 phases before that, allowing
other smart lifecycles to run between graceful shutdown and stop
and also after stop.
Closes gh-31714
2022-10-06 13:11:29 +01:00
Andy Wilkinson
68e4aa232b
Prevent duplicate registration of TestRestTemplate after AOT processing
...
Closes gh-32542
2022-10-06 12:56:38 +01:00
Andy Wilkinson
188cac6540
Protect against null run process customizer
...
See 0ee277b8c3
See gh-32607
2022-10-06 11:55:41 +01:00
Johnny Lim
64132afba4
Add Javadoc since for UseMainMethod
...
See gh-32568
2022-10-06 11:27:05 +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
Brian Clozel
3ac034e18a
Fail when setReadTimeout on httpclient5 request factory
...
Prior to this commit, the `RestTemplateBuilder` would offer a generic
`setReadTimeout` method to configure the read timeout on the underlying
`ClientHttpRequestFactory`. This would be done in a reflective fashion,
considering that all implementations align with this behavior.
This option cannot be provided for HttpClient5 at the
`ClientHttpRequestFactory` level anymore, so this has been deprecated
in Spring Framework 6.0 and will log a warning. In order to align with
our existing behavior (throwing exceptions if the option cannot be set),
this commit ensures that exceptions are also thrown if the method is
marked as deprecated.
See gh-32461
2022-09-29 18:55:41 +02:00
Brian Clozel
58f3054624
Adapt RestTemplate factory auto-detection
...
This commit adapts the auto-detection of `ClientHttpRequestFactory` to
look for an httpclient5 class.
See gh-32461
2022-09-29 18:55:41 +02:00
Brian Clozel
5fb2a50ad0
Adapt build dependencies to httpclient5
...
As htttpclient 4.x is not supported anymore by `RestTemplate`, this
commit changes such dependencies to httpclient5 instead. In some cases,
the httpclient 4.x was transitively brought by a non-Spring dependency.
See gh-32461
2022-09-29 18:55:41 +02:00
Stephane Nicoll
3702c71fc1
Adapt to Spring AOT changes
2022-09-29 18:55:41 +02:00
Stephane Nicoll
d478a020df
Start building against Spring Framework 6.0.0-RC1 snapshots
...
See gh-32550
2022-09-29 18:55:26 +02:00
dreis2211
65ef8fc51a
Use ByteArrayOutputStream.toString where possible
...
See gh-32534
2022-09-29 15:03:24 +02:00
Andy Wilkinson
17953eeb33
Merge branch '2.7.x'
...
Closes gh-32544
2022-09-29 11:41:15 +01:00
Andy Wilkinson
3ef633b096
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32543
2022-09-29 11:39:42 +01:00
Andy Wilkinson
84a25c7dcf
Configure Log4j2 classpath overrides consistently
...
Closes gh-32537
2022-09-29 11:25:21 +01:00
Andy Wilkinson
f10d696c46
Merge branch '2.7.x'
...
Closes gh-32536
2022-09-29 10:04:45 +01:00
Andy Wilkinson
9f5b7db553
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32535
2022-09-29 10:04:19 +01:00
Andy Wilkinson
be48f37a83
Fix LogbackMetrics auto-config test with Logback and Log4j2 on cp
...
Closes gh-32533
2022-09-29 10:03:52 +01:00
dreis2211
388134713e
Remove unused MockReactiveWebServerFactory
...
See gh-32526
2022-09-29 09:33:29 +02:00
dreis2211
f0b4a65546
Avoid usage of StringBuffer where possible
...
See gh-32519
2022-09-29 09:29:10 +02:00
Andy Wilkinson
0bfa9cd704
Upgrade to Logback 1.4 and SLF4J 2.0
...
Closes gh-12649
2022-09-28 21:14:08 +01:00
Andy Wilkinson
574242b44f
Polish "Break cycles between Zipkin senders and HTTP client observation"
...
See gh-32528
2022-09-28 20:28:11 +01:00
Marcin Grzejszczak
b41ed44b60
Break cycles between Zipkin senders and HTTP client observation
...
Previously, RestTemplateBuilder and WebClient.Builder beans were used
to create the HTTP client for sending out spans. Those same beans are
also instrumented for observability which results in a cycle.
This commit breaks the cycle by not using the application-web
builders to create the RestTemplate and WebClient's used by the Zipkin
senders. Instead, builders are created inline, with new callbacks
being introduced to allow the user to customize these Zipkin-specific
builders.
See gh-32528
2022-09-28 20:11:44 +01:00
Andy Wilkinson
8c74b62888
Polish "Prefer WebClient to RestTemplate for Zipkin's Sender"
...
See gh-32529
2022-09-28 19:07:27 +01:00
Marcin Grzejszczak
cd3b3d468a
Prefer WebClient to RestTemplate for Zipkin's Sender
...
Previously, a Webclient-based sender was only for reactive web
applications, falling back to a RestTemplate-based sender in all
other cases.
With this commit we now prefer to use WebClient if it is available,
irrespective of the web application type. The assumption is that
if the user has WebClient on the classpath, it's either a reactive
web application, or it's a servlet web application or non-web
application but WebClient is preferred.
See gh-32529
2022-09-28 19:04:30 +01:00
Brian Clozel
b325edbc55
Polish
...
See gh-32484
2022-09-27 22:45:46 +02:00
Brian Clozel
eac50a8f0c
Auto-configure Observation support for RestTemplate
...
Prior to this commit, Spring Boot would auto-configure a customizer that
instruments `RestTemplate` through a `RestTemplateBuilder`. This would
install a request interceptor that instrumented client exchanges for
producing metrics.
As of spring-projects/spring-framework#28341 , the instrumentation is
done at the `RestTemplate` level directly using the `Observation` API.
The `Tag` (now `KeyValue`) extraction, observation name and
instrumentation behavior now lives in the Spring Framework project.
This commit updates the auto-configuration to switch from Boot-specific
Metrics instrumentation to a generic Observation instrumentation.
As a migration path, some configuration properties are deprecated in
favor of the new `management.observations.*` namespace.
Closes gh-32484
2022-09-27 22:19:01 +02:00
Andy Wilkinson
36a4b36ccb
Polish "Add support for MDC, Context Propagation (via B3 and W3C), and Baggage"
...
See gh-32480
2022-09-27 16:47:09 +01:00
Marcin Grzejszczak
52d1436dc6
Add support for MDC, Context Propagation (via B3 and W3C), and Baggage
...
See gh-32480
2022-09-27 16:47:03 +01:00
Brian Clozel
bf5bd4f91c
Upgrade to SnakeYAML 1.33
...
Closes gh-32522
2022-09-27 14:51:04 +02:00
Andy Wilkinson
243075d3b2
Disable DevTools during AOT processing
...
Closes gh-32517
2022-09-27 11:13:38 +01:00
Andy Wilkinson
5449397463
Require micrometer-tracing-bridge-otel to auto-configure OTel
...
Closes gh-32503
2022-09-27 09:10:44 +01:00
Andy Wilkinson
6cc3619675
Require micrometer-tracing-bridge-brave to auto-configure Brave
...
Closes gh-32502
2022-09-27 08:35:22 +01:00
Stephane Nicoll
fcafd2abdb
Merge branch '2.7.x'
...
Closes gh-32516
2022-09-27 09:00:57 +02:00
Stephane Nicoll
cb191dfec2
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32515
2022-09-27 08:59:11 +02:00
heqiang
5db6cc1cba
Remove redundant @ExtendWith(SpringExtension.class) for sample
...
See gh-32476
2022-09-27 08:49:46 +02:00
Stephane Nicoll
bac1bfcd1c
Merge branch '2.7.x'
...
Closes gh-32514
2022-09-27 08:41:35 +02:00
Stephane Nicoll
eb4b0a3f3c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32513
2022-09-27 08:41:20 +02:00
Stephane Nicoll
8f598f876b
Polish "Use non-blocking API in CouchbaseReactiveHealthIndicator"
...
See gh-32505
2022-09-27 08:34:22 +02:00
Mico Piira
f51c4c3df0
Use non-blocking API in CouchbaseReactiveHealthIndicator
...
See gh-32505
2022-09-27 08:31:57 +02:00
Stephane Nicoll
f6f545dbf1
Merge branch '2.7.x'
...
Closes gh-32510
2022-09-27 08:28:40 +02:00
Stephane Nicoll
33680e5acc
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32509
2022-09-27 08:28:15 +02:00
Stephane Nicoll
0457536d72
Polish "Avoid using JUnit 4 assertions"
...
See gh-32504
2022-09-27 08:24:03 +02:00
dreis2211
cee353fba6
Avoid using JUnit 4 assertions
...
See gh-32504
2022-09-27 08:11:47 +02:00
Andy Wilkinson
0f44e69995
Merge branch '2.7.x'
...
Closes gh-32500
2022-09-26 13:15:39 +01:00
Andy Wilkinson
5124ae94ae
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32499
2022-09-26 13:15:11 +01:00
Andy Wilkinson
cfac7f55a4
Correct annotations on BootBuildImage's file-based inputs
...
Closes gh-32495
2022-09-26 13:13:16 +01:00
Andy Wilkinson
f9b12ca01a
Upgrade to Log4j2 2.19.0
...
Closes gh-32498
2022-09-26 11:04:20 +01:00
Andy Wilkinson
7d583939ff
Auto-configure stream template and env irrespective of listener type
...
Closes gh-32477
2022-09-23 17:28:17 +01:00
Andy Wilkinson
9d30de9966
Exclude all tools projects from the aggregated javadoc
...
Closes gh-31955
2022-09-23 16:44:57 +01:00
Andy Wilkinson
f67db3d9ad
Move spring-boot-cli into spring-boot-tools
...
Closes gh-32492
2022-09-23 16:44:57 +01:00
Johnny Lim
7f36fb155d
Polish JavaVersionTests.currentJavaVersionNineteen()
...
See gh-32489
2022-09-23 17:25:12 +02:00
Andy Wilkinson
4a05230d5d
Move spring-boot-properties-migrator into spring-boot-tools
...
Closes gh-32491
2022-09-23 16:18:30 +01:00
Stephane Nicoll
bd8f53a989
Use Native Build Tools new goal name
...
Closes gh-32482
2022-09-23 14:51:38 +02:00
Andy Wilkinson
26eff5ae7a
Publish ApplicationPreparedEvent before AOT processing abandons run
2022-09-23 12:02:25 +01:00
Madhura Bhave
afce559050
Remove unused dependency from Maven integration test
2022-09-22 14:07:26 -07:00
Vedran Pavic
230f2cda84
Migrate to AuthorizationFilter in Spring Security auto-config
...
This commit updates Servlet based Spring Security auto-configuration
to use AuthorizationFilter, which is intended to supersede
FilterSecurityInterceptor.
See gh-31255
2022-09-22 13:53:54 +01:00
Andy Wilkinson
2662490b76
Revert "Upgrade to Dependency Management Plugin 1.1.0-RC1"
...
This reverts commit 67cc99111c
.
2022-09-22 12:30:49 +01:00
Andy Wilkinson
7c7c34cda1
Fix classpath roots of AOT test processing
...
This was regressed in 6175c4210d
so that
each class on the classpath was passed in as a "root". This commit
corrects this so that only the roots are passed to the AOT test
processor.
See gh-32424
2022-09-22 12:30:43 +01:00
Stephane Nicoll
ca830240fa
Upgrade to Spring Batch 4.3.7
...
Closes gh-32278
2022-09-22 09:35:29 +02:00
Stephane Nicoll
82763deb93
Upgrade to Spring Batch 4.3.7
...
Closes gh-32271
2022-09-22 09:26:07 +02:00
Stephane Nicoll
c535172cd3
Upgrade to Spring Batch 5.0.0-M6
...
Closes gh-32237
2022-09-22 08:57:24 +02:00
Scott Frederick
08022ba86e
Remove support for locating imports using spring.factories
...
With this commit, loading `@AutoConfiguration`,
`@ImportAutoConfiguration`, and `@ManagementContextConfiguration`
classes is supported with `.imports` files only. Support for loading
these classes with `spring.factories` is removed.
Closes gh-29699
2022-09-21 17:34:51 -05:00
Andy Wilkinson
6b8575b001
Fix constructor binding to Kotlin data class with default values
...
Closes gh-32416
2022-09-21 21:35:47 +01:00
Scott Frederick
f9c341c75a
Revert "Generate the AutoConfiguration.imports file from annotations"
...
This reverts commit da4de7d67d
.
2022-09-21 14:50:15 -05:00
Scott Frederick
d62d7ca75d
Revert "Generate ManagementContextConfiguration.imports file from annotations"
...
This reverts commit 6b3b0dd3a6
.
2022-09-21 14:50:15 -05:00
Scott Frederick
1f53eb7df9
Revert "Sort the contents of generated imports files"
...
This reverts commit 95e62b7ff8
.
2022-09-21 14:50:15 -05:00
Scott Frederick
910e9c9fcc
Revert "Fix windows build"
...
This reverts commit 9fe24fe692
.
2022-09-21 14:50:15 -05:00
Brian Clozel
56dcae8a3c
Merge branch '2.7.x'
...
Closes gh-32471
2022-09-21 21:11:29 +02:00
Brian Clozel
8f9323d66c
Document "classpath:*" location for GraphQL Schemas
...
This commit mentions the `"classpath*:graphql/**` schema location in
case the application needs to find schemas across multiple classpath
roots, for example across multiple modules.
Closes gh-31772
2022-09-21 21:09:22 +02:00
Andy Wilkinson
b084019d34
Reverse the order of tracing and metrics handlers
...
Closes gh-32463
Co-authored-by: Jonatan Ivanov <jonatan.ivanov@gmail.com>
2022-09-21 19:05:21 +01:00
Andy Wilkinson
78a64d7f61
Allow DefaultMeterObservationHandler to be replaced by user's bean
...
Closes gh-32462
Co-authored-by: Jonatan Ivanov <jonatan.ivanov@gmail.com>
2022-09-21 19:05:07 +01:00
Andy Wilkinson
4a80b36160
Configure native image classpath outside of task realisation
...
Closes gh-32465
2022-09-21 18:14:46 +01:00
Andy Wilkinson
2977373505
Polish "Add property to configure Spring Session Redis repository type"
...
See gh-32205
2022-09-21 17:16:29 +01:00
Vedran Pavic
3093380e35
Add property to configure Spring Session Redis repository type
...
With Spring Session moving to RedisSessionRepository as the preferred
session repository, Spring Boot auto-configuration should make it
possible to easily switch back to the previous default
(RedisIndexedSessionRepository).
This commit introduces spring.session.redis.repository configuration
property that allows selecting the desired Redis-backed session
repository implementation.
See gh-32205
2022-09-21 17:13:58 +01:00
Andy Wilkinson
6175c4210d
Fix skipping of processAot when there is no main source
...
See gh-32424
2022-09-21 14:57:54 +01:00
Andy Wilkinson
67cc99111c
Upgrade to Dependency Management Plugin 1.1.0-RC1
...
Closes gh-32460
2022-09-21 10:59:05 +01:00
Andy Wilkinson
cb614cfee9
Merge branch '2.7.x'
2022-09-21 10:07:22 +01:00
Andy Wilkinson
3620959dca
Upgrade to Dependency Management Plugin 1.0.14.RELEASE
...
Closes gh-32459
2022-09-21 10:06:56 +01:00
Andy Wilkinson
9d30a0a5b6
Upgrade to Dependency Management Plugin 1.0.14.RELEASE
...
Closes gh-32458
2022-09-21 10:04:03 +01:00
Stephane Nicoll
5752eb9a40
Upgrade to Maven Jar Plugin 3.3.0
...
Closes gh-32456
2022-09-21 08:30:25 +02:00
Stephane Nicoll
7c8ec4d228
Upgrade to Byte Buddy 1.12.17
...
Closes gh-32455
2022-09-21 08:30:22 +02:00
Stephane Nicoll
4e5e42c2e1
Upgrade to Spring Integration 6.0.0-M5
...
Closes gh-32096
2022-09-21 08:25:58 +02:00
Stephane Nicoll
89b547565e
Upgrade to Spring Session 2022.0.0-M3
...
Closes gh-32427
2022-09-21 08:25:31 +02:00
Stephane Nicoll
8bca178b83
Upgrade to Byte Buddy 1.12.17
...
Closes gh-32454
2022-09-21 08:24:27 +02:00
Stephane Nicoll
d5debb1d3d
Upgrade to Spring Integration 5.5.15
...
Closes gh-32453
2022-09-21 08:22:25 +02:00
Stephane Nicoll
b3db0768c0
Upgrade to Spring GraphQL 1.0.2
...
Closes gh-32426
2022-09-21 08:21:56 +02:00
Stephane Nicoll
4e18da99a3
Upgrade to Spring Integration 5.5.15
...
Closes gh-32452
2022-09-21 08:18:15 +02:00
Phillip Webb
374176a680
Upgrade to MariaDB 3.0.8
...
Closes gh-32451
2022-09-20 14:19:12 -07:00
Phillip Webb
d849cdf9cb
Upgrade to Liquibase 4.16.1
...
Closes gh-32450
2022-09-20 14:19:09 -07:00
Phillip Webb
0b49fed06c
Upgrade to Kafka 3.2.3
...
Closes gh-32449
2022-09-20 14:19:06 -07:00
Phillip Webb
994a4bdef3
Upgrade to JUnit Jupiter 5.9.1
...
Closes gh-32448
2022-09-20 14:19:03 -07:00
Phillip Webb
855c2ee617
Upgrade to Jetty 11.0.12
...
Closes gh-32447
2022-09-20 14:18:59 -07:00
Phillip Webb
d8be9975fc
Upgrade to Flyway 9.3.1
...
Closes gh-32446
2022-09-20 14:18:57 -07:00
Phillip Webb
445dff0483
Upgrade to MariaDB 3.0.8
...
Closes gh-32445
2022-09-20 14:15:06 -07:00
Phillip Webb
0ff789415e
Upgrade to Jetty 9.4.49.v20220914
...
Closes gh-32444
2022-09-20 14:15:03 -07:00
Phillip Webb
f9b532d5aa
Upgrade to Groovy 3.0.13
...
Closes gh-32443
2022-09-20 14:14:59 -07:00
Phillip Webb
c7254cfe25
Upgrade to Jetty 9.4.49.v20220914
...
Closes gh-32441
2022-09-20 14:06:08 -07:00
Phillip Webb
634799f887
Upgrade to Groovy 3.0.13
...
Closes gh-32440
2022-09-20 14:06:06 -07:00
Andy Wilkinson
fa81e8ca79
Skip processAot and processTestAot if there is no main or test code
...
Closes gh-32424
2022-09-20 17:15:19 +01:00
Andy Wilkinson
64f4da80cb
Align with breaking changes in latest Batch snapshots
...
Batch is now auto-configured to use the context's
PlatformTransactionManager and DataSource or `@BatchDataSource`.
When this does not meet the user's needs, they can use
`@EnableBatchProcessing` or sub-class `DefaultBatchConfiguration` to
take complete control with the auto-configuration backing off.
Closes gh-32330
2022-09-20 15:42:52 +01:00
Stephane Nicoll
375a570717
Upgrade to Spring Kafka 3.0.0-M6
...
Closes gh-31925
2022-09-20 16:01:14 +02:00
Stephane Nicoll
35916a9962
Upgrade to Spring GraphQL 1.1.0-M1
...
Closes gh-32294
2022-09-20 16:00:47 +02:00
Stephane Nicoll
9936448269
Upgrade to GraphQL Java 19.2
...
Closes gh-32430
2022-09-20 16:00:17 +02:00
Andy Wilkinson
e8aa5680d6
Support file-based reachability metadata repositories
...
See gh-32408
2022-09-20 14:06:18 +01:00
Andy Wilkinson
8323f24ccc
Make classes generated by AOT test processing available to nativeTest
...
Closes gh-32428
2022-09-20 11:29:18 +01:00
Stephane Nicoll
0f325f98b5
Disable ContextCustomizer implementations at runtime if necessary
...
This commit disables ContextCustomizer implementations that tune a
test configuration context at runtime. Previously, these ran again and
required additional hints to work properly.
Rather than contributing those hints, the customizer is skipped as its
impact is irrelevant in an AOT-optimized context: the context is fully
prepared and the updates on the MergedContextConfiguration are not taken
into account.
Closes gh-32422
2022-09-20 04:34:58 +02:00
Stephane Nicoll
6f6a4d9990
Start building against Spring Session 2022.0.0-M3 snapshots
...
See gh-32427
2022-09-20 03:51:25 +02:00
Stephane Nicoll
4fd6144117
Revert "Upgrade to Spring Kafka 3.0.0-M6"
...
This reverts commit 876511f212
.
2022-09-20 03:51:06 +02:00
Stephane Nicoll
4e82a69a0b
Start building against Spring GraphQL 1.0.2 snapshots
...
See gh-32426
2022-09-20 03:36:08 +02:00
Stephane Nicoll
876511f212
Upgrade to Spring Kafka 3.0.0-M6
...
Closes gh-31925
2022-09-20 03:32:32 +02:00
Stephane Nicoll
56bdb67ecf
Upgrade to Spring AMQP 3.0.0-M4
...
Closes gh-31861
2022-09-20 03:32:10 +02:00
Stephane Nicoll
3d85931fc7
Upgrade to Spring Security 6.0.0-M7
...
Closes gh-32255
2022-09-20 03:31:41 +02:00
Stephane Nicoll
e616fb5d8b
Upgrade to Spring Kafka 2.8.9
...
Closes gh-32277
2022-09-20 03:30:50 +02:00
Stephane Nicoll
cddfa4b58c
Upgrade to Spring AMQP 2.4.7
...
Closes gh-32276
2022-09-20 03:30:23 +02:00
Stephane Nicoll
6c37838f31
Upgrade to Spring Kafka 2.8.9
...
Closes gh-32270
2022-09-20 03:29:41 +02:00
Stephane Nicoll
033b6b5dbe
Upgrade to Spring AMQP 2.4.7
...
Closes gh-32269
2022-09-20 03:29:16 +02:00
Stephane Nicoll
59b06050b4
Upgrade to Spring Data 2022.0.0-M6
...
Closes gh-32254
2022-09-19 17:58:00 +02:00
Stephane Nicoll
85d73a1f62
Upgrade to Spring Data 2021.2.3
...
Closes gh-32275
2022-09-19 17:57:17 +02:00
Stephane Nicoll
d72e0b39fc
Upgrade to Spring Data 2021.1.7
...
Closes gh-32268
2022-09-19 17:56:19 +02:00
Stephane Nicoll
436366eedf
Upgrade to Spring LDAP 3.0.0-M4
...
Closes gh-32105
2022-09-19 16:45:14 +02:00
dreis2211
bac7d62476
Fix Spring Batch deprecations
...
See gh-32419
2022-09-19 14:31:54 +02:00
Stephane Nicoll
190d4cbc2f
Relax ImportsContextCustomizer to only require a class name
...
Closes gh-32421
2022-09-19 10:45:33 +02:00
Scott Frederick
1ed4d89466
Copy native reachability metadata to jar file in Gradle plugin
...
When the Spring Boot Gradle plugin builds a fat jar and the Native
Build Tools Gradle plugin is applied to the build, any configuration
files from the GraalVM reachability metadata repository that match
project dependencies are copied to a `META-INF/native-image`
directory in the fat jar.
Closes gh-32408
2022-09-16 12:26:24 -05:00
Andy Wilkinson
2b3ef96156
Merge branch '2.7.x'
...
Closes gh-32407
2022-09-16 17:03:34 +01:00
Andy Wilkinson
a800f7d77c
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32406
2022-09-16 17:03:13 +01:00
Andy Wilkinson
61e11cd361
Ensure that TCCL is clean when DataSource is accessed
...
Previously, when using Tomcat, its web app class loader was the thread
context class loader when H2ConsoleAutoConfiguration triggered
initialization of Hikari's pool. This was the case because it's done
in the bean method of a ServletRegistrationBean. Such Servlet-related
beans are intentionally created with Tomcat's web app classloader as
the TCCL. This arrangement results in the pool's threads using
Tomcat's web app class loader as their TCCL which is not desirable.
One consequence of this was that Tomcat could log a warning at
shutdown about the thread being left running when it will, in fact,
be stopped as part of the context being closed.
This commit updates H2ConsoleAutoConfiguration to set the TCCL to its
own ClassLoader while the DataSource information is being logged.
Closes gh-32382
2022-09-16 16:24:57 +01:00
Andy Wilkinson
5cb68eab1e
Remove HotSpot specifics from HeapDumper strategy interface
...
Closes gh-27533
2022-09-16 12:53:43 +01:00
Andy Wilkinson
f731279fef
Merge branch '2.7.x'
...
Closes gh-32403
2022-09-16 11:39:25 +01:00
Andy Wilkinson
7827e8166e
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32402
2022-09-16 11:38:07 +01:00
Andy Wilkinson
ab26050fe7
Document support for Java 19
...
Closes gh-32259
2022-09-16 11:37:14 +01:00
Stephane Nicoll
b293541906
Upgrade to Spring HATEOAS 2.0.0-M6
...
Closes gh-31855
2022-09-16 07:41:50 +02:00
Stephane Nicoll
756eaea766
Upgrade to Spring HATEOAS 1.5.2
...
Closes gh-32378
2022-09-16 07:41:04 +02:00
Stephane Nicoll
998396dd8a
Upgrade to Spring HATEOAS 1.4.5
...
Closes gh-32400
2022-09-16 07:39:56 +02:00
Madhura Bhave
b44a7e242c
Support Mongo's Stable API in MongoHealthIndicator
...
Closes gh-30849
2022-09-15 16:48:22 -07:00
Phillip Webb
7f5785182d
Switch @SpringBootTest to UseMainMethod.NEVER by default
...
See gh-22405
2022-09-15 12:37:26 -07:00
Phillip Webb
48f3cd75d4
Refine SpringBootTest.useMainMethod support
...
Refine `SpringBootContextLoader` so that calls to the main method do
not exit early and the hook is only used when necessary.
See gh-22405
2022-09-15 10:48:58 -07:00
Stephane Nicoll
f1b60eef55
Upgrade to Spring Retry 2.0.0-M1
...
Closes gh-32293
2022-09-15 18:06:17 +02:00
Andy Wilkinson
2b503ee334
Add AOT-generated classes as a dependency
...
Previously, the AOT-generated classes were added directly to the
compile classpath of the AOT compilation task. This didn't work
perfectly in IntelliJ IDEA, leaving the generated classes in the
runtime scope and causing compilation problems where the
AOT-generated source tried to reference those classes.
This commit updates the plugin to add the AOT-generated classes as
a dependency to the AOT source set's implementation configuration.
This makes the classes available during compilation by the source
set's Java compilation task while also makeing IntelliJ IDEA aware
of their presence on the compile classpath.
Closes gh-32395
2022-09-15 14:02:54 +01:00
Andy Wilkinson
0476b5da5d
Upgrade to Selenium HtmlUnit 3.64.0 and Selenium 4.4.0
...
Closes gh-32372
Closes gh-32373
2022-09-15 12:31:56 +01:00
Andy Wilkinson
52522b87f0
Merge branch '2.6.x' into 2.7.x
...
Closes gh-32393
2022-09-15 11:57:28 +01:00
Andy Wilkinson
77f428498f
Compile against SnakeYAML 1.32 and test against older versions
...
Closes gh-32392
2022-09-15 11:55:44 +01:00
Stephane Nicoll
3803cda746
Upgrade to Spring Framework 6.0.0-M6
...
Closes gh-31834
2022-09-15 11:11:28 +02:00
Stephane Nicoll
4aabe7caf5
Upgrade to Spring Framework 5.3.23
...
Closes gh-32274
2022-09-15 11:09:43 +02:00
Stephane Nicoll
78fb738117
Upgrade to Spring Framework 5.3.23
...
Closes gh-32267
2022-09-15 11:08:55 +02:00
Stephane Nicoll
9391f329fb
Upgrade to Versions Maven Plugin 2.12.0
...
Closes gh-32391
2022-09-15 09:39:18 +02:00
Stephane Nicoll
8f67cfd709
Upgrade to Undertow 2.2.19.Final
...
Closes gh-32390
2022-09-15 09:39:16 +02:00
Stephane Nicoll
74c1f5bede
Upgrade to UnboundID LDAPSDK 6.0.6
...
Closes gh-32389
2022-09-15 09:39:13 +02:00
Stephane Nicoll
c10a8cb195
Upgrade to SQLite JDBC 3.39.3.0
...
Closes gh-32387
2022-09-15 09:39:08 +02:00
Stephane Nicoll
59448ce5d2
Upgrade to SnakeYAML 1.32
...
Closes gh-32386
2022-09-15 09:39:06 +02:00