Spring v5.3.0-M2 Release Notes

Release Date: 2020-08-11 // over 3 years ago
  • ๐Ÿฑ โญ New Features

    • Introduce getBeanProvider variants with allowEagerInit flag #25559
    • ๐Ÿ‘ Allow to access the underlying ConnectionFactory from DatabaseClient #25521
    • โšก๏ธ Optimize DefaultLifecycleProcessor::startBeans #25506
    • ๐Ÿ”จ Refactoring opportunity in HandlerExecutionChain #25500
    • ๐Ÿ‘Œ Support macros in crontab expressions #25471
    • Introduce CronExpression #25464
    • ๐Ÿ‘‰ Use System.currentTimeMillis() in AbstractSockJsService #25447
    • Simplified return statement #25415
    • ๐Ÿ‘Œ Improve UriComponents.sanitizeSource() #25401
    • ๐Ÿ‘‰ Use Math.min() in ExponentialBackOff #25381
    • ๐Ÿ‘ Allow auto grow for entries without default constructor in SpEL #25367
    • โœ‚ Remove redundant Character.toLowerCase() in BeanPropertyRowMapper #25361
    • Leverage spring.ignore.xml flag to avoid XmlBeanDefinitionReader #25338
    • Leverage spring.ignore.xml flag to avoid SQLErrorCodeSQLExceptionTranslator #25335
    • Check for valid IPv6 host in UriComponentsBuilder.fromUriString #25334
    • ๐Ÿ‘Œ Support use of RSocketClient #25332
    • โœจ Enhance HandlerMappingIntrospector to cache parsed patterns #25312
    • 0๏ธโƒฃ DefaultSubscriptionRegistry: Reduced thread contention #25298
    • ๐Ÿ‘Œ Support multiple Content-Language header values in MockHttpServletResponse #25281
    • โž• added possibility to extend ModelAttributeMethodArgumentResolver #25265
    • ๐Ÿ“‡ WebSocketMessage's methods fromMessage and toFrames ignore Netty WebSocketFrame metadata #25099
    • ๐Ÿ‘Œ Support for pattern based origin cors configuration #25016
    • Collect metrics during application context startup #24878
    • Sort detected PersistenceExceptionTranslator beans #24644
    • ๐Ÿ‘ Constructor based bean binding should support url path variables, not only request parameters #24107
    • ๐Ÿ”‹ Feature request: provide support for JSR 310 types in CronTrigger #23496
    • RouterFunction does not respect path matching set in WebFluxConfigurer #23236
    • Turn MethodArgumentNotValidException into subclass of BindException #23107
    • ๐Ÿ‘Œ Support for direct path lookups in WebFlux #22961
    • ๐Ÿ‘ ExceptionHandlerExceptionResolver should support exceptions from any handler #22619
    • โฑ @Scheduled(cron = "0 0 0 ? * 5#3") is not supported #22436
    • โšก๏ธ Consider updating the default Hibernate dialect for MySQL databases #22326
    • Spring MVC - Kotlin: Cannot bind MultipartFile in constructor [SPR-17640] #22169
    • ๐Ÿ‘Œ Support JSON streaming formats besides application/stream+json #21283
    • ๐Ÿ‘Œ Support raising exception with a custom HTTP status code #20336
    • ๐Ÿ‘Œ Support for the last day in month cron expression [SPR-15547] #20106
    • Cron Expression validation [SPR-14933] #19500
    • ๐Ÿ›  Cron expression with fixed weekday and fixed date may or may not lead to IllegalStateException (runaway search for next trigger) [SPR-8981] #13621

    ๐Ÿฑ ๐Ÿž Bug Fixes

    • โšก๏ธ MockHttpServletResponse's setCharacterEncoding() does not update contentType property #25536
    • Bean overriding for 'taskExecutor' alias is not detected #25430
    • ๐Ÿคก Creating ServerRequest from MockHttpServletRequest changed behaviour 5.3.0-M1 #25353
    • ๐Ÿ‘ CaffeineCache does not support LoadingCache consistently #25173
    • CronSequenceGenerator - Friday 13th issue [SPR-17036] #21574

    ๐Ÿ“” Documentation

    • ๐Ÿ‘‰ Use Groovy syntax highlighting in reference manual #25554
    • ๐Ÿ›  Fix comment syntax in xml examples #25537
    • ๐Ÿ›  Fix links in Javadoc #25448
    • ๐Ÿ›  Fix typo in javadoc #25396
    • โž• Add logging reference documentation [SPR-17626] #22158

    โฌ†๏ธ ๐Ÿ”จ Dependency Upgrades

    • โฌ†๏ธ Upgrade to Jackson 2.11.2 #25398
    • โฌ†๏ธ Upgrade to Reactor 2020.0.0-M2 #25373
    • โฌ†๏ธ Upgrade to RSocket 1.1 M1 #25331
    • โฌ†๏ธ Upgrade to ASM 9.0 #24872
    • โฌ†๏ธ Upgrade to Kotlin 1.4 RC #24171

    ๐Ÿฑ โค๏ธ Contributors

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