feat(client): add GCRA ratelimit command @nkaradzhov by nkaradzhov · Pull Request #3211 · redis/node-redis
Note
Medium Risk
Adds a new client command and bumps test infrastructure/CI to Redis 8.8 (unstable image), which can affect command API surface and CI stability/compatibility.
Overview
Adds support for Redis GCRA (Generic Cell Rate Algorithm) via a new client.gcra() command, including argument parsing for fractional periods and optional NUM_REQUESTS, plus reply-shape transformation.
Introduces unit/integration coverage for GCRA (including RESP3) and adds a new gcra-rate-limiting.js example documented in examples/README.md.
Updates CI and multiple package test-utils defaults to run against Redis 8.8 (switching Docker tag to unstable-23321515778-debian), and tightens a RESP3 test config type (RESP: 3 as const).
Written by Cursor Bugbot for commit f9e54d6. This will update automatically on new commits. Configure here.