Predis v0.6.1 Release Notes
Release Date: 2010-07-11 // almost 14 years ago-
Minor internal improvements and clean ups.
๐ New commands available in the Redis v2.2 profile (dev):
- Misc. :
WATCH
,UNWATCH
- Misc. :
Optional modifiers for
ZRANGE
,ZREVRANGE
andZRANGEBYSCORE
queries are supported using an associative array passed as the last argument of their respective methods.The
LIMIT
modifier forZRANGEBYSCORE
can be specified using either:- an indexed array:
array($offset, $count)
- an associative array:
array('offset' => $offset, 'count' => $count)
- an indexed array:
The method
Predis\Client::__construct()
now accepts also instances ofPredis\ConnectionParameters
.๐ป
Predis\MultiExecBlock
andPredis\PubSubContext
now throw an exception when trying to create their instances using a profile that does not support the required Redis commands or when the client is connected to a cluster of connections.Various improvements to
Predis\MultiExecBlock
:- fixes and more consistent behaviour across various usage cases.
- support for
WATCH
andUNWATCH
when using the current development profile (Redis v2.2) and aborted transactions.
๐ New signature for
Predis\Client::multiExec()
which is now able to accept an array of options for the underlying instance ofPredis\MultiExecBlock
. Backwards compatibility with previous releases of Predis is ensured.๐ New signature for
Predis\Client::pipeline()
which is now able to accept an array of options for the underlying instance of Predis\CommandPipeline. Backwards compatibility with previous releases of Predis is ensured. The methodPredis\Client::pipelineSafe()
is to be considered deprecated.๐ FIX: The
WEIGHT
modifier forZUNIONSTORE
andZINTERSTORE
was handled incorrectly with more than two weights specified.