You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/ReleaseNotes.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,8 @@ IMPORTANT: for AMR users, this changes the default protocol to RESP3. In some ca
15
15
- Update experimental `GCRA` APIs and wire protocol terminology from "requests" to "tokens", to match server change ([#3051 by @mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/3051))
16
16
- Add experimental `Aggregate.Count` support for sorted-set combination operations against Redis 8.8 ([#3059 by @mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/3059))
17
17
- Prefer RESP3 and avoid opening a separate subscription connection for Azure Managed Redis endpoints ([#3067 by @mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/3067))
18
+
- Add `ValueCondition` overloads for `SortedSetIncrement`/`SortedSetIncrementAsync`, supporting `ZADD INCR` with existence conditions ([#3071 by @mgravell](https://github.com/StackExchange/StackExchange.Redis/pull/3071))
19
+
- Recognize Azure Managed Redis (AMR) resources in new Azure clouds ([#3068 by @philon-msft](https://github.com/StackExchange/StackExchange.Redis/pull/3068))
/// Increments the score of member in the sorted set stored at key by increment, when the specified condition is met.
2110
+
/// If member does not exist in the sorted set and the condition permits it, it is added with increment as its score (as if its previous score was 0.0).
2111
+
/// </summary>
2112
+
/// <param name="key">The key of the sorted set.</param>
2113
+
/// <param name="member">The member to increment.</param>
2114
+
/// <param name="value">The amount to increment by.</param>
2115
+
/// <param name="when">The condition to increment the element under; only existence conditions are currently supported.</param>
2116
+
/// <param name="flags">The flags to use for this operation.</param>
2117
+
/// <returns>The new score of member, or <see langword="null"/> when the condition was not met.</returns>
2118
+
/// <remarks>
2119
+
/// <para>Uses <c>ZINCRBY</c> when <paramref name="when"/> is <see cref="ValueCondition.Always"/>, and <c>ZADD INCR</c> for <see cref="ValueCondition.Exists"/> and <see cref="ValueCondition.NotExists"/>.</para>
0 commit comments