Andy Wilkinson
dccc82d729
Upgrade to Hibernate Validator 6.1.6.Final
...
Closes gh-23871
2020-10-26 12:58:38 +00:00
Andy Wilkinson
eb9dafe4ee
Upgrade to Hibernate 5.4.22.Final
...
Closes gh-23870
2020-10-26 12:58:38 +00:00
Andy Wilkinson
7d0f5ce8fd
Upgrade to Hazelcast 3.12.10
...
Closes gh-23869
2020-10-26 12:58:38 +00:00
Andy Wilkinson
1b0cb179e7
Upgrade to Dropwizard Metrics 4.1.14
...
Closes gh-23868
2020-10-26 12:58:38 +00:00
Andy Wilkinson
2958ff3b16
Upgrade to Couchbase Client 3.0.9
...
Closes gh-23867
2020-10-26 12:58:37 +00:00
Andy Wilkinson
5e71a72545
Upgrade to Caffeine 2.8.6
...
Closes gh-23866
2020-10-26 12:58:37 +00:00
Andy Wilkinson
fca4ab78f4
Upgrade to Byte Buddy 1.10.17
...
Closes gh-23865
2020-10-26 12:58:37 +00:00
Andy Wilkinson
16b26cc9da
Align versions of scala-library and scala-reflect
...
Closes gh-23887
2020-10-26 12:58:37 +00:00
Andy Wilkinson
ac8d55db78
Upgrade to Spring Security 5.2.7.RELEASE
...
Closes gh-23862
2020-10-26 10:25:29 +00:00
Andy Wilkinson
dc523c1bbd
Upgrade to Lombok 1.18.16
...
Closes gh-23861
2020-10-26 10:25:27 +00:00
Andy Wilkinson
072bfae4af
Upgrade to Postgresql 42.2.18
...
Closes gh-23860
2020-10-26 10:25:26 +00:00
Andy Wilkinson
e9fe96b0ba
Upgrade to Neo4j Ogm 3.2.17
...
Closes gh-23859
2020-10-26 10:25:25 +00:00
Andy Wilkinson
3b63e2c6da
Upgrade to Hibernate Validator 6.0.21.Final
...
Closes gh-23858
2020-10-26 10:25:24 +00:00
Andy Wilkinson
fdf44f1fd1
Upgrade to Hibernate 5.4.22.Final
...
Closes gh-23857
2020-10-26 10:25:22 +00:00
Andy Wilkinson
53a458ffcf
Upgrade to Elasticsearch 6.8.13
...
Closes gh-23856
2020-10-26 10:25:21 +00:00
Andy Wilkinson
5854abcbf1
Upgrade to Jetty 9.4.33.v20201020
...
Closes gh-23855
2020-10-26 10:25:19 +00:00
Andy Wilkinson
4588889da4
Upgrade to Tomcat 9.0.39
...
Closes gh-23854
2020-10-26 10:25:18 +00:00
Andy Wilkinson
1ef399b6fa
Upgrade to Httpclient 4.5.13
...
Closes gh-23853
2020-10-26 10:25:16 +00:00
Andy Wilkinson
e8cf97bdbb
Upgrade to Byte Buddy 1.10.17
...
Closes gh-23852
2020-10-26 10:25:15 +00:00
Andy Wilkinson
46392bc50d
Upgrade to Mysql 8.0.22
...
Closes gh-23851
2020-10-26 10:25:14 +00:00
Andy Wilkinson
39e81521cb
Upgrade to Joda Time 2.10.8
...
Closes gh-23850
2020-10-26 10:25:13 +00:00
Andy Wilkinson
1cc0a45749
Upgrade to Undertow 2.0.32.Final
...
Closes gh-23849
2020-10-26 10:25:11 +00:00
Andy Wilkinson
fc94588d9f
Upgrade to Rxjava2 2.2.20
...
Closes gh-23848
2020-10-26 10:25:10 +00:00
Andy Wilkinson
d6c20b917b
Upgrade to Netty 4.1.53.Final
...
Closes gh-23847
2020-10-26 10:25:09 +00:00
Andy Wilkinson
b0ddcdd695
Upgrade to Dropwizard Metrics 4.1.14
...
Closes gh-23846
2020-10-26 10:25:07 +00:00
Andy Wilkinson
91a71e3ca7
Upgrade to Hazelcast 3.12.10
...
Closes gh-23845
2020-10-26 10:25:06 +00:00
Andy Wilkinson
1b10af0c55
Upgrade to Caffeine 2.8.6
...
Closes gh-23844
2020-10-26 10:25:04 +00:00
Stephane Nicoll
d1e503602b
Polish
2020-10-24 07:39:50 +02:00
Phillip Webb
f84323fe3e
Prevent duplicate jar entries from being written
...
Update the `AbstractJarWriter` so that it can directly build the layer
index as entries are written. Prior to this commit, a layer tracking
was handled by a decorator class which was broken because it didn't
override enough methods. Since `AbstractJarWriter` has quite a complex
API, it seems sensible to have it handle the layer index directly,
removing the need for a decorator entirely.
Fixes gh-23801
2020-10-22 20:55:09 -07:00
Brian Clozel
b37eecc015
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23812
2020-10-22 20:16:01 +02:00
Brian Clozel
9478cd2dfb
Document how to configure h2c protocol
...
Prior to this commit, the how-to documentation would say that Spring
Boot does not support the h2c protocol. While it's not supported
out-of-the-box with a configuration property, this protocol can still be
configured using server customizers.
This commit documents, with code snippets, the server customizers one
should use to configure the h2c protocol in an application - for each
supported server.
Closes gh-21997
2020-10-22 20:04:35 +02:00
Brian Clozel
5eb1e26e10
Add HttpEncodingAutoConfiguration to WebMvcTest
...
Prior to this commit, tests using the `@WebMvcTest` annotation would not
include the `HttpEncodingAutoConfiguration`. This means that, even if
configured, the encoding filter would not be configured in MVC tests,
resulting in an inconsistency with `@SpringBootTest` tests.
This commit ensures that the `HttpEncodingAutoConfiguration` is included
when `@WebMvcTest` is used.
Fixes gh-23749
2020-10-22 20:02:45 +02:00
Scott Frederick
43cfebaca0
Ignore properties files in hidden directories
...
This commit modifies the logic for finding properties files using
wildcard paths to ignore files if any part of the file path contains
a hidden directory. Hidden directories are common when Kubernetes
mounts config maps onto volumes in a pod, which was causing the same
properties files to be loaded multiple times.
Fixes gh-23160
2020-10-21 18:01:44 -05:00
Stephane Nicoll
37cbf1bb2d
Start building against Spring Kafka 2.5.7 snapshots
...
See gh-23787
2020-10-21 15:27:42 +02:00
Stephane Nicoll
77637ddd7d
Start building against Spring AMQP 2.2.12 snapshots
...
See gh-23784
2020-10-21 15:27:03 +02:00
Stephane Nicoll
55a0152fe5
Start building against Spring Integration 5.3.3 snapshots
...
See gh-23780
2020-10-21 15:26:27 +02:00
Stephane Nicoll
5e6595b771
Start building against Spring Data Neumann-SR5 snapshots
...
See gh-23777
2020-10-21 15:25:46 +02:00
Stephane Nicoll
a601901a6c
Start building against Spring Kafka 2.3.12 snapshots
...
See gh-23786
2020-10-21 15:06:01 +02:00
Stephane Nicoll
2415987c70
Start building against Spring AMQP 2.2.12 snapshots
...
See gh-23783
2020-10-21 15:05:07 +02:00
Stephane Nicoll
bc8d200905
Start building against Spring Data Moore-SR11 Snapshots
...
See gh-23776
2020-10-21 15:04:18 +02:00
Stephane Nicoll
e61595927b
Start building against Reactor Dysprosium-SR13 snapshots
...
See gh-23770
2020-10-21 10:11:09 +02:00
Stephane Nicoll
551623435b
Start building against Spring Framework 5.2.10 snapshots
...
See gh-23773
2020-10-21 09:49:47 +02:00
Stephane Nicoll
7b4e3462ec
Start building against Reactor Dysprosium-SR13 snapshots
...
See gh-23769
2020-10-21 09:48:50 +02:00
Stephane Nicoll
4371a3c080
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23764
2020-10-20 17:05:49 +02:00
Stephane Nicoll
4f4cc8b182
Polish contribution
...
See gh-23755
2020-10-20 16:56:30 +02:00
cdalexndr
2f2b1b9656
Note that using LiveReload requires Devtools restart to be enabled
...
See gh-23755
2020-10-20 16:53:49 +02:00
Stephane Nicoll
f4e822f650
Prevent access to the EMF within the singleton lock
...
This commit makes sure to defer registration of hibernate statistics
outside of the singleton lock as it can lead to deadlocks when the
EntityManagerFactory is initialized in deferred mode.
Closes gh-23740
2020-10-20 09:59:07 +02:00
Stephane Nicoll
b7a8b0f19b
Hacking
...
See gh-23740
2020-10-20 09:32:40 +02:00
Andy Wilkinson
633027b1cd
Upgrade to Gradle 6.7
...
Closes gh-23754
2020-10-19 17:52:01 +01:00
Andy Wilkinson
a754b791a2
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23750
2020-10-19 14:32:23 +01:00
Andy Wilkinson
11bc62fb83
Stop using PostConstruct to default session timeout to ServerProperties'
...
Fixes gh-23716
2020-10-19 14:31:01 +01:00
Stephane Nicoll
dd74810c80
Revert "Fix detection logic for embedded databases"
...
This reverts commit c4a5a34702
.
See gh-23721
2020-10-19 12:25:00 +02:00
Andy Wilkinson
e8187f9bb0
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23743
2020-10-19 10:25:24 +01:00
Andy Wilkinson
2a40bd7853
Register shutdown hook so it can tidy up a partial refresh
...
Previously, the shutdown hook was only registered once refresh has
completed. If the JVM was shut down during refresh (or after refresh
and before the hook was registered) the hook wouldn't run and the
partially refreshed context would not be cleaned up.
This commit moves the registration of the shutdown hook to before
refresh processing begins. This ensures that the hook is available
to clean up the context if the JVM is shutdown while refresh is in
progress.
Fixes gh-23625
2020-10-19 09:16:07 +01:00
Andy Wilkinson
11b5e86ffd
Deprecate BootJar#getConfigurations
...
Fixes gh-23527
2020-10-17 07:54:38 +01:00
Asha Somayajula
c4a5a34702
Fix detection logic for embedded databases
...
Closes gh-23721
2020-10-17 07:51:24 +02:00
Scott Frederick
9c672deb2d
Add javadoc links in Maven plugin parameter docs
...
This commit modifies the documentation generated for the
Maven plugin to include links to javadoc when Spring
Boot types are mentioned. Some javadoc was also polished
to improve the generated docs.
Fixes gh-21555
2020-10-16 17:45:46 -05:00
Stephane Nicoll
6beb0c939f
Document how to override plugin configuration on the command line
...
Closes gh-21536
2020-10-16 10:57:30 +02:00
Stephane Nicoll
b210d0680a
Polish
2020-10-16 10:34:58 +02:00
Andy Wilkinson
0abe38d478
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23676
2020-10-13 13:18:53 +01:00
Andy Wilkinson
7fc345f587
Apply server.undertow.eager-filter-init to factory
...
Fixes gh-23675
2020-10-13 13:02:36 +01:00
Andy Wilkinson
a9a32f39b5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23671
2020-10-13 11:20:18 +01:00
Andy Wilkinson
667ccdae84
Simplify temp directory creation and improve diagnostics
...
Closes gh-23622
2020-10-13 11:18:06 +01:00
Scott Frederick
de685bdca4
Document buildpack configuration of JVM options
...
Fixes gh-21582
2020-10-09 13:21:37 -05:00
Scott Frederick
49b0707f1a
Clarify image builder configuration documentation
...
This commit qualifies examples of configuring the CNB builder to clarify
that the examples apply to use of the default Paketo builder, and adds links
to the official Paketo docs for more details.
Fixes gh-19967
2020-10-08 17:02:17 -05:00
Phillip Webb
0709c7671f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23614
2020-10-07 11:41:11 -07:00
Phillip Webb
ce70e7d768
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23613
2020-10-07 11:40:55 -07:00
Phillip Webb
1db2f5f960
Support Formatter conversion service beans
...
Update `ConversionServiceDeducer` to also include `Formatter` beans
when they are qualified with `@ConfigurationPropertiesBinding`.
Fixes gh-23576
2020-10-07 11:34:57 -07:00
Phillip Webb
61181b4554
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23611
2020-10-07 11:05:22 -07:00
Phillip Webb
c523295694
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23610
2020-10-07 11:04:39 -07:00
Phillip Webb
206356728c
Add upgrading section to reference docs
...
Add a section to the reference documentation with links to the release
notes on the wiki.
Closes gh-23529
2020-10-07 11:04:20 -07:00
Andy Wilkinson
543763462c
Update tests to look for snippets in correct location
...
See gh-23598
2020-10-06 15:57:25 +01:00
Andy Wilkinson
7eb92cc71a
More Gradle snippets to correct location
...
See gh-23598
2020-10-06 14:44:26 +01:00
Andy Wilkinson
2d3291fb83
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23598
2020-10-06 14:35:49 +01:00
Andy Wilkinson
7ac14203ab
Expand Gradle plugin's docs on setting bootRun's system properties
...
Closes gh-23578
2020-10-06 14:35:30 +01:00
Thorasine
6c3dfac1d0
Fix typos
...
See gh-23561
2020-10-02 09:32:26 +02:00
Madhura Bhave
e2289e2f21
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23569
2020-10-01 18:19:35 -07:00
Madhura Bhave
c0f158dffd
Polish "Do not fail if h2Console bean cannot connect to db"
...
See gh-23566
2020-10-01 18:16:11 -07:00
Shraddha Yeole
2d76de29ff
Do not fail if h2Console bean cannot connect to db
...
See gh-23566
2020-10-01 18:10:48 -07:00
Madhura Bhave
9a6d52e30d
Merge branch '2.2.x' into 2.3.x
2020-10-01 18:01:53 -07:00
Madhura Bhave
3118ca9313
Polish
2020-10-01 18:01:11 -07:00
Madhura Bhave
121ba2b0ab
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23567
2020-10-01 17:16:37 -07:00
ketaki-t
66aa24b5f0
Remove documentation for unsupported gradle versions
...
See gh-23562
2020-10-01 17:13:26 -07:00
Andy Wilkinson
914dccade2
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23555
2020-10-01 12:30:16 +01:00
Andy Wilkinson
323af718e2
Only change the method of requests that Jetty won't handle by default
...
Previously, JettyEmbeddedErrorHandler would change the method of every
request that is handles to GET. This was being done to work around
Jetty's error handling only dealing with GET, POST, and HEAD requests
by default. It had the unwanted side-effect of causing an error
response to a HEAD request having a body as, from the error handling's
perspective, it was a GET request.
This commit updates JettyEmbeddedErrorHandler to only set the method
on a request for which error handling is being performed if the method
isn't already one that will be handled, leaving the method of GET,
POST, and HEAD requests unchanged.
Unfortunately, short of implementing an HTTP client, this change cannot
be tested as the Apache HttpClient, OkHttp, and the JDK's
HttpURLConnection all silently drop the body of a response to a HEAD
request, preventing a test from asserting that a body hasn't been sent.
Closes gh-23551
2020-10-01 12:29:44 +01:00
Andy Wilkinson
bd4934b0fd
Fix matching of SNAPSHOT artifacts when customizing layers
...
Previously the artifact's version was used. In an artifact's version,
SNAPSHOT is replaced with the timestamped version number of a specific
snapshot. As a result, it no longer matches the *:*:*SNAPSHOT pattern.
This commit replaces switches to using the artifact's base version.
This preserves the SNAPSHOT in the version number. For non-snapshot
artifacts, the version and base version are identical.
Fixes gh-23533
2020-09-30 14:48:04 +01:00
Stephane Nicoll
cd15cbdc79
Do not execute datasource initialization in a separate thread
...
This commit makes sure that `data.sql` is performed in the same thread
as the one initializing the JPA container.
Closes gh-22852
2020-09-30 10:10:16 +02:00
Stephane Nicoll
789fafadac
Start building against Spring Framework 5.3.10 snapshots
...
See gh-23526
2020-09-30 10:00:21 +02:00
Stephane Nicoll
466c1012d6
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23521
2020-09-29 10:44:30 +02:00
Stephane Nicoll
fd3683646a
Migrate SessionAutoConfigurationMongoTests to Testcontainers
...
Closes gh-23512
2020-09-29 10:34:59 +02:00
Stephane Nicoll
2c1634e6ed
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23508
2020-09-28 09:21:51 +02:00
Rujun Chen
8330752b11
Add mising entry for Netty tcnative dependency management
...
See gh-23502
2020-09-28 09:18:44 +02:00
Andy Wilkinson
9bd040cb0f
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23500
2020-09-26 09:16:46 +01:00
Andy Wilkinson
e74f777971
Remove use of spring-core's Assert from PropertiesLauncher
...
Fixes gh-23474
2020-09-26 09:11:05 +01:00
Andy Wilkinson
df5cd21ca5
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23481
2020-09-24 19:04:17 +01:00
Andy Wilkinson
6dc8e6815d
Align default tldScanPatterns with Tomcat's
...
Previously, we configured embedded Tomcat in such a way that no TLD
scan patterns were configured. This differed from a standalone
Tomcat installation where 4 patterns are configured that take
precedence over some of the skip patterns. The missing scan patterns
resulted in the skip patterns preventing the discovery of Log4j2's
TLDs.
This commit updates TomcatServletWebServerFactory to configure the
same four scan patterns as standalone Tomcat configures by default.
Fixes gh-23302
2020-09-24 17:51:38 +01:00
Andy Wilkinson
e626f7f47e
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23477
2020-09-24 14:45:55 +01:00
Andy Wilkinson
bf9d23e55a
Consider SpringBootTest's web environment in context cache key
...
Previously, the web environment configured on `@SpringBootTest` was not
part of the context cache key. As a result, two test classes that has
identical configuration other than one using a MOCK web environment and
the other using a DEFINED_PORT web environment would share a context
when they should not do so. Classes that use MOCK and RANDOM_PORT were
not affected as the use of RANDOM_PORT results in a property for the
port being added to the environment.
This commit adds a new ContextCustomizer, SpringBootTestWebEnvironment,
that is used to capture the `webEnvironment` from `@SpringBootTest`
and use it in its hashCode and equals implementations. This fixes the
problem as all context customizers are evaluated when determing the
equality of two context cache keys.
Fixes gh-23085
2020-09-24 14:43:51 +01:00
Stephane Nicoll
b3c5588c86
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23461
2020-09-23 14:36:41 +02:00
Pavel Gordon
62eb835a4e
Fix link to Log4j's JDK Logging Adapter in reference documentation
...
See gh-23459
2020-09-23 14:36:00 +02:00
Andy Wilkinson
232c310df2
Merge branch '2.2.x' into 2.3.x
2020-09-22 16:26:39 +01:00
Andy Wilkinson
24102656f2
Fix Log4j2 XML configuration tests on Windows
...
See gh-22983
2020-09-22 16:03:58 +01:00
Stephane Nicoll
3adf06df17
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23452
2020-09-22 16:45:08 +02:00
Stephane Nicoll
2999f09a40
Rework tip on templates location in the IDE
...
This commit rework the tip on locating templates when running the app
in the IDE. Using classpath* should not change anything as this won't
make a difference without a pattern in the path.
Closes gh-23068
2020-09-22 16:44:16 +02:00
Stephane Nicoll
531690b8e1
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23448
2020-09-22 15:21:04 +02:00
Stephane Nicoll
7f84a92ef1
Document that Java 15 is supported
...
Closes gh-23447
2020-09-22 15:19:47 +02:00
Stephane Nicoll
37ded9f6d3
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23446
2020-09-22 10:10:24 +02:00
dreis2211
fba1fb23e4
Fix multi-release JAR test on JDK 15
...
Backport of 54f93e9
See gh-23445
2020-09-22 10:09:18 +02:00
Phillip Webb
363d35a0ac
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23444
2020-09-21 23:20:10 -07:00
Phillip Webb
b443d22c59
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23443
2020-09-21 23:19:41 -07:00
Phillip Webb
cc442c5c0d
Make HandlerFunctionDescription JDK 15 compatible
...
Update `HandlerFunctionDescription` so that it will work with JDK 15.
Closes gh-23442
2020-09-21 23:18:02 -07:00
Phillip Webb
3fca8c6b4e
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23441
2020-09-21 22:27:45 -07:00
Phillip Webb
4945806d84
Make `StringSequence.isEmpty()` public
...
Make `StringSequence.isEmpty()` public for compatibility with JDK 15.
Closes gh-23440
2020-09-21 22:26:20 -07:00
Andy Wilkinson
0963218be1
Merge branch '2.2.x' into 2.3.x
2020-09-21 19:28:39 +01:00
Andy Wilkinson
0edf7cb9b9
Polish Log4j2 XML configuration tests
...
See gh-22983
2020-09-21 19:26:40 +01:00
Andy Wilkinson
13e08a4344
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23428
2020-09-21 15:15:08 +01:00
Andy Wilkinson
f6492cd0c0
Consume level and dateformat patterns as system props in Log4j config
...
Previously LOG_LEVEL_PATTERN and LOG_DATEFORMAT_PATTERN were not
consumed as system properties in log4j2.xml and log4j2-file.xml. As a
result, the logging.pattern.level and logging.pattern.dateformat
configuration properties, which are translated into the
LOG_LEVEL_PATTERN and LOG_DATEFORMAT_PATTERN system properties
respectively had no effect.
This commit updates the log4j2.xml and log4j2-file.xml config files to
consume LOG_LEVEL_PATTERN and LOG_DATEFORMAT_PATTERN as system
properties. When the system property is not set, the configuation falls
back to the default values specified in the config files. Tests for
both log4j2.xml and log4j2-file.xml to verify the behaviour have also
bean added.
Fixes gh-22983
2020-09-21 15:08:41 +01:00
Andy Wilkinson
8667e9ded8
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23426
2020-09-21 12:16:14 +01:00
Andy Wilkinson
581190d7a0
Test the Gradle plugin against 6.7-rc-1
...
Closes gh-23425
2020-09-21 12:14:35 +01:00
Andy Wilkinson
d06af28cd8
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23422
2020-09-21 10:47:06 +01:00
Andy Wilkinson
360e29af48
Polish "Add note about Kotlin main class name"
...
See gh-23418
2020-09-21 10:40:29 +01:00
Sebastiaan Fernandez
0bde5fda9b
Add note about Kotlin main class name
...
See gh-23418
2020-09-21 10:36:16 +01:00
Andy Wilkinson
55bfef9901
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23408
2020-09-18 13:32:46 +01:00
Andy Wilkinson
95f26c6358
Configure Flyway with initSqls for any DataSource configuration
...
Previously, spring.flyway.init-sqls was only applied to Flyway's
configuration if Flyway was being configured to create the DataSource.
If Flyway was being configured to use an existing DataSource, init-sqls
was not applied. This is a hangover from when the init SQLs support was
introduced. At that time, Flyway only supported SQL to initialize the
connection when it was creating the DataSource. Flyway 5.2 added init
SQL support no matter how Flyway's DataSource was configured.
This commit updates FlywayAutoConfiguration to always apply the
init-sqls property to Flyway's configuration. The property's
documentation does not describe the current limitation so this change
should align the behaviour with what the documentation leads people to
expect.
Fixes gh-23392
2020-09-18 13:03:24 +01:00
Andy Wilkinson
3861ef13fb
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23406
2020-09-18 09:09:41 +01:00
Andy Wilkinson
5ec673ff2a
Add anchors to section headers in Gradle plugin docs
...
Fixes gh-23402
2020-09-18 09:06:54 +01:00
Andy Wilkinson
07dc202966
Upgrade to Micrometer 1.5.5
...
Closes gh-23393
2020-09-17 13:02:23 +01:00
Stephane Nicoll
3622fd5b04
Upgrade to Spring Session Dragonfruit-SR1
...
Closes gh-23187
2020-09-17 08:51:49 +02:00
Stephane Nicoll
ab2115633f
Upgrade to Micrometer 1.3.14
...
Closes gh-23388
2020-09-17 08:46:30 +02:00
Stephane Nicoll
35b33303d0
Upgrade to Spring Session Corn-SR4
...
Closes gh-23186
2020-09-17 08:45:52 +02:00
Stephane Nicoll
91c1d52fc1
Upgrade to Micrometer 1.1.18
...
Closes gh-23384
2020-09-17 07:40:59 +02:00
Stephane Nicoll
db04672403
Upgrade to Spring Session Bean-SR12
...
Closes gh-23185
2020-09-17 07:37:14 +02:00
Stephane Nicoll
a2be6e0817
Upgrade to Spring Kafka 2.5.6
...
Closes gh-23199
2020-09-17 07:25:09 +02:00
Stephane Nicoll
e5d135c61c
Upgrade to Spring Kafka 2.3.11
...
Closes gh-23198
2020-09-17 07:23:41 +02:00
Andy Wilkinson
d3d96f0417
Upgrade to Spring REST Docs 2.0.5.RELEASE
...
Closes gh-23374
2020-09-16 17:45:34 +01:00
Andy Wilkinson
d6586b8354
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23376
2020-09-16 17:39:08 +01:00
Andy Wilkinson
e87e52d035
Merge branch '2.1.x' into 2.2.x
...
Closes gh-23375
2020-09-16 17:38:02 +01:00
Andy Wilkinson
106968a115
Upgrade to Spring REST Docs 2.0.5.RELEASE
...
Closes gh-23374
2020-09-16 17:36:34 +01:00
Stephane Nicoll
7a7aef80d9
Upgrade to Spring AMQP 2.2.11
...
Closes gh-23373
2020-09-16 18:24:53 +02:00
Stephane Nicoll
9ab8ad6e74
Upgrade to Spring AMQP 2.2.11
...
Closes gh-23372
2020-09-16 18:23:06 +02:00
Stephane Nicoll
9a09a3c570
Upgrade to Spring AMQP 2.1.17
...
Closes gh-23371
2020-09-16 18:20:34 +02:00
Stephane Nicoll
68ea2ca210
Upgrade to Spring Data Neumann-SR4
...
Closes gh-23196
2020-09-16 15:45:46 +02:00
Stephane Nicoll
bac5a7909e
Upgrade to Spring Data Moore-SR10
...
Closes gh-23195
2020-09-16 15:44:25 +02:00
Stephane Nicoll
b1e47811af
Upgrade to Spring Data Lovelace-SR20
...
Closes gh-23194
2020-09-16 15:40:09 +02:00
Stephane Nicoll
8faa08f585
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23341
2020-09-16 11:43:43 +02:00
Stephane Nicoll
15dd780eb4
Upgrade to Spring WS 3.0.10.RELEASE
...
Closes gh-23339
2020-09-16 10:10:17 +02:00
Stephane Nicoll
e5af0d51aa
Upgrade to Spring HATEOAS 1.1.2.RELEASE
...
Closes gh-23338
2020-09-16 10:10:15 +02:00
Stephane Nicoll
83d9385946
Upgrade to Lettuce 5.3.4.RELEASE
...
Closes gh-23337
2020-09-16 10:10:14 +02:00
Stephane Nicoll
d7a5d44a75
Upgrade to Spring Ws 3.0.10.RELEASE
...
Closes gh-23336
2020-09-16 10:02:17 +02:00
Stephane Nicoll
d5aeb828e6
Upgrade to Neo4j Ogm 3.2.16
...
Closes gh-23335
2020-09-16 10:02:15 +02:00
Stephane Nicoll
3f520f18d7
Upgrade to Tomcat 9.0.38
...
Closes gh-23334
2020-09-16 10:02:14 +02:00
Stephane Nicoll
297735a7e7
Upgrade to Spring Ws 3.0.10.RELEASE
...
Closes gh-23333
2020-09-16 09:56:25 +02:00
Stephane Nicoll
b37d79a07e
Upgrade to Neo4j Ogm 3.1.22
...
Closes gh-23332
2020-09-16 09:56:24 +02:00
Stephane Nicoll
9f3b3504ef
Upgrade to Tomcat 9.0.38
...
Closes gh-23331
2020-09-16 09:56:22 +02:00
Phillip Webb
f590225c82
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23328
2020-09-16 00:28:29 -07:00
Phillip Webb
bd87ba33d0
Use ephemeral ports for RSocket tests
...
Closes gh-23325
2020-09-16 00:15:19 -07:00
Phillip Webb
5c1055dc22
Merge branch '2.2.x' into 2.3.x
2020-09-15 08:48:25 -07:00
Phillip Webb
195def0ec3
Merge branch '2.1.x' into 2.2.x
2020-09-15 08:48:00 -07:00
Phillip Webb
e0030094e2
Fix missing jar entry certificates
...
Ensure that the source jar entry is closed before reading
certificates and code signers from the entry.
gh-19041
2020-09-15 08:42:58 -07:00
Andy Wilkinson
409743eddb
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23320
2020-09-15 16:32:43 +01:00
Andy Wilkinson
5a266155b0
Disable proxyBeanMethods on Spring Session config sub-classes
...
Closes gh-23280
2020-09-15 16:32:15 +01:00
Stephane Nicoll
2df947cedb
Upgrade to Undertow 2.1.4.Final
...
Closes gh-23318
2020-09-15 14:55:39 +02:00
Stephane Nicoll
db3e81c5b7
Upgrade to Tomcat 9.0.38
...
Closes gh-23317
2020-09-15 14:55:39 +02:00
Stephane Nicoll
69576a3be2
Upgrade to R2DBC Bom Arabba-SR7
...
Closes gh-23316
2020-09-15 14:55:39 +02:00
Stephane Nicoll
3cb8a4fd5a
Upgrade to Postgresql 42.2.16
...
Closes gh-23315
2020-09-15 14:55:39 +02:00
Stephane Nicoll
9bf7555dcf
Upgrade to Netty tcNative 2.0.34.Final
...
Closes gh-23314
2020-09-15 14:55:38 +02:00
Stephane Nicoll
201bfd2b0c
Upgrade to Netty 4.1.52.Final
...
Closes gh-23313
2020-09-15 14:55:38 +02:00
Stephane Nicoll
71607777b1
Upgrade to Neo4j OGM 3.2.16
...
Closes gh-23312
2020-09-15 14:25:31 +02:00
Stephane Nicoll
8738e05f59
Upgrade to Hibernate 5.4.21.Final
...
Closes gh-23311
2020-09-15 14:25:29 +02:00
Stephane Nicoll
9b3148ce3f
Upgrade to Hazelcast 3.12.9
...
Closes gh-23310
2020-09-15 14:25:28 +02:00
Stephane Nicoll
b1d33a3df9
Upgrade to Flatten Maven Plugin 1.2.5
...
Closes gh-23309
2020-09-15 14:25:27 +02:00
Stephane Nicoll
c9f413edfb
Upgrade to Couchbase Client 3.0.8
...
Closes gh-23308
2020-09-15 14:25:26 +02:00
Stephane Nicoll
94d5e11e7d
Upgrade to AppEngine SDK 1.9.82
...
Closes gh-23307
2020-09-15 14:25:24 +02:00
Stephane Nicoll
5517cd06df
Upgrade to Spring Framework 5.2.9
...
Closes gh-23183
2020-09-15 13:49:14 +02:00
Stephane Nicoll
95a33071ca
Upgrade to Spring Framework 5.2.9
...
Closes gh-23182
2020-09-15 13:48:02 +02:00
Stephane Nicoll
d73ee9d545
Upgrade to Spring Framework 5.1.18
...
Closes gh-23181
2020-09-15 13:45:51 +02:00
Andy Wilkinson
53f2966b61
Merge branch '2.2.x' into 2.3.x
...
Closes gh-23305
2020-09-15 12:30:45 +01:00
Andy Wilkinson
5d20660c8a
Disable proxyBeanMethods on all management context config classes
...
Fixes gh-23301
2020-09-15 12:30:32 +01:00
Stephane Nicoll
2ee22d50b4
Upgrade to Reactor Dysprosium-SR12
...
Closes gh-23192
2020-09-15 08:48:35 +02:00
Stephane Nicoll
bc9c6dc005
Upgrade to Reactor Dysprosium-SR12
...
Closes gh-23191
2020-09-15 08:46:17 +02:00
Stephane Nicoll
a5905c5cb9
Upgrade to Reactor Californium-SR21
...
Closes gh-23190
2020-09-15 08:42:35 +02:00
Phillip Webb
a249a1a3d1
Merge branch '2.2.x' into 2.3.x
2020-09-14 13:52:22 -07:00
Phillip Webb
b8e6b2ef94
Merge branch '2.1.x' into 2.2.x
2020-09-14 13:51:24 -07:00
Phillip Webb
4138e59c33
Fix potential JarFileEntries ClassCastException
...
Update `JarFileEntries` so that the interface is obtained rather than
the concrete implementation. This allows `JarEntry` values to be used
without causing a ClassCastException.
Closes gh-19041
2020-09-14 13:48:59 -07:00
Stephane Nicoll
c5532cfac0
Upgrade to Spring Security 5.2.6.RELEASE
...
Closes gh-23299
2020-09-14 13:38:05 +02:00
Stephane Nicoll
4da461cf85
Upgrade to Spring Amqp 2.2.10.RELEASE
...
Closes gh-23298
2020-09-14 13:38:05 +02:00
Stephane Nicoll
1862eb4455
Upgrade to Postgresql 42.2.16
...
Closes gh-23297
2020-09-14 13:38:05 +02:00
Stephane Nicoll
0edd00c9d7
Upgrade to Neo4j Ogm 3.2.15
...
Closes gh-23296
2020-09-14 13:38:05 +02:00
Stephane Nicoll
de38777397
Upgrade to Infinispan 9.4.20.Final
...
Closes gh-23295
2020-09-14 13:38:04 +02:00
Stephane Nicoll
bf02b86f60
Upgrade to Hibernate 5.4.21.Final
...
Closes gh-23294
2020-09-14 13:38:04 +02:00
Stephane Nicoll
12d0835da0
Upgrade to Elasticsearch 6.8.12
...
Closes gh-23293
2020-09-14 13:38:04 +02:00
Stephane Nicoll
53ba03bdec
Upgrade to Jetty 9.4.31.v20200723
...
Closes gh-23292
2020-09-14 13:38:04 +02:00
Stephane Nicoll
4125e5fc8f
Upgrade to Byte Buddy 1.10.14
...
Closes gh-23291
2020-09-14 13:38:04 +02:00
Stephane Nicoll
0d12683a93
Upgrade to Undertow 2.0.31.Final
...
Closes gh-23290
2020-09-14 13:38:04 +02:00
Stephane Nicoll
67f3c3193d
Upgrade to Rsocket 1.0.2
...
Closes gh-23289
2020-09-14 13:38:03 +02:00
Stephane Nicoll
1a676b154e
Upgrade to Netty Tcnative 2.0.34.Final
...
Closes gh-23288
2020-09-14 13:38:03 +02:00
Stephane Nicoll
f4a84d3b63
Upgrade to Netty 4.1.52.Final
...
Closes gh-23287
2020-09-14 13:37:57 +02:00
Stephane Nicoll
a9f1441fcc
Upgrade to Micrometer 1.3.12
...
Closes gh-23286
2020-09-14 13:12:09 +02:00
Stephane Nicoll
87fdccf4a0
Upgrade to Dropwizard Metrics 4.1.12.1
...
Closes gh-23285
2020-09-14 13:12:07 +02:00
Stephane Nicoll
da9505cf01
Upgrade to Hazelcast 3.12.9
...
Closes gh-23284
2020-09-14 13:12:05 +02:00