Skip to content

addons(kv): add GETDEL, HEXISTS, HSETNX, HINCRBY, EXPIREAT, PEXPIREAT commands#892

Open
baptiste-le-m wants to merge 1 commit intoCleverCloud:mainfrom
baptiste-le-m:baptiste-le-m-addons-kv-new-commands
Open

addons(kv): add GETDEL, HEXISTS, HSETNX, HINCRBY, EXPIREAT, PEXPIREAT commands#892
baptiste-le-m wants to merge 1 commit intoCleverCloud:mainfrom
baptiste-le-m:baptiste-le-m-addons-kv-new-commands

Conversation

@baptiste-le-m
Copy link

@baptiste-le-m baptiste-le-m commented Mar 11, 2026

📝 What does this PR do?

This PR updates Materia KV documentation to reflect the new commands available in version 2.5.0:

  • GETDEL: atomically get a string value and delete its key
  • HEXISTS: check if a field exists in a hash
  • HSETNX: set a hash field only if it does not already exist
  • HINCRBY: increment the integer value of a hash field
  • EXPIREAT: set key expiration using an absolute Unix timestamp in seconds
  • PEXPIREAT: set key expiration using an absolute Unix timestamp in milliseconds

It also includes a changelog entry covering these new commands as well as reliability improvements in the underlying storage layer (scan boundary fixes, transaction retry limits).

A pre-existing alphabetical ordering issue (STRLEN was after SUNION/SUNIONSTORE) has been fixed.


🧪 Type of Change

  • ⚠️ Bug fix
  • 📅 Changelog update
  • 📚 Documentation update
  • ✨ New content/feature
  • 🔧 Technical/maintenance

✅ Quick Checklist


👥 Reviewers

@davlgd @PierreZ

@github-actions
Copy link

github-actions bot commented Mar 11, 2026

✅ Review app deployed

Check how your changes look like!

ℹ️ Name 🔗 Infos & links
🌱 Latest deployed commit ebbf118
👁️ Preview https://documentation-PR-892.cleverapps.io/developers

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Materia KV documentation and changelog to reflect newly supported Redis-compatible commands introduced in Materia KV v2.5.0.

Changes:

  • Adds GETDEL, HEXISTS, HSETNX, HINCRBY, EXPIREAT, and PEXPIREAT to the supported-commands table.
  • Fixes the alphabetical ordering of STRLEN in the supported-commands list.
  • Adds a 2026-03-11 changelog entry describing the new commands and reliability improvements.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
content/doc/addons/materia-kv.md Extends the supported command reference table with new commands and corrects ordering.
content/changelog/2026/03-11-materia-kv-new-commands.md Adds a changelog post announcing the new commands and reliability changes.

You can also share your feedback on Copilot code review. Take the survey.

@baptiste-le-m baptiste-le-m force-pushed the baptiste-le-m-addons-kv-new-commands branch 2 times, most recently from 1623f88 to 157bd13 Compare March 12, 2026 07:32
@baptiste-le-m baptiste-le-m force-pushed the baptiste-le-m-addons-kv-new-commands branch from 157bd13 to ebbf118 Compare March 13, 2026 08:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants