github spring-projects/spring-framework v5.1.4.RELEASE
5.1.4 Release

latest releases: v6.2.0, v6.1.15, v6.2.0-RC3...
5 years ago

⭐ New Features

  • FormHttpMessageConverter should support non-String form values [SPR-17645] #22174
  • spring-jcl routes logging inefficiently against SLF4J with log4j-to-slf4j setup [SPR-17586] #22118
  • Allow java.time types for setting the Last-Modified header [SPR-17571] #22103
  • StringHttpMessageConverter should assume charset UTF-8 for application/json [SPR-17568] #22100
  • NettyDataBufferFactory.join should return original buffer as-is in case of a single element (for compatibility with Netty 4.1.32) [SPR-17560] #22092
  • Use Netty's optimized UTF-8 encoding if available [SPR-17558] #22090
  • Equals checks to MediaType.ALL should not be affected the presence of parameters [SPR-17550] #22082
  • Reactive HTTP header adapters don't print header values in toString [SPR-17546] #22078
  • Add ability to retrieve associated ClientRequest from WebClientResponseException [SPR-17087] #21624

🪲 Bug Fixes

  • HttpHeaders.EMPTY is not immutable [SPR-17633] #22164
  • UriComponentsBuilder.toUriString() is broken [SPR-17630] #22161
  • MethodParameter.isOptional() fails with ArrayIndexOutOfBoundsException [SPR-17629] #22160
  • MockMvcResultMatchers.forwardedUrl argument is not declared as nullable [SPR-17623] #22155
  • Cannot convert from Collection to RegularEnumSet [SPR-17619] #22151
  • TomcatHttpHandlerAdapter is not aware of Server[Request|Response]Wrapper [SPR-17611] #22143
  • ChannelSendOperator does not propagate cancel signal to the server [SPR-17609] #22141
  • @Value Optional<...> field injection fails in case of registered ConversionService [SPR-17607] #22139
  • @Profile mishandles "not" operand mixed with "&" [SPR-17606] #22138
  • SpEL, error parsing big InlineMap [SPR-17605] #22137
  • Composed RequestPredicates have invalid string representation [SPR-17594] #22126
  • Regression: IllegalStateException: Ambiguous handler methods is thrown for explicit HEAD mapping [SPR-17593] #22125
  • Exporting a lazily initialized bean (which implements SelfNaming and is annotated with ManagedResource annotation) gives IllegalStateException [SPR-17592] #22124
  • MockHttpServletRequest changes Accept-Language header values [SPR-17566] #22098
  • SpEL variable evaluation fails with NPE against ConcurrentHashMap [SPR-17565] #22097
  • WebClient logs "Only one connection receive subscriber allowed" when response status is an error [SPR-17564] #22096
  • Potential resource leak in DataSourceUtils.doGetConnection [SPR-17559] #22091
  • HibernateTransactionManager (unintentionally) bound to Hibernate 5.2 SharedSessionContractImplementor [SPR-17557] #22089
  • Spring JavaMailSenderImpl does not show proper message when recipient list is empty [SPR-17540] #22072
  • 'default-lazy-init' attribute is not processed when XSD validation is disabled [SPR-8335] #12983

📔 Documentation

  • Incorrect snippet of code in documentation [SPR-17601] #22133
  • Duplicate word in spring docs [SPR-17597] #22129
  • Typo in SpEL Evaluation Context Sample [SPR-17581] #22113
  • Error in reference documentation sentence in part 1.8.1. Customizing Beans by Using a BeanPostProcessor [SPR-17556] #22088
  • Doc: Support for validation in WebFlux.fn [SPR-17401] #21934
  • Improve docs on concurrent sending with direct use of WebSocket API [SPR-12886] #17484

Don't miss a new spring-framework release

NewReleases is sending notifications on new releases.