Commit Graph

25562 Commits (6186ec33f77efd4f4bd930839f2edb441357cf6d)
 

Author SHA1 Message Date
Stephane Nicoll 6186ec33f7 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll eb5924baa7 Start building against Spring Framework 5.1.19 snapshots
See gh-23772
4 years ago
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
4 years ago
Stephane Nicoll 4f4cc8b182 Polish contribution
See gh-23755
4 years ago
cdalexndr 2f2b1b9656 Note that using LiveReload requires Devtools restart to be enabled
See gh-23755
4 years ago
Andy Wilkinson 11bc62fb83 Stop using PostConstruct to default session timeout to ServerProperties'
Fixes gh-23716
4 years ago
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
4 years ago
Brian Clozel f43970e6e0 Merge branch '2.1.x' into 2.2.x
Closes gh-23700
4 years ago
Brian Clozel 918ef888e9 Fix image folder name in update detection script
Fixes gh-23699
4 years ago
Stephane Nicoll e86397bc08 Merge branch '2.1.x' into 2.2.x
Closes gh-23696
4 years ago
Stephane Nicoll bdb6b2a4bb Add configuration for changelog generator
This commits adds a dedicated configuration to be used when invoking
the github changelog generator. This custom configuration makes sure
to sort dependency upgrades based on the issue title.

Closes gh-23484
4 years ago
Andy Wilkinson 7fc345f587 Apply server.undertow.eager-filter-init to factory
Fixes gh-23675
4 years ago
Andy Wilkinson 667ccdae84 Simplify temp directory creation and improve diagnostics
Closes gh-23622
4 years ago
Phillip Webb ce70e7d768 Merge branch '2.1.x' into 2.2.x
Closes gh-23613
4 years ago
Phillip Webb 1db2f5f960 Support Formatter conversion service beans
Update `ConversionServiceDeducer` to also include `Formatter` beans
when they are qualified with `@ConfigurationPropertiesBinding`.

Fixes gh-23576
4 years ago
Phillip Webb c523295694 Merge branch '2.1.x' into 2.2.x
Closes gh-23610
4 years ago
Phillip Webb 206356728c Add upgrading section to reference docs
Add a section to the reference documentation with links to the release
notes on the wiki.

Closes gh-23529
4 years ago
Andy Wilkinson 7ac14203ab Expand Gradle plugin's docs on setting bootRun's system properties
Closes gh-23578
4 years ago
Madhura Bhave 4dad8c221a Merge pull request #23566 from Shraddha-Yeole
* pr/23566:
  Polish "Do not fail if h2Console bean cannot connect to db"
  Do not fail if h2Console bean cannot connect to db

Closes gh-23566
4 years ago
Madhura Bhave c0f158dffd Polish "Do not fail if h2Console bean cannot connect to db"
See gh-23566
4 years ago
Shraddha Yeole 2d76de29ff Do not fail if h2Console bean cannot connect to db
See gh-23566
4 years ago
Madhura Bhave 3118ca9313 Polish 4 years ago
Madhura Bhave 0cdb1b3b26 Merge pull request #23562 from ketaki-t
* pr/23562:
  Remove documentation for unsupported gradle versions

Closes gh-23562
4 years ago
ketaki-t 66aa24b5f0 Remove documentation for unsupported gradle versions
See gh-23562
4 years ago
Andy Wilkinson 323af718e2 Only change the method of requests that Jetty won't handle by default
Previously, JettyEmbeddedErrorHandler would change the method of every
request that is handles to GET. This was being done to work around
Jetty's error handling only dealing with GET, POST, and HEAD requests
by default. It had the unwanted side-effect of causing an error
response to a HEAD request having a body as, from the error handling's
perspective, it was a GET request.

This commit updates JettyEmbeddedErrorHandler to only set the method
on a request for which error handling is being performed if the method
isn't already one that will be handled, leaving the method of GET,
POST, and HEAD requests unchanged.

Unfortunately, short of implementing an HTTP client, this change cannot
be tested as the Apache HttpClient, OkHttp, and the JDK's
HttpURLConnection all silently drop the body of a response to a HEAD
request, preventing a test from asserting that a body hasn't been sent.

Closes gh-23551
4 years ago
Stephane Nicoll b3563deeb3 Upgrade Ubuntu version in CI images
Closes gh-23549
4 years ago
Stephane Nicoll 94da5155d6 Merge branch '2.1.x' into 2.2.x 4 years ago
Stephane Nicoll abee05c67b Upgrade Ubuntu version in CI images
Closes gh-23546
4 years ago
Stephane Nicoll fd3683646a Migrate SessionAutoConfigurationMongoTests to Testcontainers
Closes gh-23512
4 years ago
Stephane Nicoll 350ef9755d Merge branch '2.1.x' into 2.2.x
See gh-23494
4 years ago
Stephane Nicoll 756a86aa8f Rename changelog generator's task name
Closes gh-23493
4 years ago
Stephane Nicoll e25e67cbff Merge pull request #23502 from chenrujun
* pr/23502:
  Add mising entry for Netty tcnative dependency management

Closes gh-23502
4 years ago
Rujun Chen 8330752b11 Add mising entry for Netty tcnative dependency management
See gh-23502
4 years ago
Andy Wilkinson e74f777971 Remove use of spring-core's Assert from PropertiesLauncher
Fixes gh-23474
4 years ago
Phillip Webb 325194093c Merge branch '2.1.x' into 2.2.x 4 years ago
Phillip Webb 6d70c3867e Upgrade to latest concourse-java-scripts 4 years ago
Phillip Webb f16eabad0a Merge branch '2.1.x' into 2.2.x
Closes gh-23497
4 years ago
Phillip Webb 56a8125eee Upgrade docker images to Ubuntu Focal
Closes gh-23492
4 years ago
Phillip Webb 4bc3a34f54 Merge branch '2.1.x' into 2.2.x
Closes gh-23494
4 years ago
Phillip Webb abe169d593 Upgrade to github-changelog-generator 0.0.3
Closes gh-23493
4 years ago
Phillip Webb 0fd7dd297a Merge branch '2.1.x' into 2.2.x 4 years ago
Phillip Webb 956ee223be Fix CI GitHub icon reference 4 years ago
Andy Wilkinson 6dc8e6815d Align default tldScanPatterns with Tomcat's
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
4 years ago
Andy Wilkinson bf9d23e55a Consider SpringBootTest's web environment in context cache key
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
4 years ago
Andy Wilkinson d208ec92fc Merge branch '2.1.x' into 2.2.x
Closes gh-23471
4 years ago
Andy Wilkinson 39a24b093d Upgrade CI to Docker 19.03.13
Closes gh-23469
4 years ago
Andy Wilkinson 11e68717f9 Merge branch '2.1.x' into 2.2.x
Closes gh-23473
4 years ago
Andy Wilkinson 0690690039 Update CI images to use ubuntu:bionic-20200903
Closes gh-23468
4 years ago
Stephane Nicoll 69ca3a9169 Merge pull request #23459 from pavelgordon
* pr/23459:
  Fix link to Log4j's JDK Logging Adapter in reference documentation

Closes gh-23459
4 years ago
Pavel Gordon 62eb835a4e Fix link to Log4j's JDK Logging Adapter in reference documentation
See gh-23459
4 years ago