1. 25 Sep, 2020 6 commits
  2. 24 Sep, 2020 6 commits
    • Andy Wilkinson's avatar
      Align default tldScanPatterns with Tomcat's · 6dc8e681
      Andy Wilkinson authored
      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
      6dc8e681
    • Andy Wilkinson's avatar
      Consider SpringBootTest's web environment in context cache key · bf9d23e5
      Andy Wilkinson authored
      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
      bf9d23e5
    • Andy Wilkinson's avatar
      Merge branch '2.1.x' into 2.2.x · d208ec92
      Andy Wilkinson authored
      Closes gh-23471
      d208ec92
    • Andy Wilkinson's avatar
      Upgrade CI to Docker 19.03.13 · 39a24b09
      Andy Wilkinson authored
      Closes gh-23469
      39a24b09
    • Andy Wilkinson's avatar
      Merge branch '2.1.x' into 2.2.x · 11e68717
      Andy Wilkinson authored
      Closes gh-23473
      11e68717
    • Andy Wilkinson's avatar
      Update CI images to use ubuntu:bionic-20200903 · 06906900
      Andy Wilkinson authored
      Closes gh-23468
      06906900
  3. 23 Sep, 2020 2 commits
  4. 22 Sep, 2020 16 commits
  5. 21 Sep, 2020 6 commits
  6. 20 Sep, 2020 2 commits
  7. 18 Sep, 2020 2 commits
    • Andy Wilkinson's avatar
      Configure Flyway with initSqls for any DataSource configuration · 95f26c63
      Andy Wilkinson authored
      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
      95f26c63
    • Andy Wilkinson's avatar
      Add anchors to section headers in Gradle plugin docs · 5ec673ff
      Andy Wilkinson authored
      Fixes gh-23402
      5ec673ff