1. 23 Oct, 2020 14 commits
  2. 22 Oct, 2020 8 commits
    • Phillip Webb's avatar
      Rationalize Logback logging properties · 1725594a
      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
      1725594a
    • Brian Clozel's avatar
      Merge branch '2.3.x' · 9c54a536
      Brian Clozel authored
      Closes gh-23816
      9c54a536
    • Scott Frederick's avatar
      Merge branch '2.3.x' · 1907f3fe
      Scott Frederick authored
      Closes gh-23815
      1907f3fe
    • Brian Clozel's avatar
      Merge branch '2.2.x' into 2.3.x · b37eecc0
      Brian Clozel authored
      Closes gh-23812
      b37eecc0
    • Brian Clozel's avatar
      Document how to configure h2c protocol · 9478cd2d
      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
      9478cd2d
    • Brian Clozel's avatar
      Add HttpEncodingAutoConfiguration to WebMvcTest · 5eb1e26e
      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
      5eb1e26e
    • Andy Wilkinson's avatar
      Adapt to deprecation of StringUtils.isEmpty(Object) · 2d8528d5
      Andy Wilkinson authored
      See gh-23774
      2d8528d5
    • Andy Wilkinson's avatar
      Put module deps in app layer and make customization easier · 3bfe1b00
      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
      3bfe1b00
  3. 21 Oct, 2020 18 commits