Add xtrim with minid and new 8.2 stream features by mgravell · Pull Request #2912 · StackExchange/StackExchange.Redis (original) (raw)
Adds minid support from #2842 (adopts PR)
- xtrim minid
Adds new 8.2 stream features:
- xtrim minid with del mode
- xtrim length with del mode
- xackdel
- xdelex
- xadd with del mode
Also changes int? length-related usage in stream APIs to long? in the new overloads (only). Binary and compile compat retained throughout; some args made non-optional to push callers to new API when possible.
High level (beyond minid) is that a bunch of stream methods (or new methods) gain [KEEPREF|DELREF|ACKED] support, where KEEPREF is the old approach and assumed by default when not mandatory. For more context, see StreamTrimMode enum comments.