Skip to content

RediStack 1.0.0 Alpha 10

Pre-release
Pre-release
Compare
Choose a tag to compare
@Mordil Mordil released this 04 Jun 17:28
· 91 commits to master since this release
8b75ef7

API Docs are always available at docs.redistack.info

Major

  • Dozens of the convenience command methods that return RESPValue types now have an overload for mapping to a desired end type !106
  • The RESPValue.init(bulk:) initializer has been replaced by a single generic init(from:) form !108
  • RedisClientError is now an enum-like-struct to allow for library evolution !118
  • RESPTranslator.ParsingError is now an enum-like-struct to allow for library evolution !123
  • The isConnected property is no longer a requirement for the RedisClient protocol #73

Minor

  • Add EXISTS command method !110
  • Add TTL and PTTL command methods !114
  • Add SETNX command method !115
  • RedisConnectionPool is a new connection type for pooled RedisConnections that conforms to RedisClient !116
  • RedisKey is now ExpressibleByStringInterpolation !119
  • Add PSETEX and SETEX command methods !121
  • ActiveConnectionGauge.currentCount is now public 86d5466
  • Add new SET overload that allows providing all options as currently outlined by Redis 6.0 #67
    • PSETEX, SETEX, etc. may become deprecated should Redis choose to deprecate them in favor of SET with 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.init is now @inlinable !122

Misc

  • CI now runs against Swift 5.3 nightly snapshots b3bc95f
  • CI now runs against new CentOS 8, Ubuntu 20.04, and Amazon Linux 2 snapshots c699aca
  • URLs in the project should now correctly link without redirects !117