Feature Request: Support HGETDEL, HGETEX and HSETEX from Redis 8.0
Closed this issue · 4 comments
Hello!
Redis 8.0 release added 3 new hash commands:
- HGETDEL: https://redis.io/docs/latest/commands/hgetdel/
- HGETEX: https://redis.io/docs/latest/commands/hgetex/
- HSETEX: https://redis.io/docs/latest/commands/hsetex/
These new command are already supported in Lettuce (Since Release 6.8.0) and Jedis (Since Release 6.0.0)
Feature request: Support these commands in Spring Data Redis's hash operations, similar to the existing: getAndDelete, getAndExpire, setAndExpire methods in value operations.
Hey @xmiao2 ,
The Redis team is planning on contributing this to the spring-data-redis project.
Hey @xyraclius,
The Redis team has already started looking into this feature. I'll update this issue and link a PR once there's something reviewable. You're welcome to take a look and leave feedback once it’s posted.
Hey @viktoriya-kutsarova,
Thanks for the update! I’ve also implemented some changes and added tests via Spring Boot for reference:
• Commit changes: 0d9de1b
• Spring Boot test repository: spring-data-redis-hgetdel-hgetex-hsetex
Just sharing this in case it’s helpful as context or reference.