Skip to content

Tags: fork-php/phpredis

Tags

6.1.0RC2

6.1.0RC2

Sponsors

Audiomack - https://audiomack.com
Open LMS - https://openlms.net
Avtandil Kikabidze - https://github.com/akalongman
Ty Karok - https://github.com/karock
Object Cache Pro for WordPress - https://objectcache.pro

--- 6.1.0RC2 ---

Fixed:

* Fixed a `SIGABRT` error in PHP 8.4 [a75a7e5] (Michael Grunder)
* Clean up code for unsupported versions of PHP [37cebdd] (Remi Collet)
* Add `SessionHelpers.php` to `package.xml`[e9474b8] (Remi Collet)
* 8.4 implicit null fix, bump version [bff3a22, 30c8f90] [Remi Collet]

Changed:

* Raised minimum supported PHP version to 7.4 [8b51942] (Michael Grunder)

Removed:

* Removed erroneously duplicated changelog entries [40c8973] (Michael Grunder)

Tests/CI:

* Move to upload artifacts v4 [9d38050] (Michael Grunder)

Added:

* Added `composer.json` to support PIE (PHP Installer for Extensions) [b59e35a]
  (James Titcumb)

--- 6.1.0RC1 ---

Fixed:

* Fix random connection timeouts with Redis Cluster. [eb7f31e] (Jozsef Koszo)
* Fix argument count issue in HSET with associative array [6ea5b3e]
  (Viktor Djupsjobacka)
* SRANDMEMBER can return any type because of serialization. [6673b5b]
  (Michael Grunder)
* Fix HRANDFIELD command when WITHVALUES is used. [99f9fd8] (Michael Grunder)
* Allow context array to be nullable [50529f5] (Michael Grunder)
* Fix a macOS (M1) compiler warning. [7de29d5] (Michael Grunder)
* `GETEX` documentation/updates and implentation in `RedisCluster` [981c693]
  (Michael Grunder)
* Refactor redis_script_cmd and fix to `flush` subcommand. [7c55142]
  (Pavlo Yatsukhnenko)
* Update liveness check and fix PHP 8.4 compilation error. [c139de3]
  (Michael Grunder)
* Rework how we declare ZSTD min/max constants. [34b5bd8] (Michael Grunder)
* Fix memory leak if we fail in ps_open_redis. [0e92616] (Michael Grunder)
* Fix segfault and remove redundant macros [a9e53fd] (Pavlo Yatsukhnenko)
* Fix PHP 8.4 includes [a51215c] (Michael Grunder)
* Handle arbitrarily large `SCAN` cursors properly. [2612d44, e52f0af]
  (Michael Grunder)
* Improve warning when we encounter an invalid EXPIRY in SET [732e466]
  (Michael Grunder)
* Fix Arginfo / zpp mismatch for DUMP command [50e5405] (Pavlo Yatsukhnenko)
* RedisCluster::publish returns a cluster_long_resp [14f9333] (Alexandre Choura)
* Fix segfault when passing just false to auth. [6dc0a0b] (Michael Grunder)
* the VALUE argument type for hSetNx must be the same as for hSet [df074db]
  (Uladzimir Tsykun)
* Other fixes [e18f6c6, 3d7be35, 2b555c8, fa1a283, 37c5f8d] (Michael Grunder, Viktor Szepe)

Added:

* Compression support for PHP sessions. [da4ab0a] (bitactive)
* Support for early_refresh in Redis sessions to match cluster behavior
  [b698901] (Bitactive)
* Implement WAITAOF command. [ed7c9f6] (Michael Grunder)

Removed:

* PHP 7.1, 7.2, and 7.3 CI jobs [d68c30f, dc39bd5] (Michael Grunder)

Changed:

* Fix the time unit of retry_interval [3fdd52b] (woodong)

Documentation:

* Many documentation fixes. [eeb5109] (Michael Dwyer)
* fix missing code tags [f865d5b] (divinity76)
* Mention Valkey support [5f1eecf] (PlavorSeol)
* Mention KeyDB support in README.md [37fa359] (Tim Starling)
* Remove mention of pickle [c7a73ab] (David Baker)
* Add session.save_path examples [8a39cae] (Martin Vancl)
* Tighter return types for Redis::(keys|hKeys|hVals|hGetAll) [77ab62b]
  (Benjamin Morel)
* Update stubs [4d23397, ff30534, 12966a7, a4a283a, 8f8ff72]
  (Michael Grunder, Takayasu Oyama, Pavlo Yatsukhnenko)
* Fix config.m4 when using custom dep paths [ece3f7b] (Michael Grunder)
* Fix retry_internal documentation [142c1f4] (SplotyCode)
* Fix anchor link [9b5cad3] (Git'Fellow)
* Fix typo in link [bfd379f] (deiga)
* Fix Fedora package url [60b1ba1, 717713e] (Dmitrii Kotov)
* Update Redis Sentinel documentation to reflect changes to constructor in 6.0
  release [dc05d65] (Pavlo Yatsukhnenko)

Tests/CI:

* Avoid fatal error in test execution. [5730497] (Michael Grunder)
* Refactor unit test framework. [b1771de] (Michael Grunder)
* Get unit tests working in `php-cgi`. [b808cc6] (Michael Grunder)
* Switch to `ZEND_STRL` in more places. [7050c98, f8c762e] (Michael Grunder)
* Workaround weird PHP compiler crash. [d3b2d87] (Michael Grunder)
* Refactor tests (formatting, modernization, etc). [dab6a62, c6cd665, 78b70ca,
  3c125b0, 18b0da7, b88e72b, 0f94d9c, 5996597, 3dbc2bd, 9b90c03, c0d6f04]
  (Michael Grunder)
* Spelling fixes [0d89e92] (Michael Grunder)
* Added Valkey support. [f350dc3] (Michael Grunder)
* Add a test for session compression. [9f3ca98] (Michael Grunder)
* Test against valkey [a819a44] (Michael Grunder)
* sessionSaveHandler injection. [9f8f80c] (Pavlo Yatsukhnenko)
* KeyDB addiions [54d62c7, d9c48b7] (Michael Grunder)
* Add PHP 8.3 to CI [78d1514, e051a5d] (Robert Kelcak, Pavlo Yatsukhnenko)
* Use newInstance in RedisClusterTest [954fbab] (Pavlo Yatsukhnenko)
* Use actions/checkout@v4 [f4c2ac2] (Pavlo Yatsukhnenko)
* Cluster nodes from ENV [eda3995, 0672703] (Pavlo Yatsukhnenko)
* Ensure we're talking to redis-server in our high ports test. [7825efb]
  (Michael Grunder)
* Add missing option to installation example [2bddd84] (Pavlo Yatsukhnenko)
* Fix typo in link [8f6bc98] (Timo Sand)
* Update tests to allow users to use a custom class. [5f6ce41] (Michael Grunder)

6.1.0RC1

6.1.0RC1

See below for full changelog.

Sponsors

Audiomack - https://audiomack.com
Open LMS - https://openlms.net
Avtandil Kikabidze - https://github.com/akalongman
Ty Karok - https://github.com/karock
Object Cache Pro for WordPress - https://objectcache.pro

Fixed:

* Fix random connection timeouts with Redis Cluster. [eb7f31e] (Jozsef Koszo)
* Fix argument count issue in HSET with associative array [6ea5b3e]
  (Viktor Djupsjobacka)
* SRANDMEMBER can return any type because of serialization. [6673b5b]
  (Michael Grunder)
* Fix HRANDFIELD command when WITHVALUES is used. [99f9fd8] (Michael Grunder)
* Allow context array to be nullable [50529f5] (Michael Grunder)
* Fix a macOS (M1) compiler warning. [7de29d5] (Michael Grunder)
* `GETEX` documentation/updates and implentation in `RedisCluster` [981c693]
  (Michael Grunder)
* Refactor redis_script_cmd and fix to `flush` subcommand. [7c55142]
  (Pavlo Yatsukhnenko)
* Update liveness check and fix PHP 8.4 compilation error. [c139de3]
  (Michael Grunder)
* Rework how we declare ZSTD min/max constants. [34b5bd8] (Michael Grunder)
* Fix memory leak if we fail in ps_open_redis. [0e92616] (Michael Grunder)
* Fix segfault and remove redundant macros [a9e53fd] (Pavlo Yatsukhnenko)
* Fix PHP 8.4 includes [a51215c] (Michael Grunder)
* Handle arbitrarily large `SCAN` cursors properly. [2612d44, e52f0af]
  (Michael Grunder)
* Improve warning when we encounter an invalid EXPIRY in SET [732e466]
  (Michael Grunder)
* Fix Arginfo / zpp mismatch for DUMP command [50e5405] (Pavlo Yatsukhnenko)
* RedisCluster::publish returns a cluster_long_resp [14f9333] (Alexandre Choura)
* Fix segfault when passing just false to auth. [6dc0a0b] (Michael Grunder)
* the VALUE argument type for hSetNx must be the same as for hSet [df074db]
  (Uladzimir Tsykun)
* Fix `PSUBSCRIBE` to find callback by pattern not string literal. [2f276dc]
  (Michael Grunder)
* Fix memory leak and segfault in Redis::exec [362e114] (Pavlo Yatsukhnenko)
* Fix unknown expiration modifier warning when null argument passed [264c0c7,
  3eb60f5] (Pavlo Yatsukhnenko)
* Other fixes [e18f6c6, 3d7be35, 2b555c8, fa1a283, 37c5f8d] (Michael Grunder, Viktor Szepe)

Added:

* Compression support for PHP sessions. [da4ab0a] (bitactive)
* Support for early_refresh in Redis sessions to match cluster behavior
  [b698901] (Bitactive)
* Implement WAITAOF command. [ed7c9f6] (Michael Grunder)

Removed:

* PHP 7.1, 7.2, and 7.3 CI jobs [d68c30f, dc39bd5] (Michael Grunder)

Changed:

* Fix the time unit of retry_interval [3fdd52b] (woodong)

Documentation:

* Many documentation fixes. [eeb5109] (Michael Dwyer)
* fix missing code tags [f865d5b] (divinity76)
* Mention Valkey support [5f1eecf] (PlavorSeol)
* Mention KeyDB support in README.md [37fa359] (Tim Starling)
* Remove mention of pickle [c7a73ab] (David Baker)
* Add session.save_path examples [8a39cae] (Martin Vancl)
* Tighter return types for Redis::(keys|hKeys|hVals|hGetAll) [77ab62b]
  (Benjamin Morel)
* Update stubs [4d23397, ff30534, 12966a7, a4a283a, 8f8ff72, 5d29324,
  95bd184] (Michael Grunder, Takayasu Oyama, Pavlo Yatsukhnenko)
* Fix config.m4 when using custom dep paths [ece3f7b] (Michael Grunder)
* Fix retry_internal documentation [142c1f4] (SplotyCode)
* Fix anchor link [9b5cad3] (Git'Fellow)
* Fix typo in link [bfd379f] (deiga)
* Fix Fedora package url [60b1ba1, 717713e] (Dmitrii Kotov)
* Update Redis Sentinel documentation to reflect changes to constructor in 6.0
  release [dc05d65] (Pavlo Yatsukhnenko)
* Add back old examples with note [1ad95b6] (Joost)

Tests/CI:

* Avoid fatal error in test execution. [5730497] (Michael Grunder)
* Refactor unit test framework. [b1771de] (Michael Grunder)
* Get unit tests working in `php-cgi`. [b808cc6] (Michael Grunder)
* Switch to `ZEND_STRL` in more places. [7050c98, f8c762e] (Michael Grunder)
* Workaround weird PHP compiler crash. [d3b2d87] (Michael Grunder)
* Refactor tests (formatting, modernization, etc). [dab6a62, c6cd665, 78b70ca,
  3c125b0, 18b0da7, b88e72b, 0f94d9c, 5996597, 3dbc2bd, 9b90c03, c0d6f04]
  (Michael Grunder)
* Spelling fixes [0d89e92] (Michael Grunder)
* Added Valkey support. [f350dc3] (Michael Grunder)
* Add a test for session compression. [9f3ca98] (Michael Grunder)
* Test against valkey [a819a44] (Michael Grunder)
* sessionSaveHandler injection. [9f8f80c] (Pavlo Yatsukhnenko)
* KeyDB addiions [54d62c7, d9c48b7] (Michael Grunder)
* Add PHP 8.3 to CI [78d1514, e051a5d] (Robert Kelcak, Pavlo Yatsukhnenko)
* Fix deprecation error when passing null to match_type parameter [b835aaa]
  (Pavlo Yatsukhnenko)
* Fix crash in `OBJECT` command in pipeline. [a7f51f7] (Michael Grunder)
* Use newInstance in RedisClusterTest [954fbab] (Pavlo Yatsukhnenko)
* Use actions/checkout@v4 [f4c2ac2] (Pavlo Yatsukhnenko)
* Cluster nodes from ENV [eda3995, 0672703] (Pavlo Yatsukhnenko)
* Ensure we're talking to redis-server in our high ports test. [7825efb]
  (Michael Grunder)
* Add missing option to installation example [2bddd84] (Pavlo Yatsukhnenko)
* Update sentinel documentation to reflect changes to constructor in 6.0 release
  [849bedb] (Joost)
* Add missing option to example [3674d66] (Till Kruss)
* Fix typo in link [8f6bc98] (Timo Sand)
* Update tests to allow users to use a custom class. [5f6ce41] (Michael Grunder)

5.3.7RC2

5.3.7-rc2

5.3.7RC1

5.3.7-rc1

5.3.6

phpredis 5.3.6

This is a bugfix release that fixes a segfault in RedisArray::del.

You can find a detailed list of changes in Changelog.md and package.xml

* Sponsors
  ~ Audiomack - https://audiomack.com
  ~ Open LMS - https://openlms.net
  ~ BlueHost - https://bluehost.com
  ~ Object Cache Pro for WordPress - https://objectcache.pro
  ~ Avtandil Kikabidze - https://github.com/akalongman
  ~ Zaher Ghaibeh - https://github.com/zaherg
  ~ BatchLabs - https://batch.com
  ~ Luis Zárate - https://github.com/jlzaratec

5.3.5

phpredis 5.3.5

This release adds support for various exponential backoff strategies as
well as experimental support for automatically detecting dirty
persistent connections.

You can find a detailed list of changes in Changelog.md and package.xml

* Sponsors
  ~ Audiomack - https://audiomack.com
  ~ Open LMS - https://openlms.net
  ~ BlueHost - https://bluehost.com
  ~ Object Cache Pro for WordPress - https://objectcache.pro
  ~ Avtandil Kikabidze - https://github.com/akalongman
  ~ Zaher Ghaibeh - https://github.com/zaherg
  ~ BatchLabs - https://batch.com
  ~ Luis Zárate - https://github.com/jlzaratec