Spring Boot 2.4.4 發(fā)布
Spring Boot 2.4.4 已經(jīng)發(fā)布。現(xiàn)在可從 repo.spring.io 和 Maven Central 獲得。
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.4</version>
<relativePath/>
</parent>
這是 v2.4 版本的第四個錯誤修正版本,包括 60 個錯誤修復(fù),增強功能,文檔改進(jìn)和依賴項升級。
?? Bug Fixes
使用 jOOQ 當(dāng) SQLException 無法翻譯時,會拋出 NPE
如果配置了多個 schema 或數(shù)據(jù)腳本加載路徑,若一個路徑無法解析,報錯無法判斷哪個路徑出錯
@ConfigurationProperties默認(rèn)屬性注入錯誤導(dǎo)致無法驗證EmbeddedDatabaseConnection#h2不應(yīng)該指定為 hosts 主機名RSocket 的 EmbeddedServerAutoConfiguration 初始化類無法在非 web 環(huán)境使用
無法從包含同一組屬性的 json 文件加載
ConfigurationMetadataRepositoryLayertools工具獲取目標(biāo)路徑資源會加載額外路徑資源
maven 插件 spring-boot:stop 功能的默認(rèn)值和描述無法對應(yīng)
無法為Actuator 配置過濾器,導(dǎo)致應(yīng)用無法啟動
@EntityScan 注解無法使用屬性替換
SpringApplication 支持替換已存在屬性文件
spring-boot-devtools 導(dǎo)致私有類的 getter 方法為空
詳情
其他 BUG 修復(fù)、文檔更新和依賴項升級,詳情查看:
https://spring.io/blog/2021/03/18/spring-boot-2-4-4-available-now
https://github.com/spring-projects/spring-boot/releases/tag/v2.4.4
