1. 27 Jul, 2020 9 commits
    • Andy Wilkinson's avatar
      Define the reference doc authors in a single place · 812a0ed0
      Andy Wilkinson authored
      Closes gh-20896
      812a0ed0
    • Andy Wilkinson's avatar
      b631fa14
    • Andy Wilkinson's avatar
      be428ef0
    • Andy Wilkinson's avatar
      Do not ignore unknown fields when invalid fields are being ignored · 1b48daf1
      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
      1b48daf1
    • Andy Wilkinson's avatar
      Fix Mock|SpyBean context caching · 41954533
      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
      41954533
    • Andy Wilkinson's avatar
      Defer background pre-init till the environment is prepared · 16eaae0b
      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
      16eaae0b
    • Andy Wilkinson's avatar
      Fix property-based configuration of Undertow socket options · b98c3dcc
      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
      b98c3dcc
    • Andy Wilkinson's avatar
      Include Jackson Modules in WebMvcTest and WebFluxTest · 1c3528f5
      Andy Wilkinson authored
      Fixes gh-22530
      1c3528f5
    • Andy Wilkinson's avatar
      Advise against java.util.Optional configuration properties · 7b3c0a9e
      Andy Wilkinson authored
      Closes gh-21868
      7b3c0a9e
  2. 26 Jul, 2020 2 commits
  3. 25 Jul, 2020 10 commits
  4. 24 Jul, 2020 19 commits