source: trunk/ChangeLog

Last change on this file was 1572, checked in by moo, 12 days ago

support for reference value

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