Commit Graph

33172 Commits

Author SHA1 Message Date
Andy Wilkinson
1b10af0c55 Upgrade to Caffeine 2.8.6
Closes gh-23844
2020-10-26 10:25:04 +00:00
Andy Wilkinson
a669e1c568 Merge branch '2.3.x' 2020-10-26 10:23:00 +00:00
Andy Wilkinson
2b522e8f44 Merge branch '2.2.x' into 2.3.x 2020-10-26 10:22:51 +00:00
Andy Wilkinson
584d7ccd27 Merge branch '2.1.x' into 2.2.x 2020-10-26 10:22:38 +00:00
Stephane Nicoll
142a38f350 Merge pull request #32719 from kedar-joshi
* pr/23719:
  Polish "Allow overriding image.cleanCache from the command-line"
  Allow overriding image.cleanCache from the command-line

Closes gh-32719
2020-10-26 10:45:13 +01:00
Stephane Nicoll
59bcbd4885 Polish "Allow overriding image.cleanCache from the command-line"
See gh-32719
2020-10-26 10:44:57 +01:00
Kedar Joshi
c2a483a78f Allow overriding image.cleanCache from the command-line
See gh-32719
2020-10-26 10:44:57 +01:00
Andy Wilkinson
20e1e00bf7 Upgrade to Spring Security 5.1.13.RELEASE
Closes gh-23843
2020-10-26 09:07:35 +00:00
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
Phillip Webb
771503f30d Attempt to fix flaky logging tests 2020-10-25 09:21:17 -07:00
Phillip Webb
70b7326b73 Refine exception handling in logging listener
Refine the exception handling block to cover initialization exceptions
without a log file.

Closes gh-23802
2020-10-25 09:21:17 -07:00
Andy Wilkinson
c85cc33ca9 Fix main class resolution failure when loaded from config cache
See gh-22922
2020-10-25 08:05:59 +00:00
Stephane Nicoll
cb31d9547c Merge branch '2.3.x' 2020-10-24 07:40:48 +02:00
Stephane Nicoll
d1e503602b Polish 2020-10-24 07:39:50 +02:00
Stephane Nicoll
3adf167b47 Polish 2020-10-24 07:34:33 +02:00
Phillip Webb
062bd90d87 Add properties for logging charsets
Add `logging.charset.console` and `logging.charset.file` properties
that can be used to configure charsets for Logback/Log4J2.

Closes gh-23827
2020-10-23 18:54:24 -07:00
Phillip Webb
e790828e19 Allow TestPropertyValues.of to take a Map source
Extend the API of `TestPropertyValues` so that it can be constructed
from an existing `Map` or a `Stream` and mapping `Function`.

Closes gh-23685
2020-10-23 12:00:25 -07:00
Andy Wilkinson
7df18d9a91 Polish 2020-10-23 15:05:58 +01:00
Andy Wilkinson
2673bc00fd Adapt to breaking change in Framework's RouterFunctions.Visitor
See gh-23774
2020-10-23 15:04:43 +01:00
Andy Wilkinson
7cbcd42eba Adapt test to cope with increased Instant precision on Java 11
See gh-22922
2020-10-23 14:38:36 +01:00
Andy Wilkinson
4a4fec6310 Avoid calling getProject() during BootBuildImage's execution
See gh-22922
2020-10-23 13:23:52 +01:00
Andy Wilkinson
72361a7521 Merge branch 'gradle-plugin-configuration-cache'
Closes gh-22922
2020-10-23 12:34:50 +01:00
Andy Wilkinson
c409d50c14 Document support for Gradle's configuration cache
See gh-22922
2020-10-23 12:34:27 +01:00
Andy Wilkinson
806464edd1 Update BootBuildImage to support Gradle's configuration cache
See gh-22922
2020-10-23 12:34:24 +01:00
Andy Wilkinson
b1c4af4081 Update bootJar and bootWar to use new main class resolution mechanism
See gh-22922
2020-10-23 12:34:21 +01:00
Andy Wilkinson
c078a48064 Update BootRun to support Gradle's configuration cache
See gh-22922
2020-10-23 12:34:15 +01:00
Andy Wilkinson
d1f543fc1d Update BuildInfo to support Gradle's configuration cache
See gh-22922
2020-10-23 12:34:12 +01:00
Andy Wilkinson
83cfd3b2e6 Update BootWar to support Gradle's configuration cache
See gh-22922
2020-10-23 12:34:07 +01:00
Andy Wilkinson
081ef2d905 Update BootJar to support Gradle's configuration cache
See gh-22922
2020-10-23 12:34:04 +01:00
Andy Wilkinson
c828521912 Allow tests to provide properties that modify the build.gradle script
See gh-22922
2020-10-23 12:34:01 +01:00
Andy Wilkinson
d136324b99 Add support for testing the Gradle plugin with --configuration-cache
See gh-22922
2020-10-23 12:33:51 +01:00
Brian Clozel
fa220ace4d Fix missing broken link in reference docs
See gh-23126
2020-10-23 13:11:03 +02:00
Brian Clozel
5fceb9d5b7 Change favicon StaticResourceLocation
Prior to this commit, the `StaticResourceLocation` for favicons would
point to `"/**/favicon.ico"`. This location does not reflect the current
web development landscape, since the png format and size variants are
not supported here. Also, the `"**"` pattern can be costly at runtime
and is deprecated by the new path pattern support in Spring Framework
(see gh-22833).

This commit changes the default locations to `"/favicon.*","/*/icon-*"`,
supporting common use cases such as `"/favicon.ico"`, `"/favicon.png"`
and `"/icons/icon-48x48.png"`.

Closes gh-23126
2020-10-23 12:03:32 +02:00
Pushkaraj S
e60f26f8cc Polish HTTP/2 Cleartext documentation
See gh-23816
Closes gh-23820
2020-10-23 09:50:55 +02:00
Stephane Nicoll
c66ef0eb3f Merge pull request #23799 from garyrussell
* pr/23799:
  Polish "Remove RabbitMQ AutoConfig Boolean Coercion"
  Remove RabbitMQ AutoConfig Boolean Coercion

Closes gh-23799
2020-10-23 08:35:40 +02:00
Stephane Nicoll
d0975d659f Polish "Remove RabbitMQ AutoConfig Boolean Coercion"
See gh-23799
2020-10-23 08:35:17 +02:00
Gary Russell
32ce453997 Remove RabbitMQ AutoConfig Boolean Coercion
See gh-23799
2020-10-23 08:32:41 +02:00
Phillip Webb
da753300a1 Merge branch '2.3.x'
Closes gh-23819
2020-10-22 21:03:22 -07: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
Phillip Webb
1725594a0e Rationalize Logback logging properties
Deprecate and provide alternatives for logging properties that are
specific to Logback.

The following Spring Boot properties have been changed:

  * logging.pattern.rolling-file-name ->
    logging.logback.rollingpolicy.file-name-pattern

  * logging.file.clean-history-on-start ->
    logging.logback.rollingpolicy.clean-history-on-start

  * logging.file.max-size ->
    logging.logback.rollingpolicy.max-file-size

  * logging.file.total-size-cap ->
    logging.logback.rollingpolicy.total-size-cap

  * logging.file.max-history ->
    logging.logback.rollingpolicy.max-history

As have the system environment properties that they map to:

  * ROLLING_FILE_NAME_PATTERN ->
    LOGBACK_ROLLINGPOLICY_FILE_NAME_PATTERN

  * LOG_FILE_CLEAN_HISTORY_ON_START ->
    LOGBACK_ROLLINGPOLICY_CLEAN_HISTORY_ON_START

  * LOG_FILE_MAX_SIZE ->
    LOGBACK_ROLLINGPOLICY_MAX_FILE_SIZE

  * LOG_FILE_TOTAL_SIZE_CAP ->
    LOGBACK_ROLLINGPOLICY_TOTAL_SIZE_CAP

  * LOG_FILE_MAX_HISTORY ->
    LOGBACK_ROLLINGPOLICY_MAX_HISTORY

This commit also cleans up and simplifies `DefaultLogbackConfiguration`.

Closes gh-23609
2020-10-22 12:55:02 -07:00