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: Sources/Valkey/Commands/ClusterCommands.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -479,6 +479,7 @@ public enum CLUSTER {
479
479
}
480
480
481
481
/// Lists the replica nodes of a master node.
482
+
@available(*, deprecated, message:"Since 5.0.0. Replaced by `CLUSTER REPLICAS`.")
482
483
publicstructSLAVES:RESPCommand{
483
484
publictypealiasResponse=[RESPToken]
484
485
@@ -494,6 +495,7 @@ public enum CLUSTER {
494
495
}
495
496
496
497
/// Returns the mapping of cluster slots to nodes.
498
+
@available(*, deprecated, message:"Since 7.0.0. Replaced by `CLUSTER SHARDS`.")
497
499
publicstructSLOTS:RESPCommand{
498
500
publictypealiasResponse=[RESPToken]
499
501
@@ -883,6 +885,7 @@ extension ValkeyConnection {
883
885
/// - Categories: @admin, @slow, @dangerous
884
886
/// - Returns: [Array](https:/valkey.io/topics/protocol/#arrays): a list of replica nodes replicating from the specified primary node provided in the same format used by `CLUSTER NODES`.
885
887
@inlinable
888
+
@available(*, deprecated, message:"Since 5.0.0. Replaced by `CLUSTER REPLICAS`.")
Copy file name to clipboardExpand all lines: Sources/Valkey/Commands/ListCommands.swift
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -137,6 +137,7 @@ public struct BRPOP: RESPCommand {
137
137
}
138
138
139
139
/// Pops an element from a list, pushes it to another list and returns it. Block until an element is available otherwise. Deletes the list if the last element was popped.
140
+
@available(*, deprecated, message:"Since 6.2.0. Replaced by `BLMOVE` with the `RIGHT` and `LEFT` arguments.")
140
141
publicstructBRPOPLPUSH:RESPCommand{
141
142
publictypealiasResponse=String?
142
143
@@ -464,6 +465,7 @@ public struct RPOP: RESPCommand {
464
465
}
465
466
466
467
/// Returns the last element of a list after removing and pushing it to another list. Deletes the list if the last element was popped.
468
+
@available(*, deprecated, message:"Since 6.2.0. Replaced by `LMOVE` with the `RIGHT` and `LEFT` arguments.")
467
469
publicstructRPOPLPUSH:RESPCommand{
468
470
publictypealiasResponse=String?
469
471
@@ -582,6 +584,7 @@ extension ValkeyConnection {
582
584
/// * [Bulk string](https:/valkey.io/topics/protocol/#bulk-strings): the element being popped from _source_ and pushed to _destination_.
583
585
/// * [Null](https:/valkey.io/topics/protocol/#nulls): the timeout is reached.
584
586
@inlinable
587
+
@available(*, deprecated, message:"Since 6.2.0. Replaced by `BLMOVE` with the `RIGHT` and `LEFT` arguments.")
/// - Returns: * [Array](https:/valkey.io/topics/protocol/#arrays): a list of the members in the specified range, optionally with their scores if _WITHSCORE_ was used.
1335
1342
@inlinable
1343
+
@available(*, deprecated, message:"Since 6.2.0. Replaced by `ZRANGE` with the `REV` argument.")
/// - Returns: [Bulk string](https:/valkey.io/topics/protocol/#bulk-strings): the substring of the string value stored at key, determined by the offsets start and end (both are inclusive).
775
784
@inlinable
785
+
@available(*, deprecated, message:"Since 2.0.0. Replaced by `GETRANGE`.")
0 commit comments