Releases: predis/predis
Releases · predis/predis
v3.4.0
This release introduces two major improvements: a refactored handshake process and built-in retry support.
The redesigned handshake session delivers up to 25% performance improvement compared to the previous version.
With the newly added retry support, you can automatically retry command execution on transient failures before giving up. This helps mitigate network glitches and delegate error handling to Predis.
For more details, see the documentation.
Added
- Added optional retry support (#1616)
- Added support for
VRANGEcommand (#1623) - Added support for idempotent stream API (#1632)
- Added support for
HOTKEYScontainer command (#1630)
Fixed
v3.3.0
Added
- Added cluster support for
XADD,XDELandXRANGE(#1587) - Added prefixable interface for
HEXPIREandHEXPIRETIME(#1592) - Added new experimental CAS/CAD functionality (#1609)
- Added temporary
XREADGROUP_CLAIMcommand (#1608) - Added support for
MSETcommand (#1610) - Added experimental support for
FT.HYBRID(#1607)
Changed
v2.4.1
v3.2.0
v3.1.0
Added
- Add experimental support for vector sets commands (#1550)
- Added support for
XACKcommand (#1555) - Added support for
XCLAIMcommand (#1557) - Added support for
XPENDINGcommand (#1558) - Added support for
XSETIDcommand (#1559) - Added validation and support for the new
BITOPcommand operations (#1566)
Changed
- Handle and retry
LOADINGerrors 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
ZCOUNTto beint(#1547) - Fixed throwing
CommunicationExceptionwhen stream is EOF (#1548) - Removed automatic
conn_uidparameter assignment (#1552) - Fixed wrong command API call on prefix processing (#1554)
- Fixed
XREADresponse parsing while read null (#1563) - Fixed
XINFOcommand 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
XGROUPcommands (#1324) - Added support for
XREADGROUPcommand (#1327) - Added support for
XAUTOCLAIMcommand (#1328) - Added support for
XINFOcommands (#1331) - Added support for Redis 7.4
XREADandHSCANinterface changes (#1452)
Changed
⚠️ Refactored Relay integration (#1423)⚠️ Changed interface ofCLIENTcommand (#1337)⚠️ Changed interfaces for commands to support Redis 6.2 — 7.0 arguments (#1330)⚠️ Changed default searchDIALECTto2(#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._LISTandBITFIELD_ROcommands (#1521)
Changed
- Update
WATCHcommand to acceptstring|string[](#1476) - Optimize cluster slotmap with compact slot range object (#1493)
Fixed
- Fixed
EVAL_ROcluster support (#1449) - Fixed PHP 8.4 compatibility with
stream_context_set_option()(#1503) - Prevent named arguments runtime failure (#1509)
- Mark
GEOSEARCHas 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
DIALECTto 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
XREADandHSCANinterface 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._LISTandBITFIELD_ROcommands (#1521)
Changed
- Update
WATCHcommand to acceptstring|string[](#1476) - Optimize cluster slotmap with compact slot range object (#1493)
Fixed
- Fixed
EVAL_ROcluster support (#1449) - Fixed PHP 8.4 compatibility with
stream_context_set_option()(#1503) - Prevent named arguments runtime failure (#1509)
- Mark
GEOSEARCHas read-only to ensure execution on replica (#1481)