Unverified Commit aec8c577 authored by Itamar Haber's avatar Itamar Haber Committed by GitHub
Browse files

Add missing metadata to the commands SSOT files. (#10016)

Add missing information about commands, mainly from reviewing redis-doc and removing
the metadata from it (https://github.com/redis/redis-doc/pull/1722)

* Reintroduces CLUSTER S****S (supported by Redis) but missing from the JSON / docs (related? #9675).
  Note that without that json file, the command won't work (breaking change)
* Adds the `replicas` argument (exists in Redis) to `CLIENT KILL`.
* Adds `history` entries to several commands based on redis-doc's man pages.
* Adds `since` to applicable command arguments based on `history` (this basically makes
  some of `history` redundant - perhaps at a later stage).
* Uses proper semantic versioning in all version references.
* Also removes `geoencodeCommand` and `geodecodeCommand` header
  declarations per b96af595.
parent b0c06e90
......@@ -6,6 +6,12 @@
"since": "1.0.5",
"arity": -4,
"function": "zrangebyscoreCommand",
"history": [
[
"2.0.0",
"Added the `WITHSCORES` modifier."
]
],
"deprecated_since": "6.2.0",
"replaced_by": "`ZRANGE` with the `BYSCORE` argument",
"doc_flags": [
......@@ -54,7 +60,8 @@
"name": "withscores",
"token": "WITHSCORES",
"type": "pure-token",
"optional": true
"optional": true,
"since": "2.0.0"
},
{
"token": "LIMIT",
......
......@@ -8,7 +8,7 @@
"function": "zremCommand",
"history": [
[
"2.4",
"2.4.0",
"Accepts multiple elements."
]
],
......
......@@ -6,6 +6,12 @@
"since": "2.2.0",
"arity": -4,
"function": "zrevrangebyscoreCommand",
"history": [
[
"2.1.6",
"`min` and `max` can be exclusive."
]
],
"deprecated_since": "6.2.0",
"replaced_by": "`ZRANGE` with the `REV` and `BYSCORE` arguments",
"doc_flags": [
......
......@@ -3191,8 +3191,6 @@ void bitcountCommand(client *c);
void bitposCommand(client *c);
void replconfCommand(client *c);
void waitCommand(client *c);
void geoencodeCommand(client *c);
void geodecodeCommand(client *c);
void georadiusbymemberCommand(client *c);
void georadiusbymemberroCommand(client *c);
void georadiusCommand(client *c);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment