diff --git a/src/commands.c b/src/commands.c index 8eebd2d57..6ccd8c18e 100644 --- a/src/commands.c +++ b/src/commands.c @@ -6507,7 +6507,10 @@ struct redisCommand XGROUP_Subcommands[] = { /********** XINFO CONSUMERS ********************/ /* XINFO CONSUMERS history */ -#define XINFO_CONSUMERS_History NULL +commandHistory XINFO_CONSUMERS_History[] = { +{"7.2.0","Added the `inactive` field."}, +{0} +}; /* XINFO CONSUMERS tips */ const char *XINFO_CONSUMERS_tips[] = { @@ -6553,6 +6556,7 @@ struct redisCommandArg XINFO_GROUPS_Args[] = { commandHistory XINFO_STREAM_History[] = { {"6.0.0","Added the `FULL` modifier."}, {"7.0.0","Added the `max-deleted-entry-id`, `entries-added`, `recorded-first-entry-id`, `entries-read` and `lag` fields"}, +{"7.2.0","Added the `active-time` field, and changed the meaning of `seen-time`."}, {0} }; diff --git a/src/commands/xinfo-consumers.json b/src/commands/xinfo-consumers.json index 2acb0bf05..98274bdf6 100644 --- a/src/commands/xinfo-consumers.json +++ b/src/commands/xinfo-consumers.json @@ -7,6 +7,12 @@ "arity": 4, "container": "XINFO", "function": "xinfoCommand", + "history": [ + [ + "7.2.0", + "Added the `inactive` field." + ] + ], "command_flags": [ "READONLY" ], diff --git a/src/commands/xinfo-stream.json b/src/commands/xinfo-stream.json index 25941f33b..7db07fb9b 100644 --- a/src/commands/xinfo-stream.json +++ b/src/commands/xinfo-stream.json @@ -14,6 +14,10 @@ [ "7.0.0", "Added the `max-deleted-entry-id`, `entries-added`, `recorded-first-entry-id`, `entries-read` and `lag` fields" + ], + [ + "7.2.0", + "Added the `active-time` field, and changed the meaning of `seen-time`." ] ], "function": "xinfoCommand",