Skip to content

Commit 5b26312

Browse files
Updated package.xml and proper github url
1 parent 0d91315 commit 5b26312

File tree

4 files changed

+106
-60
lines changed

4 files changed

+106
-60
lines changed

README.markdown

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ phpredis can also connect to a unix domain socket: `session.save_path = "unix://
9898

9999
## Building on Windows
100100

101-
See [instructions from @char101](https://github.com/nicolasff/phpredis/issues/213#issuecomment-11361242) on how to build phpredis on Windows.
101+
See [instructions from @char101](https://github.com/phpredis/phpredis/issues/213#issuecomment-11361242) on how to build phpredis on Windows.
102102

103103

104104
## Distributed Redis Array

bybits.php

-25
This file was deleted.

package.xml

+104-33
Original file line numberDiff line numberDiff line change
@@ -21,47 +21,62 @@ 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-06-02</date>
2525
<version>
26-
<release>2.2.7</release>
27-
<api>2.2.7</api>
26+
<release>2.2.8</release>
27+
<api>2.2.8</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-
37-
-- Improvements ---
35+
phpredis 2.2.8
36+
37+
The main improvement in this version of phpredis is support for Redis
38+
Cluster. This version of phpredis is intended for versions of php older
39+
than 7.
40+
41+
In addition there have been many bug fixes and improvements to non cluster
42+
related commands, which are listed below.
43+
44+
I've attempted to include everyone who contribued to the project in each fix
45+
description and have included names or github user ids.
46+
47+
Thanks to everyone for submitting bug reports and pull requests. A special
48+
thanks to Remi Collet for helping with any and all packaging related issues
49+
50+
\o/
3851

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>
52+
--- Improvements ---
53+
54+
* Added randomization to our seed nodes to balance which instance is used
55+
to map the keyspace (Vitaliy Stepanyuk) [32eb1c5f]
56+
* Added support for IPv6 addresses
57+
58+
--- Fixes ---
59+
60+
* PHP liveness checking workaround (Shafreeck Sea) [c18d58b9]
61+
* Various documentation and code formatting and style fixes (ares333,
62+
sanpili, Bryan Nelson, linfangrong, Romero Malaquias, Viktor Szépe)
63+
* Fix scan reply processing to use long instead of int to avoid overflow
64+
(mixiaojiong).
65+
* Fix potential segfault in Redis Cluster session storage (Sergei Lomakov)
66+
[cc15aae]
67+
* Fixed memory leak in discard function [17b1f427]
68+
* Sanity check for igbinary unserialization (Maurus Cuelenaere) [3266b222,
69+
5528297a]
70+
* Fix segfault occuring from unclosed socket connection for Redis Cluster
71+
(CatKang) [04196aee]
72+
* Case insensitive zRangeByScore options
73+
* Fixed dreaded size_t vs long long compiler warning
74+
</notes>
6175
<contents>
6276
<dir name="/">
6377
<file role='doc' name='README.markdown'/>
6478
<file role='doc' name='arrays.markdown'/>
79+
<file role='doc' name='cluster.markdown'/>
6580
<file role='doc' name='CREDITS'/>
6681
<file role='doc' name='COPYING'/>
6782
<file role='src' name='config.m4'/>
@@ -74,15 +89,24 @@ http://pear.php.net/dtd/package-2.0.xsd">
7489
<file role='src' name='redis_array.h'/>
7590
<file role='src' name='redis_array_impl.c'/>
7691
<file role='src' name='redis_array_impl.h'/>
92+
<file role='src' name='redis_cluster.c'/>
93+
<file role='src' name='redis_cluster.h'/>
94+
<file role='src' name='cluster_library.c'/>
95+
<file role='src' name='cluster_library.h'/>
96+
<file role='src' name='redis_commands.c'/>
97+
<file role='src' name='redis_commands.h'/>
7798
<file role='src' name='redis.c'/>
99+
<file role='src' name='crc16.h'/>
78100
<file role='src' name='redis_session.c'/>
79101
<file role='src' name='redis_session.h'/>
80102
<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' />
103+
<file role='test' name='RedisArrayTest.php'/>
104+
<file role='test' name='RedisClusterTest.php'/>
105+
<file role='test' name='RedisTest.php'/>
106+
<file role='test' name='TestRedis.php'/>
107+
<file role='test' name='TestSuite.php'/>
108+
<file role='test' name='make-cluster.sh'/>
109+
<file role='test' name='mkring.sh'/>
86110
</dir> <!-- tests -->
87111
</dir> <!-- / -->
88112
</contents>
@@ -101,6 +125,53 @@ http://pear.php.net/dtd/package-2.0.xsd">
101125
<providesextension>redis</providesextension>
102126
<extsrcrelease/>
103127
<changelog>
128+
<release>
129+
<stability><release>stable</release><api>stable</api></stability>
130+
<version><release>2.2.8</release><api>2.2.8</api></version>
131+
<date>2016-06-02</date>
132+
<notes>
133+
phpredis 2.2.8
134+
135+
The main improvement in this version of phpredis is support for Redis
136+
Cluster. This version of phpredis is intended for versions of php older
137+
than 7.
138+
139+
In addition there have been many bug fixes and improvements to non cluster
140+
related commands, which are listed below.
141+
142+
I've attempted to include everyone who contribued to the project in each fix
143+
description and have included names or github user ids.
144+
145+
Thanks to everyone for submitting bug reports and pull requests. A special
146+
thanks to Remi Collet for helping with any and all packaging related issues
147+
148+
\o/
149+
150+
--- Improvements ---
151+
152+
* Added randomization to our seed nodes to balance which instance is used
153+
to map the keyspace (Vitaliy Stepanyuk) [32eb1c5f]
154+
* Added support for IPv6 addresses
155+
156+
--- Fixes ---
157+
158+
* PHP liveness checking workaround (Shafreeck Sea) [c18d58b9]
159+
* Various documentation and code formatting and style fixes (ares333,
160+
sanpili, Bryan Nelson, linfangrong, Romero Malaquias, Viktor Szépe)
161+
* Fix scan reply processing to use long instead of int to avoid overflow
162+
(mixiaojiong).
163+
* Fix potential segfault in Redis Cluster session storage (Sergei Lomakov)
164+
[cc15aae]
165+
* Fixed memory leak in discard function [17b1f427]
166+
* Sanity check for igbinary unserialization (Maurus Cuelenaere) [3266b222,
167+
5528297a]
168+
* Fix segfault occuring from unclosed socket connection for Redis Cluster
169+
(CatKang) [04196aee]
170+
* Case insensitive zRangeByScore options
171+
* Fixed dreaded size_t vs long long compiler warning
172+
</notes>
173+
</release>
174+
104175
<release>
105176
<stability><release>stable</release><api>stable</api></stability>
106177
<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-dev"
28+
#define PHP_REDIS_VERSION "2.2.8-rc1"
2929

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

0 commit comments

Comments
 (0)