Release Notes - Spring Framework - Version 5.0.1 - HTML format

Sub-task

  • [SPR-16009] - Docs for WebTestClient are pretty thin

Bug

  • [SPR-16025] - WebClient throws ClassCastException for bodyToMono(ParameterizedTypeReference)
  • [SPR-16030] - CookieWebSessionIdResolver should set path to the context path + "/"
  • [SPR-16032] - Spring EL does not allow '\0' characters
  • [SPR-16033] - CastClass exception when wiring Map of beans (NullBean instead of 'null' in the map)
  • [SPR-16043] - sort BeanDefinitionRegistryPostProcessors added by other BeanDefinitionRegistryPostProcessors
  • [SPR-16047] - AbstractMessageSource does not properly interact with DelegatingMessageSource parent
  • [SPR-16055] - WebClient failed to write application/x-www-form-urlencoded
  • [SPR-16059] - WebClient.mutate() impacts future .mutate() invocations
  • [SPR-16063] - BeanDefinitionValidationException when beans are null (NullBean) and initMethod is set
  • [SPR-16068] - Empty NettyByteBuffer.asByteBuffer() returns ByteBuffer with zero capacity
  • [SPR-16070] - DataBufferUtils.read(ReadableByteChannel,...) may corrupt data when used with NettyDataBuffers
  • [SPR-16073] - Returning non-standard HTTP status code causes exceptions on WebFlux
  • [SPR-16082] - Checkbox/RadioButton incorrectly converts collections of enums with a custom converter
  • [SPR-16083] - @ModelAttribute binding defined globally for particular attribute rather than per method invocation
  • [SPR-16091] - ContentDisposition class cannot parse quoted filename with ;
  • [SPR-16102] - WebSphereUowTransactionManager swallows original exception when commit fails for another reason
  • [SPR-16103] - Incorrectly identify bridged method on interface

Improvement

  • [SPR-16005] - Controller fails to map for URLs patterns containing semicolons
  • [SPR-16023] - ResourceWebHandler should throw ResponseStatusException when resources are not found
  • [SPR-16034] - resourceHandlerMapping should be registered with shared HandlerInterceptor
  • [SPR-16049] - Lower log level of ResponseStatusExceptionHandler
  • [SPR-16052] - Support JDK9 Flow.Publisher as an adaptable reactive type
  • [SPR-16054] - Add convenient method to construct ParameterizedTypeReference from Type
  • [SPR-16066] - Annotations like @Service should add @AliasFor for @Component
  • [SPR-16067] - MockMvc async does not re-use response instance on async dispatch
  • [SPR-16079] - Consider adding MockServerWebExchange.from(MockServerHttpRequest.BaseBuilder<?>)
  • [SPR-16086] - Webflux handler method does not accept Map as parameter
  • [SPR-16087] - No way to signal that controller has handled the request in Webflux
  • [SPR-16089] - Prevent WebSocket buffer overflow through application-level flow control
  • [SPR-16090] - SchedulingConfigurer and JmsListenerConfigurer should respect @Order
  • [SPR-16093] - Consider to add ability to modify the URI on ClientRequest.Builder
  • [SPR-16095] - Avoid temporary String creation in StringUtils.starts/endsWithIgnoreCase

Refactoring

  • [SPR-16044] - Top-level "Language Support" reference section
  • [SPR-16045] - Refactor the Appendix section in the reference documentation
  • [SPR-16064] - Package tangles in codec configurers

Task

  • [SPR-14579] - Document Spring recommendations/restrictions for Java 9 module setups
  • [SPR-15821] - Document HTTP/2 support in Spring 5
  • [SPR-15985] - Upgrade to Gradle 4.2(.1)
  • [SPR-16016] - Deprecate HibernateJpaSessionFactoryBean (against Hibernate 5.2)
  • [SPR-16024] - Broken links to documentation section "Message Converters"
  • [SPR-16041] - [doc] AbstractDispatcherServletInitializer support DispatcherServlet from Root Context
  • [SPR-16074] - Doc: ControllerAdvice @ExceptionHandler matching for root vs cause in multi-advice scenario
  • [SPR-16076] - Improve documentation of lite configuration mode
  • [SPR-16077] - Upgrade to AspectJ 1.9 RC1
  • [SPR-16078] - Clarify Bean destroyMethod documentation
  • [SPR-16085] - Upgrade to Reactor Bismuth-SR2
  • [SPR-16092] - Doc: @Async in an Interceptor postHandle() doesn't work
  • [SPR-16107] - Compatibility with OpenPDF as alternative to iText 2.1.7

Edit/Copy Release Notes

The text area below allows the project release notes to be edited and copied to another document.