Memcached::libmemcached::Changes - List of significant changes
Change bug tracker to GitHub Fix link to current repository, also add to META. Thanks to dsteinbrunner Work around missing libcloog-ppl0 compilation issues, RT#88378 Improve handling of case where last_return==MEMCACHED_ERRNO but lmc_state->last_errno==0, RT#41299.
Sync with libmemcached 1.0.17 Fixed links in docs, RT#66291 Fixed whatis in pod of Memcached::libmemcached::API, RT#71172 Fixed undef warnings related to expiration, RT#69996 Don't let DESTDIR env var upset libmemcached build (Chip Salzenberg). Note that get_server_for_key() may have a memory leak.
Added get_server_for_key() thanks to Roy Hooper.
Fix crash if memcached_callback_get(MEMCACHED_CALLBACK_PREFIX_KEY) returns NULL.
Added memcached_callback_set() to enable MEMCACHED_CALLBACK_PREFIX_KEY. Added memcached_callback_get() Made test timing more robust.
Changed memcached_version() to return the lowest server version seen. Added new memcached_{inc,dec}rement{_with_initial,}{_by_key,} methods. Added new methods memcached_server_add_with_weight() and memcached_server_add_unix_socket_with_weight(). Added new trace_level() method.
Changed walk_stats() API. Now uses the memcached_stat_execute() function and no longer passes $stats_arg as the forth argument to the callback. Minor updates to docs.
Sync with libmemcached 0.44 Fixed core dump in stats function. Fixed memory leak in stats function. RT#41496 Improved error reporting in trace log.
Fix memcached_version() to properly return a list when called in list context this should resolve rt #59864
Sync with libmemcached 0.42 Squashed various compile warnings Many updates to libmemcached API calls due to API changes Merged existing svn tree (which was out of sync) with Daisuke's tree
Sync with libmemcached 0.31 Now tested against memcached 1.4.1 Now tested with binary protocol Work with newer libmemcached, which returned MEMCACHED_END instead of MEMCACHED_SUCCESS on fetch success
Sync with libmemcached 0.25.
Sync with libmemcached 0.21. Report memcached version when running tests. Skip flags test when using memcached <1.2.4. Test consistent hashing thanks to Daisuke Maki. Deprecated undocumented calling get() with an array ref as key it now generates a warning. Added way to specify multiple memcached servers for tests. Added -bin option to Makefile.PL to install mem* utilities thanks to Jos Boumans.
Fixed leak of $memc which prevented DESTROY (and thus memcached_free) being called, thanks to Jim Spath and Daisuke Maki. Fixed tests to not use whitespace in keys, thanks to Daisuke Maki.
Sync with libmemcached 0.19. Added walk_stats method for fetching stats via a callback thanks to Daisuke Maki.
Sync with libmemcached 0.17. Perl API for memcached_version returns the version info. Added auto-generated Memcached::libmemcached::constants docs. Improved docs. Assorted minor fixes.
Added official object-oriented API for perl-specific extensions. Allow SubclassName->new as alias for memcached_create. Deprecated perl-specific functions superceeded by methods: memcached_errstr - now $memc->errstr memcached_mget_into_hashref - now $memc->mget_into_hashref memcached_set_callback_coderefs - now $memc->set_callback_coderefs Added -g/-pg options to Makefile.PL to enable debug/profiling. Changed memcache object to be blessed hash instead of blessed int.
Fixes for perl 5.6. Removed dependency on Time::HiRes for testing.
Added tracing via PERL_LIBMEMCACHED_TRACE env var. Added perl callbacks for get and set. Added many more functions and improved the docs. Reenable perl 5.006 as we supply our own xsubpp now.
Added memcached_errstr and related $memc state management. Changes functions to return simple boolean code. Added memcached_replace, memcached_cas More tests.
Includes libmemcached-0.14 memcached_return values are now boolean (true, defined false, or undef) Added memcached_errstr($memc) to access last error code and string. Bundle xsubpp to avoid problems interfacing with our custom ParseXS.
Min perl version now 5.008 due to XS length(other_arg) syntax.
To install Memcached::libmemcached, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Memcached::libmemcached
CPAN shell
perl -MCPAN -e shell install Memcached::libmemcached
For more information on module installation, please visit the detailed CPAN module installation guide.