Releases: predis/predis
Releases · predis/predis
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 suppor 8000 t 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)
v2.2.2
v2.2.1
Added
- Added support for
WAITAOF
command (#1357) - Added support for
SHUTDOWN
command (#1359) - Added support for
FUNCTION
command (#1332) - Added support for new optional
PEXPIRE
,PEXPIREAT
andCOMMAND
- Added missing Redis Stack commands to
KeyPrefixProcessor
(#1358)
Changed
- Set client name and version when establishing a connection (#1347)
v2.2.0
Predis v2.2.0 introduces official support for Redis Stack as well as a Relay integration for substantially faster read performance.
Added
- Added support for Relay (#1263)
- Added support for
FCALL_RO
command (#1191) - Added support for Redis
JSON
,Bloom
,Search
andTimeSeries
module (#1253) - Added support for
ACL SETUSER, GETUSER, DRYRUN
commands (#1193)
Changed
- Minor code style and type-hint changes (#1311)
Fixed
- Fixed prefixes for
XTRIM
andXREVRANGE
commands (#1230) - Fixed
fclose()
being called on invalid stream resource (#1199) - Fixed
BitByte
andExpireOptions
traits skip processing on null values (#1169) - Fixed missing
@return
annotations (#1265) - Fixed
GETDEL
prefixing (#1306)
Contributors
We'd like to thank all the contributors who worked on this release!
@jessarcher, @nicolas-grekas, @p-jahn, @tillkruss and @vladvildanov