Skip to content

Releases: predis/predis

v3.4.0

11 Feb 17:30
1183f57

Choose a tag to compare

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 VRANGE command (#1623)
  • Added support for idempotent stream API (#1632)
  • Added support for HOTKEYS container command (#1630)

Fixed

  • Fixed [L|R]PUSHX variadic arguments normalization (#1633)
  • Fixed wrong @param annotation in Parameters (#1614)
  • Made ZRANDMEMBER prefixable (#1621)
  • Improve connection handshake by pipelining commands (#1622)

v3.3.0

24 Nov 17:49
1530973

Choose a tag to compare

Added

  • Added cluster support for XADD, XDEL and XRANGE (#1587)
  • Added prefixable interface for HEXPIRE and HEXPIRETIME (#1592)
  • Added new experimental CAS/CAD functionality (#1609)
  • Added temporary XREADGROUP_CLAIM command (#1608)
  • Added support for MSET command (#1610)
  • Added experimental support for FT.HYBRID (#1607)

Changed

  • Improved compatiblity with Relay (#1597)
  • Refactor pipeline data writing depends on connection type (#1586)

v2.4.1

12 Nov 18:01
07105e0

Choose a tag to compare

Fixed

  • Fixed return type for ZCOUNT to be int (#1546)
  • Removed automatic conn_uid parameter assignment (#1551)

v3.2.0

06 Aug 06:42
9e9deec

Choose a tag to compare

Added

  • Added support for XDELEX and XACKDEL (#1580)
  • Added missing VSIM argument (#1582)

Changed

  • Extended XTRIM and XADD commands with new parameters (#1580)

Maintenance

  • Updated Redis 8.2 test image (#1583)
  • Added test coverage for updated Vamana (#1584)

v3.1.0

22 Jul 15:38
202e0c5

Choose a tag to compare

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 be int (#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

16 May 18:31
34fb0a7

Choose a tag to compare

Fixed

  • Send default user if only password is used for authentication (#1535)

v3.0.0

02 May 23:20
7d86f7a

Choose a tag to compare

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 and HSCAN interface changes (#1452)

Changed

  • ⚠️ Refactored Relay integration (#1423)
  • ⚠️ Changed interface of CLIENT command (#1337)
  • ⚠️ Changed interfaces for commands to support Redis 6.2 — 7.0 arguments (#1330)
  • ⚠️ Changed default search DIALECT to 2 (#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

30 Apr 15:16
f49e13e

Choose a tag to compare

Current version provides full compatibility with coming Redis 8.0 release.

Added

  • Added new hash-field expiration commands (#1520)
  • Added missing FT._LIST and BITFIELD_RO commands (#1521)

Changed

  • Update WATCH command to accept string|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

17 Apr 15:53
b5c942b

Choose a tag to compare

v3.0.0-RC1 Pre-release
Pre-release

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 and HSCAN 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

24 Mar 17:08
fdd52d0

Choose a tag to compare

v2.4.0-RC1 Pre-release
Pre-release

Added

  • Added new hash-field expiration commands (#1520)
  • Added missing FT._LIST and BITFIELD_RO commands (#1521)

Changed

  • Update WATCH command to accept string|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

  • 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)