Spring Framework 5.1.10 發布了,更新內容如下:
新特性
- 反向移植 PR #22485 (不包括 ShadowingClassLoader 中的 jdk 包)到 5.1 分支 #23641
- SimpleCacheManager 不應在 AbstractCacheManager#cacheMap 上同步 #23635
- MockClientHttpResponse 失去了原始的 HttpStatus 代碼 #23599
- BeanUtils.isSimpleValueType() 不應將 void 或 Void 視為簡單值類型 #23573
- ClassUtils.isPrimitiveOrWrapper(…) 應該將 Void.class 視為 void.class 的原始包裝器 #23572
- 自定義 DefaultResourceLoader 子類應該能夠使用上下文提供的 ProtocolResolvers #23564
- 超出 sendBufferSizeLimit 時應在警告級別記錄 #23534
- 提供一種從有作用域的目標的 bean 名稱中獲取原始 bean 名稱的方法 #23514
- 在 ResourceUrlEncodingFilter 中的 requestUri 中找不到 lookupPath 的索引失敗時提高 400(而不是 500) #23508
- Jetty WebSocket ExtensionFactory 上的 IncompatibleClassChangeError #23500
- Respect already set
content-length
header for HEAD request. #23484
- Static resource support does not handle requests for a file with % character in its name #23463
- 來自 WebFlux 伺服器上 WebClient 的 Errors.NativeIoException 未設置響應狀態 #23319
此版本還包含大量 bug 修復,詳情可查看更新說明。