Spring Data Redis 1.1 M2(里程碑版本)和 1.0.6(维护版本)是 Spring Data 项目在 2013 年左右发布的两个重要版本。其中:
- 1.0.6是 1.0.x 系列的最后一个维护版本,主要包含 bug 修复、稳定性增强及对 Redis 2.6+ 特性(如 Lua 脚本支持)的兼容性改进;
- 1.1 M2是 1.1 版本的第二个里程碑版本,引入了多项新特性,例如:
- 更完善的 Redis Sentinel 支持(自动故障转移与主从发现);
- 对 Redis Cluster(当时仍为预发布/实验性支持)的初步适配;
- 增强的
RedisTemplate和StringRedisTemplateAPI; - 改进的序列化机制与泛型类型推断;
- 新增
@EnableRedisHttpSession的早期雏形(后续在 Spring Session 中完善)。
⚠️ 注意:这两个版本已严重过时(当前 Spring Data Redis 已迭代至 3.x 系列,基于 Spring Framework 6+/Jakarta EE 9+,并全面支持 Redis 7.x 及 RESP3 协议)。生产环境绝不应使用1.x 版本,因其存在已知安全漏洞、缺乏 TLS/SSL 完整支持、不兼容现代 Redis 功能(如 Streams、ACL、RedisJSON 等),且早已停止官方维护(EOL)。
<!-- 示例:旧版 Maven 依赖(仅作历史参考,勿用于新项目) --><dependency><groupId>org.springframework.data</groupId><artifactId>spring-data-redis</artifactId><version>1.0.6.RELEASE</version></dependency>Spring Data Redis 1.1 M2 and 1.0.6 Released
I am pleased to announce the second milestone release of Spring Data Redis 1.1!
Downloads | JavaDocs | Reference Documentation | Changelog
Highlights include:
Significant enhancements to pipelining functionality Data type conversion and deserialization of Redis transaction results High level support for Redis 2.6 scripting through RedisTemplate Modified API for adding or removing multiple List, Set, and Hash elements in one call Support for using RedisTemplate without serializationThere is also a new GA release, Spring Data Redis 1.0.6!
Downloads | JavaDocs | Reference Documentation | Changelog
Spring Data Redis 1.0.6 is a maintenance release containing a few bug fixes and minor enhancements. See the Changelog for more information.
For more information about Spring Data Redis please see the home page for a live sample and webinar recording.
We look forward to your feedback on the forum or in the issue tracker. We hope to see you at the upcoming SpringOne conference in Santa Clara, CA. Checkout the schedule and register!
comments powered by Disqus