Skip to content

Add hexpireat & hexpiretime#2082

Merged
PavelPashov merged 3 commits intoredis:mainfrom
PavelPashov:feat/add-hexpireat-hexpiretime
Feb 26, 2026
Merged

Add hexpireat & hexpiretime#2082
PavelPashov merged 3 commits intoredis:mainfrom
PavelPashov:feat/add-hexpireat-hexpiretime

Conversation

@PavelPashov
Copy link
Copy Markdown
Contributor

@PavelPashov PavelPashov commented Feb 26, 2026

Note

Low Risk
Mostly additive typing/test coverage plus a patch-level bump of @ioredis/commands; main risk is compatibility with Redis versions that don’t support these 7.4.0 hash-field expiry commands.

Overview
Adds new Redis hash-field expiry commands hexpireat (set absolute Unix-time expiry) and hexpiretime (read expiry timestamp) to the TypeScript command interface, including overloads for NX/XX/GT/LT and multi-field usage.

Bumps @ioredis/commands to 1.5.1 and adds functional tests validating return codes and multi-field behavior for both commands.

Written by Cursor Bugbot for commit f2f9328. This will update automatically on new commits. Configure here.

Copy link
Copy Markdown

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

@PavelPashov PavelPashov force-pushed the feat/add-hexpireat-hexpiretime branch from 633b44a to f2f9328 Compare February 26, 2026 13:46
@PavelPashov PavelPashov merged commit b38124f into redis:main Feb 26, 2026
12 checks passed
@PavelPashov PavelPashov deleted the feat/add-hexpireat-hexpiretime branch February 26, 2026 13:56
github-actions bot pushed a commit that referenced this pull request Feb 27, 2026
# [5.10.0](v5.9.3...v5.10.0) (2026-02-27)

### Features

* add hash field expiration commands and tests ([5219f9f](5219f9f))
* add hexpireat & hexpiretime ([#2082](#2082)) ([b38124f](b38124f))
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 5.10.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants