Spring v5.1.8.RELEASE Release Notes

Release Date: 2019-06-13 // over 3 years ago
  • ๐Ÿฑ โญ๏ธ New Features

    • ๐ŸŒ Thread-safe removal of destruction callbacks in web scopes #23117
    • Guard against ConcurrentModificationExceptions in the systemProperties PropertySource #23063
    • OncePerRequestFilter does not work properly on Error Dispatch on Jetty #22989
    • SimpleMessageListenerContainer - add possibility to disable manual recovery #22987
    • AntPathMatcher#isPattern ignores template variables #22959
    • ๐ŸŒ Avoid expensive assertions in web resource resolution #22955
    • WebFlux: Mono does not invoke onComplete(), but instead cancel() #22952
    • Illegal reflective access on shutdown of ExecutorService #22939
    • Illegal reflective access by SpEL ReflectivePropertyAccessor #22242

    ๐Ÿฑ ๐Ÿž Bug Fixes

    • ๐Ÿ›  Fix MockHttpServletRequest.setCookies to produce single Cookie header #23074
    • MappingMediaTypeFileExtensionResolver ConcurrentModificationException #23064
    • Weird behaviour when calling ApplicationContext.getBean() with a null class reference #23045
    • StompSubProtocolHandler does not close the connection after sending an ERROR frame #23039
    • WebFlux AbstractView does not allow null model values anymore #23038
    • ๐Ÿ›  Fix ScriptUtils for MS Windows line ending #23019
    • validation error message {0} is not working #23014
    • AnnotatedElementUtils.findMergedAnnotation not working for javax annotations (e.g. NotNull) #22957
    • โšก๏ธ WebFlux AbstractView does not update BindingResult for resolved async attributes #22933
    • HeaderResultMatchers should not import org.junit.Assert #22932

    ๐Ÿ“” Documentation

    • Reintroduce author list and copyright notice #23049
    • ๐Ÿ“š spring-mvc.xsd stale-if-error attribute documentation incorrect #22983
    • AbstractBeanDefinition.getBeanClass() javadoc misleads about returning null #22960
    • ๐Ÿ›  Fix typo in package-info.java #22941

    ๐Ÿฑ โค๏ธ Contributors

    ๐Ÿš€ We'd like to thank all the contributors who worked on this release!