XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

238 lines
10 KiB

  1. 3.0.3 2013-16.18
  2. ========
  3. * clean files in release (fix htdocs config)
  4. 3.0.2 2013-06-10
  5. ChangeLog
  6. ========
  7. * fixes #303: tablesort.js not found in Diagnosis and Coverager
  8. * fixes #297: segv on startup under sparc, ini setting overflow
  9. * fixes #296: (PHP5.4+ only bug), racecondition Multiple instances of the same software causes PHP "cannot redeclare class" errors when readonly_protection is not in use
  10. * fixes #301: refix locking impl
  11. * fixes #307: compatible with Zend Debugger which requires to be installed after Zend Extension Manager
  12. 3.0.1 2013-01-11
  13. ChangeLog
  14. ========
  15. * fixes crash when cache is too small on start up
  16. * fixes #295: crash using traits with PHP 5.4.8+
  17. * fixes #290: workaround phpize vs fbsd make bug again
  18. * improve compatibility with "the ionCube PHP Loader", Zend Optimizer
  19. * fix random crash when cache is reinitialized yet failed (Thanks to Brad Baker for generating crash dump)
  20. * fix locking impl: improve stability on threaded env (Thanks to Mircea Nicolae for reproducing the bug)
  21. * diagnosis: undefined variable when ini is not found
  22. * PHP_5_4 optimizer: fix ZEND_JMP_SET_VAR
  23. * PHP_5_4 optimizer: fix for goto
  24. 3.0.0 2012-10-29
  25. API Changes
  26. ========
  27. * chg: proto array xcache_clear_cache(int type, [ int id = -1 ]). -1 means all cache splits
  28. * new: proto array xcache_enable_cache(int type, [ int id = -1, [ bool enable = true ] ])
  29. * new: proto array xcache_admin_namespace()
  30. * new: proto array xcache_set_namespace(string namespace)
  31. Ini Settings Changes
  32. ========
  33. * new: xcache.disable_on_crash = Off
  34. * new: xcache.coverager_autostart = On
  35. * new: xcache.allocator = bestfit (no other option value yet)
  36. * new: xcache.var_allocator = bestfit (no other option value yet)
  37. * new: xcache.var_namespace_mode = 0
  38. * new: xcache.var_namespace = ""
  39. ChangeLog
  40. ========
  41. * closes #2: auto disable caching on crash
  42. * closes #73: warn for improper PHP_FCGI_CHILDREN setting fcgi mode (>=PHP_5_3)
  43. * closes #174: updates api to support "clear all cache"
  44. * closes #198: support for caching protocol url
  45. * closes #287: namespace support
  46. * fixes #39: ini_set never work for xcache.coverager setting. use API instead
  47. * code refactor
  48. * uses extension= to load XCache. loading via zend_extension= is unsupported
  49. * split XCache features into multiple sub modules
  50. * updates XCache admin page
  51. * adds an diagnosis module to give professional advise, accessable via htdocs pages
  52. * cache can be enabled/disabled manually
  53. 2.0.1 2012-07-14
  54. ChangeLog
  55. ========
  56. * fixed #279: segv when cache is full (since 2.0)
  57. * fixed #281: subsequenc request segv when timeout happens during compiling
  58. * admin/ config changed. please update accordingly
  59. * WIN32: kill invalidate CRT parameters on shutdown
  60. * fixed: <=PHP_5_2 duplicate error message failed to include file
  61. * fixed #283: XCache admin APIs (admin page) cause SEGV if XCache failed to initize
  62. * fixed possible re-include a file by mixing include/include_once
  63. * fixed #264, #284: __FILE__ __DIR__ handling for moved/hardlinked files (set "xcache.experimental = on" to eanble this fix)
  64. 2.0.0 2012-04-20
  65. Ini Settings Changes
  66. ========
  67. * new: xcache.experimental = Off
  68. ChangeLog
  69. ========
  70. * support for PHP_5_4
  71. * reduce memory usage by caching 1 for multiple same content files
  72. * correct __FILE__ __DIR__ supported for hardlinked files
  73. * fixed #275: one line struct definition was confusing struct parser
  74. * fixed #102: segv when var cacher is too small
  75. * fixed #55: segv php tokenizer on certain special situation
  76. * fixed #278: admin page: wrong layout in opera
  77. * compiler errors: all compiler warning (E_STRICT only currently) is now cached and is supported for user handler
  78. * tests/bug52160.phpt: report multiple error correctly
  79. 1.3.2 2011-06-04
  80. ========
  81. * avoid possible filename injection in admin page
  82. * adds 30 seconds timeout to "compiling" flag
  83. * decompiler: improves decompiling
  84. * disassembler: improper handling of null field
  85. * disassembler: DECLARE_INHERITED_CLASS/DELAYED class not found
  86. * disassembler: don't dump builtin functions
  87. * fix win32 build against win32 native gnu tools
  88. * compatibility fix: fix segv on shutdown when ionCube Loader is loaded
  89. * fixed undefined index for xcache.count=1 and xcache.var_size>1
  90. * fixed #258: builtin constant memory leak on compile
  91. 1.3.1 2010-11-27
  92. ========
  93. * 2G/4G limitation on 64bit arch
  94. * xcache_unset matching e.g. prefixed_ values
  95. 1.3.0 2009-08-04
  96. == ChangeLog ==
  97. * PHP 5.3 support
  98. * fixed #138: no segv if cache is not initialized correctly
  99. * default to 64M for xcache.size in xcache.ini
  100. * could not show module info in admin page when XCache is the last module
  101. * wrong http auth realm
  102. * coverager: font-size and newline fix for firefox
  103. * admin page is now magic quote gpc aware
  104. 1.2.2 2007-12-29
  105. == ChangeLog ==
  106. * added module dependency
  107. * live with wrong system time: allow caching files with mtime in further
  108. * bug fix for compatibility with Zend Optimizer and other non-cachable
  109. * #59: Maximum execution time of 60 seconds exceeded
  110. * #102: segv when var cacher is too small
  111. * #55: segv php tokenizer on certain special situation
  112. 1.2.1 2007-07-01
  113. == Ini Settings Changes ==
  114. * new: xcache.admin.enable_auth = On
  115. == ChangeLog ==
  116. * #86: remove/edit variable in admin page
  117. * fixed #109: fast inc/dec was trying to break ro protection
  118. * fixed #101, #105: Fixed compatibility issue for apache 1.x
  119. * fixed #94: Garbage collector disabled when xcache.cacher set to off
  120. * fixed #92: Zend Optimizer compatibility issue
  121. * fixed #77: hits/misses was not updated
  122. * fixed #59: pass by reference for internal function was broken
  123. * fixed #56: xcache_set segfaults when xcache.var_size=0
  124. ========
  125. 1.2.0 2006-12-10
  126. Ini Settings Changes
  127. ========
  128. * new: xcache.stat = On
  129. * new: xcache.coverager = Off
  130. * chg: xcache.coveragedump_directory default to ""
  131. * del: xcache.coveragedumper = Off
  132. New APIs
  133. ========
  134. * array xcache_coverager_decode(string data)
  135. * void xcache_coverager_start([bool clean = true])
  136. * void xcache_coverager_stop([bool clean = false])
  137. * array xcache_coverager_get([bool clean = false])
  138. ChangeLog
  139. ========
  140. * [290] [291] [292] build with the m4 on solaris
  141. * [283] removed zend_append_version_info. not needed after [282]
  142. * [282] fix possible alloca() scope problem in lock
  143. * [281] keep config.nice on make xcachesvnclean
  144. * [279] fixed #48, was leaking info when cacher is not enabled by size
  145. * [280] [278] trunk: fix coredump on shutdown when loaded as "extension" and after "suhosin" or "zend optimizer". thanks to Alex, Cristian and Esser
  146. * [271] fix auto detection of php-cli/php-cgi for test
  147. * [270] make [269] pass test cases
  148. * [269] do not destruct shallow copied tmp_auto_globals. also improve copying of other hash tables
  149. * [268] full compatible with auto_globals_jit, no need to disable it in ini from now on
  150. * [250] fixed css class on switcher
  151. * [231] fix zval reference handling
  152. * [230] update dprint support, added configure option: --enable-xcache-dprint
  153. * [228] more robust coverager
  154. * [227] cacher: remove redundant open_basedir check which broke php-src/ext/standard/tests/file/bug24313.phpt
  155. * [221] cacher: fix eleak in op_array non-shadow-copy (readonly_protection=on)
  156. * [220] fixed #36, Bug in inherited static class variables
  157. * [219] fix prototype for readonly_protection=off, fix testcase Zend/tests/bug37632.phpt
  158. * [217] kill leak warning on debug build
  159. * [216] avoid crash on php compiler error
  160. * [215] add `make xcachetest` to run xcache enabled test
  161. * [214] [212] fixed #41, early class binding
  162. * [272] [267] [263] [200] fixes for php6
  163. * [224] [193] kill 64bit warning when self test is enabled
  164. * [190] trick to load and work with zend optimizer
  165. * [189] call op_array_ctor handler on restore to be more compatible with other zend_extension
  166. * [257] [183] xcache module is not required by coverage viewer any more
  167. * [165] xcache.stat support to allow tuning off stat (new ini)
  168. * [164] better way to handle system level ini settings so it can be display in phpinfo standardly
  169. 1.1.0 2006-11-11
  170. * merged [254] fix xcache.var_ttl displaying in info, fix xcache_get for ttl-unlimited
  171. * merged [250] admin: fix switcher class on active
  172. * merged [249] return 0 s instead of empty for deltatime
  173. * merged [201] coverager: avoid crash when upstream failed to compile file
  174. * merged from trunk: 159,161-162,167-180,182,184,186-187,194
  175. * [194] PHP_5_2: new element in zend_brk_cont_element
  176. * [186] [187] fix build on some rare arch
  177. * [184] fix tplcov
  178. * [178] fix type processor_t conflict with Mac OS X
  179. * remove redundant open_basedir check, it's done before compiling
  180. * trick in_compilation state, don't trigger __autoload at compile time
  181. * FIX conflict between sandbox and user error handler
  182. * [154] fix segv on MSHUTDOWN
  183. * [153] win32/vc build fix
  184. * [150] avoid crash when OOM on mem_realloc
  185. * [148] reconstruct shm/allocator
  186. * [147] show module info in statistics page
  187. * [146] avoid reading of uninitialized data. thanks to valgrind
  188. * [144] compat size displaying in admin page func
  189. * [143] fixed string parameter parsing arg type for disassembler functions. thanks to check_paramaters.php
  190. * [141] fix cache clear corruption bug
  191. * [140] fix refcount on cache #1 #2 …
  192. * [133] admin-page: be more friendly if XCache isn't loaded
  193. * [132] fix zts on calling destroy_op_array
  194. * [131] move open_files out of sandbox, it's not needed
  195. * [130] improve locking for compile
  196. * [137] [138] changed the coding way of unlinking list. fixed ttl expires dead loop
  197. * [114] gc expired items, new ini: xcache.ttl xcache.gc_interval xcache.var_ttl …
  198. * [126] fix xcache_isset reported by http://forum.lighttpd.net/topic/1397
  199. * [119] fix leak in xcache.test=1; XCACHE_VERSION/XCACHE_MODULES length off-by-one
  200. * [118] show gc countdown in admin page
  201. * [113] zts build fix
  202. * [112] avoid crash when OOM on mem_(calloc|realloc|strndup)
  203. * [108] update percent bar to vertical/avail
  204. * [107] show XCache version in admin page
  205. * [105] trigger jit on $_SERVER when needed
  206. * [101] note: xcache.mmap_path is a file
  207. * [100] FIX: alloc'ed wrong size for string on restore
  208. * [99] sohosin compatible & TSRM fix.
  209. * [96] remove tailing \0 in filename of administration html output. reported by …
  210. * [94] PHP_5_2: __tostring cache was MFH by php
  211. * [93] try to show both count/size assert before abort
  212. * [92] PHP_5_2: auto module_global is maintained by php engine
  213. * [90] [91] kill compiler warnings
  214. * [87] XCACHE_INDENT fallback
  215. * [84] handle without inodes
  216. * [79] fix messy XCACHE_MAP_FAILED checking
  217. * [78] catch up with PHP_5_2, zend_property_info.ce
  218. * [77] leakcheck
  219. (not all changesets is list here)