Commit Graph

18032 Commits

Author SHA1 Message Date
Stephane Nicoll ac65835103 Upgrade to Spring Integration 5.5.14
Closes gh-31799
2022-07-20 09:16:17 +02:00
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
2022-07-20 09:15:50 +02:00
Andy Wilkinson f29eed89ca Reinstate merge of pull request #31713 from dreis2211
This reverts commit 8deef6cb42.
2022-07-19 19:57:24 +01:00
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
2022-07-19 17:59:58 +01:00
Andy Wilkinson 8deef6cb42 Revert "Merge pull request #31713 from dreis2211"
This reverts commit 590bfd8a5c, reversing
changes made to 993e1bf5f2.
2022-07-19 17:29:14 +01:00
Andy Wilkinson 0f7079a05a Add missing auto-config to Elasticsearch reactive repo tests
See 5c057a2730
2022-07-19 17:16:30 +01:00
Brian Clozel 7c7a32a568 Auto-configure GraphQL subscription exception handling
Closes gh-31794
2022-07-19 16:53:11 +02:00
Moritz Halbritter 5030cfedcc Revert "Make MeterRegistry lazy in TimerObservationHandlerObservationRegistryCustomizer"
This reverts commit 04391275c1.
2022-07-19 16:33:35 +02:00
Moritz Halbritter e35140d54f Add tests for SpringApplicationRuntimeHints 2022-07-19 16:29:25 +02:00
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
2022-07-19 15:26:42 +01:00
Moritz Halbritter f9ccfc1e12 Register Encoding on ReflectionHints for binding
Closes gh-31528
2022-07-19 16:22:08 +02:00
Moritz Halbritter 750e0aa293 Rename ConfigurationPropertiesReflectionHintsRegistrar 2022-07-19 16:22:08 +02:00
Andy Wilkinson b599bfe5ac Temporarily work around deprecations in Spring Batch
See gh-31623
2022-07-19 15:14:34 +01:00
Moritz Halbritter 26741d8044 Register SpringApplication on ReflectionHints for binding
Closes gh-31534
2022-07-19 16:07:10 +02:00
Moritz Halbritter 55bb921a37 Extract TypeProcessor into separate class 2022-07-19 16:06:02 +02:00
Moritz Halbritter 0291388f2a Polish 2022-07-19 14:26:00 +02:00
Moritz Halbritter 13c920b2a9 Add AOT support for ReactiveHealthEndpointWebExtension
See gh-31530
2022-07-19 14:24:20 +02:00
Stephane Nicoll a62ea1e3b8 Upgrade to AppEngine SDK 1.9.98
Closes gh-31790
2022-07-19 14:14:05 +02:00
Stephane Nicoll 4449f41cf5 Upgrade to Kotlin Coroutines 1.6.4
Closes gh-31742
2022-07-19 14:12:20 +02:00
Stephane Nicoll e48f5de20f Upgrade to AppEngine SDK 1.9.98
Closes gh-31788
2022-07-19 14:09:31 +02:00
Stephane Nicoll 51cba6ec72 Polish "Add AOT support for actuator"
See gh-31671
2022-07-19 13:02:49 +02:00
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
2022-07-19 13:02:48 +02:00
Phillip Webb 00ec17b418 Fix checkstyle violation
See gh-31323
2022-07-19 11:51:44 +01:00
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>
2022-07-19 11:28:17 +01:00
Andy Wilkinson 4278683f26 Upgrade to Spring Kafka 2.8.8
Closes gh-31786
2022-07-18 20:12:04 +01:00
Andy Wilkinson a326a1291e Upgrade to Spring Kafka 2.8.8
Closes gh-31785
2022-07-18 20:10:36 +01:00
Andy Wilkinson 1bf0ee5b1c Upgrade to Spring Security 6.0.0-M6
Closes gh-31622
2022-07-18 20:02:51 +01:00
Andy Wilkinson 8957d50e61 Upgrade to Spring Kafka 3.0.0-M5
Closes gh-31620
2022-07-18 20:00:34 +01:00
Andy Wilkinson 7fb6665774 Upgrade to Spring REST Docs 3.0.0-M4
Closes gh-31621
2022-07-18 19:57:57 +01:00
Stephane Nicoll 69570a6f26 Revert to Spring LDAP 3.0.0-M2
See gh-31618
2022-07-18 15:19:35 +02:00
Stephane Nicoll 46ddd858b8 Upgrade to Spring Data 2022.0.0-M5
Closes gh-31619
2022-07-18 15:19:13 +02:00
Stephane Nicoll e1c22bc291 Upgrade to Spring HATEOAS 2.0.0-M5
Closes gh-31683
2022-07-18 15:18:44 +02:00
Stephane Nicoll 503656000d Upgrade to Spring Data 2021.1.6
Closes gh-31611
2022-07-18 15:17:46 +02:00
Stephane Nicoll e25d3d6a03 Upgrade to Spring Data 2021.1.6
Closes gh-31611
2022-07-18 15:17:02 +02:00
Stephane Nicoll 501472697d Add resource hints for default templates location
Closes gh-31310
2022-07-18 15:14:21 +02:00
dreis2211 5adccb7857 Fix deprecations in javadocs
See gh-31713
2022-07-18 14:31:21 +02:00
Stephane Nicoll f5f3d7cc67 Polish "Add configuration property for RemoteIpValve's trusted proxies"
See gh-31576
2022-07-18 11:58:05 +02:00
lihan 7d6129547f Add configuration property for RemoteIpValve's trusted proxies
See gh-31576
2022-07-18 11:50:52 +02:00
Stephane Nicoll 69050a96d2 Merge branch '2.7.x'
Closes gh-31781
2022-07-18 11:49:31 +02:00
Stephane Nicoll 52d4dd9347 Merge branch '2.6.x' into 2.7.x
Closes gh-31780
2022-07-18 11:49:22 +02:00
Stephane Nicoll 4eb5037828 Update copyright year of changed files
See gh-31571
2022-07-18 11:48:35 +02:00
TheoCaldas 869ed4f71a Delimit output value in failure analysis
See gh-31571
2022-07-18 11:36:39 +02:00
Stephane Nicoll f52d00d9fa Merge branch '2.7.x'
Closes gh-31779
2022-07-18 11:30:45 +02:00
Stephane Nicoll 92a7af4038 Merge branch '2.6.x' into 2.7.x
Closes gh-31777
2022-07-18 11:30:36 +02:00
Johnny Lim f591c75ad7 Disable incompatible tests on macOS AArch64
This commit also updates related test support classes.

See gh-31539
2022-07-18 11:25:52 +02:00
Andy Wilkinson 31dcd49f25 Use Spring REST Docs' bom
Closes gh-31621
2022-07-15 17:25:18 +01:00
Stephane Nicoll a27321c248 Upgrade to OpenTelemetry 1.16.0
Closes gh-31766
2022-07-15 12:12:22 +02:00
Stephane Nicoll 7e3d5331b2 Upgrade to Netty 4.1.79.Final
Closes gh-31765
2022-07-15 12:12:21 +02:00
Stephane Nicoll 2909cc2be8 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31764
2022-07-15 12:12:21 +02:00
Stephane Nicoll 23887e8460 Upgrade to MongoDB 4.7.0-beta0
Closes gh-31763
2022-07-15 12:12:21 +02:00
Stephane Nicoll 785a8491b8 Upgrade to Liquibase 4.13.0
Closes gh-31762
2022-07-15 12:12:21 +02:00
Stephane Nicoll 92b8bcbdac Upgrade to Lettuce 6.2.0.RELEASE
Closes gh-31761
2022-07-15 12:12:21 +02:00
Stephane Nicoll 5ac431bf0e Upgrade to Kotlin Coroutines 1.6.4
Closes gh-31760
2022-07-15 11:39:41 +02:00
Stephane Nicoll 3e3971d78c Upgrade to HttpCore5 5.1.4
Closes gh-31759
2022-07-15 11:39:38 +02:00
Stephane Nicoll 23804540ce Upgrade to HtmlUnit 2.63.0
Closes gh-31758
2022-07-15 11:39:35 +02:00
Andy Wilkinson 9c250cae92 Merge branch '2.6.x' into 2.7.x
Closes gh-31754
2022-07-14 17:28:54 +01:00
Stephane Nicoll 186f93c3cb Revert "Upgrade to Elasticsearch 7.17.5"
This reverts commit ac4c3d2b81.

See gh-31737
2022-07-14 18:26:48 +02:00
Andy Wilkinson 8c4708982b Test our Gradle plugin against 7.5
Closes gh-31753
2022-07-14 17:25:34 +01:00
Stephane Nicoll b603138248 Upgrade to SendGrid 4.9.3
Closes gh-31747
2022-07-14 18:25:34 +02:00
Stephane Nicoll 59a394c5a5 Upgrade to Netty 4.1.79.Final
Closes gh-31746
2022-07-14 18:25:34 +02:00
Stephane Nicoll 37e0ea5142 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31745
2022-07-14 18:25:34 +02:00
Stephane Nicoll 5f65301cbc Upgrade to MariaDB 3.0.6
Closes gh-31744
2022-07-14 18:25:34 +02:00
Stephane Nicoll 90ac0e87ee Upgrade to Lettuce 6.1.9.RELEASE
Closes gh-31743
2022-07-14 18:25:33 +02:00
Stephane Nicoll 38e90497ac Upgrade to Kotlin Coroutines 1.6.3-native-mt
Closes gh-31742
2022-07-14 18:25:33 +02:00
Stephane Nicoll 611514ae89 Upgrade to JsonAssert 1.5.1
Closes gh-31741
2022-07-14 18:25:33 +02:00
Stephane Nicoll 191509292b Upgrade to Jetty Reactive HTTPClient 1.1.12
Closes gh-31740
2022-07-14 18:25:33 +02:00
Stephane Nicoll 1a4d0b2d9c Upgrade to HttpCore5 5.1.4
Closes gh-31739
2022-07-14 18:25:33 +02:00
Stephane Nicoll 689dae1b14 Upgrade to Hibernate 5.6.10.Final
Closes gh-31738
2022-07-14 18:25:32 +02:00
Stephane Nicoll ac4c3d2b81 Upgrade to Elasticsearch 7.17.5
Closes gh-31737
2022-07-14 18:25:32 +02:00
Stephane Nicoll 01fbdac192 Upgrade to Couchbase Client 3.3.2
Closes gh-31736
2022-07-14 18:25:32 +02:00
Stephane Nicoll 30a10164a8 Upgrade to Byte Buddy 1.12.12
Closes gh-31735
2022-07-14 18:25:32 +02:00
Stephane Nicoll 8a58fc438f Upgrade to Netty 4.1.79.Final
Closes gh-31731
2022-07-14 17:02:48 +02:00
Stephane Nicoll 99ad445229 Upgrade to Neo4j Java Driver 4.4.9
Closes gh-31730
2022-07-14 17:02:48 +02:00
Stephane Nicoll 877fffc02b Upgrade to MariaDB 2.7.6
Closes gh-31729
2022-07-14 17:02:47 +02:00
Stephane Nicoll e99d53bfeb Upgrade to Lettuce 6.1.9.RELEASE
Closes gh-31728
2022-07-14 17:02:47 +02:00
Stephane Nicoll 6181db3f20 Upgrade to JsonAssert 1.5.1
Closes gh-31727
2022-07-14 17:02:47 +02:00
Stephane Nicoll 38713f2586 Upgrade to Jetty Reactive HTTPClient 1.1.12
Closes gh-31726
2022-07-14 17:02:46 +02:00
Stephane Nicoll 02bf666f88 Upgrade to HttpCore5 5.1.4
Closes gh-31725
2022-07-14 17:02:46 +02:00
Stephane Nicoll 6b54aefe3e Upgrade to Hibernate 5.6.10.Final
Closes gh-31724
2022-07-14 17:02:46 +02:00
Andy Wilkinson 7bd9873cd9 Raise the minimum supported version of Gradle to 7.5
Closes gh-31215
2022-07-14 15:56:32 +01:00
Andy Wilkinson ccbd62fd82 Merge branch '2.7.x'
Closes gh-31733
2022-07-14 15:48:51 +01:00
Andy Wilkinson b6b4b3b5b6 Merge branch '2.6.x' into 2.7.x
Closes gh-31732
2022-07-14 15:39:15 +01:00
Andy Wilkinson 9443713c53 Disable Log4j2's shutdown hook with 2.18 and later
Closes gh-31719
2022-07-14 15:38:19 +01:00
Stephane Nicoll 35aa6b0ff6 Upgrade to Spring Framework 6.0.0-M5
Closes gh-31241
2022-07-14 16:11:49 +02:00
Stephane Nicoll 585a7ca71f Upgrade to Spring Framework 5.3.22
Closes gh-31613
2022-07-14 16:10:37 +02:00
Stephane Nicoll 77194eed29 Upgrade to Spring Framework 5.3.22
Closes gh-31610
2022-07-14 16:09:35 +02:00
Andy Wilkinson 3405a54f9e Exclude Jetty toolchain dependencies in favor of official API artifacts
Closes gh-31720
2022-07-14 13:55:26 +01:00
Madhura Bhave 7c56a45d3e Drop support for String path matching for MVC endpoints
Closes gh-31700
2022-07-13 14:03:32 -07:00
Jonas 6afd041bb2 Fix typo
See gh-31518
2022-07-13 16:18:53 +02:00
Stephane Nicoll 4ae4698093 Polish "Add config property for KafkaAdmin modifyTopicConfigs"
See gh-31679
2022-07-13 16:10:35 +02:00
Michael Kreis 677c05a5b1 Add config property for KafkaAdmin modifyTopicConfigs
See gh-31679
2022-07-13 16:01:33 +02:00
Stephane Nicoll 8e3aaf1cf4 Merge branch '2.7.x'
Closes gh-31707
2022-07-13 14:12:28 +02:00
Stephane Nicoll 3e4a5703c6 Merge branch '2.6.x' into 2.7.x
Closes gh-31706
2022-07-13 14:11:44 +02:00
Stephane Nicoll 628a7b0c5c Update copyright year of changed files
See gh-31516
2022-07-13 14:08:22 +02:00
“Jakub ed7b333138 Add missing descriptions for HTTP Server and Data repositories metrics
See gh-31516
2022-07-13 13:55:36 +02:00
Stephane Nicoll 9cace34a19 Merge branch '2.7.x'
Closes gh-31705
2022-07-13 13:50:36 +02:00
Stephane Nicoll b8647551cb Merge branch '2.6.x' into 2.7.x
Closes gh-31704
2022-07-13 13:50:17 +02:00
Johnny Lim b17cb9b92b Polish gh-31231
See gh-31540
2022-07-13 13:49:13 +02:00
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
2022-07-13 12:09:56 +01:00
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
2022-07-13 12:09:46 +01:00