All Versions
18
Latest Version
Avg Release Cycle
50 days
Latest Release
1779 days ago

Changelog History
Page 1

  • 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:

    1. makeNewID does not prefix the ID with vrs- anymore
    2. A new makeKey(for:) optional method has been added to the protocol to convert an ID to a RediStack.RedisKey to customize how the id is represented as a key.
      • The default implementation adds the vrs- prefix.

    👀 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 a SessionID

    • redis(_:storeData:forID:) -> redis(_:store:with:)
    • redis(_:fetchDataForID:) -> redis(_:fetchDataFor:)
      1. They have been marked @inlinable in the protocol definition. To take advantage of potential inlining, make sure you also mark your conformances with @inlinable.
  • v4.0.0-rc.1 Changes

    November 22, 2020

    Major

    • 🔧 The validation errors thrown are now of type RedisConnection.Configuration.ValidationError instead of RedisError

    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:) and set(_:toJSON:) have been added back
    • RediStack 1.1.0 is now required to use the package.
  • 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

    🚀 ###### This patch was authored and released by @Mordil.

    ⚡️ Updates to latest RedisKit beta (#161)

  • 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(...) }

  • v3.4.0 Changes

    August 04, 2019

    🛠 Fixed:

    • Concurrent commands should now be able to be sent on the same RedisClient (#149)