- 19 Mar, 2018 4 commits
-
-
Phillip Webb authored
See gh-12528
-
igor-suhorukov authored
Closes gh-12528
-
Phillip Webb authored
Change `ConfigurationPropertySource.containsDescendantOf` to have a default implementation that return `UNKNOWN`. Fixes gh-12539
-
Phillip Webb authored
Fixes gh-12540
-
- 18 Mar, 2018 1 commit
-
-
Phillip Webb authored
Update `Map` and `Collection` binders to create a copy of the existing collection whenever possible. Prior to this commit the binder would always mutate the existing value and then call the setter with the same instance. This could cause issues if the setter expected a different instance. Fixes gh-12322
-
- 17 Mar, 2018 7 commits
-
-
Phillip Webb authored
Ensure that JSON response is returned when extracting data from the error details. See gh-12513
-
Andy Wilkinson authored
-
Andy Wilkinson authored
* gh-12527: Polish "Follow project convention for lambda expression" Follow project convention for lambda expression
-
Andy Wilkinson authored
Csee gh-12527
-
igor-suhorukov authored
Closes gh-12527
-
Stephane Nicoll authored
-
Stephane Nicoll authored
Closes gh-12529
-
- 16 Mar, 2018 15 commits
-
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
Refine `BasicErrorController` mappings so that only JSON and XML get structured responses. A simple string response is returned for all other media types. Fixes gh-12513
-
Phillip Webb authored
-
Phillip Webb authored
Fixes gh-12378
-
Phillip Webb authored
Update JAR `Handler` logic so that the existing `jarFile` is only used if the requested URL starts with the same path. Prior to this commit it was possible to construct a URL with another URL as context. This could mean that the `handler` was shared and the already resolved `jarFile` contained in the handler wasn't necessarily suitable. Fixes gh-12483
-
Andy Wilkinson authored
* gh-12511: Upgrade maven dependency plugin version to 3.0.2
-
Onur Kağan Özcan authored
Closes gh-12511
-
Andy Wilkinson authored
Previously, the underlying RandomAccessDataFile was not closed when the JarFile that was using it was closed. This causes a problem on Windows as the open file handle prevents the file from being deleted. This commit updates JarFile to close the underlying RandomAccessDataFile when it is closed and has a JarFileType of DIRECT. Previously, when accessing the manifest of a jar file that maps to a nested directory (BOOT-INF/classes) a new JarFile was created from the root jar file, the manifest was retrieved, and the new JarFile was closed. This could lead to the underlying RandomAccessDataFile being closed while it was still in use. This commit improves JarFile to retrieve the manifest from the existing outer JarFile, thereby avoiding the need to create and close a new JarFile. Unfortunately, PropertiesLauncher creates a number of scenarios where a JarFile with a type of direct is closed while it’s still being used. To accommodate this behaviour, RandomAccessDataFile has been updated so that it can re-open the underlying RandomAccessFile if it is used after it has been closed. Closes gh-12296
-
Brian Clozel authored
This commit disables the default HTML view in the WebFlux error handling support when `server.error.whitelabel.enabled=false`. In this case, the original exception will be forwarded down the stream and handled by the default `WebExceptionHandler` provided by Spring WebFlux (likely to respond a blank page and an error HTTP response status). Closes gh-12520
-
Brian Clozel authored
Closes gh-12516
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-12515
-
Phillip Webb authored
-
- 15 Mar, 2018 13 commits
-
-
Phillip Webb authored
Update `SpringConfigurationPropertySources` adapter logic so that and exact instance match is used when checking if the cache can be used. Prior to this commit if a property source was replaced with one that had exactly the same name, the adapted version would not change. Fixes gh-12451
-
Phillip Webb authored
-
Madhura Bhave authored
Fixes gh-12478
-
Madhura Bhave authored
Fixes gh-12485
-
Madhura Bhave authored
Fixes gh-12489
-
Brian Clozel authored
As of Spring Framework 5.0, only Servlet 3.1+ containers are supported. See https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-5.x This commit updates the reference documentation to reflect that and also removes sections describing pre-Servlet 3.1 solutions, as those are not supported anymore. Fixes gh-12370
-
Brian Clozel authored
Even though War deployment is supported by Spring Framework itself for WebFlux applications, this is not the case currently in Spring Boot. Fixes gh-12455
-
Brian Clozel authored
-
Brian Clozel authored
* pr/12495: Use ApplicationContextRunner in tests
-
dreis2211 authored
Closes gh-12495
-
Andy Wilkinson authored
Closes gh-12503
-
Andy Wilkinson authored
Closes gh-12502
-
Andy Wilkinson authored
Closes gh-12501
-