- 23 Oct, 2020 14 commits
-
-
Andy Wilkinson authored
See gh-22922
-
Andy Wilkinson authored
See gh-22922
-
Andy Wilkinson authored
See gh-22922
-
Andy Wilkinson authored
See gh-22922
-
Andy Wilkinson authored
See gh-22922
-
Andy Wilkinson authored
See gh-22922
-
Brian Clozel authored
See gh-23126
-
Brian Clozel authored
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
-
Pushkaraj S authored
See gh-23816 Closes gh-23820
-
Stephane Nicoll authored
* pr/23799: Polish "Remove RabbitMQ AutoConfig Boolean Coercion" Remove RabbitMQ AutoConfig Boolean Coercion Closes gh-23799
-
Stephane Nicoll authored
See gh-23799
-
Gary Russell authored
See gh-23799
-
Phillip Webb authored
Closes gh-23819
-
Phillip Webb authored
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
-
- 22 Oct, 2020 8 commits
-
-
Phillip Webb authored
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
-
Brian Clozel authored
Closes gh-23816
-
Scott Frederick authored
Closes gh-23815
-
Brian Clozel authored
Closes gh-23812
-
Brian Clozel authored
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
-
Brian Clozel authored
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
-
Andy Wilkinson authored
See gh-23774
-
Andy Wilkinson authored
Previously, when building a layered jar with Maven, dependencies on modules in the same build were treated the same as any other dependency, being included in the dependencies or snapshot dependencies layer based on their version. This commit updates the default layering when using Maven to include dependencies on modules in the same build in the application layer by default. The XML schema has also been updated to allow the layer to be customized using new <includeModuleDependencies/> and <excludeModuleDependencies/> elements rather than relying on including and excluding them via a group:artifact:version pattern. Closes gh-23463
-
- 21 Oct, 2020 18 commits
-
-
Scott Frederick authored
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
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-23787
-
Stephane Nicoll authored
See gh-23784
-
Stephane Nicoll authored
See gh-23780
-
Stephane Nicoll authored
See gh-23777
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-23786
-
Stephane Nicoll authored
See gh-23783
-
Stephane Nicoll authored
See gh-23776
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-23782
-
Stephane Nicoll authored
See gh-23775
-
Stephane Nicoll authored
See gh-23792
-
Stephane Nicoll authored
See gh-23774
-
Stephane Nicoll authored
See gh-23771
-
Stephane Nicoll authored
-
Stephane Nicoll authored
See gh-23770
-