Skip to content

Commit 24e408b

Browse files
committed
5.0.0RC1
1 parent 8206b14 commit 24e408b

File tree

2 files changed

+101
-42
lines changed

2 files changed

+101
-42
lines changed

package.xml

Lines changed: 100 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -25,54 +25,44 @@ http://pear.php.net/dtd/package-2.0.xsd">
2525
<name>Nicolas Favre-Felix</name>
2626
<user>nff</user>
2727
<email>[email protected]</email>
28-
<active>yes</active>
28+
<active>no</active>
2929
</lead>
30-
<date>2018-11-18</date>
30+
<date>2019-06-20</date>
3131
<version>
32-
<release>4.2.0</release>
33-
<api>4.2.0</api>
32+
<release>5.0.0RC1</release>
33+
<api>5.0.0</api>
3434
</version>
3535
<stability>
36-
<release>stable</release>
37-
<api>stable</api>
36+
<release>alpha</release>
37+
<api>alpha</api>
3838
</stability>
3939
<license uri="http://www.php.net/license">PHP</license>
4040
<notes>
41-
phpredis 4.2.0
42-
43-
The main feature of this release is new Streams API implemented by Michael Grunder.
44-
45-
Note: There are no changes between 4.2.0RC3 and 4.2.0.
46-
47-
4.2.0RC3:
48-
49-
* Optimize close method [2a1ef961] (fanjiapeng)
50-
* Prevent potential infinite loop for sessions [4e2de158] (Pavlo Yatsukhnenko)
51-
* Fix coverty warnings [6f7ddd27] (Pavlo Yatsukhnenko)
52-
* Fix session memory leaks [071a1d54, 92f14b14] (Pavlo Yatsukhnenko, Michael Grunder)
53-
* Fix XCLAIM on 32-bit installs [18dc2aac] (Michael Grunder)
54-
* Build warning fixes [b5093910, 51027044, 8b0f28cd] (Pavlo Yatsukhnenko, Remi Collet, twosee)
55-
56-
4.2.0RC2:
57-
58-
* Fix incorrect arginfo for `Redis::sRem` and `Redis::multi` [25b043ce] (Pavlo Yatsukhnenko)
59-
* Update STREAM API to handle STATUS -> BULK reply change [0b97ec37] (Michael Grunder)
60-
* Treat a -1 response from cluster_check_response as a timeout. [27df9220, 07ef7f4e, d1172426] (Michael Grunder)
61-
* Use a ZSET insted of SET for EVAL tests [2e412373] (Michael Grunder)
62-
* Missing space between command and args [0af2a7fe] (@remicollet)
63-
64-
4.2.0RC1:
65-
66-
* Streams API [2c9e0572] (Michael Grunder)
67-
* Reset the socket after a timeout to make sure no wrong data is received [cd6ebc6d] (@marcdejonge)
68-
* Modify session testing logic [bfd27471] (Michael Grunder)
69-
* Allow '-' and '+' arguments and add tests for zLexCount and zRemRangeByLex [d4a08697] (Michael Grunder)
70-
* Fix printf format warnings [dcde9331] (Pavlo Yatsukhnenko)
71-
* Session module is required [58bd8cc8] (@remicollet)
72-
* Set default values for ini entries [e206ce9c] (Pavlo Yatsukhnenko)
73-
* Display ini entries in output of phpinfo [908ac4b3] (Pavlo Yatsukhnenko)
74-
* Persistant connections can be closed via close method + change reconnection logic [1d997873] (Pavlo Yatsukhnenko)
75-
* Documentation improvements (@mg, @elcheco, @lucascourot, @nolimitdev, Michael Grunder)
41+
phpredis 5.0.0RC1
42+
43+
This release contains important improvements and breaking changes.
44+
The most interesting are: drop PHP5 support, RedisCluster slots caching,
45+
JSON and msgpack serializers, soft deprecation of non-Redis commands.
46+
47+
* Enable connection pooling by default [8206b147] (Pavlo Yatsukhnenko)
48+
* Soft deprecate methods that aren't actually Redis commands [a81b4f2d, 95c8aab9] (Pavlo Yatsukhnenko, Michael Grunder)
49+
* Enable pooling for cluster slave nodes [17600dd1] (Michael Grunder)
50+
* xInfo response format [4852a510, ac9dca0a] (Pavlo Yatsukhnenko)
51+
* Make the XREADGROUP optional COUNT and BLOCK arguments nullable [0c17bd27] (Michael Grunder)
52+
* Allow PING to take an optional argument [6e494170] (Michael Grunder)
53+
* Allow ZRANGE to be called either with `true` or `['withscores' => true]` [19f3efcf] (Michael Grunder)
54+
* Allow to specify server address as schema://host [418428fa] (Pavlo Yatsukhnenko)
55+
* Allow persistent_id to be passed as NULL with strict_types enabled [60223762] (Michael Grunder)
56+
* Add server address to exception message [e8fb49be, 34d6403d] (Pavlo Yatsukhnenko)
57+
* Adds OPT_REPLY_LITERAL for rawCommand and EVAL [5cb30fb2] (Michael Grunder)
58+
* JSON serializer [98bd2886, 96c57139] (Pavlo Yatsukhnenko, Michael Grunder)
59+
* Add support for STREAM to the type command [d7450b2f, 068ce978, 8a45d18c] (Michael Grunder, Pavlo Yatsukhnenko)
60+
* Fix TypeError when using built-in constants in `setOption` [4c7643ee] (@JoyceBabu)
61+
* Handle references in MGET [60d8b679] (Michael Grunder)
62+
* msgpack serializer [d5b8f833, 545250f3, 52bae8ab] (@bgort, Pavlo Yatsukhnenko, Michael Grunder)
63+
* Add Cluster slots caching [9f0d7bc0, ea081e05] (Michael Grunder)
64+
* Drop PHP5 support [f9928642, 46a50c12, 4601887d, 6ebb36ce, fdbe9d29] (Michael Grunder)
65+
* Documentation improvements (@alexander-schranz, @cookieguru, Pavlo Yatsukhnenko, Michael Grunder)
7666
</notes>
7767
<contents>
7868
<dir name="/">
@@ -141,6 +131,75 @@ http://pear.php.net/dtd/package-2.0.xsd">
141131
<configureoption name="enable-redis-lzf" prompt="enable lzf compression support?" default="no"/>
142132
</extsrcrelease>
143133
<changelog>
134+
<release>
135+
<stability><release>alpha</release><api>alpha</api></stability>
136+
<version><release>5.0.0RC1</release><api>5.0.0</api></version>
137+
<date>2019-06-20</date>
138+
<notes>
139+
phpredis 5.0.0RC1
140+
141+
This release contains important improvements and breaking changes.
142+
The most interesting are: drop PHP5 support, RedisCluster slots caching,
143+
JSON and msgpack serializers, soft deprecation of non-Redis commands.
144+
145+
* Enable connection pooling by default [8206b147] (Pavlo Yatsukhnenko)
146+
* Soft deprecate methods that aren't actually Redis commands [a81b4f2d, 95c8aab9] (Pavlo Yatsukhnenko, Michael Grunder)
147+
* Enable pooling for cluster slave nodes [17600dd1] (Michael Grunder)
148+
* xInfo response format [4852a510, ac9dca0a] (Pavlo Yatsukhnenko)
149+
* Make the XREADGROUP optional COUNT and BLOCK arguments nullable [0c17bd27] (Michael Grunder)
150+
* Allow PING to take an optional argument [6e494170] (Michael Grunder)
151+
* Allow ZRANGE to be called either with `true` or `['withscores' => true]` [19f3efcf] (Michael Grunder)
152+
* Allow to specify server address as schema://host [418428fa] (Pavlo Yatsukhnenko)
153+
* Allow persistent_id to be passed as NULL with strict_types enabled [60223762] (Michael Grunder)
154+
* Add server address to exception message [e8fb49be, 34d6403d] (Pavlo Yatsukhnenko)
155+
* Adds OPT_REPLY_LITERAL for rawCommand and EVAL [5cb30fb2] (Michael Grunder)
156+
* JSON serializer [98bd2886, 96c57139] (Pavlo Yatsukhnenko, Michael Grunder)
157+
* Add support for STREAM to the type command [d7450b2f, 068ce978, 8a45d18c] (Michael Grunder, Pavlo Yatsukhnenko)
158+
* Fix TypeError when using built-in constants in `setOption` [4c7643ee] (@JoyceBabu)
159+
* Handle references in MGET [60d8b679] (Michael Grunder)
160+
* msgpack serializer [d5b8f833, 545250f3, 52bae8ab] (@bgort, Pavlo Yatsukhnenko, Michael Grunder)
161+
* Add RedisCluster slots caching [9f0d7bc0, ea081e05] (Michael Grunder)
162+
* Drop PHP5 support [f9928642, 46a50c12, 4601887d, 6ebb36ce, fdbe9d29] (Michael Grunder)
163+
* Documentation improvements (@alexander-schranz, @cookieguru, Pavlo Yatsukhnenko, Michael Grunder)
164+
</notes>
165+
</release>
166+
167+
<release>
168+
<stability><release>stable</release><api>stable</api></stability>
169+
<version><release>4.3.0</release><api>4.3.0</api></version>
170+
<date>2019-03-13</date>
171+
<notes>
172+
phpredis 4.3.0
173+
174+
This is probably the latest release with PHP 5 suport!!!
175+
176+
* Proper persistent connections pooling implementation [a3703820, c76e00fb, 0433dc03, c75b3b93] (Pavlo Yatsukhnenko)
177+
* RedisArray auth [b5549cff, 339cfa2b, 6b411aa8] (Pavlo Yatsukhnenko)
178+
* Use zend_string for storing key hashing algorithm [8cd165df, 64e6a57f] (Pavlo Yatsukhnenko)
179+
* Add ZPOPMAX and ZPOPMIN support [46f03561, f89e941a, 2ec7d91a] (@mbezhanov, Michael Grunder)
180+
* Implement GEORADIUS_RO and GEORADIUSBYMEMBER_RO [22d81a94] (Michael Grunder)
181+
* Add callback parameter to subscribe/psubscribe arginfo [0653ff31] (Pavlo Yatsukhnenko)
182+
* Don't check the number affected keys in PS_UPDATE_TIMESTAMP_FUNC [b00060ce] (Pavlo Yatsukhnenko)
183+
* Xgroup updates [15995c06] (Michael Grunder)
184+
* RedisCluster auth [c5994f2a] (Pavlo Yatsukhnenko)
185+
* Cancel pipeline mode without executing commands [789256d7] (Pavlo Yatsukhnenko)
186+
* Use zend_string for pipeline_cmd [e98f5116] (Pavlo Yatsukhnenko)
187+
* Different key hashing algorithms from hash extension [850027ff] (Pavlo Yatsukhnenko)
188+
* Breaking the lock acquire loop in case of network problems [61889cd7] (@SkydiveMarius)
189+
* Implement consistent hashing algorithm for RedisArray [bb32e6f3, 71922bf1] (Pavlo Yatsukhnenko)
190+
* Use zend_string for storing RedisArray hosts [602740d3, 3e7e1c83] (Pavlo Yatsukhnenko)
191+
* Update lzf_compress to be compatible with PECL lzf extension [b27fd430] (@jrchamp)
192+
* Fix RedisCluster keys memory leak [3b56b7db] (Michael Grunder)
193+
* Directly use return_value in RedisCluster::keys method [ad10a49e] (Pavlo Yatsukhnenko)
194+
* Fix segfault in Redis Cluster with inconsistent configuration [72749916, 6e455e2e] (Pavlo Yatsukhnenko)
195+
* Masters info leakfix [91bd7426] (Michael Grunder)
196+
* Refactor redis_sock_read_bulk_reply [bc4dbc4b] (Pavlo Yatsukhnenko)
197+
* Remove unused parameter lazy_connect from redis_sock_create [c0793e8b] (Pavlo Yatsukhnenko)
198+
* Remove useless ZEND_ACC_[C|D]TOR. [bc9b5597] (@twosee)
199+
* Documentation improvements (@fanjiapeng, @alexander-schranz, @hmc, Pavlo Yatsukhnenko, Michael Grunder)
200+
</notes>
201+
</release>
202+
144203
<release>
145204
<stability><release>beta</release><api>beta</api></stability>
146205
<version><release>4.2.0RC3</release><api>4.2.0RC3</api></version>

php_redis.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
#define PHP_REDIS_H
2626

2727
/* phpredis version */
28-
#define PHP_REDIS_VERSION "4.2.0"
28+
#define PHP_REDIS_VERSION "5.0.0RC1"
2929

3030
PHP_METHOD(Redis, __construct);
3131
PHP_METHOD(Redis, __destruct);

0 commit comments

Comments
 (0)