Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormichael-grunder <michael.grunder@gmail.com>2020-06-25 07:46:04 +0300
committermichael-grunder <michael.grunder@gmail.com>2020-06-25 07:46:04 +0300
commitf7ed4aabe1cb2ca360f86238b8e7336b73d0236f (patch)
tree70e97393ee86c78062f82e9645e6c658a8af97b5
parent857a2af49739beb6341350f881e2acf07a360499 (diff)
Prepare for 5.3.0 RC1 release
-rw-r--r--Changelog.md111
-rw-r--r--package.xml194
2 files changed, 246 insertions, 59 deletions
diff --git a/Changelog.md b/Changelog.md
index 7b3b3d7d..73abb0dc 100644
--- a/Changelog.md
+++ b/Changelog.md
@@ -5,28 +5,117 @@ All changes to phpredis will be documented in this file.
We're basing this format on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and PhpRedis adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
-## [Unreleased]
+## [5.3.0RC1]
### Sponsors :sparkling_heart:
- [Audiomack.com](https://audiomack.com)
-- [Till Krüss](https://github.com/tillkruss)
+- [BlueHost](https://bluehost.com)
+- [Redis Cache Pro for WordPress](https://wprediscache.com/)
+
+### Added
+
+ - Support for Redis 6 ACLs
+ [a311cc4e](https://github.com/phpredis/phpredis/commit/a311cc4ec3cecdbaf83ba66985efa82137e37cc0)
+ ([Michael Grunder](https://github.com/michael-grunder))
+
+- LZ4 Compression
+ [04def9fb](https://github.com/phpredis/phpredis/commit/04def9fbe2194b3b711362de57260a6cd5216e69)
+ ([Ilia Alshanetsky](https://github.com/iliaal),
+ [Michael Grunder](https://github.com/michael-grunder))
+
+- Support for new Redis 6 arguments (XINFO FULL, SET KEEPTTL)
+ [a0c53e0b](https://github.com/phpredis/phpredis/commit/a0c53e0b30e0c6af15cc137415e7d65f6d1867f7),
+ [f9c7bb57](https://github.com/phpredis/phpredis/commit/f9c7bb5788c39614c23e3bb9ec42ec8d6d5bbaa1)
+ ([Viktor Sekindo](https://github.com/victor <viktork@sekindo.com>),
+ [Michael Grunder](https://github.com/michael-grunder))
+
+- Support for TLS connections
+ [890ee0e6](https://github.com/phpredis/phpredis/commit/890ee0e656e545b18179cf247db94a33179ce1ab),
+ [b0671296](https://github.com/phpredis/phpredis/commit/b067129678264fc1c5c0f611ce1b192e05c14669)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- New option Redis::SCAN_PREFIX, Redis::SCAN_NOPREFIX
+ [e80600e2](https://github.com/phpredis/phpredis/commit/e80600e244b8442cb7c86e99b067966cd59bf2ee)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Configurable unit test authentication arguments
+ [e37f38a3](https://github.com/phpredis/phpredis/commit/e37f38a39eb4bece8f49ebd0652112dc992084a0),
+ [201a9759](https://github.com/phpredis/phpredis/commit/201a97599953a9621bb8eb02dc8d5f08d16499a3)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko), ([Michael Grunder](https://github.com/michael-grunder))
+
+### Fixed
+
+- Improved cluster slot caching mechanism to fix a couple of bugs and make it more efficient.
+ [5ca4141c](https://github.com/phpredis/phpredis/commit/5ca4141c72e23816f146b49877a6a4b8098b34c6)
+ ([Michael Grunder](https://github.com/michael-grunder))
+
+- Stop calling Redis constructor when creating a RedisArray
+ [e41e19a8](https://github.com/phpredis/phpredis/commit/e41e19a8342212ee9cfe35f622804c9870d05ec2)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Use ZEND_LONG_FMT instead of system `long`
+ [5bf88124](https://github.com/phpredis/phpredis/commit/5bf881244dd30b5310fcfcaf5bcd8f9e2675bb01)
+ ([Michael Grunder](https://github.com/michael-grunder))
+
+- Use long for SCAN iteration to fix potential overflow
+ [f13f9b7c](https://github.com/phpredis/phpredis/commit/f13f9b7c7f5e3a7d286b412541199a408a0a98bd)
+ ([Viktor Sekindo](https://github.com/victor <viktork@sekindo.com>))
+
+- Fix config.m4 to test for the variable $PHP_REDIS_JSON and not the literal PHP_REDIS_JSON
+ [20a3dc72](https://github.com/phpredis/phpredis/commit/20a3dc7251cb0bf450ef2a1cfeeeaeaa10355cd2)
+ ([Mizuki Nakano](https://github.com/mi-nakano))
+
+- Fix compiler warnings
+ [b9b383f4](https://github.com/phpredis/phpredis/commit/b9b383f49939484dcddf1a5edefdb9d753baa7f8),
+ [215828e](https://github.com/phpredis/phpredis/commit/215828e3474dfd9ea72fdc6da67aa6bee2d95ddf)
+ ([Remi Collet](https://github.com/remicollet), [Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Avoid use-after-free of RediSock
+ [8c45816d](https://github.com/phpredis/phpredis/commit/8c45816dbf4746f6557f83332be874bd78b5ce34)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Fixed ZADD arginfo
+ [a8e2b021](https://github.com/phpredis/phpredis/commit/a8e2b021f9eb51ad3ed0cc89064e2f004c56f8ba)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
### Changed
-- Use the portable `ZEND_LONG_FORMAT` family instead of C format specifiers
- [b9b383f4](https://github.com/phpredis/phpredis/commit/b9b383f4)
- ([Remi Collet](https://github.com/remicollet))
+- Store AUTH information in flags RedisSock rather than duplicating information.
+ [58dab564](https://github.com/phpredis/phpredis/commit/58dab5649fcc2cc63f5a29df83f783e154d7fa22)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
-- Make unit test authentication configurable
- [201a9759](https://github.com/phpredis/phpredis/commit/201a9759)
- ([Michel Grunder](https://github.com/michael-grunder))
+- Refactor redis_sock_get_connection_pool logic.
+ [73212e1](https://github.com/phpredis/phpredis/commit/73212e141403ec47441142fe1c7fd5fad24f6720)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Updated documentation to show LPUSH and RPUSH are variadic and fixed DEL documentation.
+ [92f8dde1](https://github.com/phpredis/phpredis/commit/92f8dde1c996d4e1c3d79226b888119307612c40)
+ ([Michael Grunder](https://github.com/michael-grunder))
+
+- Authenticate in redis_server_sock_open
+ [4ef465b5](https://github.com/phpredis/phpredis/commit/4ef465b57325d2d93234fd66af06a7091ce7d1ea)
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Dynamically include json.so in unit tests based on configuration
+ [0ce7ca2f](https://github.com/phpredis/phpredis/commit/0ce7ca2fb1eb2f3c445487957a49b70ad8d4ecb6)
+ (([Michael Grunder](https://github.com/michael-grunder))
-- Various small changes in library and cluster_library
- [73212e14](https://github.com/phpredis/phpredis/commit/73212e14),
- [460c8f29](https://github.com/phpredis/phpredis/commit/460c8f29)
+- Update save_path logic in Redis Cluster session unit tests
+ [dd66fce](https://github.com/phpredis/phpredis/commit/dd66fceeb232f9e1fb0a26373949e810180dc5fc)
([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+ - Refactoring various bits of logic
+ [bbcf32a3](https://github.com/phpredis/phpredis/commit/bbcf32a37fa856ba0b50b489ba05bd3d43800fcc),
+ [a42cf189](https://github.com/phpredis/phpredis/commit/a42cf189a776fc43acf47ca519f1d7385cc27f2f),
+ [460c8f29](https://github.com/phpredis/phpredis/commit/460c8f29239c263e15a093c9bcdb6fb24587ec7d),
+ [b7f9df75](https://github.com/phpredis/phpredis/commit/b7f9df758b30187864012d5cd831dbbc5fa053d0),
+ ([Pavlo Yatsukhnenko](https://github.com/yatsukhnenko))
+
+- Use the portable `ZEND_LONG_FORMAT` family instead of C format specifiers
+ [b9b383f4](https://github.com/phpredis/phpredis/commit/b9b383f4)
+ ([Remi Collet](https://github.com/remicollet))
+
- PHP 8 compatibility
[9ee94ca4](https://github.com/phpredis/phpredis/commit/9ee94ca4),
[7e4c7b3e](https://github.com/phpredis/phpredis/commit/7e4c7b3e)
diff --git a/package.xml b/package.xml
index 190567f8..2665f566 100644
--- a/package.xml
+++ b/package.xml
@@ -27,65 +27,75 @@ http://pear.php.net/dtd/package-2.0.xsd">
<email>n.favrefelix@gmail.com</email>
<active>no</active>
</lead>
- <date>2020-03-02</date>
+ <date>2020-06-24</date>
<version>
- <release>5.2.0</release>
- <api>5.2.0</api>
+ <release>5.3.0RC1</release>
+ <api>5.3.0RC1</api>
</version>
<stability>
- <release>stable</release>
- <api>stable</api>
+ <release>alpha</release>
+ <api>alpha</api>
</stability>
<license uri="http://www.php.net/license">PHP</license>
<notes>
- phpredis 5.2.0
-
- - There were no changes between 5.2.0RC2 and 5.2.0.
-
- phpredis 5.2.0RC2
+ phpredis 5.3.0RC1
- * Include RedisSentinelTest.php in package.xml! [eddbfc8f] (Michael Grunder)
- * Fix -Wmaybe-uninitialized warning [740b8c87] (Remi Collet)
- * Fix improper destructor when zipping values and scores [371ae7ae]
- (Michael Grunder)
- * Use php_rand instead of php_mt_rand for liveness challenge string
- [9ef2ed89] (Michael Grunder)
-
- phpredis 5.2.0RC1
-
- This release contains initial support for Redis Sentinel as well as many
- smaller bug fixes and improvements. It is especially of interest if you
- use persistent connections, as we've added logic to make sure they are in
- a good state when retreving them from the pool.
+ This release adds the first round of support for Redis 6 functionality including,
+ most importantly ACLs. Other Redis 6 functionality is included as well such as
+ KEEPTTL and XINFO FULL command support.
- IMPORTANT: Sentinel support is considered experimental and the API
- will likely change based on user feedback.
+ Aside from the Redis 6 functionality this releasae contains many bugfixes and
+ improvements.
* Sponsors
- ~ Audiomack.com - https://audiomack.com
- ~ Till Kruss - https://github.com/tillkruss
+ ~ Audiomack.com - https://audiomack.com
+ ~ BlueHost.com - https://bluehost.com
+ ~ Redis Cache Pro for WordPress - https://wprediscache.com/
---
- * Initial support for RedisSentinel [90cb69f3, c94e28f1, 46da22b0, 5a609fa4,
- 383779ed] (Pavlo Yatsukhnenko)
-
- * Houskeeping (spelling, doc changes, etc) [23f9de30, d07a8df6, 2d39b48d,
- 0ef488fc, 2c35e435, f52bd8a8, 2ddc5f21, 1ff7dfb7, db446138] (Tyson Andre,
- Pavlo Yatsukhnenko, Michael Grunder, Tyson Andre)
-
- * Fix for ASK redirections [ba73fbee] (Michael Grunder)
- * Create specific 'test skipped' exception [c3d83d44] (Michael Grunder)
- * Fixed memory leaks in RedisCluster [a107c9fc] (Michael Grunder)
- * Fixes for session lifetime values that underflow or overflow [7a79ad9c,
- 3c48a332] (Michael Grunder)
- * Enables slot caching for Redis Cluster [23b1a9d8] (Michael Booth)
-
- * Support TYPE argument for SCAN [8eb39a26, b1724b84, 53fb36c9, 544e641b]
+ * Support for Redis 6 ACLs [a311cc4e] (Michael Grunder)
+ * LZ4 Compression [04def9fb] (Ilia Alshanetsky)
+ * Support for new Redis 6 arguments (XINFO FULL, SET KEEPTTL) [a0c53e0b,
+ f9c7bb57] (Michael Grunder, Viktor Sekindo)
+ * Support for TLS connections [890ee0e6, b0671296] (Pavlo Yatsukhnenko)
+ * New option Redis::SCAN_PREFIX, Redis::SCAN_NOPREFIX [e80600e2] (Pavlo
+ Yatsukhnenko)
+ * Configurable unit test authentication arguments [e37f38a3, 201a9759]
+ (Pavlo Yatsukhnenko, Michael Grunder)
+ * Improved cluster slot caching mechanism to fix a couple of bugs and make
+ it more efficient. [5ca4141c] (Michael Grunder)
+ * Stop calling Redis constructor when creating a RedisArray [e41e19a8]
(Pavlo Yatsukhnenko)
-
- * Added challenge/response mechanism for persistent connections [a5f95925,
- 25cdaee6, 7b6072e0, 99ebd0cc, 3243f426] (Pavlo Yatsukhnenko, Michael Grunder)
+ * Use ZEND_LONG_FMT instead of system `long` [5bf88124] (Michael Grunder)
+ * Use long for SCAN iteration to fix potential overflow [f13f9b7c]
+ (Viktor Sekindo)
+ * Fix config.m4 to test for the variable $PHP_REDIS_JSON and not the
+ literal PHP_REDIS_JSON [20a3dc72] (Mizuki Nakano)
+ * Fix compiler warnings [b9b383f4, 215828e] (Remi Collet),
+ Pavlo Yatsukhnenko)
+ * Avoid use-after-free of RediSock [8c45816d] (Pavlo Yatsukhnenko)
+ * Fixed ZADD arginfo [a8e2b021] (Pavlo Yatsukhnenko)
+ * Store AUTH information in flags RedisSock rather than duplicating
+ information. [58dab564] (Pavlo Yatsukhnenko)
+ * Refactor redis_sock_get_connection_pool logic. [73212e1]
+ (Pavlo Yatsukhnenko)
+ * Updated documentation to show LPUSH and RPUSH are variadic and fixed DEL
+ documentation. [92f8dde1] (Michael Grunder)
+ * Authenticate in redis_server_sock_open [4ef465b5] (Pavlo Yatsukhnenko)
+ * Dynamically include json.so in unit tests based on configuration
+ [0ce7ca2f] (Michael Grunder)
+ * Update save_path logic in Redis Cluster session unit tests [dd66fce]
+ (Pavlo Yatsukhnenko)
+ * Refactoring various bits of logic [bbcf32a3, a42cf189, 460c8f29,
+ b7f9df75] (Pavlo Yatsukhnenko)
+ * Use the portable `ZEND_LONG_FORMAT` family instead of C format specifiers
+ [b9b383f4](Remi Collet)
+ * PHP 8 compatibility [9ee94ca4, 7e4c7b3e] (Pavlo Yatsukhnenko)
+ * Refactor PHPREDIS_GET_OBJECT macro [d5dadaf6, 190c0d34]
+ (Pavlo Yatsukhnenko)
+ * Fix documentation showing lPush and rPush are variadic [6808cd6a]
+ (Michael Grunder)
</notes>
<contents>
<dir name="/">
@@ -162,10 +172,98 @@ http://pear.php.net/dtd/package-2.0.xsd">
</extsrcrelease>
<changelog>
<release>
- <stability><release>alpha</release><api>alpha</api></stability>
- <version><release>5.2.0RC2</release><api>5.2.0RC2</api></version>
- <date>2020-02-21</date>
+ <stability><release>stable</release><api>stable</api></stability>
+ <version><release>5.2.2</release><api>5.2.2</api></version>
+ <date>2020-05-05</date>
+ <notes>
+ phpredis 5.2.2
+
+ This is a bugfix release that contains a fix for authentication
+ when using persistent connections, and an option to make the
+ ECHO challenge response logic optional.
+
+ * Inexpensive liveness check, and making ECHO optional [56898f81] (Pavlo Yatsukhnenko)
+ * Move `AUTH` to `redis_sock_server_open` [80f2529b](Pavlo Yatsukhnenko)
+
+ * Sponsors
+ ~ Audiomack.com - https://audiomack.com
+ ~ Till Kruss - https://github.com/tillkruss
+ </notes>
+ </release>
+ <release>
+ <stability><release>stable</release><api>stable</api></stability>
+ <version><release>5.2.1</release><api>5.2.1</api></version>
+ <date>2020-03-19</date>
+ <notes>
+ phpredis 5.2.1
+
+ This is a bugfix release that fixes `redis->zAdd` arginfo as well as a
+ segfault when closing persistent connections.
+
+ * Fix arginfo for Redis::zadd [a8e2b021] (Pavlo Yatsukhnenko)
+ * Fix segfault on closing persistent stream [b7f9df75] (Pavlo Yatsukhnenko)
+
+ * Sponsors
+ ~ Audiomack.com - https://audiomack.com
+ ~ Till Kruss - https://github.com/tillkruss
+ </notes>
+ </release>
+
+
+
+ <release>
+ <stability><release>stable</release><api>stable</api></stability>
+ <version><release>5.2.0</release><api>5.2.0</api></version>
+ <date>2020-03-02</date>
<notes>
+ phpredis 5.2.0
+
+ - There were no changes between 5.2.0RC2 and 5.2.0.
+
+ phpredis 5.2.0RC2
+
+ * Include RedisSentinelTest.php in package.xml! [eddbfc8f] (Michael Grunder)
+ * Fix -Wmaybe-uninitialized warning [740b8c87] (Remi Collet)
+ * Fix improper destructor when zipping values and scores [371ae7ae]
+ (Michael Grunder)
+ * Use php_rand instead of php_mt_rand for liveness challenge string
+ [9ef2ed89] (Michael Grunder)
+
+ phpredis 5.2.0RC1
+
+ This release contains initial support for Redis Sentinel as well as many
+ smaller bug fixes and improvements. It is especially of interest if you
+ use persistent connections, as we've added logic to make sure they are in
+ a good state when retreving them from the pool.
+
+ IMPORTANT: Sentinel support is considered experimental and the API
+ will likely change based on user feedback.
+
+ * Sponsors
+ ~ Audiomack.com - https://audiomack.com
+ ~ Till Kruss - https://github.com/tillkruss
+
+ ---
+
+ * Initial support for RedisSentinel [90cb69f3, c94e28f1, 46da22b0, 5a609fa4,
+ 383779ed] (Pavlo Yatsukhnenko)
+
+ * Houskeeping (spelling, doc changes, etc) [23f9de30, d07a8df6, 2d39b48d,
+ 0ef488fc, 2c35e435, f52bd8a8, 2ddc5f21, 1ff7dfb7, db446138] (Tyson Andre,
+ Pavlo Yatsukhnenko, Michael Grunder, Tyson Andre)
+
+ * Fix for ASK redirections [ba73fbee] (Michael Grunder)
+ * Create specific 'test skipped' exception [c3d83d44] (Michael Grunder)
+ * Fixed memory leaks in RedisCluster [a107c9fc] (Michael Grunder)
+ * Fixes for session lifetime values that underflow or overflow [7a79ad9c,
+ 3c48a332] (Michael Grunder)
+ * Enables slot caching for Redis Cluster [23b1a9d8] (Michael Booth)
+
+ * Support TYPE argument for SCAN [8eb39a26, b1724b84, 53fb36c9, 544e641b]
+ (Pavlo Yatsukhnenko)
+
+ * Added challenge/response mechanism for persistent connections [a5f95925,
+ 25cdaee6, 7b6072e0, 99ebd0cc, 3243f426] (Pavlo Yatsukhnenko, Michael Grunder)
phpredis 5.2.0RC2
* Include RedisSentinelTest.php in package.xml! [eddbfc8f] (Michael Grunder)