Skip to content

Commit

Permalink
php-memcached extension v 2.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
QuChen88 committed Jul 29, 2015
1 parent 7d37b9c commit df635ab
Show file tree
Hide file tree
Showing 120 changed files with 10,448 additions and 202 deletions.
2 changes: 2 additions & 0 deletions CREDITS
@@ -0,0 +1,2 @@
memcached
Andrei Zmievski, Oleg Grenrus (igbinary support)
132 changes: 132 additions & 0 deletions ChangeLog
@@ -0,0 +1,132 @@
memcached extension changelog

Version 2.1.0
-------------
* Drop support for libmemcached 0.x series, now 1.0.x is required
* Add support for virtual bucket distribution
* Fix compilation against PHP 5.2

Version 2.0.1
-------------
* Fix embedded version number to be not -dev

Version 2.0.0
-------------
* Add touch() and touchByKey() methods
* Add resetServerList() and quit() methods
* Support binary protocol in sessions
* Make it work with libmemcached up to 1.0.4
* Test against PHP 5.4.0

Version 2.0.0b2
---------------
* Add OPT_REMOVE_FAILED_SERVERS option.
* Make it work with libmemcached up to 0.49.
* Fix a case where invalid session ID could lock the script.
* Improve session support:
- Add support for libmemcached config string
- Add persistence support via PERSISTENT=persistent_id prefix
of the save_path
* Add 3rd parameter to the __construct() that allows specification
of libmemcached configuration string
* Fix a possible crash in __construct() when using persistent
connections
* Add work-around a bug in libmemcached < 0.50 that causes truncation
of last character of server key prefix
* When using multiple servers implement transparent fail-over
* Fix php_memc_cas_impl() implementation when server_key is not being used
* Add support for incrementByKey() and decrementByKey()
* Make increment/decrement initialize value when it is not available (when
using binary protocol)

Version 2.0.0b1
---------------
* Change the return value for non-existing keys to be NULL rather than
'false', affects simple get only
* Add fastlz library that provides better/faster payload compression
* Add configure switch to enable/disable JSON serialization support
* Add getAllKeys() method
* Add deleteMulti() and deleteMultiByKey() methods
* Add isPristine() and isPersistent() methods
* Add setOptions() method to set multiple options at once
* Add SERIALIZER_JSON_ARRAY type that decodes JSON payloads as arrays
instead of objects
* Add support for Unix domain socket connections
* Add memcached.compression_threshold INI setting
* Add memcached.compression_factor INI setting
* Add memcached.compression_type INI setting
* Implement a few speed optimizations
* Many bug fixes and memory leaks plugged
* Add several more tests
* Add constants for libmemcached 0.37+:
- Memcached::OPT_NUMBER_OF_REPLICAS
- Memcached::OPT_RANDOMIZE_REPLICA_READ
* Add 'on_new' callback to constructor
* Add SASL support

Version 1.0.1
-------------
* Fix JSON API handling to account for PHP 5.2/5.3 version differences.
* Add memcached.sess_locking, memcached.sess_lock_wait, and
memcached.sess_prefix INI entries.
* Add OPT_AUTO_EJECT_HOSTS option.

Version 1.0.0
-------------
* First stable release.
* Add getResultMessage() method.
* Fix OPT_RECV_TIMEOUT definition.
* Initialize Session lock wait to max execution time (if max execution
time is unlimited, default to 30 seconds).

Version 0.2.0
-------------
* Add JSON serializer support, requires PHP 5.2.10+.
* Add HAVE_JSON and HAVE_IGBINARY class constants that indicate
whether the respective serializers are available.
* Add 'flags' parameter to getMulti() and getMultiByKey().
* Add GET_PRESERVE_ORDER class constant that can be used with
abovementioned flags parameter to make the order of the keys in the
response match the request.
* Fix an issue with retrieving 0-length payloads (FALSE boolean value).
* Refactor the way payload types are stored in memcached flags to optimize
the structure and allow for future expansion. WARNING! You have to flush
the cache when upgrading to this version.
* Add several tests.

Version 0.1.5
-------------
* Implement getVersion().
* Add support for preserving boolean value types.
* Fix crash when child class does not call constructor.
* Fix bug #16084 (Crash when addServers is called with an associative array).
* ZTS compilation fixes.

Version 0.1.4
-------------
* Fix compilation against PHP 5.3.
* Add support for 'igbinary' serializer (Oleg Grenrus)

Version 0.1.3
-------------
* Bludgeon bug #15896 (Memcached setMulti error) into submission.

Version 0.1.2
-------------
* Fix bug #15896 (Memcached setMulti error).
* Check for empty key in getServerByKey().
* Allow passing 'null' for callbacks.
* get() with cas token fetching wasn't erroring out properly.
* Rename certain parameters in the API to be more clear.
* Allow only strings as the append/prepend value.
* Remove expiration parameter from append/prepend.

Version 0.1.1
-------------
* Add OPT_LIBKETAMA_COMPATIBLE option.
* Implement addServers() method.
* Swap internal compressed and serialized flags to be compatible with other clients.

Version 0.1.0
-------------
* Initial release

0 comments on commit df635ab

Please sign in to comment.