Skip to content

Commit 1416a09

Browse files
committed
Release 2.0.0b2.
1 parent 0bc5b91 commit 1416a09

File tree

3 files changed

+59
-39
lines changed

3 files changed

+59
-39
lines changed

ChangeLog

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,25 @@
11
memcached extension changelog
22

3-
Version *******
3+
Version 2.0.0b2
44
---------------
55
* Add OPT_REMOVE_FAILED_SERVERS option.
66
* Make it work with libmemcached up to 0.49.
77
* Fix a case where invalid session ID could lock the script.
8-
* Session Support
9-
- Added support for libmemcached config string
10-
- Added persistence support via PERSISTENT=persistent_id prefix
8+
* Improve session support:
9+
- Add support for libmemcached config string
10+
- Add persistence support via PERSISTENT=persistent_id prefix
1111
of the save_path
12-
- Optimized code by removing unnecessary allocation
13-
* Added 3rd parameter to the __construct() that allows specification
12+
* Add 3rd parameter to the __construct() that allows specification
1413
of libmemcached configuration string
15-
* Fixed a possible crash in __construct() when using persistent
14+
* Fix a possible crash in __construct() when using persistent
1615
connections
17-
* Added work-around a bug in libmemcached < 0.5 that causes truncation
16+
* Add work-around a bug in libmemcached < 0.50 that causes truncation
1817
of last character of server key prefix
1918
* When using multiple servers implement transparent fail-over
20-
* Fixed php_memc_cas_impl() implementation when server_key is not being used
21-
* Optimize set* operations for scalar values
22-
* Added support for incrementByKey() and decrementByKey()
23-
* When using binary protocol allow increment/decrement to initialize value
24-
when it is not available.
19+
* Fix php_memc_cas_impl() implementation when server_key is not being used
20+
* Add support for incrementByKey() and decrementByKey()
21+
* Make increment/decrement initialize value when it is not available (when
22+
using binary protocol)
2523

2624
Version 2.0.0b1
2725
---------------

package.xml

Lines changed: 47 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -15,39 +15,35 @@ http://pear.php.net/dtd/package-2.0.xsd">
1515
<email>[email protected]</email>
1616
<active>yes</active>
1717
</lead>
18-
<date>2011-03-12</date>
18+
<date>2011-06-24</date>
1919
<version>
20-
<release>2.0.0b1</release>
21-
<api>2.0.0b1</api>
20+
<release>2.0.0b2</release>
21+
<api>2.0.0b2</api>
2222
</version>
2323
<stability>
2424
<release>beta</release>
2525
<api>beta</api>
2626
</stability>
2727
<license uri="http://www.php.net/license">PHP</license>
2828
<notes>
29-
- Change the return value for non-existing keys to be NULL rather than
30-
'false', affects simple get only
31-
- Add fastlz library that provides better/faster payload compression
32-
- Add configure switch to enable/disable JSON serialization support
33-
- Add getAllKeys() method
34-
- Add deleteMulti() and deleteMultiByKey() methods
35-
- Add isPristine() and isPersistent() methods
36-
- Add setOptions() method to set multiple options at once
37-
- Add SERIALIZER_JSON_ARRAY type that decodes JSON payloads as arrays
38-
instead of objects
39-
- Add support for Unix domain socket connections
40-
- Add memcached.compression_threshold INI setting
41-
- Add memcached.compression_factor INI setting
42-
- Add memcached.compression_type INI setting
43-
- Implement a few speed optimizations
44-
- Many bug fixes and memory leaks plugged
45-
- Add several more tests
46-
- Add constants for libmemcached 0.37+:
47-
* Memcached::OPT_NUMBER_OF_REPLICAS
48-
* Memcached::OPT_RANDOMIZE_REPLICA_READ
49-
- Add 'on_new' callback to constructor
50-
- Add SASL support
29+
- Add OPT_REMOVE_FAILED_SERVERS option.
30+
- Make it work with libmemcached up to 0.49.
31+
- Fix a case where invalid session ID could lock the script.
32+
- Improve session support:
33+
* Add support for libmemcached config string
34+
* Add persistence support via PERSISTENT=persistent_id prefix
35+
of the save_path
36+
- Add 3rd parameter to the __construct() that allows specification
37+
of libmemcached configuration string
38+
- Fix a possible crash in __construct() when using persistent
39+
connections
40+
- Add work-around a bug in libmemcached &lt; 0.50 that causes truncation
41+
of last character of server key prefix
42+
- When using multiple servers implement transparent fail-over
43+
- Fix php_memc_cas_impl() implementation when server_key is not being used
44+
- Add support for incrementByKey() and decrementByKey()
45+
- Make increment/decrement initialize value when it is not available (when
46+
using binary protocol)
5147
</notes>
5248
<contents>
5349
<dir name="/">
@@ -87,6 +83,32 @@ http://pear.php.net/dtd/package-2.0.xsd">
8783
<extsrcrelease/>
8884
<changelog>
8985
<release>
86+
<stability><release>beta</release><api>beta</api></stability>
87+
<version><release>2.0.0b2</release><api>2.0.0b2</api></version>
88+
<date>2011-06-24</date>
89+
<notes>
90+
- Add OPT_REMOVE_FAILED_SERVERS option.
91+
- Make it work with libmemcached up to 0.49.
92+
- Fix a case where invalid session ID could lock the script.
93+
- Improve session support:
94+
* Add support for libmemcached config string
95+
* Add persistence support via PERSISTENT=persistent_id prefix
96+
of the save_path
97+
- Add 3rd parameter to the __construct() that allows specification
98+
of libmemcached configuration string
99+
- Fix a possible crash in __construct() when using persistent
100+
connections
101+
- Add work-around a bug in libmemcached &lt; 0.50 that causes truncation
102+
of last character of server key prefix
103+
- When using multiple servers implement transparent fail-over
104+
- Fix php_memc_cas_impl() implementation when server_key is not being used
105+
- Add support for incrementByKey() and decrementByKey()
106+
- Make increment/decrement initialize value when it is not available (when
107+
using binary protocol)
108+
</notes>
109+
</release>
110+
111+
<release>
90112
<stability><release>beta</release><api>beta</api></stability>
91113
<version><release>2.0.0b1</release><api>2.0.0b1</api></version>
92114
<date>2011-03-12</date>

php_memcached.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ PHP_MINIT_FUNCTION(memcached);
9090
PHP_MSHUTDOWN_FUNCTION(memcached);
9191
PHP_MINFO_FUNCTION(memcached);
9292

93-
#define PHP_MEMCACHED_VERSION "2.0.0-dev"
93+
#define PHP_MEMCACHED_VERSION "2.0.0b2"
9494

9595
#ifdef ZTS
9696
#define MEMC_G(v) TSRMG(php_memcached_globals_id, zend_php_memcached_globals *, v)

0 commit comments

Comments
 (0)