Commit Graph

13066 Commits

Author SHA1 Message Date
Andy Wilkinson 05adf02a47 Include SQL init auto-config in JDBC-based test slices
Closes gh-25323
2021-04-14 15:11:28 +01:00
Stephane Nicoll e2252c7856 Merge branch '2.4.x'
Closes gh-26111
2021-04-14 15:44:10 +02:00
Stephane Nicoll 401ebc672b Merge branch '2.3.x' into 2.4.x
Closes gh-26110
2021-04-14 15:43:57 +02:00
Stephane Nicoll ab785d9417 Document limitations of using deferred JPA bootstrap
Closes gh-24027
2021-04-14 15:38:34 +02:00
Stephane Nicoll fe2e57dee8 Upgrade to Spring Data 2021.0.0
Closes gh-25928
2021-04-14 15:18:12 +02:00
Stephane Nicoll 8c15e693d3 Merge branch '2.4.x'
Closes gh-26109
2021-04-14 15:07:23 +02:00
Stephane Nicoll 0d81b4d07e Merge branch '2.3.x' into 2.4.x
Closes gh-26108
2021-04-14 15:04:28 +02:00
Stephane Nicoll 0fb482579b Harmonize Neo4jContainer startup options
Closes gh-26084
2021-04-14 14:50:04 +02:00
Stephane Nicoll c04d640452 Scan for ElasticSearch's @Document type
Closes gh-26028
2021-04-14 14:42:32 +02:00
Stephane Nicoll 517998a829 Upgrade to Infinispan 12.1.1.Final
Closes gh-26053
2021-04-14 13:47:57 +02:00
Stephane Nicoll 0cedbf6e06 Upgrade to Spring Data 2020.0.8
Closes gh-25910
2021-04-14 13:37:24 +02:00
Stephane Nicoll 1de2dd9ecb Upgrade to Spring Data Neumann-SR9
Closes gh-25905
2021-04-14 13:31:16 +02:00
Stephane Nicoll 62a70475c2 Fix class condition on deprecated class
Closes gh-26107
2021-04-14 13:30:20 +02:00
Stephane Nicoll c5214b3c84 Merge branch '2.4.x'
Closes gh-26105
2021-04-14 10:06:39 +02:00
Stephane Nicoll 1855f96d07 Polish "Document spring.config.additional-location should be used early"
See gh-26085
2021-04-14 10:06:06 +02:00
Shannon Carey b0b1c04fc4 Document spring.config.additional-location should be used early
See gh-26085
2021-04-14 10:03:56 +02:00
Stephane Nicoll 90fccd7097 Upgrade to SAAJ Impl 1.5.3
Closes gh-26104
2021-04-14 08:47:27 +02:00
Stephane Nicoll 54d23bac9d Upgrade to Micrometer 1.6.6
Closes gh-26103
2021-04-14 08:47:26 +02:00
Stephane Nicoll 3a8736a112 Upgrade to Lettuce 6.0.4.RELEASE
Closes gh-26102
2021-04-14 08:47:25 +02:00
Stephane Nicoll 0429ab4b88 Upgrade to HSQLDB 2.5.2
Closes gh-26101
2021-04-14 08:47:24 +02:00
Stephane Nicoll 00b53b5bdb Upgrade to Glassfish JAXB 2.3.4
Closes gh-26100
2021-04-14 08:47:22 +02:00
Stephane Nicoll cb2a7dd4cb Upgrade to SAAJ Impl 1.5.3
Closes gh-26099
2021-04-14 08:28:19 +02:00
Stephane Nicoll cb1d7a3bc8 Upgrade to Micrometer 1.5.13
Closes gh-26098
2021-04-14 08:28:18 +02:00
Stephane Nicoll 7c85ebc9c9 Upgrade to Lettuce 5.3.7.RELEASE
Closes gh-26097
2021-04-14 08:28:16 +02:00
Stephane Nicoll 274cfc0af0 Upgrade to HSQLDB 2.5.2
Closes gh-26096
2021-04-14 08:28:14 +02:00
Stephane Nicoll 4a5cb3f29e Upgrade to Glassfish JAXB 2.3.4
Closes gh-26095
2021-04-14 08:28:13 +02:00
Stephane Nicoll caa21b0fbe Upgrade to Flatten Maven Plugin 1.2.7
Closes gh-26094
2021-04-14 08:28:12 +02:00
Stephane Nicoll f8768c053a Upgrade to Micrometer 1.7.0-RC1
Closes gh-25934
2021-04-14 08:17:09 +02:00
Stephane Nicoll 7723e7f130 Upgrade to Spring HATEOAS 1.3.0
Closes gh-25927
2021-04-14 08:16:30 +02:00
Andy Wilkinson f45202e86f Ensure String to RSA key converters can be used
Add tests to ensure that RSA key converters can be used with an
auto-configured security setup.

See gh-26089
Closes gh-24891
2021-04-13 19:13:11 -07:00
Phillip Webb 51c3e18011 Support binding with BeanFactory ConversionService
Update `BindConverter` so that multiple `ConverterServices` can be
specified when binding. This change allows `ConversionServiceDeducer`
to add both the `BeanFactory` conversion service as well as a
custom `ApplicationConversionService` when beans annotated with
`@ConfigurationPropertiesBinding` are found.

Fixes gh-26089
2021-04-13 19:13:06 -07:00
Phillip Webb 5581ec0e29 Make getSharedInstance() unmodifiable
Update `ApplicationConversionService.getSharedInstance()` so that the
instance returned is unmodifiable and converters cannot be added or
removed from it.

Closes gh-26088
2021-04-13 19:13:03 -07:00
Andy Wilkinson b0cce645dd Use a non-deprecated class to identify kotlin-gradle-plugin-api jar
See gh-26080
2021-04-13 20:29:36 +01:00
Andy Wilkinson 962fa06d9b Merge branch '2.4.x'
Closes gh-26082
2021-04-13 20:14:37 +01:00
Andy Wilkinson a58b25b5db Add package-info to o.s.b.test.autoconfigure.data.Cassandra
Closes gh-26081
2021-04-13 20:14:29 +01:00
Andy Wilkinson 4cbe6836a0 Polish o.s.b.liquibase package-info 2021-04-13 20:09:38 +01:00
dreis2211 4a1924ed73 Fix Spring Data Elasticsearch deprecations
See gh-26078
2021-04-13 20:05:48 +01:00
Andy Wilkinson 6f2b4aa685 Upgrade to Kotlin 1.5.0-RC
Closes gh-26080
Closes gh-25498
2021-04-13 19:51:03 +01:00
Andy Wilkinson 5289b50a1a Polish indentation 2021-04-13 19:07:52 +01:00
Soheel Chughtai 18b017690a Add reference to IBM MQ Spring Boot starter
See gh-26041
2021-04-13 18:17:15 +01:00
Andy Wilkinson 2e25a256d5 Allow the auto-configured RabbitMQ ConnectionFactory to be customized
Closes gh-6719
2021-04-13 18:14:38 +01:00
Stephane Nicoll a481b4aec2 Upgrade to HSQLDB 2.5.2
Closes gh-26051
2021-04-13 18:07:51 +02:00
Stephane Nicoll 15f0d3d2f3 Upgrade to Nimbus JOSE JWT 9.8.1
Closes gh-26077
2021-04-13 18:05:22 +02:00
Stephane Nicoll bcd79751c6 Upgrade to OAuth2 OIDC SDK 9.3.3
Closes gh-26076
2021-04-13 18:05:20 +02:00
Stephane Nicoll 51dc0baf02 Upgrade to Lettuce 6.1.1.RELEASE
Closes gh-26075
2021-04-13 18:05:18 +02:00
Andy Wilkinson 5873dddc1c Attempt to stabilise web server tests that use h2c
Apache HttpClient 5.1 doesn't cope with Jetty 10 sending
SETTINGS_ENABLE_CONNECT_PROTOCOL in the settings frame. It also appears
to be unstable when using Undertow, resulting in a failure and
"UT005032: Listener not making progress on framed channel, closing
channel to prevent infinite loop" being logged on the server-side.

Local experimentation suggests that Jetty's HTTP/2 client is more
robust and that it does not trigger the problem with Undertow. It also
fixes the problem with SETTINGS_ENABLE_CONNECT_PROTOCOL when testing
against Jetty 10 so this commit updates the tests to use Jetty's client.

Closes gh-26040
2021-04-13 16:15:49 +01:00
Stephane Nicoll 17a13de855 Upgrade to Undertow 2.2.7.Final
Closes gh-26073
2021-04-13 15:43:09 +02:00
Stephane Nicoll 7d5e7cecd8 Upgrade to Sun Mail 1.6.7
Closes gh-26071
2021-04-13 15:43:09 +02:00
Stephane Nicoll 75506df0ed Upgrade to Selenium HtmlUnit 2.49.1
Closes gh-26070
2021-04-13 15:43:08 +02:00
Stephane Nicoll bdc910fb1a Upgrade to Rabbit AMQP Client 5.12.0
Closes gh-26069
2021-04-13 15:43:08 +02:00
Stephane Nicoll 888330eb9d Upgrade to Netty tcNative 2.0.38.Final
Closes gh-26068
2021-04-13 15:43:08 +02:00
Stephane Nicoll 023c20594d Upgrade to Netty 4.1.63.Final
Closes gh-26067
2021-04-13 15:43:08 +02:00
Stephane Nicoll 18e751a81b Upgrade to Neo4j Java Driver 4.2.4
Closes gh-26066
2021-04-13 15:43:08 +02:00
Stephane Nicoll 7bf8b91b93 Upgrade to MongoDB 4.2.3
Closes gh-26065
2021-04-13 15:43:07 +02:00
Stephane Nicoll 50416647bb Upgrade to Mockito 3.9.0
Closes gh-26064
2021-04-13 15:43:07 +02:00
Stephane Nicoll 8eff215cd0 Upgrade to MIMEPull 1.9.14
Closes gh-26063
2021-04-13 15:43:07 +02:00
Stephane Nicoll 041b65d9ce Upgrade to Maven Invoker Plugin 3.2.2
Closes gh-26062
2021-04-13 15:43:07 +02:00
Stephane Nicoll 95d55f50e9 Upgrade to Lombok 1.18.20
Closes gh-26061
2021-04-13 15:43:07 +02:00
Stephane Nicoll e7988de2e9 Upgrade to Liquibase 4.3.3
Closes gh-26060
2021-04-13 15:43:06 +02:00
Stephane Nicoll e9ba79d5be Upgrade to Lettuce 6.1.0.RELEASE
Closes gh-26059
2021-04-13 15:43:06 +02:00
Stephane Nicoll 979cf96cae Upgrade to Jetty 9.4.39.v20210325
Closes gh-26058
2021-04-13 15:43:06 +02:00
Stephane Nicoll 2f424b15da Upgrade to Jetty Reactive HTTPClient 1.1.7
Closes gh-26057
2021-04-13 15:43:06 +02:00
Stephane Nicoll b8d3253151 Upgrade to Jaybird 4.0.3.java8
Closes gh-26056
2021-04-13 15:43:05 +02:00
Stephane Nicoll db5ef657d6 Upgrade to Jakarta Mail 1.6.7
Closes gh-26055
2021-04-13 15:43:05 +02:00
Stephane Nicoll 7c32389dd0 Upgrade to Jackson Bom 2.12.3
Closes gh-26054
2021-04-13 15:43:05 +02:00
Stephane Nicoll c66c15fac2 Upgrade to HtmlUnit 2.49.1
Closes gh-26052
2021-04-13 15:05:11 +02:00
Stephane Nicoll a2df809e8c Upgrade to Hibernate 5.4.30.Final
Closes gh-26050
2021-04-13 14:52:09 +02:00
Stephane Nicoll 313cc0d6af Upgrade to Git Commit ID Plugin 4.0.4
Closes gh-26049
2021-04-13 14:52:08 +02:00
Stephane Nicoll 7a81be0327 Upgrade to Flyway 7.7.3
Closes gh-26048
2021-04-13 14:52:07 +02:00
Stephane Nicoll 37c41607e3 Upgrade to Elasticsearch 7.12.0
Closes gh-26047
2021-04-13 14:52:06 +02:00
Stephane Nicoll 31c96ac95d Upgrade to Dropwizard Metrics 4.1.19
Closes gh-26046
2021-04-13 14:52:05 +02:00
Stephane Nicoll fbb2489a46 Upgrade to Couchbase Client 3.1.4
Closes gh-26045
2021-04-13 14:52:03 +02:00
Stephane Nicoll 25723680a0 Upgrade to Cassandra Driver 4.11.0
Closes gh-26044
2021-04-13 14:52:02 +02:00
Stephane Nicoll 7aa506a238 Upgrade to AppEngine SDK 1.9.88
Closes gh-26043
2021-04-13 14:52:01 +02:00
Stephane Nicoll 9c524c3324 Upgrade to Spring Framework 5.3.6
Closes gh-25926
2021-04-13 14:35:51 +02:00
Stephane Nicoll d10409a8ad Upgrade to Spring Framework 5.3.6
Closes gh-25909
2021-04-13 14:34:53 +02:00
Stephane Nicoll 9854a96f6e Upgrade to Spring Framework 5.2.14
Closes gh-25903
2021-04-13 14:34:08 +02:00
Andy Wilkinson e51d7d0616 Upgrade to Json-smart 2.4.2
Closes gh-25946
2021-04-13 12:54:25 +01:00
Andy Wilkinson 04e441f468 Add a config prop for the embedded database connection
Previously, the embedded database connection that would be used
could only be controlled via the classpath. If multiple embedded
database dependencies were present, it wasn't possible to control
the one that the auto-configured would use. It also wasn't possible
to disable auto-configuration of an embedded database.

This commit introduces a new configuration property,
spring.datasource.embedded-database-connection. It can be set to
one of the values of the EmbeddedDatabaseConnection enum to control
the auto-configuration of an embedded database. Setting it to none
will disable the auto-configuration and ensure that an external
database is used instead.

Closes gh-23412
2021-04-13 12:48:46 +01:00
Andy Wilkinson 059c4fbd43 Test JettyReactiveWebServerFactory against Jetty 10
Closes gh-26039
2021-04-13 12:18:29 +01:00
Andy Wilkinson 252d4e98c5 Test that HTTP/1.1 still works when HTTP/2 is enabled
See gh-25856
2021-04-13 11:19:44 +01:00
Andy Wilkinson 74b91b78fe Temporarily disable h2c tests with Jetty 10
Closes gh-26038
2021-04-13 10:25:18 +01:00
Stephane Nicoll b779c430e0 Upgrade to Spring Security 5.5.0-RC1
Closes gh-25931
2021-04-13 08:34:26 +02:00
Stephane Nicoll 7370afc326 Upgrade to Reactor 2020.0.6
Closes gh-25925
2021-04-13 08:29:25 +02:00
Stephane Nicoll 65dd408785 Upgrade to Spring Security 5.4.6
Closes gh-25911
2021-04-13 08:26:46 +02:00
Stephane Nicoll 3e4ee05aaa Upgrade to Reactor 2020.0.6
Closes gh-25908
2021-04-13 08:26:46 +02:00
Stephane Nicoll 75b65ddf62 Upgrade to Spring Security 5.3.9
Closes gh-25906
2021-04-13 08:20:13 +02:00
Stephane Nicoll a3502accbf Upgrade to Reactor Dysprosium-SR19
Closes gh-25902
2021-04-13 08:19:32 +02:00
Phillip Webb 89213c7d39 Switch default MVC path matching strategy
Change the default `spring.mvc.pathmatch.matching-strategy` to
`PATH_PATTERN_PARSER`.

Closes gh-24805
2021-04-12 18:43:08 -07:00
Scott Frederick b0ee15e7cc Merge branch '2.4.x'
Closes gh-26032
2021-04-12 16:05:08 -05:00
Scott Frederick 91ee590fd4 Remove @Persistent from MongoDB entity scanning
This commit removes `org.springframework.data.annotation.Persistent`
from the annotation types used for MongoDB entity scanning to align
with Spring Data MongoDB.

Fixes gh-25797
2021-04-12 16:04:38 -05:00
Andy Wilkinson 713c0fce7c Auto-configure H2C when HTTP/2 is enabled and SSL is disabled 2021-04-12 17:16:14 +01:00
Stephane Nicoll 1f71c8241c Merge branch '2.4.x'
Closes gh-26030
2021-04-12 16:55:37 +02:00
Stephane Nicoll 305bcb10ae Merge branch '2.3.x' into 2.4.x
Closes gh-26029
2021-04-12 16:55:26 +02:00
Stephane Nicoll d96fcf320c Harmonize Elasticsearch converter auto-configuration
This commit harmonizes our auto-configuration so that default converters
are configured the same way ElasticsearchConfigurationSupport does.

Closes gh-25087
2021-04-12 16:51:57 +02:00
Andy Wilkinson c4750fd0ff Support Gradle 7 and raise minimum supported version to 6.8
Closes gh-26026
2021-04-12 15:20:32 +01:00
Stephane Nicoll 8506a00071 Merge branch '2.4.x'
Closes gh-26025
2021-04-12 14:19:53 +02:00
Stephane Nicoll fd6ad5b889 Merge branch '2.3.x' into 2.4.x
Closes gh-26024
2021-04-12 14:19:41 +02:00
Stephane Nicoll 7286c33f53 Document default behaviour of DataJpaTest#showSql
Closes gh-25843
2021-04-12 14:14:36 +02:00
Andy Wilkinson eda9fe4952 Fix group IDs of HttpCore v4 and v5 dependency management
See gh-26004
2021-04-12 10:41:57 +01:00