Repository navigation
DOC-7344 Add Predis (php) API mappings for the Redis 8.12 commands - #4661
Merged
Merged
Conversation
Contributor
Contributor
🧠 Redis MemoryFound 6 related items from repository history (1 new this commit):
Memory updated at bb24b78 |
Predis 3.8.0 (2026-11-23) adds typed methods for the 8.12 set member expiration commands, BITRANGEINTARRAY, ZMOVE, BZMOVE and ZMOVEMEMBER. DOC-7292 (#4525) landed only released clients, so these 14 files had no php entry. Signatures come from the @method docblocks in src/ClientInterface.php at v3.8.0, kept verbatim (nullable `?string` types, `SADDEX::COND_NULL` defaults), per the php quirks in the command-api-mapping skill. Descriptions are empty. Not verified: the semantics of bitrangeintarray's `$index` parameter (read as the BYTE/BIT unit); only the signature was taken from source. Learned: - build/merge-command-api-mapping.sh calls mktemp without honoring the sandbox TMPDIR; run it unsandboxed or the merged file silently stays stale while the script prints no error to a redirected stream. Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
andy-stark-redis
force-pushed
the
DOC-7344-predis-8-12-mappings
branch
from
November 25, 2026 09:43
7cac311 to
bb24b78
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a
phpentry to the 14 per-command mapping files for the Redis 8.12 commands that Predis 3.8.0 (released 2026-11-23) now supports:SADDEX,SEXPIRE,SEXPIREAT,SEXPIRETIME,SPERSIST,SPEXPIRE,SPEXPIREAT,SPEXPIRETIME,SPTTL,STTL,BITRANGEINTARRAY,ZMOVE,BZMOVEandZMOVEMEMBER.data/command-api-mapping.jsonis regenerated and only gains lines.Signatures come from the
@methoddocblocks insrc/ClientInterface.phpat v3.8.0, kept verbatim. Descriptions are empty, as for other PHP entries. Follows #4525 (DOC-7292), which landed only released clients.bitrangeintarray's$indexparameter is the BYTE/BIT unit:BITRANGEINTARRAY.phpat v3.8.0 upper-cases it and appends it as-is.🤖 Generated with Claude Code
Note
Low Risk
Documentation-only JSON additions with no executable logic; risk is limited to incorrect API signatures in docs.
Overview
Adds PHP (
Predis)api_callsentries for 14 Redis 8.12 commands across the per-command mapping files underdata/command-api-mapping/, then regenerates the mergeddata/command-api-mapping.json.Coverage spans set-member TTL/persist helpers (
SADDEX,SEXPIRE*,SPEXPIRE*,SPERSIST,STTL,SPTTL, etc.), bit-array reads (BITRANGEINTARRAY), and sorted-set move APIs (ZMOVE,BZMOVE,ZMOVEMEMBER). Each new block records method signature, params, and returns with empty descriptions, matching existing PHP rows elsewhere.Signatures are taken verbatim from Predis 3.8.0
ClientInterface@methoddocblocks; no runtime or client code changes.Reviewed by Cursor Bugbot for commit bb24b78. Bugbot is set up for automated code reviews on this repo. Configure here.