RediStack 1.0.0 Alpha 10
Pre-release
Pre-release
API Docs are always available at docs.redistack.info
Major
- Dozens of the convenience command methods that return
RESPValuetypes now have an overload for mapping to a desired end type !106 - The
RESPValue.init(bulk:)initializer has been replaced by a single genericinit(from:)form !108 RedisClientErroris now an enum-like-struct to allow for library evolution !118RESPTranslator.ParsingErroris now an enum-like-struct to allow for library evolution !123- The
isConnectedproperty is no longer a requirement for theRedisClientprotocol #73
Minor
- Add
EXISTScommand method !110 - Add
TTLandPTTLcommand methods !114 - Add
SETNXcommand method !115 RedisConnectionPoolis a new connection type for pooledRedisConnectionsthat conforms toRedisClient!116RedisKeyis nowExpressibleByStringInterpolation!119- Add
PSETEXandSETEXcommand methods !121 ActiveConnectionGauge.currentCountis now public 86d5466- Add new
SEToverload that allows providing all options as currently outlined by Redis 6.0 #67PSETEX,SETEX, etc. may become deprecated should Redis choose to deprecate them in favor ofSETwith options
Patch
- Parsing RESP in general is now more performant !109
- Parsing RESP BulkStrings are now more performant !111
- Fix indexing while parsing RESP SimpleString !112
- Correctly diagnose parsing RESP Integer errors !113
- Generic
RESPValue.initis now@inlinable!122