Skip to content

Commit

Permalink
Adds historical note about lower-case geo units support (#11162)
Browse files Browse the repository at this point in the history
This change was part of #9656 (Redis 7.0)

(cherry picked from commit 31ef410)
  • Loading branch information
itamarhaber authored and oranagra committed Sep 21, 2022
1 parent fa60cd1 commit dbb7337
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 3 deletions.
16 changes: 13 additions & 3 deletions src/commands.c
Expand Up @@ -1934,6 +1934,7 @@ struct redisCommandArg GEOPOS_Args[] = {
/* GEORADIUS history */
commandHistory GEORADIUS_History[] = {
{"6.2.0","Added the `ANY` option for `COUNT`."},
{"7.0.0","Added support for lower-case unit names."},
{0}
};

Expand Down Expand Up @@ -1983,7 +1984,10 @@ struct redisCommandArg GEORADIUS_Args[] = {
/********** GEORADIUSBYMEMBER ********************/

/* GEORADIUSBYMEMBER history */
#define GEORADIUSBYMEMBER_History NULL
commandHistory GEORADIUSBYMEMBER_History[] = {
{"7.0.0","Added support for lower-case unit names."},
{0}
};

/* GEORADIUSBYMEMBER tips */
#define GEORADIUSBYMEMBER_tips NULL
Expand Down Expand Up @@ -2124,7 +2128,10 @@ struct redisCommandArg GEORADIUS_RO_Args[] = {
/********** GEOSEARCH ********************/

/* GEOSEARCH history */
#define GEOSEARCH_History NULL
commandHistory GEOSEARCH_History[] = {
{"7.0.0","Added support for lower-case unit names."},
{0}
};

/* GEOSEARCH tips */
#define GEOSEARCH_tips NULL
Expand Down Expand Up @@ -2213,7 +2220,10 @@ struct redisCommandArg GEOSEARCH_Args[] = {
/********** GEOSEARCHSTORE ********************/

/* GEOSEARCHSTORE history */
#define GEOSEARCHSTORE_History NULL
commandHistory GEOSEARCHSTORE_History[] = {
{"7.0.0","Added support for lower-case unit names."},
{0}
};

/* GEOSEARCHSTORE tips */
#define GEOSEARCHSTORE_tips NULL
Expand Down
4 changes: 4 additions & 0 deletions src/commands/georadius.json
Expand Up @@ -11,6 +11,10 @@
[
"6.2.0",
"Added the `ANY` option for `COUNT`."
],
[
"7.0.0",
"Added support for lower-case unit names."
]
],
"deprecated_since": "6.2.0",
Expand Down
6 changes: 6 additions & 0 deletions src/commands/georadiusbymember.json
Expand Up @@ -7,6 +7,12 @@
"arity": -5,
"function": "georadiusbymemberCommand",
"get_keys_function": "georadiusGetKeys",
"history": [
[
"7.0.0",
"Added support for lower-case unit names."
]
],
"deprecated_since": "6.2.0",
"replaced_by": "`GEOSEARCH` and `GEOSEARCHSTORE` with the `BYRADIUS` and `FROMMEMBER` arguments",
"doc_flags": [
Expand Down
6 changes: 6 additions & 0 deletions src/commands/geosearch.json
Expand Up @@ -6,6 +6,12 @@
"since": "6.2.0",
"arity": -7,
"function": "geosearchCommand",
"history": [
[
"7.0.0",
"Added support for lower-case unit names."
]
],
"command_flags": [
"READONLY"
],
Expand Down
6 changes: 6 additions & 0 deletions src/commands/geosearchstore.json
Expand Up @@ -6,6 +6,12 @@
"since": "6.2.0",
"arity": -8,
"function": "geosearchstoreCommand",
"history": [
[
"7.0.0",
"Added support for lower-case unit names."
]
],
"command_flags": [
"WRITE",
"DENYOOM"
Expand Down

0 comments on commit dbb7337

Please sign in to comment.