Spring Data 2023.1 goes GA

On behalf of the Spring Data engineering team and everyone who contributed to this release, I am delighted to announce the general availability of Spring Data 2023.1 (Codename: Vaughan) from Maven Central! This release comes with several infrastructure themese as well as refinements in individual store modules.

Spring Data 2023.1 has upgraded its Spring Framework baseline to 6.1 along with Project Reactor 2023.0.0 and Micrometer 1.12.0 while requiring Java 17 as minimum platform version and supporting up to Java 21 for Virtual Threads support.

Virtual Threads can be used in various components by configuring an Virtual Threads-enabled Executor. Prominent examples for these components are Redis’ MessageListenerContainer or Mongo’s MessageListenerContainer for Change Streams and Tailing Cursor polling.
Using Virtual Threads requires opt-in as the configuration remains defaulting to Platform Threads.

This release ships also refinements for JVM Checkpoint Restore arrangements (Project CRaC). Spring Data Redis’ connection factory beans are now Lifecycle beans that auto-start on bean initialization and that can be stopped before taking a checkpoint snapshot. Going forward, we plan to explore support for additional modules, however specific support requires oftentimes support by database drivers directly.

There are many other features and refinement and various changes within the individual modules. This release ships also experimental support for Single Query Loading within the Spring Data JDBC module to load full aggregates using a single query. To find out more about what’s new, see the release notes and the individual module reference documentation.

Going forward, we plan to expand Single Query Loading support and revise JPA’s query mechanism to consolidate the various query approaches that have evolved over time.

This release will be included in the upcoming Spring Boot 3.2 GA release. We’d like to hear from you, so keep the feedback coming.

To round things off, here are the links to the individual modules, changelogs, artifacts and our new shiny Antora-based documentation sites:

THE END
喜欢就支持一下吧
点赞11 分享
评论 抢沙发

请登录后发表评论

    暂无评论内容