1. 01 Apr, 2021 2 commits
  2. 31 Mar, 2021 2 commits
    • Andy Wilkinson's avatar
      Merge branch '2.3.x' into 2.4.x · 0e4b66a3
      Andy Wilkinson authored
      Closes gh-25844
      0e4b66a3
    • Andy Wilkinson's avatar
      Align PushGatewayManager's exception handling with PushMeterRegistry's · 1a84b061
      Andy Wilkinson authored
      Previously, would log an error for any exception and also stop
      publishing for an UnknownHostException. By constrast, Micrometer's
      PushMeterRegistry treats all exceptions the same, logging a warning
      and continuing with subsequent push attempts.
      
      This commit updates the push gateway manager's behaviour to match
      PushMeterRegistry. UknownHostExceptions no longer receive special
      treatment and push (and delete) failures are now logged as warnings
      rather than errors.
      
      Fixes gh-25804
      1a84b061
  3. 30 Mar, 2021 14 commits
  4. 29 Mar, 2021 7 commits
  5. 27 Mar, 2021 3 commits
  6. 26 Mar, 2021 4 commits
  7. 25 Mar, 2021 1 commit
    • Andy Wilkinson's avatar
      Support all known endpoint types · af7e4e21
      Andy Wilkinson authored
      Previously, the configuration metadata annotation processor only
      declared support for `@Endpoint` and none of the other more
      specialized `@…Endpoint` annotations that are meta-annotated with
      `@Endpoint` such as `@WebEndpoint` and `@JmxEndpoint. This would
      result in missing metadata if a full or incremental build only
      compiled classes annotated with one of the more specialized
      `@…Endpoint` annotations as the annotation processor would not be
      called.
      
      This commit updates the processor's supported annotation types to
      include every known `@…Endpoint` annotation. The test processor has
      also been similarly updated to align its behaviour with that of the
      main processor.
      
      Fixes gh-25388
      af7e4e21
  8. 24 Mar, 2021 7 commits
    • Phillip Webb's avatar
      Deprecate Bootstrapper · 35aeae5a
      Phillip Webb authored
      Deprecate the `Bootstrapper` interface entirely and provide a
      `BootstrapRegistryInitializer` alternative so that people can migrate.
      
      Unfortunately our previous attempt to fix the typo in the `Bootstrapper`
      interface didn't provide us a way to remove the deprecated method
      without impacting users. It was also problematic for people who were
      implementing `Bootstrapper` rather than using a lambda since they needed
      to introduce the deprecated method.
      
      We unfortunately can't see a way to fix the original typo without
      introducing a new interface.
      
      Fixes gh-25735
      35aeae5a
    • Phillip Webb's avatar
      Merge branch '2.3.x' into 2.4.x · ddf5c9f5
      Phillip Webb authored
      Closes gh-25786
      ddf5c9f5
    • Phillip Webb's avatar
      Merge pull request #25778 from framon · ffc36797
      Phillip Webb authored
      * pr/25778:
        Polish 'Ignore quality value when removing MediaType.ALL'
        Ignore quality value when removing MediaType.ALL
      
      Closes gh-25778
      ffc36797
    • Phillip Webb's avatar
      Polish 'Ignore quality value when removing MediaType.ALL' · 88b74097
      Phillip Webb authored
      See gh-25778
      88b74097
    • Fábio Ramon's avatar
      Ignore quality value when removing MediaType.ALL · 3090a3a7
      Fábio Ramon authored
      Update the default reactive exception handler so that `MediaType.ALL`
      is removed regardless of any quality setting. Prior to this commit,
      the "match-all" media type was not properly ignored if it has a quality
      value and would show HTML content if the accept header was
      `application/json, */*;q=0.9`.
      
      See gh-25778
      3090a3a7
    • Phillip Webb's avatar
      Merge branch '2.3.x' into 2.4.x · 5274cf24
      Phillip Webb authored
      Closes gh-25784
      5274cf24
    • Phillip Webb's avatar
      Chain caught InvalidEndpointRequestExceptions · 130cc5b0
      Phillip Webb authored
      Update `AbstractWebMvcEndpointHandlerMapping` to chain any caught
      InvalidEndpointRequestExceptions so that a more complete stacktrace
      is available. The exception has also been updated to a
      `ResponseStatusException` so that the reason can be propagated.
      
      Fixes gh-25642
      130cc5b0