Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
9c1e075
DEV: update ACL page - comments allowed in ext. files (#2937)
dwdougherty Mar 25, 2026
9b62755
DEV: update redis-cli docs with word-jump nav. info. (#2935)
dwdougherty Mar 26, 2026
e1d3353
DEV: (cmds) add XIDMPRECORD command page (#2939)
dwdougherty Mar 26, 2026
7c1f768
OP: update version mgmt page for 8.6 and 8.8 (#2947)
dwdougherty Mar 27, 2026
3d834c6
OP: update "tested on" information (#2945)
dwdougherty Mar 30, 2026
a32d331
DEV: (cmds) update TS cmd pages for multiple aggregators support (#2949)
dwdougherty Apr 1, 2026
d3642f0
DEV: update JSON.SET cmd page (etc) with FPHA argument (#2964)
dwdougherty Apr 2, 2026
f003ed2
DEV: (cmds) add GCRA command page and general info. (#2943)
dwdougherty Apr 2, 2026
25ab204
DEV: update various metrics (#2942)
dwdougherty Apr 2, 2026
bc7f9c4
DEV: (cmds) add note about auto-expiration to GCRA command page
dwdougherty Apr 8, 2026
35d9c33
Add missing RS/RC compat. info.
dwdougherty Apr 9, 2026
bdee5aa
DEV: (cmds) add GCRASETVALUE command page (#3016)
dwdougherty Apr 14, 2026
124fbae
DEV: update modules API page (#3024)
dwdougherty Apr 15, 2026
e427b18
DEV: add info. about sub-keyspace notifications (#3014)
dwdougherty Apr 15, 2026
67a9747
DEV: (cmds) add COUNT aggregator to sorted set commands (#3023)
dwdougherty Apr 15, 2026
a17a063
DEV: (cmds + etc) add XNACK command page and general info. (#2992)
dwdougherty Apr 16, 2026
dc27286
Merge branch 'main' into DOC-6334
dwdougherty Apr 16, 2026
98140a7
Remove superflous frontmatter from cmds
dwdougherty Apr 16, 2026
ac36757
DEV: document search limitation inside MULTI/EXEC (#3062)
dwdougherty Apr 21, 2026
1d959a2
Merge branch 'main' into DOC-6334
dwdougherty Apr 21, 2026
9c806bc
DEV: (cmds) document new array data structure (#3081)
dwdougherty Apr 22, 2026
381a896
Add banners to array pages
dwdougherty Apr 23, 2026
b19febb
DEV: (cmds) update array data type information (#3184)
dwdougherty May 4, 2026
374b524
Merge branch 'main' into DOC-6334
dwdougherty May 6, 2026
77b8005
A few updates to the arrays page based on a blog page
dwdougherty May 6, 2026
8286217
DEV: revert GCRA (8.8) content (#3293)
dwdougherty May 8, 2026
1f4f92c
DEV: (cmds) add INCREX command page (#3137)
dwdougherty May 13, 2026
7d10cdf
Merge branch 'main' into DOC-6334
dwdougherty May 13, 2026
2c19b3d
DEV: add ROS8.8 what's new page (#3322)
dwdougherty May 14, 2026
395531f
DEV: create redis-8-8-commands.md page (#3323)
dwdougherty May 14, 2026
ded9b9d
DEV: update final bits and pieces for 8.8 release (#3333)
dwdougherty May 15, 2026
4f001ac
DEV: update data/commands_*.json from GA build (#3335)
dwdougherty May 15, 2026
ea3d0ee
Merge branch 'main' into DOC-6334
dwdougherty May 15, 2026
5d1e3a3
DEV: update dt comparison pg
dwdougherty May 15, 2026
25c7e3e
DEV: (cmds) update FT.PROFILE and FT.HYBRID commands (#3340)
dwdougherty May 19, 2026
a2004e1
Merge branch 'main' into DOC-6334
dwdougherty May 19, 2026
9f37383
DEV: (cmds) FT.AGGREGATE - add COLLECT reducer (#3320)
dwdougherty May 20, 2026
32cec8b
DEV: (cmds) update INCREX command page for recent API change (#3350)
dwdougherty May 20, 2026
bf4b164
Merge branch 'main' into DOC-6334
dwdougherty May 20, 2026
8dd6def
DEV: add 8.8-GA release notes (#3326)
dwdougherty May 21, 2026
6dbbf7c
DEV: (cmds) add 8.8 cmds to RS compat. page
dwdougherty May 21, 2026
68f5c8e
Apply review comments.
dwdougherty May 21, 2026
6a4aff9
Final rel. notes and sundry
dwdougherty May 25, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions build/generate_version_commands_page.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
('sorted-set', 'Sorted set commands'),
('stream', 'Stream commands'),
('bitmap', 'Bitmap commands'),
('array', 'Array commands'),
('hyperloglog', 'HyperLogLog commands'),
('geo', 'Geospatial commands'),
('json', 'JSON commands'),
Expand Down Expand Up @@ -196,6 +197,7 @@ def generate_page_content(commands_by_group, target_version):
'sorted-set': 'Sorted set commands operate on sets of unique strings ordered by a score.',
'stream': 'Stream commands operate on append-only log data structures.',
'bitmap': 'Bitmap commands operate on strings as arrays of bits.',
'array': 'Array commands operate on arrays of strings.',
'hyperloglog': 'HyperLogLog commands provide probabilistic cardinality estimation.',
'geo': 'Geospatial commands operate on geographic coordinates.',
'json': 'JSON commands operate on JSON data structures.',
Expand Down
4 changes: 4 additions & 0 deletions content/commands/acl-load.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ sure to have an *all or nothing* behavior, that is:
* If every line in the file is valid, all the ACLs are loaded.
* If one or more line in the file is not valid, nothing is loaded, and the old ACL rules defined in the server memory continue to be used.

Starting with Redis 8.8, your ACL file is allowed to have comment lines; lines that begin with the `#` character.
Any such comment lines are stripped when the ACL file is loaded and they are not persisted across `ACL LOAD`/`ACL SAVE` commands.
Make sure you save a backup of your ACL file. This is the only way to preserve comments.

## Examples

```
Expand Down
73 changes: 73 additions & 0 deletions content/commands/arcount.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
---
acl_categories:
- '@array'
arguments:
- key_spec_index: 0
name: key
type: key
arity: 2
bannerText: Array is a new data type that is currently in preview and may be subject to change.
categories:
- docs
- develop
- oss
- rs
- rc
- kubernetes
- clients
command_flags:
- readonly
- fast
complexity: O(1)
description: Returns the number of non-empty elements in an array.
group: array
hidden: false
key_specs:
- begin_search:
index:
pos: 1
find_keys:
range:
lastkey: 0
limit: 0
step: 1
flags:
- ro
- access
linkTitle: ARCOUNT
since: 8.8.0
summary: Returns the number of non-empty elements in an array.
syntax_fmt: ARCOUNT key
title: ARCOUNT
---
Returns the number of non-empty elements in an array.

## Required arguments

<details open><summary><code>key</code></summary>

The name of the key that holds the array.

</details>

## Examples

{{% redis-cli %}}
ARSET myarray 0 "a"
ARSET myarray 5 "b"
ARCOUNT myarray
{{% /redis-cli %}}

## Return information

{{< multitabs id="return-info"
tab1="RESP2"
tab2="RESP3" >}}

[Integer reply](../../develop/reference/protocol-spec#integers): The number of non-empty elements, or 0 if key does not exist.

-tab-sep-

[Integer reply](../../develop/reference/protocol-spec#integers): The number of non-empty elements, or 0 if key does not exist.

{{< /multitabs >}}
92 changes: 92 additions & 0 deletions content/commands/ardel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
acl_categories:
- ARRAY
arguments:
- key_spec_index: 0
name: key
type: key
- multiple: true
name: index
type: integer
arity: -3
bannerText: Array is a new data type that is currently in preview and may be subject to change.
categories:
- docs
- develop
- stack
- oss
- rs
- rc
- oss
- kubernetes
- clients
command_flags:
- WRITE
- FAST
complexity: O(N) where N is the number of indices to delete
description: Deletes elements at the specified indices in an array.
function: ardelCommand
group: array
hidden: false
key_specs:
- begin_search:
index:
pos: 1
find_keys:
range:
lastkey: 0
limit: 0
step: 1
flags:
- RW
- DELETE
linkTitle: ARDEL
reply_schema:
description: Number of elements deleted.
type: integer
since: 8.8.0
summary: Deletes elements at the specified indices in an array.
syntax_fmt: ARDEL key index [index ...]
title: ARDEL
---
Deletes elements at the specified indices in an array.

## Required arguments

<details open><summary><code>key</code></summary>

The name of the key that holds the array.

</details>

<details open><summary><code>index</code></summary>

One or more zero-based integer indices of the elements to delete. Deleting an index that does not exist counts as zero elements deleted and does not modify the array.

</details>

## Examples

{{% redis-cli %}}
ARSET myarray 0 "a"
ARSET myarray 1 "b"
ARSET myarray 2 "c"
ARDEL myarray 1
ARGET myarray 1
ARDEL myarray 0 2
ARCOUNT myarray
{{% /redis-cli %}}

## Return information

{{< multitabs id="return-info"
tab1="RESP2"
tab2="RESP3" >}}

[Integer reply](../../develop/reference/protocol-spec#integers): Number of elements deleted.

-tab-sep-

[Integer reply](../../develop/reference/protocol-spec#integers): Number of elements deleted.

{{< /multitabs >}}
95 changes: 95 additions & 0 deletions content/commands/ardelrange.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
---
acl_categories:
- ARRAY
arguments:
- key_spec_index: 0
name: key
type: key
- arguments:
- name: start
type: integer
- name: end
type: integer
multiple: true
name: range
type: block
arity: -4
bannerText: Array is a new data type that is currently in preview and may be subject to change.
categories:
- docs
- develop
- stack
- oss
- rs
- rc
- oss
- kubernetes
- clients
command_flags:
- WRITE
complexity: Proportional to the number of existing elements / slices touched, not
to the numeric span of the requested ranges
description: Deletes elements in one or more ranges.
function: ardelrangeCommand
group: array
hidden: false
key_specs:
- begin_search:
index:
pos: 1
find_keys:
range:
lastkey: 0
limit: 0
step: 1
flags:
- RW
- DELETE
linkTitle: ARDELRANGE
reply_schema:
description: Number of elements deleted.
type: integer
since: 8.8.0
summary: Deletes elements in one or more ranges.
syntax_fmt: ARDELRANGE key start end [start end ...]
title: ARDELRANGE
---
Deletes elements in one or more ranges.

## Required arguments

<details open><summary><code>key</code></summary>

The name of the key that holds the array.

</details>

<details open><summary><code>range</code></summary>

One or more `start end` pairs, each defining an inclusive range of indices to delete. If `start` is greater than `end` for a given pair, the range is processed in ascending order regardless. Multiple pairs may overlap; each element is counted at most once.

</details>

## Examples

{{% redis-cli %}}
ARMSET myarray 0 "a" 1 "b" 2 "c" 3 "d" 4 "e"
ARDELRANGE myarray 1 3
ARCOUNT myarray
ARGET myarray 0
ARGET myarray 4
{{% /redis-cli %}}

## Return information

{{< multitabs id="return-info"
tab1="RESP2"
tab2="RESP3" >}}

[Integer reply](../../develop/reference/protocol-spec#integers): Number of elements deleted.

-tab-sep-

[Integer reply](../../develop/reference/protocol-spec#integers): Number of elements deleted.

{{< /multitabs >}}
94 changes: 94 additions & 0 deletions content/commands/arget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
---
acl_categories:
- ARRAY
arguments:
- key_spec_index: 0
name: key
type: key
- name: index
type: integer
arity: 3
bannerText: Array is a new data type that is currently in preview and may be subject to change.
categories:
- docs
- develop
- stack
- oss
- rs
- rc
- oss
- kubernetes
- clients
command_flags:
- READONLY
- FAST
complexity: O(1)
description: Gets the value at an index in an array.
function: argetCommand
group: array
hidden: false
key_specs:
- begin_search:
index:
pos: 1
find_keys:
range:
lastkey: 0
limit: 0
step: 1
flags:
- RO
- ACCESS
linkTitle: ARGET
reply_schema:
oneOf:
- description: The value at the given index.
type: string
- description: Null reply if key or index does not exist.
type: 'null'
since: 8.8.0
summary: Gets the value at an index in an array.
syntax_fmt: ARGET key index
title: ARGET
---
Gets the value at an index in an array.

## Required arguments

<details open><summary><code>key</code></summary>

The name of the key that holds the array.

</details>

<details open><summary><code>index</code></summary>

The zero-based integer index of the element to retrieve.

</details>

## Examples

{{% redis-cli %}}
ARSET myarray 0 "hello"
ARGET myarray 0
ARGET myarray 1
{{% /redis-cli %}}

## Return information

{{< multitabs id="return-info"
tab1="RESP2"
tab2="RESP3" >}}

One of the following:
* [Bulk string reply](../../develop/reference/protocol-spec#bulk-strings): The value at the given index.
* [Nil reply](../../develop/reference/protocol-spec#null-bulk-strings): Null reply if key or index does not exist.

-tab-sep-

One of the following:
* [Bulk string reply](../../develop/reference/protocol-spec#bulk-strings): The value at the given index.
* [Null reply](../../develop/reference/protocol-spec#nulls): Null reply if key or index does not exist.

{{< /multitabs >}}
Loading
Loading