Skip to content

Upgrading redis 2 to 3

Unknown2.2.2 → 3.3.5

Fetching 19 releases from GitHub…0 / 19
UnknownUpgrade verdict

DepDelta is still reading the notes for this range, so breaking changes can't be ruled out yet.

  • DepDelta is still reading the release notes in this range, so it can't rule out breaking changes yet.
  • This page updates as the notes come in.
Still reading release notes

DepDelta is still reading the release notes in this range. This updates as they come in.

Requires Ruby >= 0 from 3.1.0 (none stated before).

Generated by DepDelta from published Ruby source. Not mixed with prose notes.

  • removed: class Array
  • removed: method Array.product(*)
  • removed: method Redis.[](_)
  • removed: method Redis.[]=(_, _)
  • removed: method Redis.substr(_, _, _)
  • changed: method Redis.brpoplpush(_, _, _) → method Redis.brpoplpush(_, _, _ = …)
  • changed: method Redis.pipelined(_ = …) → method Redis.pipelined()
  • changed: method Redis.set(_, _) → method Redis.set(_, _, _ = …)
  • changed: method Redis.spop(_) → method Redis.spop(_, _ = …)
  • changed: method Redis.srandmember(_) → method Redis.srandmember(_, _ = …)
  • changed: method Redis.zadd(_, _, _) → method Redis.zadd(_, *)
  • added: class String
  • added: const Redis.Boolify
  • added: const Redis.BoolifySet
  • added: const Redis.Floatify
  • added: const Redis.FloatifyPairs
  • added: const Redis.Hashify
  • added: method Redis._bpop(_, _)
  • added: method Redis._eval(_, _)
  • added: method Redis._scan(_, _, _, _ = …)
  • added: method Redis.bitcount(_, _ = …, _ = …)
  • added: method Redis.bitop(_, _, *)
  • added: method Redis.bitpos(_, _, _ = …, _ = …)
  • added: method Redis.call(*)
  • added: method Redis.close()
  • added: method Redis.commit()
  • added: method Redis.connected?()
  • added: method Redis.connection()
  • added: method Redis.disconnect!()
  • added: method Redis.dump(_)
  • added: method Redis.dup()
  • added: method Redis.eval(*)
  • added: method Redis.evalsha(*)
  • added: method Redis.hincrbyfloat(_, _, _)
  • added: method Redis.hscan(_, _, _ = …)
  • added: method Redis.hscan_each(_, _ = …)
  • added: method Redis.incrbyfloat(_, _)
  • added: method Redis.migrate(_, _)
  • added: method Redis.pexpire(_, _)
  • added: method Redis.pexpireat(_, _)
  • added: method Redis.pfadd(_, _)
  • added: method Redis.pfcount(*)
  • added: method Redis.pfmerge(_, *)
  • added: method Redis.psetex(_, _, _)
  • added: method Redis.psubscribe_with_timeout(_, *)
  • added: method Redis.pttl(_)
  • added: method Redis.pubsub(_, *)
  • added: method Redis.queue(*)
  • added: method Redis.restore(_, _, _)
  • added: method Redis.scan(_, _ = …)
  • added: method Redis.scan_each(_ = …)
  • added: method Redis.script(_, *)
  • added: method Redis.sentinel(_, *)
  • added: method Redis.slowlog(_, _ = …)
  • added: method Redis.sscan(_, _, _ = …)
  • added: method Redis.sscan_each(_, _ = …)
  • added: method Redis.subscribe_with_timeout(_, *)
  • added: method Redis.synchronize()
  • added: method Redis.time()
  • added: method Redis.with_reconnect(_ = …)
  • added: method Redis.zrangebylex(_, _, _, _ = …)
  • added: method Redis.zrevrangebylex(_, _, _, _ = …)
  • added: method Redis.zscan(_, _, _ = …)
  • added: method Redis.zscan_each(_, _ = …)
  • added: method String.byteslice(*)
  • removed: class CommandOptions
  • removed: constructor CommandOptions(_)
  • removed: method Client.call_without_reply(_)
  • removed: method CommandOptions.bool(_)
  • removed: method CommandOptions.insert(_)
  • removed: method CommandOptions.multi(_)
  • removed: method CommandOptions.splat(_)
  • removed: method CommandOptions.to_a()
  • removed: method CommandOptions.value(_)
  • removed: method CommandOptions.words(_)
  • removed: method DisableThreadSafety.synchronize()
  • removed: method Distributed.substr(_, _, _)
  • removed: method Pipeline.call_pipelined(_, _ = …)
  • removed: method Pipeline.call_without_reply(_)
  • removed: method SubscribedClient.call_without_reply(_)
  • removed: module DisableThreadSafety
  • removed: property Client.db: accessor
  • removed: property Client.host: accessor
  • removed: property Client.password: accessor
  • removed: property Client.path: accessor
  • removed: property Client.port: accessor
  • removed: protected method Client.deprecated(_, _ = …, _ = …)
  • removed: protected set Client.timeout(_)
  • changed: class ProtocolError < RuntimeError → class ProtocolError < BaseError
  • changed: method Client.call(*) → method Client.call(_)
  • changed: method Client.call_loop(*) → method Client.call_loop(_, _ = …)
  • changed: method Client.call_pipelined(_, _ = …) → method Client.call_pipelined(_)
  • changed: method Client.call_without_timeout(*) → method Client.call_without_timeout(_)
  • changed: method Distributed.blpop(_, _) → method Distributed.blpop(*)
  • changed: method Distributed.brpop(_, _) → method Distributed.brpop(*)
  • changed: method Distributed.brpoplpush(_, _, _) → method Distributed.brpoplpush(_, _, _ = …)
  • changed: method Distributed.set(_, _) → method Distributed.set(_, _, _ = …)
  • changed: method Distributed.spop(_) → method Distributed.spop(_, _ = …)
  • changed: method Distributed.srandmember(_) → method Distributed.srandmember(_, _ = …)
  • changed: method Distributed.zadd(_, _, _) → method Distributed.zadd(_, *)
  • changed: method Pipeline.call(*) → method Pipeline.call(_)
  • changed: method SubscribedClient.call(*) → method SubscribedClient.call(_)
  • changed: protected method Distributed.ensure_same_node(_, *) → protected method Distributed.ensure_same_node(_, _)
  • changed: protected method SubscribedClient.subscription(_, _, _, _) → protected method SubscribedClient.subscription(_, _, _, _, _ = …)
  • added: class BaseConnectionError < BaseError
  • added: class BaseError < RuntimeError
  • added: class BasicObject
  • added: class CannotConnectError < BaseConnectionError
  • added: class CommandError < BaseError
  • added: class ConnectionError < BaseConnectionError
  • added: class Future < BasicObject
  • added: class FutureNotReady < RuntimeError
  • added: class InheritedError < BaseConnectionError
  • added: class TimeoutError < BaseConnectionError
  • added: const Client.DEFAULTS
  • added: constructor Future(_, _)
  • added: constructor FutureNotReady()
  • added: method Client.call_pipeline(_)
  • added: method Client.call_with_timeout(_, _)
  • added: method Client.connect_timeout()
  • added: method Client.db()
  • added: method Client.driver()
  • added: method Client.host()
  • added: method Client.inherit_socket?()
  • added: method Client.io()
  • added: method Client.options()
  • added: method Client.password()
  • added: method Client.path()
  • added: method Client.port()
  • added: method Client.read_timeout()
  • added: method Client.scheme()
  • added: method Client.timeout()
  • added: method Client.with_reconnect(_ = …)
  • added: method Client.with_socket_timeout(_)
  • added: method Client.write(_)
  • added: method Distributed._bpop(_, _)
  • added: method Distributed._eval(_, _)
  • added: method Distributed.bitcount(_, _ = …, _ = …)
  • added: method Distributed.bitop(_, _, *)
  • added: method Distributed.bitpos(_, _, _ = …, _ = …)
  • added: method Distributed.dump(_)
  • added: method Distributed.dup()
  • added: method Distributed.eval(*)
  • added: method Distributed.evalsha(*)
  • added: method Distributed.hincrbyfloat(_, _, _)
  • added: method Distributed.incrbyfloat(_, _)
  • added: method Distributed.linsert(_, _, _, _)
  • added: method Distributed.lpushx(_, _)
  • added: method Distributed.migrate(_, _)
  • added: method Distributed.pexpire(_, _)
  • added: method Distributed.pexpireat(_, _)
  • added: method Distributed.pfadd(_, _)
  • added: method Distributed.pfcount(*)
  • added: method Distributed.pfmerge(_, *)
  • added: method Distributed.psetex(_, _, _)
  • added: method Distributed.pttl(_)
  • added: method Distributed.restore(_, _, _)
  • added: method Distributed.rpushx(_, _)
  • added: method Distributed.script(_, *)
  • added: method Distributed.strlen(_)
  • added: method Distributed.time()
  • added: method Distributed.zcount(_, _, _)
  • added: method Future._command()
  • added: method Future._set(_)
  • added: method Future.class()
  • added: method Future.inspect()
  • added: method Future.is_a?(_)
  • added: method Future.value()
  • added: method Pipeline.call_pipeline(_)
  • added: method Pipeline.commands()
  • added: method Pipeline.finish(_)
  • added: method Pipeline.shutdown?()
  • added: method Pipeline.with_reconnect(_ = …)
  • added: method Pipeline.with_reconnect?()
  • added: method Pipeline.without_reconnect()
  • added: method Pipeline.without_reconnect?()
  • added: method SubscribedClient.psubscribe_with_timeout(_, *)
  • added: method SubscribedClient.subscribe_with_timeout(_, *)
  • added: property Client.command_map: reader
  • added: property Client.connection: reader
  • added: property Pipeline.db: accessor
  • added: protected method Client._parse_driver(_)
  • added: protected method Client._parse_options(_)
  • added: set Client.db(_)
  • added: class Connector
  • added: constructor Connector(_)
  • added: method Connector.check(_)
  • added: method Connector.resolve()
  • added: class Sentinel < Connector
  • added: constructor Sentinel(_)
  • added: method Sentinel.check(_)
  • added: method Sentinel.resolve()
  • added: method Sentinel.resolve_master()
  • added: method Sentinel.resolve_slave()
  • added: method Sentinel.sentinel_detect()
  • removed: method Hiredis.connect_unix(_, _)
  • removed: method Ruby.connect_unix(_, _)
  • removed: method Synchrony.connect_unix(_, _)
  • removed: protected method CommandHelper.string_size(_)
  • removed: protected method Ruby.with_timeout(_)
  • changed: constructor Hiredis() → constructor Hiredis(_)
  • changed: constructor Ruby() → constructor Ruby(_)
  • changed: constructor Synchrony() → constructor Synchrony(_)
  • changed: method Hiredis.connect(_, _, _) → static method Hiredis.connect(_)
  • changed: method Ruby.connect(_, _, _) → static method Ruby.connect(_)
  • changed: method Synchrony.connect(_, _, _) → static method Synchrony.connect(_)
  • added: class SSLSocket < ::OpenSSL::SSL::SSLSocket
  • added: class TCPSocket < ::TCPSocket
  • added: class UNIXSocket < ::UNIXSocket
  • added: const SocketMixin.CRLF
  • added: const SocketMixin.NBIO_READ_EXCEPTIONS
  • added: const SocketMixin.NBIO_WRITE_EXCEPTIONS
  • added: constructor SocketMixin(*)
  • added: method Ruby.get_tcp_keepalive()
  • added: method Ruby.set_tcp_keepalive(_)
  • added: method SocketMixin._read_from_socket(_)
  • added: method SocketMixin._write_to_socket(_)
  • added: method SocketMixin.gets()
  • added: method SocketMixin.read(_)
  • added: method SocketMixin.write(_)
  • added: method UNIXSocket._read_from_socket(_)
  • added: module SocketMixin
  • added: property RedisClient.timeout: accessor
  • added: set Ruby.write_timeout(_)
  • added: set SocketMixin.timeout(_)
  • added: set SocketMixin.write_timeout(_)
  • added: static method SSLSocket.connect(_, _, _, _)
  • added: static method TCPSocket.connect(_, _, _)
  • added: static method TCPSocket.connect_addrinfo(_, _, _)
  • added: static method UNIXSocket.connect(_, _)
  • added: class FutureNotReady < ::Redis::FutureNotReady.new
  • added: class Multi < self
  • added: method Multi.commands()
  • added: method Multi.finish(_)