Commit Graph

18400 Commits (4e8e5f623bc527931f0da58de488060d059e625d)

Author SHA1 Message Date
Phillip Webb c652d3d95b Merge branch '2.6.x' into 2.7.x
Closes gh-31963
2 years ago
Phillip Webb 45ad1557c3 Perform LoggingSystem cleanup after web server shutdown
Update `LoggingApplicationListener` so that logging system cleanup is
performed by a `SmartLifecycle` phased after web server shutdown.

Prior to this commit, cleanup occurred on the `ContextClosedEvent` which
was published before Lifecycle beans were stopped. This meant that any
exceptions output during web server shutdown were not logged.

Fixes gh-9457
2 years ago
Johnny Lim 6a4681baf5 Polish
See gh-31948
2 years ago
Stephane Nicoll c05d0c51b7 Restore constructor binding support with AOT
This commit restores the generation of the BindMethod attribute that
is required at runtime to figure out how to bind a particular
configuration properties target.

It also improves the test to use TestCompiler and assert that the
generated contribution restores the proper behavior for both java
bean and value object binding.

Closes gh-31956
2 years ago
Brian Clozel a8c558a671 Fix build after Spring Framework deprecation
See spring-projects/spring-framework#28905
2 years ago
Brian Clozel 09c753d445 Remove duplicate reflection hints for Logback
Prior to this commit, the Spring Boot team contributed reflection hints
for the default Logback converters for native image compilation. Now
that some of those hints were contributed to the GraalVM reachability
metadata repository, we can safely remove the duplicates.

Closes gh-31959
2 years ago
Moritz Halbritter eaf8683e8d Fix timeunit in ZipkinConfigurations to milliseconds instead of seconds
Closes gh-31957
2 years ago
Moritz Halbritter 767631e2cc Fix bean chicken and egg problem with WavefrontSender
Closes gh-31954
2 years ago
Andy Wilkinson 0857cae943 Merge branch '2.7.x'
Closes gh-31952
2 years ago
Andy Wilkinson 0dde4278db Merge branch '2.6.x' into 2.7.x
Closes gh-31951
2 years ago
Marc Wrobel 3e0665e791 Fix links in documentations
- Fix broken links
- Use HTTPS where possible,
- Remove spring-security-oauth2-docs as it is no longer used
- Remove https://github.com/ThierrySquirrel/rocketmq-spring-boot-starter.
  This starter is 404 and https://github.com/rocketmq/rocketmq-spring-boot-starter
  hasn't been updated for 4 years.
- Clean up nohttp allowlist.lines.

See gh-31887
2 years ago
Andy Wilkinson 8a2cdb9759 Merge branch '2.7.x'
Closes gh-31950
2 years ago
Andy Wilkinson 012fbb3a57 Merge branch '2.6.x' into 2.7.x
Closes gh-31949
2 years ago
Andy Wilkinson c0daede1aa Ensure that jarmode jar added to an app has same SHA as published jar
Closes gh-31862
2 years ago
Brian Clozel 5261e42dab Fix PDF reference docs generation
See gh-31809
2 years ago
Brian Clozel cbf1cd81e9 Polish
See gh-31809
2 years ago
Brian Clozel 184945ab1e Fix graphql imports in reference docs generation
See gh-31809
2 years ago
Moritz Halbritter ed1f6ad543 Add native-image support for RestTemplateBuilder
Closes gh-31888
2 years ago
Brian Clozel 38f1bc9793 Reinstate Spring for GraphQL auto-configuration
This commit adds the Spring for GraphQL auto-configuration back
into Spring Boot 3.0, now that a 1.1.0 release is scheduled with the
required baseline. This release also needs GraphQL Java 19.0 as a
baseline.

Closes gh-31809
2 years ago
Brian Clozel 6e1b68044d Upgrade to GraphQL Java 18.3
Closes gh-31945
2 years ago
Phillip Webb ab469e8b6a Merge branch '2.7.x'
Closes gh-31944
2 years ago
Phillip Webb 06b537e2a0 Merge branch '2.6.x' into 2.7.x
Closes gh-31943
2 years ago
vilmos 00be9e4e94 Fix property placeholder references in @Value example
See gh-31941
2 years ago
Johnny Lim c9c435cdae Polish DataSourceBuilder.derivedFrom()
Fix duplication accidentally introduced in commit
fa43e1f378.

See gh-31928
2 years ago
Andy Wilkinson bdebdb5cc2 Start building against Spring Kafka 3.0.0-M6 snapshots
See gh-31925
2 years ago
Madhura Bhave a82b95c955 Merge branch '2.7.x' into main
Closes gh-31927
2 years ago
Madhura Bhave 2884ec81e9 Merge branch '2.6.x' into 2.7.x
Closes gh-31926
2 years ago
Madhura Bhave cc15eb0b96 Configure existing probes at additional path when necessary
Fixes gh-30612
2 years ago
Stephane Nicoll db0e008c01 Register composed annotations explicitly
Closes gh-31919
2 years ago
Stephane Nicoll 0e9f8a5994 Merge branch '2.7.x'
Closes gh-31922
2 years ago
Stephane Nicoll 4806881716 Merge branch '2.6.x' into 2.7.x
Closes gh-31921
2 years ago
Stephane Nicoll 3a5b40645a Restore support for C3P0
Closes gh-31920
2 years ago
Phillip Webb 22144987e9 Update copyright year of changed files 2 years ago
Phillip Webb e08c16dfd6 Polish 2 years ago
Stephane Nicoll 41e8697445 Polish 2 years ago
Andy Wilkinson 44beb11d38 Merge branch '2.7.x'
Closes gh-31915
2 years ago
Andy Wilkinson 6d279abe21 Merge branch '2.6.x' into 2.7.x
Closes gh-31914
2 years ago
Andy Wilkinson d39e146a7d Polish "Allow config prop annotation processor to find reactive cookie props"
See gh-31912
2 years ago
Kalpesh 1f0d5f1130 Allow config prop annotation processor to find reactive cookie props
See gh-31912
2 years ago
Stephane Nicoll da324c8b03 Merge branch '2.7.x' 2 years ago
Stephane Nicoll 6786659aae Merge branch '2.6.x' into 2.7.x 2 years ago
Stephane Nicoll 7d860df5f0 Polish 2 years ago
Stephane Nicoll b0bc7cd85b Reuse JavaProcessExecutor
See gh-31682
2 years ago
Stephane Nicoll c3ae6519f4 Reuse SpringApplicationClassFinder
See gh-31682
2 years ago
Stephane Nicoll 472b0b8bcb Remove AbstractApplicationRunMojo intermediate layer
This commit reverts the intermediate layer that was created to
accommodate with the AOT use case.

See gh-31682
2 years ago
Stephane Nicoll 6f8b9288f3 Extract AotGenerateMojo to its own structure
This commit stops AotGenerateMojo from being an extension of the
regular run infrastructure and used the opportunity to extract a
number of utility classes to run a Java process.

As a result, not all features of running an application is supported
and exposed options now are targeted against AOT.

See gh-31682
2 years ago
Andy Wilkinson 197b4eede0 Merge branch '2.7.x'
Closes gh-31907
2 years ago
Andy Wilkinson 4f0dac7601 Merge branch '2.6.x' into 2.7.x
Closes gh-31906
2 years ago
Andy Wilkinson 348b2c28e9 Improve logging of changes that trigger a DevTools upload or restart
Closes gh-31579
2 years ago
Phillip Webb c8735c1540 Remove spring.profiles metadata
See gh-22523
2 years ago
Phillip Webb 49a8e81dc3 Merge branch '2.7.x'
Closes gh-31902
2 years ago
Phillip Webb 5c52882f76 Merge branch '2.6.x' into 2.7.x
Closes gh-31901
2 years ago
Phillip Webb 9a2ad6d42d Remove references to ConfigFileApplicationListener
Update documentation and meta-data to remove referenced to the now
deprecated `ConfigFileApplicationListener` class.

Closes gh-31895
2 years ago
Phillip Webb 7b2bacb272 Merge branch '2.7.x'
Closes gh-31900
2 years ago
Phillip Webb 220c588996 Merge branch '2.6.x' into 2.7.x
Closes gh-31899
2 years ago
Phillip Webb 98627e3d71 Fix spring.beaninfo.ignore SourceType
Fixes gh-31898
2 years ago
Phillip Webb 57e967576e Adapt to upstream Spring Framework AOT changes 2 years ago
Phillip Webb b68e43f5fd Merge branch '2.7.x' 2 years ago
Phillip Webb 2382e8322b Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 2709f77ab9 Collect to named contributors to `LinkedHashMap`
Update `NamedContributorsMapAdapter` to collect items to a
`LinkedHashMap` rather than a `HashMap`.

See gh-31676
2 years ago
Andy Wilkinson a4bafa88bc Disable schema validation when testing against Hazelcast 3
We have hazelcast configuration files that are used with multiple
versions of Hazelcast. Version 3's scheme doesn't allow us to set
<auto-detection enabled="false" />. To work around this, we
configure a system property that causes Hazelcast to disable schema
validation.

See gh-38163
2 years ago
Stephane Nicoll 204354e8ab Merge branch '2.7.x'
Closes gh-31894
2 years ago
Stephane Nicoll 04cb239296 Merge branch '2.6.x' into 2.7.x
Closes gh-31893
2 years ago
Stephane Nicoll 9184d5483a Remove reference to nitrite-spring-boot-starter
Closes gh-31892
2 years ago
Stephane Nicoll 76376d8822 Merge branch '2.7.x'
Closes gh-31891
2 years ago
Stephane Nicoll 344afd81de Merge branch '2.6.x' into 2.7.x
Closes gh-31890
2 years ago
Stephane Nicoll e6a9e48c54 Remove reference to Azure Application Insights
Closes gh-31889
2 years ago
Stephane Nicoll fdb1ee5f97 Adapt to deprecations in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/27954
See gh-29699
2 years ago
Stephane Nicoll aac3ccf59c Adapt to deprecations in Spring Framework
See https://github.com/spring-projects/spring-framework/issues/27780
2 years ago
Andy Wilkinson ac1203551c Start building against Spring AMQP 3.0.0-M4 snapshots
See gh-31861
2 years ago
Stephane Nicoll c413f9adbe Merge branch '2.7.x'
Closes gh-31884
2 years ago
Stephane Nicoll 53a652ec65 Merge branch '2.6.x' into 2.7.x
Closes gh-31883
2 years ago
Stephane Nicoll 9cb614c626 Migrate Hazelcast 3 sanity tests to Hazelcast 4
Closes gh-31881
2 years ago
Stephane Nicoll 59139e632b Polish "Disable auto-detection in tests that start Hazelcast"
See gh-31863
2 years ago
Adrian Bob aad9c8906a Disable auto-detection in tests that start Hazelcast
This commit updates test configurations to disable auto-detection of
Hazelcast instances.

See gh-31863
2 years ago
Stephane Nicoll 782e3f75b6 Polish Hazelcast configuration
This commit updates the XSD to 4.2 and removes the "tcp-ip" network
option as it is disabled by default.

See gh-31863
2 years ago
Madhura Bhave aac1829106 Make Batch auto-configuration back-off is spring-jdbc isn't present
See gh-29487
2 years ago
Madhura Bhave 2804c84648 Adapt to spring-jdbc being required by Spring Batch
Closes gh-29487
2 years ago
Phillip Webb 94ca5b5b53 Merge branch '2.7.x'
Closes gh-31880
2 years ago
Phillip Webb bfc703a40d Merge branch '2.6.x' into 2.7.x
Closes gh-31879
2 years ago
Phillip Webb 59c9a9cd8a Polish "Call the value adapter during NamedContributorsMapAdapter construction"
See gh-31676
2 years ago
Guirong Hu c530f12cc3 Call the value adapter during NamedContributorsMapAdapter construction
Update `NamedContributorsMapAdapter` so that the adapter function is
called only once per entry. Prior to this commit, the adapter was called
dynamically which made `CompositeHealthContributor` behave differently
from a regular `HealthContributor`.

See gh-31676
2 years ago
Andy Wilkinson 17aa5d2d23 Merge branch '2.7.x'
Closes gh-31878
2 years ago
Andy Wilkinson 3a9525b5b7 Merge branch '2.6.x' into 2.7.x
Closes gh-31877
2 years ago
Andy Wilkinson 5243cb8369 Broaded dependency management for REST Assured
Closes gh-31864
2 years ago
Phillip Webb 35a65cf82e Merge branch '2.7.x'
Closes gh-31876
2 years ago
Phillip Webb fd076ab9ef Merge branch '2.6.x' into 2.7.x
Closes gh-31875
2 years ago
aoyvx 8c93d2e8a7 Ensure PROTOCOL_HANDLER system property is reset
See gh-31870
2 years ago
Stephane Nicoll 193c1d7acf Adapt to changes in DefaultGenerationContext
See https://github.com/spring-projects/spring-framework/issues/28877
2 years ago
Phillip Webb d6cce1f441 Merge branch '2.7.x' 2 years ago
Phillip Webb fcf12686b7 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 9329acdad8 Reduce size of 'repeated-open-array.txt' file
Attempt to fix CI memory issues.
2 years ago
Phillip Webb e08aa84892 Merge branch '2.7.x' 2 years ago
Phillip Webb 96fa4cd63c Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb da91cde304 Protect against deeply nested JSON maps
See gh-31868
2 years ago
Phillip Webb a7ea5dfeda Merge branch '2.7.x'
Closes gh-31874
2 years ago
Phillip Webb 06805f06af Merge branch '2.6.x' into 2.7.x
Closes gh-31873
2 years ago
Phillip Webb 4132414206 Protect against deeply malformed JSON map keys
Fixes gh-31869
2 years ago
Phillip Webb 0b1441f119 Merge branch '2.7.x'
Closes gh-31872
2 years ago
Phillip Webb 466724f77a Merge branch '2.6.x' into 2.7.x
Closes gh-31871
2 years ago
Phillip Webb 6966ebd2a3 Protect against deeply nested JSON lists
Update `BasicJsonParser` to protect against deeply nested JSON lists
in the same way as Jackson.

Fixes gh-31868
2 years ago
Phillip Webb 7377d85096 Merge branch '2.7.x'
Closes gh-31866
2 years ago
Phillip Webb a4ef6a7c5c Merge branch '2.6.x' into 2.7.x
Closes gh-31865
2 years ago
Phillip Webb f8412847dc Update copyright year for "Fix typos in code and documentation"
See gh-31734
2 years ago
Marc Wrobel dbfc6bded4 Fix typos in code and documentation
See gh-31734
2 years ago
Phillip Webb b93dbd56e8 Merge branch '2.7.x' 2 years ago
Phillip Webb 3931e82841 Merge branch '2.6.x' into 2.7.x 2 years ago
Phillip Webb 4bcec6e0ee Polish 2 years ago
Stephane Nicoll a0dd6ef3b1 Revert "Merge pull request #31828 from quaff"
This reverts commit 68fc87bc7f.

See gh-31828
2 years ago
Moritz Halbritter 24cf5fff84 Start building against Spring HATEOAS 2.0.0-SNAPSHOT
See gh-31855
2 years ago
Andy Wilkinson b9b25644af Polish "Take MethodType into account to deduce main application class"
See gh-31828
2 years ago
Yanming Zhou 10a2471979 Take MethodType into account to deduce main application class
See gh-31828
2 years ago
dreis2211 75f375c68e Align Kotlin API and language versions
See gh-31849
2 years ago
Stephane Nicoll f962f2a430 Configure NBT so that it works consistently
This commit configures the Native Build Tools plugin to use Maven's
`target/classes` rather than the default generated JAR of the project.
Previously, this would fail with the default repackage option as the
default JAR is the repackaged archive and it has a specific format that
NBT can't understand.

Closes gh-31848
2 years ago
Andy Wilkinson 85c41d6698 Merge branch '2.7.x'
Closes gh-31847
2 years ago
Andy Wilkinson ac3f552dde Merge branch '2.6.x' into 2.7.x
Closes gh-31846
2 years ago
dreis2211 de5834d203 Polish
See gh-31845
2 years ago
Andy Wilkinson 6c28156b29 Avoid config-time creation of AOT source set's tasks
Closes gh-31844
2 years ago
Andy Wilkinson 0980362a88 Merge branch '2.7.x'
Closes gh-31843
2 years ago
Andy Wilkinson 64dcfe520d Merge branch '2.6.x' into 2.7.x
Closes gh-31842
2 years ago
Andy Wilkinson a1443d1cdc Enforce ordering in additional-spring-configuration-metadata.json files
Closes gh-31575
2 years ago
Moritz Halbritter 35c49afd97 Generate hints for nested generics in configuration properties
See gh-31708
2 years ago
Olga Maciaszek-Sharma 57dc274284 Switch to Spring Framework SNAPSHOTs
Switch to Spring Framework SNAPSHOTs and adapt to updated APIs.

See gh-31834
2 years ago
Stephane Nicoll e18398236f Upgrade to Maven Install Plugin 3.0.0
Closes gh-31833
2 years ago
Stephane Nicoll a98c30866a Upgrade to Maven Deploy Plugin 3.0.0
Closes gh-31832
2 years ago
Stephane Nicoll aa93b2153a Upgrade to Embedded Mongo 3.4.7
Closes gh-31830
2 years ago
Stephane Nicoll 939481b9d7 Upgrade to Spring Batch 5.0.0-M4
Closes gh-31623
2 years ago
Stephane Nicoll dfda08fd0d Upgrade to Spring Integration 6.0.0-M4
Closes gh-31624
2 years ago
Madhura Bhave 4057dd198b Change preference of session store implementations
The order has been determined based on usage statistics.

Closes gh-27756
2 years ago
Scott Frederick 6f65777035 Merge branch '2.7.x'
Closes gh-31827
2 years ago
Scott Frederick 9da38c8d2d Merge branch '2.6.x' into 2.7.x
Closes gh-31826
2 years ago
Scott Frederick 4e0b3aad9f Clarify how docker image publishing registry is determined
Closes gh-31820
2 years ago
Scott Frederick cf7a163c6d Merge branch '2.7.x' 2 years ago
Scott Frederick f9cf31e59e Fix compile errors
See gh-28844
2 years ago
Scott Frederick 36d6106bb0 Merge branch '2.7.x'
Closes gh-31825
2 years ago
Scott Frederick 09c7ce6dab Merge branch '2.6.x' into 2.7.x
Closes gh-31824
2 years ago
Scott Frederick a7dfeae09c Merge branch 'gh-28844' into 2.6.x
Closes gh-31823
2 years ago
Scott Frederick 9b0cdac58a Simplify support for pushing images to unauthenticated registries
This commit removes the requirement that `docker.publishRegistry`
configuration must be provided when an image is published by the Gradle
or Maven plugin.

Fixes gh-28844
2 years ago
Andy Wilkinson de672f4330 Merge branch '2.7.x'
Closes gh-31819
2 years ago
Andy Wilkinson 2e98cafcca Merge branch '2.6.x' into 2.7.x
Closes gh-31818
2 years ago
Andy Wilkinson ab2b04fafd Find health contributors in ancestor contexts in non-reactive apps
Previously, health contributors in a non-reative app were found by
retrieving them from the application context rather than via
dependency injection. This results in only contributors from the
current context being found, with contributors in ancestor contexts
ignored.

This commit moves to injection of the contributors, aligning the
behaviour with that of a reactive application.

Closes gh-27308
2 years ago
Andy Wilkinson 818e0d69a5 Merge branch '2.7.x'
Closes gh-31815
2 years ago
Andy Wilkinson cd1ce50105 Merge branch '2.6.x' into 2.7.x
Closes gh-31814
2 years ago
Andy Wilkinson 182adeed35 Add modules to dependency management for Derby
Closes gh-31570
2 years ago
Moritz Halbritter a4e84c26f0 Revert "Fix nested type discovery in ConfigurationPropertiesReflectionHintsProcessor"
This reverts commit 785588826e.
2 years ago
Brian Clozel 53b9ff5e89 Upgrade to Spring for GraphQL 1.0.1
Closes gh-31616
2 years ago
Brian Clozel 8cb2a0de94 Upgrade to GraphQL Java 18.2
Closes gh-31812
2 years ago
Andy Wilkinson 4bd82bb5af Polish "Upgrade to Flyway 9.0.1"
See gh-31723
2 years ago
Vedran Pavic f1bf80f5e1 Upgrade to Flyway 9.0.1
See gh-31723
2 years ago
Moritz Halbritter 785588826e Fix nested type discovery in ConfigurationPropertiesReflectionHintsProcessor
The old implementation picked up nested types only if they have been
annotated with NestedConfigurationProperty, which not all nested
properties are. Now the processor takes into account all referenced
types. It ignores only types in the java package and interfaces.

This commit also moves some of the tests from
ConfigurationPropertiesBeanFactoryInitializationAotProcessorTests to
ConfigurationPropertiesReflectionHintsProcessorTests for easier
discoverability

Closes gh-31708
2 years ago
Andy Wilkinson 38fedcff34 Polish "Use StackWalker to deduce main application class"
See gh-31701
2 years ago
GGGGGHT ea3fe95881 Use StackWalker to deduce main application class
See gh-31701
2 years ago
Andy Wilkinson 2814175505 Polish "Add auto-configuration for JdkClientHttpConnector"
See gh-31709
2 years ago
lihan e16734f937 Add auto-configuration for JdkClientHttpConnector
See gh-31709
2 years ago
Andy Wilkinson c3f3a2a707 Merge branch '2.6.x' into 2.7.x
Closes gh-31810
2 years ago
Andy Wilkinson efdd844c7a Log a warning if determining the app's PID takes too long
Closes gh-31572
2 years ago
Andy Wilkinson 1acc7857e6 Merge branch '2.7.x'
Closes gh-31807
2 years ago
Andy Wilkinson 84efc89d76 Merge branch '2.6.x' into 2.7.x
Closes gh-31806
2 years ago
Andy Wilkinson bcbe072d96 Fix 500 from mappings endpoint with attributed WebFlux router function
Closes gh-31784
2 years ago
Andy Wilkinson 18d3d4de5d Merge branch '2.7.x'
Closes gh-31805
2 years ago
Andy Wilkinson 10e19d504a Merge branch '2.6.x' into 2.7.x
Closes gh-31804
2 years ago
Andy Wilkinson 628c2cd0b1 Ensure JMX endpoints are uniquely named in a context hierarchy
Closes gh-31718
2 years ago
Andy Wilkinson 6da8c88b2b Include library resources on classpath of AOT source generation
Closes gh-31803
2 years ago
Stephane Nicoll c31ad5f175 Merge branch '2.7.x'
Closes gh-31802
2 years ago
Stephane Nicoll 6469a02c35 Merge branch '2.6.x' into 2.7.x
Closes gh-31801
2 years ago
Stephane Nicoll 585a57be76 Update copyright year of changed file
See gh-31798
2 years ago
aoyvx abe938eb2c Use Bean ClassLoader consistently to resolve class names
See gh-31798
2 years ago
Stephane Nicoll b9cf951423 Upgrade to Spring Integration 5.5.14
Closes gh-31800
2 years ago
Stephane Nicoll ac65835103 Upgrade to Spring Integration 5.5.14
Closes gh-31799
2 years ago
Moritz Halbritter c67876f913 Add resource hints for schema and data scripts
This only registers the default locations, not the one users can provide
via 'spring.sql.init.schema-locations' and
'spring.sql.init.data-locations'.

Closes gh-31533
2 years ago
Andy Wilkinson f29eed89ca Reinstate merge of pull request #31713 from dreis2211
This reverts commit 8deef6cb42.
2 years ago
Andy Wilkinson 62ec5c19de Remove temporary workaround for deprecations in Spring Batch
TaskExecutorJobLauncher has been improved so that its inherited
methods are no longer deprecated.

See gh-31623 and b599bfe5ac
2 years ago
Andy Wilkinson 8deef6cb42 Revert "Merge pull request #31713 from dreis2211"
This reverts commit 590bfd8a5c, reversing
changes made to 993e1bf5f2.
2 years ago
Andy Wilkinson 0f7079a05a Add missing auto-config to Elasticsearch reactive repo tests
See 5c057a2730
2 years ago
Brian Clozel 7c7a32a568 Auto-configure GraphQL subscription exception handling
Closes gh-31794
2 years ago
Moritz Halbritter 5030cfedcc Revert "Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer"
This reverts commit 04391275c1.
2 years ago
Moritz Halbritter e35140d54f Add tests for SpringApplicationRuntimeHints 2 years ago
Andy Wilkinson 5c057a2730 Auto-configure the new Elasticsearch clients
This commit introduces auto-configuration for the new Elasticsearch
clients that are based upon their new Java client. The new Java
client builds on top of their existing low-level REST client,
replacing the high-level REST client which has been deprecated.
As part of introducing support for the new Elasticsearch client,
the auto-configuration for the templates (both imperative and
reactive) provided by Spring Data has also been updated to use the
new templates that build upon the new Java client.

As part of these changes, support for the high-level REST client and
the old Spring Data Elasticsearch templates has been removed. One
significant change is that the new reactive template is no longer
based on WebClient. As a result, the WebClient-specific configuration
property has been removed.

Closes gh-30647
Closes gh-28597
Closes gh-31755
2 years ago
Moritz Halbritter f9ccfc1e12 Register Encoding on ReflectionHints for binding
Closes gh-31528
2 years ago
Moritz Halbritter 750e0aa293 Rename ConfigurationPropertiesReflectionHintsRegistrar 2 years ago
Andy Wilkinson b599bfe5ac Temporarily work around deprecations in Spring Batch
See gh-31623
2 years ago
Moritz Halbritter 26741d8044 Register SpringApplication on ReflectionHints for binding
Closes gh-31534
2 years ago
Moritz Halbritter 55bb921a37 Extract TypeProcessor into separate class 2 years ago
Moritz Halbritter 0291388f2a Polish 2 years ago
Moritz Halbritter 13c920b2a9 Add AOT support for ReactiveHealthEndpointWebExtension
See gh-31530
2 years ago
Stephane Nicoll a62ea1e3b8 Upgrade to AppEngine SDK 1.9.98
Closes gh-31790
2 years ago
Stephane Nicoll 4449f41cf5 Upgrade to Kotlin Coroutines 1.6.4
Closes gh-31742
2 years ago
Stephane Nicoll e48f5de20f Upgrade to AppEngine SDK 1.9.98
Closes gh-31788
2 years ago
Stephane Nicoll 51cba6ec72 Polish "Add AOT support for actuator"
See gh-31671
2 years ago
Moritz Halbritter 584b7d1343 Add AOT support for actuator
Mainly adds reflection hints for the actuator infrastructure.
Also adds the OperationReflectiveProcessor, which registers the
@ReadMethod, @DeleteMethod and @WriteMethod annotated methods for
reflection and adds reflection hints for method return types.

See gh-31671
2 years ago
Phillip Webb 00ec17b418 Fix checkstyle violation
See gh-31323
2 years ago
Chris Bono 8c70acc3c3 Add PropertyMapper.to(...) API designed for immutable instances
Add a new `to` method on `PropertyMapper` designed to work with
immutable instances. The new method takes an existing instance and
a mapping `BiFunction`.

See gh-31323

Co-authored-by: Phillip Webb <pwebb@vmware.com>
2 years ago
Andy Wilkinson 4278683f26 Upgrade to Spring Kafka 2.8.8
Closes gh-31786
2 years ago
Andy Wilkinson a326a1291e Upgrade to Spring Kafka 2.8.8
Closes gh-31785
2 years ago
Andy Wilkinson 1bf0ee5b1c Upgrade to Spring Security 6.0.0-M6
Closes gh-31622
2 years ago
Andy Wilkinson 8957d50e61 Upgrade to Spring Kafka 3.0.0-M5
Closes gh-31620
2 years ago
Andy Wilkinson 7fb6665774 Upgrade to Spring REST Docs 3.0.0-M4
Closes gh-31621
2 years ago
Stephane Nicoll 69570a6f26 Revert to Spring LDAP 3.0.0-M2
See gh-31618
2 years ago
Stephane Nicoll 46ddd858b8 Upgrade to Spring Data 2022.0.0-M5
Closes gh-31619
2 years ago
Stephane Nicoll e1c22bc291 Upgrade to Spring HATEOAS 2.0.0-M5
Closes gh-31683
2 years ago
Stephane Nicoll 503656000d Upgrade to Spring Data 2021.1.6
Closes gh-31611
2 years ago
Stephane Nicoll e25d3d6a03 Upgrade to Spring Data 2021.1.6
Closes gh-31611
2 years ago
Stephane Nicoll 501472697d Add resource hints for default templates location
Closes gh-31310
2 years ago
dreis2211 5adccb7857 Fix deprecations in javadocs
See gh-31713
2 years ago
Stephane Nicoll f5f3d7cc67 Polish "Add configuration property for RemoteIpValve's trusted proxies"
See gh-31576
2 years ago
lihan 7d6129547f Add configuration property for RemoteIpValve's trusted proxies
See gh-31576
2 years ago
Stephane Nicoll 69050a96d2 Merge branch '2.7.x'
Closes gh-31781
2 years ago
Stephane Nicoll 52d4dd9347 Merge branch '2.6.x' into 2.7.x
Closes gh-31780
2 years ago
Stephane Nicoll 4eb5037828 Update copyright year of changed files
See gh-31571
2 years ago
TheoCaldas 869ed4f71a Delimit output value in failure analysis
See gh-31571
2 years ago
Stephane Nicoll f52d00d9fa Merge branch '2.7.x'
Closes gh-31779
2 years ago
Stephane Nicoll 92a7af4038 Merge branch '2.6.x' into 2.7.x
Closes gh-31777
2 years ago
Johnny Lim f591c75ad7 Disable incompatible tests on macOS AArch64
This commit also updates related test support classes.

See gh-31539
2 years ago
Andy Wilkinson 31dcd49f25 Use Spring REST Docs' bom
Closes gh-31621
2 years ago
Stephane Nicoll a27321c248 Upgrade to OpenTelemetry 1.16.0
Closes gh-31766
2 years ago
Stephane Nicoll 7e3d5331b2 Upgrade to Netty 4.1.79.Final
Closes gh-31765
2 years ago
Stephane Nicoll 2909cc2be8 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31764
2 years ago
Stephane Nicoll 23887e8460 Upgrade to MongoDB 4.7.0-beta0
Closes gh-31763
2 years ago
Stephane Nicoll 785a8491b8 Upgrade to Liquibase 4.13.0
Closes gh-31762
2 years ago
Stephane Nicoll 92b8bcbdac Upgrade to Lettuce 6.2.0.RELEASE
Closes gh-31761
2 years ago
Stephane Nicoll 5ac431bf0e Upgrade to Kotlin Coroutines 1.6.4
Closes gh-31760
2 years ago
Stephane Nicoll 3e3971d78c Upgrade to HttpCore5 5.1.4
Closes gh-31759
2 years ago
Stephane Nicoll 23804540ce Upgrade to HtmlUnit 2.63.0
Closes gh-31758
2 years ago
Andy Wilkinson 9c250cae92 Merge branch '2.6.x' into 2.7.x
Closes gh-31754
2 years ago
Stephane Nicoll 186f93c3cb Revert "Upgrade to Elasticsearch 7.17.5"
This reverts commit ac4c3d2b81.

See gh-31737
2 years ago
Andy Wilkinson 8c4708982b Test our Gradle plugin against 7.5
Closes gh-31753
2 years ago
Stephane Nicoll b603138248 Upgrade to SendGrid 4.9.3
Closes gh-31747
2 years ago
Stephane Nicoll 59a394c5a5 Upgrade to Netty 4.1.79.Final
Closes gh-31746
2 years ago
Stephane Nicoll 37e0ea5142 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31745
2 years ago
Stephane Nicoll 5f65301cbc Upgrade to MariaDB 3.0.6
Closes gh-31744
2 years ago
Stephane Nicoll 90ac0e87ee Upgrade to Lettuce 6.1.9.RELEASE
Closes gh-31743
2 years ago
Stephane Nicoll 38e90497ac Upgrade to Kotlin Coroutines 1.6.3-native-mt
Closes gh-31742
2 years ago
Stephane Nicoll 611514ae89 Upgrade to JsonAssert 1.5.1
Closes gh-31741
2 years ago
Stephane Nicoll 191509292b Upgrade to Jetty Reactive HTTPClient 1.1.12
Closes gh-31740
2 years ago
Stephane Nicoll 1a4d0b2d9c Upgrade to HttpCore5 5.1.4
Closes gh-31739
2 years ago
Stephane Nicoll 689dae1b14 Upgrade to Hibernate 5.6.10.Final
Closes gh-31738
2 years ago
Stephane Nicoll ac4c3d2b81 Upgrade to Elasticsearch 7.17.5
Closes gh-31737
2 years ago
Stephane Nicoll 01fbdac192 Upgrade to Couchbase Client 3.3.2
Closes gh-31736
2 years ago
Stephane Nicoll 30a10164a8 Upgrade to Byte Buddy 1.12.12
Closes gh-31735
2 years ago
Stephane Nicoll 8a58fc438f Upgrade to Netty 4.1.79.Final
Closes gh-31731
2 years ago
Stephane Nicoll 99ad445229 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31730
2 years ago
Stephane Nicoll 877fffc02b Upgrade to MariaDB 2.7.6
Closes gh-31729
2 years ago
Stephane Nicoll e99d53bfeb Upgrade to Lettuce 6.1.9.RELEASE
Closes gh-31728
2 years ago
Stephane Nicoll 6181db3f20 Upgrade to JsonAssert 1.5.1
Closes gh-31727
2 years ago
Stephane Nicoll 38713f2586 Upgrade to Jetty Reactive HTTPClient 1.1.12
Closes gh-31726
2 years ago
Stephane Nicoll 02bf666f88 Upgrade to HttpCore5 5.1.4
Closes gh-31725
2 years ago
Stephane Nicoll 6b54aefe3e Upgrade to Hibernate 5.6.10.Final
Closes gh-31724
2 years ago
Andy Wilkinson 7bd9873cd9 Raise the minimum supported version of Gradle to 7.5
Closes gh-31215
2 years ago
Andy Wilkinson ccbd62fd82 Merge branch '2.7.x'
Closes gh-31733
2 years ago
Andy Wilkinson b6b4b3b5b6 Merge branch '2.6.x' into 2.7.x
Closes gh-31732
2 years ago
Andy Wilkinson 9443713c53 Disable Log4j2's shutdown hook with 2.18 and later
Closes gh-31719
2 years ago
Stephane Nicoll 35aa6b0ff6 Upgrade to Spring Framework 6.0.0-M5
Closes gh-31241
2 years ago
Stephane Nicoll 585a7ca71f Upgrade to Spring Framework 5.3.22
Closes gh-31613
2 years ago
Stephane Nicoll 77194eed29 Upgrade to Spring Framework 5.3.22
Closes gh-31610
2 years ago
Andy Wilkinson 3405a54f9e Exclude Jetty toolchain dependencies in favor of official API artifacts
Closes gh-31720
2 years ago
Madhura Bhave 7c56a45d3e Drop support for String path matching for MVC endpoints
Closes gh-31700
2 years ago
Jonas 6afd041bb2 Fix typo
See gh-31518
2 years ago
Stephane Nicoll 4ae4698093 Polish "Add config property for KafkaAdmin modifyTopicConfigs"
See gh-31679
2 years ago
Michael Kreis 677c05a5b1 Add config property for KafkaAdmin modifyTopicConfigs
See gh-31679
2 years ago
Stephane Nicoll 8e3aaf1cf4 Merge branch '2.7.x'
Closes gh-31707
2 years ago
Stephane Nicoll 3e4a5703c6 Merge branch '2.6.x' into 2.7.x
Closes gh-31706
2 years ago
Stephane Nicoll 628a7b0c5c Update copyright year of changed files
See gh-31516
2 years ago
“Jakub ed7b333138 Add missing descriptions for HTTP Server and Data repositories metrics
See gh-31516
2 years ago
Stephane Nicoll 9cace34a19 Merge branch '2.7.x'
Closes gh-31705
2 years ago
Stephane Nicoll b8647551cb Merge branch '2.6.x' into 2.7.x
Closes gh-31704
2 years ago
Johnny Lim b17cb9b92b Polish gh-31231
See gh-31540
2 years ago
Andy Wilkinson 88ee31c422 Upgrade to R2DBC 1.0
With the 1.0 release of the SPI, R2DBC's bom is no longer published.
This commit updates Spring Boot's dependency management to no longer
use the bom. Tests have also been updated to adapt to slight changes
in R2DBC's configuration options and their default values.

Closes gh-31702
2 years ago
Andy Wilkinson 4bd3534b7d Adapt to change in Security's filtering behavior
Spring Security now filters every dispatch by default and not only
once-per-request. Security configuration has been updated in a number of
places to restore the old behavior as needed for the tests to pass.
gh-31703 has been opened to review this and to investigate if we can
now remove the error page security filter and rely on the filtering of
every dispatch instead.

In addition to switching to once-per-request filtering where needed,
this commit also restructures the configuration of the error page
security filter. The restructuring was necessary to ensure that the
privilege evaluator bean has been defined before the conditions on the
error page security filter are evaluated. Without the change, the filter
was no longer being configured as the privilege evaluator hadn't been
defined before the on bean condition was evaluated. We may want to back
port this change as the ordering doesn't appear to have been defined
before and we were just getting lucky.

See gh-31622
See spring-projects/spring-security#11466
2 years ago
Stephane Nicoll ec14630bc4 Upgrade to Reactor 2022.0.0-M4
Closes gh-31609
2 years ago
Madhura Bhave d66e108703 Revert actuator changes related to path pattern parsing
See gh-31547
2 years ago
Stephane Nicoll 67b5f42769 Name RuntimeHintsRegistrar implementations consistently
Closes gh-31695
2 years ago
Madhura Bhave 7954f5e566 Adapt to change in default strategy for URL path matching in Spring MVC
Closes gh-31547
2 years ago
Andy Wilkinson f015095ca0 Start building againts Spring Kafka 3.0.0-M5 snapshots
See gh-31620
2 years ago
Andy Wilkinson 404bf40aff Merge branch '2.7.x' 2 years ago
Andy Wilkinson 1664ce0f20 Uses tabs consistently for indentation in spring-boot-dependencies 2 years ago
Andy Wilkinson 08d37b7fb6 Merge branch '2.7.x'
Closes gh-31694
2 years ago
Andy Wilkinson 1c2b0ae705 Merge branch '2.6.x' into 2.7.x
Closes gh-31693
2 years ago
Andy Wilkinson 7c55639167 Depend on log4j-api directly rather than via Elastic's transitives
Closes gh-31692
2 years ago
Stephane Nicoll a5862dd55d Merge branch '2.7.x'
Closes gh-31691
2 years ago
Stephane Nicoll cb2844d527 Merge branch '2.6.x' into 2.7.x
Closes gh-31690
2 years ago
Stephane Nicoll a368919600 Polish "Fix deprecation metadata for grid-fs-database"
See gh-31689
2 years ago
Felix Scheinost d5e18e61c5 Fix deprecation metadata for grid-fs-database
See gh-31689
2 years ago
Stephane Nicoll c7d8323158 Upgrade to Reactor 2020.0.21
Closes gh-31608
2 years ago
Stephane Nicoll 793586f898 Upgrade to Reactor 2020.0.21
Closes gh-31607
2 years ago
Stephane Nicoll 0a4a25c09f Start building against Spring HATEOAS 2.0.0-M4
See gh-31683
2 years ago
Moritz Halbritter 3703b317ce Enable GraalVM reachability metadata repository
Closes gh-31687
2 years ago
Moritz Halbritter 70af81675e Upgrade to Native Build Tools Plugin 0.9.13
The Native Build Tools version is now managed in gradle.properties
with the key 'nativeBuildToolsVersion'

Closes gh-31688
2 years ago
Andy Wilkinson 99fabfa934 Revert "Remove spring-aspects dependency following fix in Data JPA"
This reverts commit cd6c7cd6c9.

The fix in Spring Data JPA is incomplete so we need to reinstate the
workaround.
2 years ago
Andy Wilkinson cd6c7cd6c9 Remove spring-aspects dependency following fix in Data JPA
The recent changes in Spring Data JPA [1] mean that we no longer need
a dependency on spring-aspects for Data JPA's hint registration to
succeed.

5821272112
2 years ago
Andy Wilkinson 9b113272d1 Reinstate support for Hibernate Metrics
Closes gh-31675
2 years ago
Oliver Drotbohm b10c57551c Upgrade to Hibernate 6.1.1.Final
This commit makes the following potentially breaking changes:

- Dependency management for modules that do not exist in Hibernate
  6.1 has been removed.
- Hibernate's modules are now in the org.hibernate.orm group. Users
  not using the starter or using modules that are not in the starter
  will have to update their build configuration accordingly.
- spring.jpa.hibernate.use-new-id-generator-mappings has been removed
  as Hibernate no longer supports switching back to the old ID
  generator mappings.

Co-authored-by: Andy Wilkinson <wilkinsona@vmware.com>

Closes gh-31674
2 years ago
Moritz Halbritter beb40eaaf6 Reduce visibility for ConfigDataLocationRuntimeHintsRegistrar 2 years ago
Moritz Halbritter f1f7842a5d Upgrade to Micrometer Tracing 1.0.0-M6
Closes gh-31657
2 years ago
Andy Wilkinson d0c37979a9 Upgrade to Micrometer 1.10.0-M3
Closes gh-31617
2 years ago
Andy Wilkinson eb13f80ff4 Upgrade to Micrometer 1.9.2
Closes gh-31614
2 years ago
Andy Wilkinson fe19984147 Upgrade to Micrometer 1.8.8
Closes gh-31612
2 years ago
Andy Wilkinson 03ec079040 Start building against Reactor 2022.0.0-M4 snapshots again
See gh-31609
2 years ago
Andy Wilkinson a5b178657f Revert "Start building against Reactor 2022.0.0-M4 snapshots"
This reverts commit 47993c094b.

Couchbase and Spring Data Couchbase are not compatibile with the
latest Reactor snapshots as they use deprecated API that has now
been removed.

See gh-31609
2 years ago
Andy Wilkinson acd8d05315 Update copyright date of changed file 2 years ago
Andy Wilkinson efc5391496 Adapt to deprecations in Framework's scheduling APIs
See gh-31241
2 years ago