Changelog History
Page 1
-
v4.14.0 Changes
September 12, 2025What's Changed
β add concurrency function for expire, exists, ttl, pttl by @iwecon in #222
add concurrency function for expire, exists, ttl, pttl
tryawaitreq.redis.expire(key1,after:.seconds(10))==truetryawaitreq.redis.exists(key1,key2,key3)==3tryawaitreq.redis.exists([key1,key2,key3])==3tryawaitreq.redis.ttl(key1)==RedisKey.Lifetimetryawaitreq.redis.pttl(key1)==RedisKey.Lifetime
π ###### This patch was released by @0xTim
Full Changelog : 4.13.1...4.14.0
-
v4.13.1 Changes
September 08, 2025What's Changed
β add any to protocol by @zunda-pixel in #223
Reviewers
Thanks to the reviewers for their help:
π ###### This patch was released by @gwynne
Full Changelog : 4.13.0...4.13.1
-
v4.13.0 Changes
July 01, 2025What's Changed
π Allow
JSONEncoderandJSONDecoderto be overwritten by @leonidas-o in #219Add jsonEncoder and jsonDecoder arguments to RedisClient, Application.Caches and Application.Caches.Provider extension funcs.
π ###### This patch was released by @0xTim
Full Changelog : 4.12.0...4.13.0
-
v4.12.0 Changes
July 01, 2025What's Changed
β¬οΈ Drop old Swift versions by @0xTim in #220
β¬οΈ > - Drop 5.8 and 5.9 β‘οΈ > - Update CI
Reviewers
Thanks to the reviewers for their help:
π ###### This patch was released by @0xTim
Full Changelog : 4.11.1...4.12.0
-
v4.11.1 Changes
February 20, 2025What's Changed
π make Redis Sendable by @AntVil in #217
β > - counter warning from
Application.Redis:Stored property 'redisInstances' of 'Sendable'-conforming class 'MyRedis' has non-sendable type '[Application.Redis]'; this is an error in the Swift 6 language modeexample for more context:
extensionApplication{publicfinalclassMyRedis{structMyRedisKey:StorageKey{typealiasValue=Application.MyRedis}privateletredisInstances:[Application.Redis]}}
π ###### This patch was released by @0xTim
Full Changelog : 4.11.0...4.11.1
-
v4.11.0 Changes
May 24, 2024What's Changed
π Support Async Lifecycles by @0xTim in #214
π > Support Vaporβs async
LifecycleHandlerfunctions. This allows users to avoid calling.wait()when shutting down their Vapor apps, which can cause issues, for example, with trying to install a new concurrency executor.β‘οΈ > This also updates the supported Swift version to 5.8
π ###### This patch was released by @0xTim
Full Changelog : 4.10.0...4.11.0
-
v4.9.0 Changes
June 14, 2023What's Changed
- β Add onUnexpectedConnectionClose by @marius-se in #210
π New Contributors
- @marius-se made their first contribution in #210
Full Changelog : 4.8.0...4.9.0
-
v4.0.0 Changes
June 24, 2019π More information on Vapor 4 alpha releases:
π https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a
π API Docs:
-
v4.0.0-rc.2 Changes
November 27, 2020π ###### This patch was authored and released by @Mordil.
This addresses some semantic issues with the original implementation of
SessionDriverfor Redis in #175.Two important changes were made to
RedisSessionsDelegate:makeNewIDdoes not prefix the ID withvrs-anymore- A new
makeKey(for:)optional method has been added to the protocol to convert an ID to aRediStack.RedisKeyto customize how the id is represented as a key.- The default implementation adds the
vrs-prefix.
- The default implementation adds the
π In addition, the protocol has seen two quality of life (breaking) changes to the required protocol methods:
β‘οΈ 1. Their argument labels have been updated to read a bit nicer at call sites, and the
RedisKeyis now passed instead of aSessionIDredis(_:storeData:forID:)->redis(_:store:with:)redis(_:fetchDataForID:)->redis(_:fetchDataFor:)- They have been marked
@inlinablein the protocol definition. To take advantage of potential inlining, make sure you also mark your conformances with@inlinable.
- They have been marked
-
v4.0.0-rc.1 Changes
November 22, 2020Major
- π§ The validation errors thrown are now of type
RedisConnection.Configuration.ValidationErrorinstead ofRedisError
Minor
- π§ A database index can be provided in the configuration that all connections will send as a
SELECTcommand when first being created get(_:asJSON:)andset(_:toJSON:)have been added back- RediStack
1.1.0is now required to use the package.
- π§ The validation errors thrown are now of type