Changelog History
Page 1
-
v1.9.0 Changes
June 22, 2020๐ฅ Breaking Changes
- โก๏ธ As a factor of updates for Redis v4.2.x, support for Ruby 2.1 and 2.2 has been dropped. These Ruby versions are end-of-life anyway.
๐ Fixed
โ Added
-
v1.8.2 Changes
February 24, 2020๐ฅ Breaking Changes
- None
โ Added
๐ Fixed
- None
-
v1.8.1 Changes
October 29, 2019The methods for manipulating Redis hashes were partially namespaced, but some of them weren't. This rounds out all those extra methods that need namespacing.
-
v1.8.0 Changes
October 29, 2019๐ Enable support for Redis Cluster by passing the
:cluster
setting. Cluster support is now in Redis.rb, so we're taking advantage of it! Yay! -
v1.6.0 Changes
October 29, 2019๐ฅ Breaking Changes
- None
โ Added
๐ Fixed
- None
-
v1.5.0 Changes
April 16, 2018We're happy to announce the release of v1.5.0 of redis-store, which has 4 new features mostly related to using
Redis::Store
in distributed setups. Redis, and the redis.rb client that we depend on, has added support for connecting to a group of Redis servers that make up the total cache store, and you can now use that support directly inRedis::Store
and all of the redis-store gems that are in use in your Ruby applications.๐ New Features
๐ Support for distributed mget/read_multi
Allows using the
read_multi
andfetch_multi
methods in Rails cache with aDistributedStore
.PR: #282
๐ Support for Redis v4.x
โ We now test against Redis.rb v4. There were no changes to the codebase as a result, but since the dependency was bumped we are now recommending the usage of the highest version of Redis client that your application will support.
๐ Support for UNIX path connections
๐ Since one can in theory connect to Redis over a UNIX socket, we now have support for doing so within
Redis::Store
. This caused some errors previously.PR: #298
โ Add tests for
Namespace#flushdb
PR: #299
๐ Allow configuring the HashRing for a distributed store
๐ Uses the
Redis::HashRing
for selecting the proper server in aDistributedStore
.PR: #304
๐ Bug Fixes
๐ Fix inefficient use of KEYS when calling FLUSHDB without a namespace
We can rely on the base command
FLUSHDB
when there is no namespace, since this command should actually clear everything in the database.PR: #297
-
v1.4.1 Changes
October 13, 2017 -
v1.4.0 Changes
August 25, 2017๐ง Due to concerns over a possible vulnerability (should someone obtain write access to the Redis database the application is using) related to marshalling in #289 , we've replaced the
Marshalling
feature withSerialization
, allowing the user to specify their own serializer responding to the.dump
and.load
methods. This is similar to how Dalli works.๐ Using an alternative serializer like
YAML
orJSON
means if your Redis server becomes compromised in any way, the compromise cannot affect your running app. However, not all objects serialize cleanly to YAML and/or JSON. In order to achieve backwards compatibility, we have suppliedMarshal
as the default serializer object, and released a minor version of this gem. All recent versions of redis-store gems (likeredis-activesupport
andredis-actionpack
) that depend on this gem allow forredis-store
up to but not including 2.0.0, so to get this version you can run:bundle update redis-store
A CVE has been filed, CVE-2017-1000248, so that this issue is easier to refer to.
-
v1.3.0 Changes
October 05, 2016๐ This is a minor release due to an additional marshalling feature,
๐ support for marshalling on themset
method. Some bug fixes also
surrounding marshalling have also been included.- Forward new Hash, not nil, when options are unset John Guidry
- ๐ Enable cache and move to containerized build. Omer Katz
- โ Add support for marshalling mset John Guidry
- Set :raw => true if marshalling Tom Scott
๐ Shoutouts to @tvjg and @thedrow who contributed (most of) the code for this release!
-
v1.2.0 Changes
July 06, 2016๐ฅ Breaking Changes
- None
โ Added
- ๐ Allow changing namespaces on the fly
- โ Begin testing against ruby 2.3.0
๐ Fixed
- ๐ Use batched deletes for flushdb with a namespace
- pass set command options to redis
- โฌ๏ธ bump rbx 2
- ๐ fix setex marshalling for distributed store
- ๐ changes to new url
- โ :warning: shadowing outer local variable - key, pattern, value
- โ :warning: `*' interpreted as argument prefix
- โ Removed duplicated method ttl