From 65c6634ac72971ee57bf2bb2e227cc06b65f759f Mon Sep 17 00:00:00 2001 From: Shachar Pashchur Date: Thu, 29 Dec 2022 17:18:20 +0200 Subject: [PATCH 1/2] mark TOPK.COUNT as deprecated --- src/NRedisStack/TopK/ITopKCommands.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/NRedisStack/TopK/ITopKCommands.cs b/src/NRedisStack/TopK/ITopKCommands.cs index 73349863..d069e026 100644 --- a/src/NRedisStack/TopK/ITopKCommands.cs +++ b/src/NRedisStack/TopK/ITopKCommands.cs @@ -24,9 +24,11 @@ public interface ITopKCommands /// Items to be counted. /// count for responding item. /// + [Obsolete("TOPK.COUNT is deprecated since Bloom 2.4.0")] long[] Count(RedisKey key, params RedisValue[] items); /// + [Obsolete("TOPK.COUNT is deprecated since Bloom 2.4.0")] Task CountAsync(RedisKey key, params RedisValue[] items); From 52e8af63ccaad7effe9b2fd9bc6e156fa177016b Mon Sep 17 00:00:00 2001 From: Shachar Pashchur Date: Thu, 29 Dec 2022 17:37:26 +0200 Subject: [PATCH 2/2] change 'since' to as of --- src/NRedisStack/TopK/ITopKCommands.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/NRedisStack/TopK/ITopKCommands.cs b/src/NRedisStack/TopK/ITopKCommands.cs index d069e026..1d7c48d9 100644 --- a/src/NRedisStack/TopK/ITopKCommands.cs +++ b/src/NRedisStack/TopK/ITopKCommands.cs @@ -24,11 +24,11 @@ public interface ITopKCommands /// Items to be counted. /// count for responding item. /// - [Obsolete("TOPK.COUNT is deprecated since Bloom 2.4.0")] + [Obsolete("TOPK.COUNT is deprecated as of Bloom 2.4.0")] long[] Count(RedisKey key, params RedisValue[] items); /// - [Obsolete("TOPK.COUNT is deprecated since Bloom 2.4.0")] + [Obsolete("TOPK.COUNT is deprecated as of Bloom 2.4.0")] Task CountAsync(RedisKey key, params RedisValue[] items);