wiki:Release-3.0.0

Version 3 (modified by moo, 15 months ago) (diff)

--

XCache 3.0.0 Release

Release Info

  • Version: 3.0.0
  • Previous version: 2.0.1
  • Branch: trunk
  • Status: Stable
  • Main Release Purpose: big change, big milestone, new features, bug fixes
  • Author: mOo <phpxcache@…>
  • Release date: 2012-10-29

Release notes

Bug fixes. lots of improvements with updated XCache admin page, namespace support and more. updates api, adds a few ini. A new "diagnosis" module to give professional advice about XCache configuration (@ htdocs). Auto disable caching on crash (@ runtime). WARNING: uses extension= to load XCache. loading via zend_extension= is no longer supported since this version.

Downloads

API Changes

  • chg: proto array xcache_clear_cache(int type, [ int id = -1 ]). -1 means all cache splits
  • new: proto array xcache_enable_cache(int type, [ int id = -1, [ bool enable = true ] ])
  • new: proto array xcache_admin_namespace()
  • new: proto array xcache_set_namespace(string namespace)

Ini Settings Changes

  • new: xcache.disable_on_crash = Off
  • new: xcache.coverager_autostart = On
  • new: xcache.allocator = bestfit (no other option value yet)
  • new: xcache.var_allocator = bestfit (no other option value yet)

ChangeLog

  • closes #2: auto disable caching on crash
  • closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode (>=PHP_5_3)
  • closes #174: updates api to support "clear all cache"
  • closes #198: support for caching protocol url
  • closes #287: namespace support
  • fixes #39: ini_set never work for xcache.coverager setting. use API instead
  • code refactor
    • uses extension= to load XCache. loading via zend_extension= is unsupported
    • split XCache features into multiple sub modules
  • updates XCache admin page
  • adds an diagnosis module to give professional advise, accessable via htdocs pages
  • cache can be enabled/disabled manually

Relative tickets

#2
[TODO] AutoDisableOnCrash
#37
xcache_get SEGV using objects
#39
xcache.coveragedumper does not work in PHP_INI_PER_DIR or PHP_INI_ALL
#73
check PHP_FCGI_CHILDREN and warn if it's not set for fcgi mode
#174
Ability to clear all cache
#198
xcache with streams on ZEND_ENGINE_2
#223
E_DEPRECATED error at parsing - Custom error handler cant access previously declared classes
#287
separated cache by vhost, with patch!

See also: ReleaseArchive