Skip to content

Commit da95845

Browse files
committed
Release 4.2.0
1 parent 1e5d0a1 commit da95845

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,18 @@
11
# Unreleased
22

3+
# 4.2.0
4+
5+
* Convert commands to accept keyword arguments rather than option hashes. This both help catching typos, and reduce needless allocations.
6+
* Deprecate the synchrony driver. It will be removed in 5.0 and hopefully maintained as a separate gem. See #915.
7+
* Make `Redis#exists` variadic, will return an Integer if called with multiple keys.
8+
* Add `Redis#exists?` to get a Boolean if any of the keys exists.
9+
* `Redis#exists` when called with a single key will warn that future versions will return an Integer.
10+
Set `Redis.exists_returns_integer = true` to opt-in to the new behavior.
11+
* Support `keepttl` ooption in `set`. See #913.
12+
* Optimized initialization of Redis::Cluster. See #912.
13+
* Accept sentinel options even with string key. See #599.
14+
* Verify TLS connections by default. See #900.
15+
316
# 4.1.4
417

518
* Alias `Redis#disconnect` as `#close`. See #901.

lib/redis/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
class Redis
4-
VERSION = '4.1.4'
4+
VERSION = '4.2.0'
55
end

0 commit comments

Comments
 (0)