diff options
author | Itamar Haber <itamar@redis.com> | 2022-08-21 17:01:17 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-21 17:01:17 +0300 |
commit | 31ef410e88dabb3f0d475dd3cae9edc00ba55aa7 (patch) | |
tree | 5652738eff6f3864dafe79143dbb5342bca63b03 /src | |
parent | c3a0253bc84861b5aa1a6f54ede42b63751e7e8a (diff) | |
download | redis-31ef410e88dabb3f0d475dd3cae9edc00ba55aa7.tar.gz |
Adds historical note about lower-case geo units support (#11162)
This change was part of #9656 (Redis 7.0)
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.c | 16 | ||||
-rw-r--r-- | src/commands/georadius.json | 4 | ||||
-rw-r--r-- | src/commands/georadiusbymember.json | 6 | ||||
-rw-r--r-- | src/commands/geosearch.json | 6 | ||||
-rw-r--r-- | src/commands/geosearchstore.json | 6 |
5 files changed, 35 insertions, 3 deletions
diff --git a/src/commands.c b/src/commands.c index aa5baa722..fa4a6c0d8 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1928,6 +1928,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} }; @@ -1977,7 +1978,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 @@ -2118,7 +2122,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 @@ -2207,7 +2214,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 diff --git a/src/commands/georadius.json b/src/commands/georadius.json index 606ed43ed..aa2888767 100644 --- a/src/commands/georadius.json +++ b/src/commands/georadius.json @@ -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", diff --git a/src/commands/georadiusbymember.json b/src/commands/georadiusbymember.json index fbc7ea4ee..6074983bc 100644 --- a/src/commands/georadiusbymember.json +++ b/src/commands/georadiusbymember.json @@ -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": [ diff --git a/src/commands/geosearch.json b/src/commands/geosearch.json index e69094df4..94cd392b1 100644 --- a/src/commands/geosearch.json +++ b/src/commands/geosearch.json @@ -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" ], diff --git a/src/commands/geosearchstore.json b/src/commands/geosearchstore.json index 1be5cd409..5130fafcb 100644 --- a/src/commands/geosearchstore.json +++ b/src/commands/geosearchstore.json @@ -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" |