1. 20 11月, 2019 3 次提交
  2. 19 11月, 2019 10 次提交
    • S
      Update @since tag · cd619a2f
      Sam Brannen 提交于
      cd619a2f
    • S
      Polishing · fd6efb9a
      Sam Brannen 提交于
      fd6efb9a
    • J
      SynthesizedMergedAnnotationInvocationHandler does not pre-load values · 06b1f31c
      Juergen Hoeller 提交于
      Closes gh-24029
      06b1f31c
    • J
      Avoid substring allocation in StringUtils.replace · 4af60393
      Juergen Hoeller 提交于
      Closes gh-24023
      4af60393
    • S
      Ignore scoped proxy targets for @ControllerAdvice beans · b4e1d483
      Sam Brannen 提交于
      Prior to this commit, methods in a @ControllerAdvice bean were
      registered and invoked twice if the advice was a scoped bean (e.g.,
      request or session scoped). In other words, both the proxy bean and the
      target bean were wrapped in ControllerAdviceBean instances.
      
      This commit fixes this bug by modifying the findAnnotatedBeans() method
      in ControllerAdviceBean so that it filters out targets of scoped
      proxies.
      
      Closes gh-24017
      b4e1d483
    • S
      Upgrade to Kotlin 1.3.60 · 4c17314d
      Sébastien Deleuze 提交于
      Closes gh-24006
      4c17314d
    • A
      Add test for usage of bodyToMono in WebClient.ResponseSpec::onStatus · 9f7dd9f3
      Arjen Poutsma 提交于
      See gh-23365
      9f7dd9f3
    • S
      Support scoped @ControllerAdvice beans again · 3a39b7fe
      Sam Brannen 提交于
      Spring Framework 5.2 introduced support for implementing the Ordered
      interface in a @ControllerAdvice bean. This support requires that
      @ControllerAdvice beans be eagerly resolved from the BeanFactory in
      order to invoke the getOrder() method defined in the Ordered interface.
      Unfortunately doing so resulted in a regression in that an attempt to
      eagerly resolve a scoped @ControllerAdvice bean throws a
      BeanCreationException due to the lack of an active scope (e.g., request
      or session scope).
      
      This commit fixes this regression by avoiding eager resolution of scoped
      @ControllerAdvice beans. As a direct consequence, the Ordered interface
      is not supported for scoped @ControllerAdvice beans.
      
      Closes gh-23985
      3a39b7fe
    • S
      Polishing · f0b2f718
      Sam Brannen 提交于
      f0b2f718
    • R
      Use method signature to refine RSocket @MessageMapping · 842b424a
      Rossen Stoyanchev 提交于
      Before this change an @MessageMapping could be matched to any RSocket
      interaction type, which is arguably too flexible, makes it difficult to
      reason what would happen in case of a significant mismatch of
      cardinality, e.g. request for Fire-And-Forget (1-to-0) mapped to a
      method that returns Flux, and could result in payloads being ignored,
      or not seen unintentionally.
      
      This commit checks @ConnectMapping method on startup and rejects them
      if they return any values (sync or async). It also refines each
      @MessageMapping to match only the RSocket interaction type it fits
      based on the input and output cardinality of the handler method.
      Subsequently if a request is not matched, we'll do a second search to
      identify partial matches (by route only) and raise a helpful error that
      explains which interaction type is actually supported.
      
      The reference docs has been updated to explain the options.
      
      Closes gh-23999
      842b424a
  3. 18 11月, 2019 1 次提交
  4. 17 11月, 2019 1 次提交
  5. 15 11月, 2019 8 次提交
  6. 14 11月, 2019 13 次提交
  7. 13 11月, 2019 4 次提交