RediStack 1.0.0 Alpha 6
Pre-release
Pre-release
API Docs are always available at docs.redistack.info
Major
RedisIntegrationTestCase
now has properties that can be overridden in subclasses for specializing how to connect to Redis !74RESPTranslator.ParsingError
has two new cases:invalidBulkStringSize
andbulkStringSizeMismatch
!82RedisMetrics.activeConnectionCount
is no longer anInt
and instead is a new specialized wrapper class calledActiveConnectionGauge
!84- This is to address the data race found by the thread sanitizer that now runs on test passes
- It maintains an internal
Atomic<Int>
count that can be modified with the publicincrement(by:)
/decrement(by:)
methods
Minor
RESPValue
now conforms toEquatable
!76RedisError
now conforms toEquatable
!77RESPValue.init(bulk:)
now accepts a wider range of values !81- The
String
overload is nowString?
- The
Int
overload is now generic with a constraint ofFixedWidthInteger
- The
Patch
- Fixed a data race with
RedisMetrics.activeConnectionCount
that was caught with the new thread sanitizer test passes !84- The job that caught the error: https://gitlab.com/Mordil/swift-redi-stack/-/jobs/302079265