Skip to content

Commit 6447940

Browse files
Bamp
1 parent 0f97ab0 commit 6447940

File tree

2 files changed

+84
-35
lines changed

2 files changed

+84
-35
lines changed

package.xml

+83-34
Original file line numberDiff line numberDiff line change
@@ -21,47 +21,54 @@ http://pear.php.net/dtd/package-2.0.xsd">
2121
<email>michael.grunder@gmail.com</email>
2222
<active>yes</active>
2323
</lead>
24-
<date>2015-03-03</date>
24+
<date>2016-03-03</date>
2525
<version>
26-
<release>2.2.7</release>
27-
<api>2.2.7</api>
26+
<release>3.0.0</release>
27+
<api>3.0.0</api>
2828
</version>
2929
<stability>
3030
<release>stable</release>
3131
<api>stable</api>
3232
</stability>
3333
<license uri="http://www.php.net/license">PHP</license>
3434
<notes>
35-
phpredis 2.2.7
36-
35+
phpredis 3.0.0
36+
37+
This version of phpredis supports cluster and is intended for php versions
38+
7.0.0 and higher. To compile cluster-enabled phpredis for older versions
39+
of php, please use the 2.2.8 pecl package.
40+
41+
A huge thanks goes out to Sean DuBois for doing all the work required to get
42+
phpredis working in php 7.0!
43+
3744
-- Improvements ---
38-
39-
* Implemented PFADD, PFMERGE, and PFCOUNT command handling
40-
* Implemented ZRANGEBYLEX command (holding off on ZREVRANGEBYLEX
41-
as that won't be out until 3.0)
42-
* Implemented getMode() so clients can detect whether we're in
43-
ATOMIC/MULTI/PIPELINE mode.
44-
* Implemented rawCommand() so clients can send arbitrary things to
45-
the redis server
46-
* Implemented DEBUG OBJECT (@michael-grunder, @isage)
47-
* Added/abide by connect timeout for RedisArray
48-
* Select to the last selected DB when phpredis reconnects
49-
50-
-- Fixes ---
51-
52-
* Fix a possible invalid free in _serialize
53-
* Added SAVE and BGSAVE to "distributable" commands for RedisArray
54-
* @welting -- Fixed invalid "argc" calculation re HLL commands
55-
* Allow clients to break out of the subscribe loop and return context.
56-
* Fixes a memory leak in SCAN when OPT_SCAN_RETRY id.
57-
* @remicollet -- Fix possible segfault when igbinary is enabled.
58-
* Add a couple of cases where we throw on an error (LOADING/NOAUTH/MASTERDOWN)
59-
* Fix several issues with serialization NARY
60-
* @itcom -- Fix missing TSRMLS_CC and a TSRMLS_DC/TSRMLS_CC typo</notes>
45+
46+
* PHP 7 Support (Sean DuBois) [3159bd2, 567dc2f, daa4d9f, f2711e3, 9cb9d07,
47+
9d51c89, 9ff8f49, 33bb629, cbdf65a, f30b7fd, c687a51, 6b3e773, 2bf8241,
48+
771bd3d, 9221ca4, 4e00df6, e2407ca, 97fcfe6, 77e6200]
49+
* Redis Cluster support
50+
* Allow SINTERSTORE to take a single array argument again
51+
* IPv6 support
52+
53+
--- Fixes ---
54+
55+
* config.w32 fix (Jan-E) [495d308, c9e0b682]
56+
* Exception handling improvement (Jan-E) [314a2c3c]
57+
* Unit test fix for max int value (Jan-E) [659ea2aa]
58+
* unsigned long -> zend_ulong fix (Jan-E) [4d66e3d4]
59+
* Visual Stuio 14 fixes (Jan-E) [ea98401c]
60+
* Segfault fix when looking up our socket (ephemeralsnow) [0126481a]
61+
* Allow '-' and '+' in ZRANGEBYLEX (Patrick Pokatilo) [8bfa2188]
62+
* Documentation fixes (Ares) [54b9a0ec]
63+
* php7 related memory leak fix (Stuart Carnie) [b75bf3b4]
64+
* Potential segfault fix in cluster session (Sergei Lomakov) [661fb5b1]
65+
* php7 related serialization leak fix (Adam Harvey) [c40fc1d8]
66+
</notes>
6167
<contents>
62-
<dir name="/">
68+
<dir name="/">
6369
<file role='doc' name='README.markdown'/>
6470
<file role='doc' name='arrays.markdown'/>
71+
<file role='doc' name='cluster.markdown'/>
6572
<file role='doc' name='CREDITS'/>
6673
<file role='doc' name='COPYING'/>
6774
<file role='src' name='config.m4'/>
@@ -74,15 +81,24 @@ http://pear.php.net/dtd/package-2.0.xsd">
7481
<file role='src' name='redis_array.h'/>
7582
<file role='src' name='redis_array_impl.c'/>
7683
<file role='src' name='redis_array_impl.h'/>
84+
<file role='src' name='redis_cluster.c'/>
85+
<file role='src' name='redis_cluster.h'/>
86+
<file role='src' name='cluster_library.c'/>
87+
<file role='src' name='cluster_library.h'/>
88+
<file role='src' name='redis_commands.c'/>
89+
<file role='src' name='redis_commands.h'/>
7790
<file role='src' name='redis.c'/>
91+
<file role='src' name='crc16.h'/>
7892
<file role='src' name='redis_session.c'/>
7993
<file role='src' name='redis_session.h'/>
8094
<dir name='tests'>
81-
<file role='test' name='array-tests.php' />
82-
<file role='test' name='memory.php' />
83-
<file role='test' name='mkring.sh' />
84-
<file role='test' name='test.php' />
85-
<file role='test' name='TestRedis.php' />
95+
<file role='test' name='RedisArrayTest.php'/>
96+
<file role='test' name='RedisClusterTest.php'/>
97+
<file role='test' name='RedisTest.php'/>
98+
<file role='test' name='TestRedis.php'/>
99+
<file role='test' name='TestSuite.php'/>
100+
<file role='test' name='make-cluster.sh'/>
101+
<file role='test' name='mkring.sh'/>
86102
</dir> <!-- tests -->
87103
</dir> <!-- / -->
88104
</contents>
@@ -101,6 +117,39 @@ http://pear.php.net/dtd/package-2.0.xsd">
101117
<providesextension>redis</providesextension>
102118
<extsrcrelease/>
103119
<changelog>
120+
<release>
121+
<stability><release>stable</release><api>stable</api></stability>
122+
<version><release>3.0.0</release><api>3.0.0</api></version>
123+
<date>2016-06-03</date>
124+
<notes>
125+
phpredis 3.0.0
126+
127+
-- Improvements ---
128+
129+
* Implemented PFADD, PFMERGE, and PFCOUNT command handling
130+
* Implemented ZRANGEBYLEX command (holding off on ZREVRANGEBYLEX
131+
as that won't be out until 3.0)
132+
* Implemented getMode() so clients can detect whether we're in
133+
ATOMIC/MULTI/PIPELINE mode.
134+
* Implemented rawCommand() so clients can send arbitrary things to
135+
the redis server
136+
* Implemented DEBUG OBJECT (@michael-grunder, @isage)
137+
* Added/abide by connect timeout for RedisArray
138+
* Select to the last selected DB when phpredis reconnects
139+
140+
-- Fixes ---
141+
142+
* Fix a possible invalid free in _serialize
143+
* Added SAVE and BGSAVE to "distributable" commands for RedisArray
144+
* @welting -- Fixed invalid "argc" calculation re HLL commands
145+
* Allow clients to break out of the subscribe loop and return context.
146+
* Fixes a memory leak in SCAN when OPT_SCAN_RETRY id.
147+
* @remicollet -- Fix possible segfault when igbinary is enabled.
148+
* Add a couple of cases where we throw on an error (LOADING/NOAUTH/MASTERDOWN)
149+
* Fix several issues with serialization NARY
150+
* @itcom -- Fix missing TSRMLS_CC and a TSRMLS_DC/TSRMLS_CC typo
151+
</notes>
152+
</release>
104153
<release>
105154
<stability><release>stable</release><api>stable</api></stability>
106155
<version><release>2.2.7</release><api>2.2.7</api></version>

php_redis.h

+1-1
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 "2.2.8-devphp7"
28+
#define PHP_REDIS_VERSION "3.0.0-rc1"
2929

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

0 commit comments

Comments
 (0)