Releases: predis/predis
Releases · predis/predis
v3.2.0
v3.1.0
Added
- Add experimental support for vector sets commands (#1550)
- Added support for
XACK
command (#1555) - Added support for
XCLAIM
command (#1557) - Added support for
XPENDING
command (#1558) - Added support for
XSETID
command (#1559) - Added validation and support for the new
BITOP
command operations (#1566)
Changed
- Handle and retry
LOADING
errors from Sentinel replicas (#1536) - Retry all exceptions from Sentinel replicas (#1577)
Fixed
- Fixed PHP 8.4 deprecated call to
stream_context_set_option()
(#1545) - Fixed return type for
ZCOUNT
to beint
(#1547) - Fixed throwing
CommunicationException
when stream is EOF (#1548) - Removed automatic
conn_uid
parameter assignment (#1552) - Fixed wrong command API call on prefix processing (#1554)
- Fixed
XREAD
response parsing while read null (#1563) - Fixed
XINFO
command responses parsing (#1560) - Marked missing commands as Prefixable (#1576)
v3.0.1
v3.0.0
Added
⚠️ Added support for transactions for clustered connections (#1497)- Added support for RESP3 communication protocol (#1047)
- Added support for RESP3 push notifications (#1316)
- Added support for Sharded Pub/Sub (#1303)
- Added support for
XGROUP
commands (#1324) - Added support for
XREADGROUP
command (#1327) - Added support for
XAUTOCLAIM
command (#1328) - Added support for
XINFO
commands (#1331) - Added support for Redis 7.4
XREAD
andHSCAN
interface changes (#1452)
Changed
⚠️ Refactored Relay integration (#1423)⚠️ Changed interface ofCLIENT
command (#1337)⚠️ Changed interfaces for commands to support Redis 6.2 — 7.0 arguments (#1330)⚠️ Changed default searchDIALECT
to2
(#1516)⚠️ Implemented PSR-7 compatible stream abstraction (#1450)⚠️ Improved pipeline abstractions (#1438)⚠️ Improved connection handshake (#1431)
Fixed
- Fixed single persistent connection using the same resource (#1512)
v2.4.0
Current version provides full compatibility with coming Redis 8.0 release.
Added
- Added new hash-field expiration commands (#1520)
- Added missing
FT._LIST
andBITFIELD_RO
commands (#1521)
Changed
- Update
WATCH
command to acceptstring|string[]
(#1476) - Optimize cluster slotmap with compact slot range object (#1493)
Fixed
- Fixed
EVAL_RO
cluster support (#1449) - Fixed PHP 8.4 compatibility with
stream_context_set_option()
(#1503) - Prevent named arguments runtime failure (#1509)
- Mark
GEOSEARCH
as read-only to ensure execution on replica (#1481) - Fixed protocol loss during redis cluster
MOVED
/ASK
(#1530)
Maintenance
- Added CI testing with Redis 8.0 (#1510)
- Added test coverage for compatibility with Redis 8.0 (#1513)
- Use parallel on PHP-CS-Fixer (#1489)
Contributors
We'd like to thank all the contributors who worked on this release!
@messikiller @heqiming @NHZEX @glaubinix @radu-neacsu @ddevsr @janedbal @nicchap @asafpamzn @dorrogeray
v3.0.0-RC1
Breaking Changes
- Remove deprecated Triggers & Functions support (#1524)
- Changed default
DIALECT
to 2 (#1516) - Implemented PSR-7 compatible stream abstraction (#1450)
- Improved pipeline abstractions (#1438)
- Improved connection handshake (#1431)
- Added support for transactions for clustered connections (#1497)
- Extended ClusterInterface with new
getClusterStrategy()
method (#1497) - Extended StrategyInterface with new
checkSameSlotForKeys()
method that previously was protected (#1497)
Added
- Added Redis 7.4
XREAD
andHSCAN
interface changes (#1452) - Added support for transactions for clustered connections (#1497)
Fixed
- Fixed single persistent connection using the same resource (#1512)
v2.4.0-RC1
Added
- Added new hash-field expiration commands (#1520)
- Added missing
FT._LIST
andBITFIELD_RO
commands (#1521)
Changed
- Update
WATCH
command to acceptstring|string[]
(#1476) - Optimize cluster slotmap with compact slot range object (#1493)
Fixed
- Fixed
EVAL_RO
cluster support (#1449) - Fixed PHP 8.4 compatibility with
stream_context_set_option()
(#1503) - Prevent named arguments runtime failure (#1509)
- Mark
GEOSEARCH
as read-only to ensure execution on replica (#1481)
Maintenance
v2.3.0
Added
- Added
GeoShapeField
field (#1467) - Added hash expiration commands (#1456)
- Added support for time series
IGNORE
filter (#1458) - Added
XREAD
commands (#1459) - Added
NOVALUES
argument support toHSCAN
(#1459) - Added support for search
INDEXMISSING
andINDEXEMPTY
arguments (#1464)
Changed
- Explicitly mark nullable parameters as nullable (#1448)
- Filter out available replicas based on link status flag (#1440)
- Respect
prefix
forZPOPMIN
,ZPOPMAX
,ZMSCORE
,LMOVE
,BLMOVE
,SMISMEMBER
andGEOSEARCH
(#1451, #1453, #1455, #1468)
Fixed
v3.0.0-alpha1
Predis v3.0 introduces support for new communication protocol RESP3 and new features based on it.
Breaking Changes
- Refactored Relay integration (#1423)
- Changed interface of
CLIENT
command (#1337) - Changed interfaces for commands to support Redis 6.2—7.0 arguments (#1330)
Added
- Added support for RESP3 communication protocol (#1047)
- Added support for Push notifications (#1316)
- Added support for Sharded Pub/Sub (#1303)
- Added support for
XGROUP
commands (#1324) - Added support for
XREADGROUP
command (#1327) - Added support for
XAUTOCLAIM
command (#1328) - Added support for
XINFO
commands (#1331) - Added support for Redis Gears triggered functions API (#1348)