|
26 | 26 | <email>pinepain@gmail.com</email>
|
27 | 27 | <active>yes</active>
|
28 | 28 | </lead>
|
29 |
| - <date>2017-10-23</date> |
30 |
| - <time>20:20:32</time> |
| 29 | + <date>2018-02-27</date> |
| 30 | + <time>21:20:35</time> |
31 | 31 | <version>
|
32 |
| - <release>0.2.1</release> |
33 |
| - <api>0.2.1</api> |
| 32 | + <release>0.2.2</release> |
| 33 | + <api>0.2.2</api> |
34 | 34 | </version>
|
35 | 35 | <stability>
|
36 | 36 | <release>stable</release>
|
37 | 37 | <api>stable</api>
|
38 | 38 | </stability>
|
39 | 39 | <license uri="https://opensource.org/licenses/mit">The MIT License (MIT)</license>
|
40 | 40 | <notes>
|
41 |
| - This release brings stability and improvements. It contains some minor BC-breaking changes which should not affect general public. See full change log below for details |
| 41 | + I'm excited to announce that starting from this release documentation is available at |
| 42 | + https://php-v8.readthedocs.io. |
42 | 43 |
|
43 |
| - Changelog: |
| 44 | + Read The Docs is awesome place to host documentation and Sphinx would help to create decent documentation. |
| 45 | + Contributors welcomed! |
| 46 | + |
| 47 | + This is the last version that supports PHP 7.1. Nex versions wil reqiure PHP >= 7.2 unless further notice. |
44 | 48 |
|
45 | 49 | BC-breaking changes:
|
46 | 50 |
|
47 |
| - - require libv8 >= 6.4.6; |
48 |
| - - remove UnboundScript::kNoScriptId const and return null in getId() on no data |
49 |
| - - change ScriptCompiler::cachedDataVersionTag(): int method name and return type to be ScriptCompiler::getCachedDataVersionTag(): float; |
50 |
| - - remove StartupData::getRawSize() method; |
| 51 | + - Upgrade v8 version to 6.6.313 |
| 52 | + - Remove deprecated and non-working ScriptCompiler cache options |
| 53 | + - Rework PromiseObject |
| 54 | + - Add ValueObject::isBigInt64Array() and ValueObject::isBigUint64Array methods |
51 | 55 |
|
52 | 56 | Non-breaking changes:
|
53 | 57 |
|
54 |
| - - fix segfault when invalid startup data passed to isolate; |
55 |
| - - fix external exception lost when it has refcount 1; |
56 |
| - - change script compiler version tag generation to take into account changes to extension internals; |
57 |
| - - add CallbackInfoInterface; |
58 |
| - - add support for ScriptCompiler::kProduceFullCodeCache; |
59 |
| - - add {Isolate,Context}::within() as optimization solution; |
60 |
| - - add StartupData::isRejected(); |
61 |
| - - add docs skeleton. |
| 58 | + - Add number of native and detached contexts to HeapStatistics |
| 59 | + - Add support to produce code cache |
| 60 | + - Add ScriptCompiler::OPTION_EAGER_COMPILE option |
| 61 | + - Add support for integer-<strings for ObjectValue::GetOwnPropertyNames and `ObjectValue::GetPropertyNames |
| 62 | + - Add {Template,ObjectValue}:setLazyDataProperty() method |
| 63 | + |
62 | 64 | </notes>
|
63 | 65 | <contents>
|
64 | 66 | <dir name="/">
|
|
133 | 135 | <file name="src/php_v8_primitive.h" role="src" />
|
134 | 136 | <file name="src/php_v8_promise.cc" role="src" />
|
135 | 137 | <file name="src/php_v8_promise.h" role="src" />
|
| 138 | + <file name="src/php_v8_promise_resolver.cc" role="src" /> |
| 139 | + <file name="src/php_v8_promise_resolver.h" role="src" /> |
136 | 140 | <file name="src/php_v8_property_callback_info.cc" role="src" />
|
137 | 141 | <file name="src/php_v8_property_callback_info.h" role="src" />
|
138 | 142 | <file name="src/php_v8_proxy.cc" role="src" />
|
|
201 | 205 | <file name="tests/005-V8FunctionTemplate_external_memory.phpt" role="test" />
|
202 | 206 | <file name="tests/005-V8ObjectTemplate_external_memory.phpt" role="test" />
|
203 | 207 | <file name="tests/005-V8ObjectValue_external_memory.phpt" role="test" />
|
| 208 | + <file name="tests/006-PromiseObject.phpt" role="test" /> |
| 209 | + <file name="tests/006-PromiseObject_methods.phpt" role="test" /> |
| 210 | + <file name="tests/006-ResolverObject.phpt" role="test" /> |
204 | 211 | <file name="tests/010-no-value-self-cleanup-on-shutdown.phpt" role="test" />
|
205 | 212 | <file name="tests/ArrayObject.phpt" role="test" />
|
206 | 213 | <file name="tests/ArrayObject_length.phpt" role="test" />
|
|
285 | 292 | <file name="tests/ObjectTemplate_setHandlerForIndexedProperty.phpt" role="test" />
|
286 | 293 | <file name="tests/ObjectTemplate_setHandlerForNamedProperty.phpt" role="test" />
|
287 | 294 | <file name="tests/ObjectTemplate_setHandler_both.phpt" role="test" />
|
| 295 | + <file name="tests/ObjectTemplate_setLazyDataProperty.phpt" role="test" /> |
288 | 296 | <file name="tests/ObjectTemplate_setNativeDataProperty.phpt" role="test" />
|
289 | 297 | <file name="tests/ObjectValue.phpt" role="test" />
|
290 | 298 | <file name="tests/ObjectValue_get.phpt" role="test" />
|
291 | 299 | <file name="tests/ObjectValue_isArgumentsObject.phpt" role="test" />
|
292 | 300 | <file name="tests/ObjectValue_isNativeError.phpt" role="test" />
|
293 | 301 | <file name="tests/ObjectValue_setAccessor.phpt" role="test" />
|
294 | 302 | <file name="tests/ObjectValue_setIntegrityLevel.phpt" role="test" />
|
| 303 | + <file name="tests/ObjectValue_setLazyDataProperty.phpt" role="test" /> |
295 | 304 | <file name="tests/ObjectValue_setNativeDataProperty.phpt" role="test" />
|
296 | 305 | <file name="tests/ObjectValue_setNativeDataProperty_from_template.phpt" role="test" />
|
297 |
| - <file name="tests/PromiseObject.phpt" role="test" /> |
298 |
| - <file name="tests/PromiseObject_methods.phpt" role="test" /> |
299 | 306 | <file name="tests/PropertyCallbackInfo.phpt" role="test" />
|
300 | 307 | <file name="tests/ProxyObject.phpt" role="test" />
|
301 | 308 | <file name="tests/ProxyObject_methods.phpt" role="test" />
|
|
307 | 314 | <file name="tests/ScriptCompiler_compile.phpt" role="test" />
|
308 | 315 | <file name="tests/ScriptCompiler_compileFunctionInContext.phpt" role="test" />
|
309 | 316 | <file name="tests/ScriptCompiler_compileUnbound.phpt" role="test" />
|
| 317 | + <file name="tests/ScriptCompiler_createCodeCache.phpt" role="test" /> |
310 | 318 | <file name="tests/ScriptOrigin.phpt" role="test" />
|
311 | 319 | <file name="tests/ScriptOriginOptions.phpt" role="test" />
|
312 | 320 | <file name="tests/Script_exit_during_script_execution.phpt" role="test" />
|
|
378 | 386 | <file name="stubs/src/ObjectValue.php" role="doc" />
|
379 | 387 | <file name="stubs/src/PrimitiveValue.php" role="doc" />
|
380 | 388 | <file name="stubs/src/PromiseObject.php" role="doc" />
|
| 389 | + <file name="stubs/src/PromiseObject/ResolverObject.php" role="doc" /> |
381 | 390 | <file name="stubs/src/PropertyAttribute.php" role="doc" />
|
382 | 391 | <file name="stubs/src/PropertyCallbackInfo.php" role="doc" />
|
383 | 392 | <file name="stubs/src/PropertyFilter.php" role="doc" />
|
|
0 commit comments