9 月 23 日官方釋出了 Spring Boot 2.5.5 版本,此版本包括 41 個錯誤修複、文檔改進和依賴項更新。
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.5.5</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
缺陷修複
- 修複 端點預設情況下不會清理 SPRING_APPLICATION_JSON #28081
- Flyway 和 Spring Integration 的 DataSource 初始化時由于非空模式下導緻啟動失敗#28079
- 當過濾器抛出 NestedServletException 以外的異常時,Web MVC 名額可能具有錯誤的狀态#28069
- URL 中包含特殊字元時,嵌入式 Undertow 抛出 MalformedURLException #28032
- 并發鏡像建構導緻删除建構器鏡像時出錯#27993
- 獨立 Tomcat 中的 War 部署會導緻記憶體洩漏
- 運作大于 4GB 的 Zip64 jar 檔案時出現 IndexOutOfBoundsException #27900
- 在 Windows 上未正确檢測到 Azure 應用服務#27819
- @MockBean 結合@Repeat 時出現錯誤#27798
- 當路由資料源的目标為空時,RoutingDataSourceHealthContributor 中出現 NullPointerException #27698
https://blog.didispace.com/spring-boot-2-5-5-release/#%E6%96%87%E6%A1%A3%E8%B0%83%E6%95%B4 文檔調整
- 使用 AspectJ weaving 時 devtools 重新開機不起作用 #28083
- spring.data.elasticsearch.client.reactive.endpoints 的預設值沒有記錄 #28072
- Selenium 自動配置需要 HtmlUnit #27943
- spring-boot-starter-parent 配置 Java 編譯使用-parameters 的文檔#27885
- 修複不一緻的開發工具文檔#27876
- 修複 javadoc 中的錯字#27873
- 記錄如何使用 WebTestClient 參數化 REST 文檔的輸出目錄#27803
- Java 17 的文檔支援#26767
https://blog.didispace.com/spring-boot-2-5-5-release/#%E4%BE%9D%E8%B5%96%E5%8D%87%E7%BA%A7 依賴更新
- 更新 Ehcache3 3.9.6 #27974
- 更新 Glassfish EL 3.0.4 #27975
- 更新 Groovy 3.0.9 #27976
- 更新 Gson 2.8.8 #27977
- 更新 Jackson Bom 2.12.5 #27978
- 更新 Jetty EL 9.0.52 #27979
- 更新 jOOQ 3.14.15 #28088
- 更新 Kotlin 1.5.31 #28089
- 更新 Kotlin Coroutines 1.5.2 #27982
- 更新 Lettuce 6.1.5.RELEASE #28031
- 更新 Logback 1.2.6 #27983
- 更新 Maven War Plugin 3.3.2 #27984
- 更新 Micrometer 1.7.4 #27916
- 更新 Netty 4.1.68.Final #27985
- 更新 Netty tcNative 2.0.43.Final #27986
- 更新 Reactor 2020.0.11 #27914
- 更新 SendGrid 4.7.5 #28109
- 更新 Spring Data 2021.0.5 #27917
- 更新 Spring Framework 5.3.10 #27915
- 更新 Spring HATEOAS 1.3.4 #27970
- 更新 Spring Integration 5.5.4 #27949
- 更新 Spring Kafka 2.7.7 #27918
- 更新 Tomcat 9.0.53 #27963
官方公告: https://spring.io/blog/2021/09/23/spring-boot-2-5-5-available-now
如果您正在學習Spring Boot,這個連載多年還在持續更新的
Spring Boot教程不能錯過哦!