Spring Security 7.1.0-M1 發佈

新聞
HongKong
12
02:24 PM · Jan 20 ,2026

Spring Security 7.1.0-M1 現已發佈,具體更新內容包括:

New Features

  • 在中PasswordEncoder#encode添加可 nullability contract #18334
  • 創建用於 OneTimeTokenAuthenticationToken 的 Jackson Mixin #18096
  • 修復 spring-security-oauth2-client 的 javadoc 警告#18483
  • 修復 spring-security-oauth2-core 編譯器警告#18482
  • 在授權文檔中替換已棄用的“check” #18471
  • 更新至 JDK 25(release = 17)#18512
  • 使用 DefaultParameterNameDiscoverer#getSharedInstance #18484

Bug Fixes

  • 添加缺失的@NullMarked #18514
  • 修復 OAuth2AuthorizationRequestRedirectFilter 構造函數測試問題 #18507
  • 修復文檔中重複的 use-authorization-manager #18478
  • 修復集合/數組的空值問題#18511

Dependency Upgrades

  • 將 ch.qos.logback:logback-classic 的版本從 1.5.24 提升至 1.5.25 #18521
  • 將 io.projectreactor:reactor-bom 的版本從 2025.0.1 提升至 2025.0.2 #18494
  • 將 io.spring.nullability:io.spring.nullability.gradle.plugin 的版本從 0.0.6 提升至 0.0.9 #18371
  • 將 org.springframework.data:spring-data-bom 的版本從 2025.1.1 提升到 2025.1.2 #18520
  • 將 org.springframework:spring-framework-bom 的版本從 7.0.3-SNAPSHOT 提升至 7.0.3 #18515
  • jococo 更新至 0.8.14 #18508
  • 更新至 Gradle 9.2.1 #18510
  • 更新至 Kotlin 2.3.0 #18509

更新説明:https://github.com/spring-projects/spring-security/releases/tag/7.1.0-M1

user avatar
0 位用戶收藏了這個故事!
收藏

發佈 評論

Some HTML is okay.