Jedis 6.2.0 Release Notes
The 6.2.0 release of Jedis focuses on better support for Redis vector sets, making it compatible with Redis 8. It also fixes cluster issues and updates dependencies to keep the library stable and well-documented.
New Features
-
VSIM WITHATTRIBS command support
Jedis now works with the
VSIM WITHATTRIBS
option (CAE-1421
). This allows vector queries to return not only results but also extra attributes, making searches more powerful. -
Redis 8 vector set compatibility
Added support for new vector set features available in
Redis 8
. This ensures applications using Jedis can use the latest vector search improvements (see PR#4169
,#4203
).
Bug Fixes
A critical issue related to Redis Cluster functions was resolved:
-
Fixed: The
JedisBroadcastException
error that happened during functionLoadReplace in cluster mode. This fix improves stability when loading or replacing functions across multiple nodes.
Maintenance Updates
Several small updates were made to keep dependencies up-to-date and to improve documentation:
Component | Update |
---|---|
maven-javadoc-plugin |
Bumped from 3.11.2 → 3.11.3 for better Javadoc generation support. |
junit-bom |
Upgraded from 5.13.3 → 5.13.4 to ensure more reliable test management. |
Documentation | Improved Javadoc for HostAndPortMapper , making it easier for developers to understand and use. |
Example Usage
Here is a short example to show how developers may now use the new VSIM WITHATTRIBS
support. This is not exact production code, but only for illustration:
// Example pseudo-code for vector query
String cmd = "VSIM myVectorIndex WITHATTRIBS LIMIT 5";
List<Object> result = jedis.sendCommand(cmd);
// Parse result: includes vectors + their attributes
Note: the actual implementation may differ based on your Jedis API usage.
Why This Release Matters
- Brings Jedis up-to-date with Redis 8 vector capabilities.
- Makes cluster deployments more reliable by fixing function load errors.
- Keeps the build and test system modern with the latest plugin versions.
- Provides better documentation for developers who maintain production apps with Jedis.