Changelog History
Page 1
-
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
SessionDriver
for Redis in #175.Two important changes were made to
RedisSessionsDelegate
:makeNewID
does not prefix the ID withvrs-
anymore- A new
makeKey(for:)
optional method has been added to the protocol to convert an ID to aRediStack.RedisKey
to 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
RedisKey
is now passed instead of aSessionID
redis(_:storeData:forID:)
->redis(_:store:with:)
redis(_:fetchDataForID:)
->redis(_:fetchDataFor:)
- They have been marked
@inlinable
in 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.ValidationError
instead ofRedisError
Minor
- ๐ง A database index can be provided in the configuration that all connections will send as a
SELECT
command when first being created get(_:asJSON:)
andset(_:toJSON:)
have been added back- RediStack
1.1.0
is now required to use the package.
- ๐ง The validation errors thrown are now of type
-
v4.0.0-beta.6 Changes
September 30, 2020๐ ###### This patch was authored by @tanner0101 and released by @Mordil.
โก๏ธ Updates this package to use RediStack directly since it now includes a connection pool (#166).
-
v4.0.0-beta.5 Changes
March 12, 2020 -
v4.0.0-beta.4 Changes
February 27, 2020- Match Vapor's new minimum OS requirement
- โฌ๏ธ Bump minimum required versions of dependencies
- Major beta server due to compatibility break of new minimum OS requirement. There are no actual changes to Redis itself.
๐ This patch was authored and released by @gwynne.
-
v4.0.0-beta.3 Changes
December 14, 2019โก๏ธ Updates to RedisStack 1.0.0 Alpha 7 with support for
Logger
passing (#157) -
v4.0.0-beta.2 Changes
December 13, 2019โก๏ธ Updates to latest Vapor 4 beta 2
import Redisimport Vaporapp.redis.configuration = .init(...) app.get(...) { req in req.redis.get(...) }
-
v4.0.0-alpha.1 Changes
June 24, 2019๐ More information on Vapor 4 alpha releases:
๐ https://medium.com/@codevapor/vapor-4-alpha-1-releases-begin-94a4bc79dd9a
๐ API Docs:
-
v3.4.0 Changes
August 04, 2019๐ Fixed:
- Concurrent commands should now be able to be sent on the same
RedisClient
(#149)
- Concurrent commands should now be able to be sent on the same