Skip to content

Commit 670493f

Browse files
stockholmuxmadolson
authored andcommitted
Un-deprecate commands (#2546)
As per #2459, this PR removes deprecation and `deprecated_since` element and `DEPRECATED` doc flag from commands. Closes #2459. --------- Signed-off-by: Kyle J. Davis <[email protected]> Co-authored-by: Madelyn Olson <[email protected]>
1 parent b7e2c05 commit 670493f

24 files changed

+24
-139
lines changed

src/commands.def

Lines changed: 23 additions & 23 deletions
Large diffs are not rendered by default.

src/commands/brpoplpush.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@
1212
"`timeout` is interpreted as a double instead of an integer."
1313
]
1414
],
15-
"deprecated_since": "6.2.0",
16-
"replaced_by": "`BLMOVE` with the `RIGHT` and `LEFT` arguments",
17-
"doc_flags": [
18-
"DEPRECATED"
19-
],
2015
"command_flags": [
2116
"WRITE",
2217
"DENYOOM",

src/commands/georadius.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
"Added support for uppercase unit names."
1818
]
1919
],
20-
"deprecated_since": "6.2.0",
21-
"replaced_by": "`GEOSEARCH` and `GEOSEARCHSTORE` with the `BYRADIUS` argument",
22-
"doc_flags": [
23-
"DEPRECATED"
24-
],
2520
"command_flags": [
2621
"WRITE",
2722
"DENYOOM"

src/commands/georadius_ro.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"Added support for uppercase unit names."
1717
]
1818
],
19-
"deprecated_since": "6.2.0",
20-
"replaced_by": "`GEOSEARCH` with the `BYRADIUS` argument",
21-
"doc_flags": [
22-
"DEPRECATED"
23-
],
2419
"command_flags": [
2520
"READONLY"
2621
],

src/commands/georadiusbymember.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@
1717
"Added support for uppercase unit names."
1818
]
1919
],
20-
"deprecated_since": "6.2.0",
21-
"replaced_by": "`GEOSEARCH` and `GEOSEARCHSTORE` with the `BYRADIUS` and `FROMMEMBER` arguments",
22-
"doc_flags": [
23-
"DEPRECATED"
24-
],
2520
"command_flags": [
2621
"WRITE",
2722
"DENYOOM"

src/commands/georadiusbymember_ro.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"Added support for uppercase unit names."
1717
]
1818
],
19-
"deprecated_since": "6.2.0",
20-
"replaced_by": "`GEOSEARCH` with the `BYRADIUS` and `FROMMEMBER` arguments",
21-
"doc_flags": [
22-
"DEPRECATED"
23-
],
2419
"command_flags": [
2520
"READONLY"
2621
],

src/commands/getset.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
"since": "1.0.0",
77
"arity": 3,
88
"function": "getsetCommand",
9-
"deprecated_since": "6.2.0",
10-
"replaced_by": "`SET` with the `!GET` argument",
11-
"doc_flags": [
12-
"DEPRECATED"
13-
],
149
"command_flags": [
1510
"WRITE",
1611
"DENYOOM",

src/commands/hmset.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
"since": "2.0.0",
77
"arity": -4,
88
"function": "hsetCommand",
9-
"deprecated_since": "4.0.0",
10-
"replaced_by": "`HSET` with multiple field-value pairs",
11-
"doc_flags": [
12-
"DEPRECATED"
13-
],
149
"command_flags": [
1510
"WRITE",
1611
"DENYOOM",

src/commands/psetex.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
"since": "2.6.0",
77
"arity": 4,
88
"function": "psetexCommand",
9-
"deprecated_since": "2.6.12",
10-
"replaced_by": "`SET` with the `PX` argument",
11-
"doc_flags": [
12-
"DEPRECATED"
13-
],
149
"command_flags": [
1510
"WRITE",
1611
"DENYOOM"

src/commands/quit.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,6 @@
66
"since": "1.0.0",
77
"arity": -1,
88
"function": "quitCommand",
9-
"deprecated_since": "7.2.0",
10-
"replaced_by": "just closing the connection",
11-
"doc_flags": [
12-
"DEPRECATED"
13-
],
149
"command_flags": [
1510
"ALLOW_BUSY",
1611
"NOSCRIPT",

0 commit comments

Comments
 (0)