Commit Graph

28173 Commits

Author SHA1 Message Date
Andy Wilkinson a20a85780d Upgrade to Lombok 1.18.16
Closes gh-23842
2020-10-26 09:07:34 +00:00
Andy Wilkinson 99f99f69c9 Upgrade to Postgresql 42.2.18
Closes gh-23841
2020-10-26 09:07:33 +00:00
Andy Wilkinson 38c8b5bda1 Upgrade to Hibernate Validator 6.0.21.Final
Closes gh-23840
2020-10-26 09:07:31 +00:00
Andy Wilkinson 725c600fb3 Upgrade to Jetty 9.4.33.v20201020
Closes gh-23839
2020-10-26 09:07:30 +00:00
Andy Wilkinson 66d5ff5402 Upgrade to Tomcat 9.0.39
Closes gh-23838
2020-10-26 09:07:29 +00:00
Andy Wilkinson c30c6efa0e Upgrade to Httpclient 4.5.13
Closes gh-23837
2020-10-26 09:07:27 +00:00
Andy Wilkinson d7dc3587b3 Upgrade to Mysql 8.0.22
Closes gh-23836
2020-10-26 09:07:26 +00:00
Andy Wilkinson 1b715f0a9b Upgrade to Joda Time 2.10.8
Closes gh-23835
2020-10-26 09:07:25 +00:00
Andy Wilkinson 82b41e31db Upgrade to Undertow 2.0.32.Final
Closes gh-23834
2020-10-26 09:07:24 +00:00
Andy Wilkinson 261fa6fcf4 Upgrade to Rxjava2 2.2.20
Closes gh-23833
2020-10-26 09:07:22 +00:00
Andy Wilkinson ece7f16e75 Upgrade to Netty 4.1.53.Final
Closes gh-23832
2020-10-26 09:07:21 +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 81c5b16ffc Merge branch '2.2.x' into 2.3.x 2020-10-21 15:25:01 +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 d2a3503b40 Merge branch '2.1.x' into 2.2.x 2020-10-21 15:03:35 +02:00
Stephane Nicoll 4d1b84f527 Start building against Spring AMQP 2.1.18 snapshots
See gh-23782
2020-10-21 14:44:52 +02:00
Stephane Nicoll 97dda79dc2 Start building against Spring Data Lovelace-SR21 snapshots
See gh-23775
2020-10-21 14:43:54 +02:00
Stephane Nicoll c6a82ef653 Start building against Reactor Californium-SR22 snapshots
See gh-23792
2020-10-21 14:43:26 +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 a34c0eaceb Merge branch '2.2.x' into 2.3.x 2020-10-21 10:10:12 +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 6186ec33f7 Merge branch '2.1.x' into 2.2.x 2020-10-21 09:48:02 +02:00
Stephane Nicoll eb5924baa7 Start building against Spring Framework 5.1.19 snapshots
See gh-23772
2020-10-21 09:37:04 +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 07b693b58f Merge pull request #23755 from cdalexndr
* pr/23755:
  Polish contribution
  Note that using LiveReload requires Devtools restart to be enabled

Closes gh-23755
2020-10-20 17:05:26 +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