Upgrading to 3.x

随着新的大版本发布,Spring Session 团队借此机会做出了一些非消极变化。这些变化的重点是改进和协调 Spring Session API,并移除弃用的组件。

With the new major release version, the Spring Session team took the opportunity to make some non-passive changes. The focus of these changes is to improve and harmonize Spring Session’s APIs as well as remove the deprecated components.

Baseline Update

Spring Session 3.0 要求 Java 17 和 Spring Framework 6.0 作为基线,因为其整个代码库现在都基于 Java 17 源代码。有关升级 Spring Framework 的更多信息,请参见 Upgrading to Spring Framework 5.x

Spring Session 3.0 requires Java 17 and Spring Framework 6.0 as a baseline, since its entire codebase is now based on Java 17 source code. See Upgrading to Spring Framework 5.x for more on upgrading Spring Framework.

Replaced and Removed Packages, Classes, and Methods

对包、类和方法进行了以下更改:

The following changes were made to packages, classes, and methods:

Dropped Support