Depends on #662.
Summary
Remove the three AddAllAsync<T>(Tuple<string, T>[] items, ...) overloads from IRedisDatabase and RedisDatabase, along with the internal Tuple-based ToRedisEntries<T> helper.
These overloads are deprecated in v13.5 (#662) in favour of the (string Key, T Value)[] ones, which avoid one heap allocation per item. This issue is the second half of that deprecation: the actual removal, which is why it lands in a major.
Preconditions
Scope
IRedisDatabase.cs — remove the 3 [Obsolete] overload declarations
RedisDatabase.cs — remove the 3 [Obsolete] implementations
ValueLengthExtensions.cs — remove the Tuple-based ToRedisEntries<T> helper kept for the deprecated path
- Tests — drop the cases covering the obsolete overloads, along with the
#pragma warning disable CS0618 suppressions they needed
doc/migration-v13-to-v14.md — document the removal and the one-line call-site fix (Tuple.Create(k, v) becomes (k, v))
Acceptance criteria
Depends on #662.
Summary
Remove the three
AddAllAsync<T>(Tuple<string, T>[] items, ...)overloads fromIRedisDatabaseandRedisDatabase, along with the internalTuple-basedToRedisEntries<T>helper.These overloads are deprecated in v13.5 (#662) in favour of the
(string Key, T Value)[]ones, which avoid one heap allocation per item. This issue is the second half of that deprecation: the actual removal, which is why it lands in a major.Preconditions
Scope
IRedisDatabase.cs— remove the 3[Obsolete]overload declarationsRedisDatabase.cs— remove the 3[Obsolete]implementationsValueLengthExtensions.cs— remove theTuple-basedToRedisEntries<T>helper kept for the deprecated path#pragma warning disable CS0618suppressions they neededdoc/migration-v13-to-v14.md— document the removal and the one-line call-site fix (Tuple.Create(k, v)becomes(k, v))Acceptance criteria
Tuple<string, T>remains anywhere in the public surfaceCS0618suppressions remain in the test project for this API