- 27 Jul, 2020 9 commits
-
-
Andy Wilkinson authored
Closes gh-20896
-
Andy Wilkinson authored
Closes gh-21696
-
Andy Wilkinson authored
Closes gh-22278
-
Andy Wilkinson authored
Previously, ignoring invalid fields would cause the failure for an unknown field to be ignored, irrespective of the ignoreUnknownFields attribute on `@ConfigurationProperties`. This commit updates the NoUnboundElementsBindHandler to ensure that any UnboundConfigurationPropertiesException is thrown rather than being ignored when the handler has been wrapped by an IgnoreErrorsBindHandler. Fixes gh-22308
-
Andy Wilkinson authored
The fix for gh-20916 updated DefinitionsParser so that the ResolvableType for each MockBean or SpyBean field included the implementation class from which the field was found. Where the field was declared with a variable generic signature that was made constant by its implementation class, this allowed the correct concrete type to be determined. It also had the unintended side-effect of preventing two test classes with identical `@MockBean` and `@SpyBean` configuration from sharing a context as the resolvable types for their mock and spy bean fields would now be different. This commit updates DefinitionsParser to only include the implementation class in the ResolvableType if the field's generic type is variable. For cases where it is not variable, this restores the behaviour prior to the fix for gh-20916. Fixes gh-22566
-
Andy Wilkinson authored
Previously, background pre-init was started in response to the application starting event. This meant that it would be running while the logging turbo filter was in place and was rejecting all logging. As a result, any logging performed during pre-init would be lost. This commit changes background pre-init so that it is now started in response to the application environment prepared event. By this point, the logging turbo filter has been removed as the logging levels have been configured from the environment. Closes gh-21897
-
Andy Wilkinson authored
Previously, only UndertowOptions was used as the source of options for both server and socket options, but it only contains server options. As a result, attempting to configure any socket options defined by XNIO's Options class would fail. This commit updates the property-based configuration of options to use UndertowOptions as the source for server options and XNIO's Options as the source for socket options. Fixes gh-22502
-
Andy Wilkinson authored
Fixes gh-22530
-
Andy Wilkinson authored
Closes gh-21868
-
- 26 Jul, 2020 2 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
- 25 Jul, 2020 10 commits
-
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-22563
-
Andy Wilkinson authored
* gh-22555: Polish "Add generated-snippets as output to test goal" Add generated-snippets as output to test goal Closes gh-22555
-
Andy Wilkinson authored
See gh-22555
-
Nelson Osacky authored
The generated snippets were not declared as an output to the `spring-boot-actuator-autoconfigure` test goal so when the test was pulled from the cache, it did not contain the `generated-snippets` directory. This directory is required as an input to the Asciidoctor plugin. See gh-22555
-
- 24 Jul, 2020 19 commits
-
-
Andy Wilkinson authored
Closes gh-22551
-
Andy Wilkinson authored
* gh-22550: Disable extra scans for full profile. Closes gh-22550
-
Nelson Osacky authored
The extra scans were not disabled for the full profile, only the regular profile. See gh-22550
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
-
Andy Wilkinson authored
Closes gh-22547
-
Andy Wilkinson authored
* gh-22089: Polish "Add Gradle Enterprise Extension" Add Gradle Enterprise Extension Closes gh-22089
-
Andy Wilkinson authored
See gh-22089
-
Nelson Osacky authored
This adds build caching and build scans. The changes required disabling scans when using the maven invoker plugin in order to not cause duplicate build scans when invoking other maven builds. There is also an empty `.mvn` folder in the spring-boot-starters project to prevent duplicate build scans as well since there is no way to pass properties to the maven-javadoc-plugin. The checkstyle plugin was causing a cache miss with the `propertyExpansion` because it contains an absolute path. The absolute path is now ignored and instead the files are added as inputs to the checkstyle plugin. This only enables the local build cache. The remote cache is not yet enabled. On my local machine: ./mvnw clean install build times go from about 30 minutes to about 10 minutes. ./mvnw clean install -Pfull build times go from about 60 minutes to about 13 minutes. See gh-22089
-
Spring Buildmaster authored
-
Phillip Webb authored
-
Phillip Webb authored
See gh-22543
-
Phillip Webb authored
See gh-22543
-
Phillip Webb authored
Update `DistributeCommand` so that regex patterns can be used to mark artifacts that are optional and need not fail the release. Closes gh-22543
-
Phillip Webb authored
-
Phillip Webb authored
-
Phillip Webb authored
-