Reading a key and deleting it was two commands and a race, and 6.2 made it one.
# before: a MULTI, or a Lua script, or a race
GET reset:9c1f4a7e
DEL reset:9c1f4a7e
# 6.2
GETDEL reset:9c1f4a7e
# and the related one, for extending on read:
GETEX session:abc EX 1800
The race matters for anything single-use — a password reset token, a one-time login link, an idempotency claim — where two concurrent requests both reading before either deletes means the token works twice. GETEX covers the opposite pattern, a sliding session expiry that previously needed a GET and an EXPIRE, and it can also remove the TTL with PERSIST.