|
11 | 11 | ~ http://opensource.org/licenses/MIT |
12 | 12 | --> |
13 | 13 |
|
14 | | -<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:tasks="http://pear.php.net/dtd/tasks-1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" packagerversion="1.9.4" version="2.0" xsi:schemaLocation="http://pear.php.net/dtd/tasks-1.0 http://pear.php.net/dtd/tasks-1.0.xsd http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> |
| 14 | +<package xmlns="http://pear.php.net/dtd/package-2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 15 | + packagerversion="1.9.4" version="2.0" |
| 16 | + xsi:schemaLocation="http://pear.php.net/dtd/package-2.0 http://pear.php.net/dtd/package-2.0.xsd"> |
15 | 17 | <name>v8</name> |
16 | 18 | <channel>pecl.php.net</channel> |
17 | 19 | <summary>V8 JavaScript engine API for PHP</summary> |
|
24 | 26 | |
25 | 27 | <active>yes</active> |
26 | 28 | </lead> |
27 | | - <date>2017-02-18</date> |
28 | | - <time>14:14:21</time> |
| 29 | + <date>2017-03-05</date> |
| 30 | + <time>20:48:11</time> |
29 | 31 | <version> |
30 | | - <release>0.1.2</release> |
31 | | - <api>0.1.2</api> |
| 32 | + <release>0.1.3</release> |
| 33 | + <api>0.1.3</api> |
32 | 34 | </version> |
33 | 35 | <stability> |
34 | 36 | <release>stable</release> |
35 | 37 | <api>stable</api> |
36 | 38 | </stability> |
37 | 39 | <license uri="https://opensource.org/licenses/mit">The MIT License (MIT)</license> |
38 | 40 | <notes> |
39 | | - This release adds script compilation and caching. Also more new methods added and some internal logic refactored. |
40 | | - See detailed changes below. |
| 41 | + This release adds low-level optimizations, simplify some internal methods and fix few bugs. For more details see |
| 42 | + change list below. |
41 | 43 |
|
42 | | - As of this release, V8 >= 5.8.168 required. |
| 44 | + As of this release, V8 >= 5.9.5 required. |
43 | 45 |
|
44 | | - * - BC-breaking or potentially BC-breaking changes. |
| 46 | + * - BC-breaking or potentially BC-breaking changes |
45 | 47 |
|
46 | 48 | Changes to public API and other important changes which may affect end-user: |
47 | 49 |
|
48 | | - - * Add $is_wasm and $is_module options to V8\ScriptOriginOptions and V8\ScriptOrigin; |
49 | | - - * Remove non-standard V8\Scrip::{getSource,getOrigin}; |
50 | | - - * Remove V8\ObjectValue::{Get,Set,Has,Delete,CreateDataProperty}Indexed methods; |
51 | | - - * Remove non-working V8\Context extensions support; |
52 | | - - * Handle V8\IntegerValue sub-types when returning values from V8, fixes #19; |
53 | | - - Add V8\UnboundScript class; |
54 | | - - Add V8\ScriptCompiler\CachedData class; |
55 | | - - Add V8\ScriptCompiler\CompileOptions class; |
56 | | - - Add V8\ScriptCompiler\Source class; |
57 | | - - Add V8\ScriptCompiler; |
58 | | - - Add V8\SymbolValue::GetToPrimitive() method; |
59 | | - - Add V8\Value::IsNullOrUndefinedl() method; |
60 | | - - Add more V8\Value::Is*() methods; |
61 | | - - Add V8\MapObject; |
62 | | - - Add V8\SetObject; |
63 | | - - Fix obj and func templates external memory adjusting. |
| 50 | + - * Replace V8\Isolate::GetCurrentContext with V8\Isolate::GetEnteredContext(); |
| 51 | + - * Remove V8\ObjectValue::CreationContext(), use V8\ObjectValue::GetContext(); |
| 52 | + - Add V8\PropertyCallbackInfo::ShouldThrowOnError() method; |
| 53 | + - Add V8\FunctionCallbackInfo::NewTarget() method; |
| 54 | + - V8\ReturnValue now explicitly holds isolate and context which could be accessed outside of calling context; |
| 55 | + - Fix potential problems with V8\FunctionCallbackInfo and V8\PropertyCallbackInfo when used outside calling scope; |
| 56 | + - Fix leak when V8\ScriptCompiler::CompileFunctionInContext() invoked with arguments and/or context extensions; |
| 57 | + - Fix segfault when abruptly exiting from isolate which entered multiple time or from multiple nested isolates; |
| 58 | + - Add V8\Exceptions\ValueException to stubs; |
| 59 | + - Remove $global_template and $global_object private props from V8\Context. |
64 | 60 | </notes> |
65 | 61 | <contents> |
66 | 62 | <dir name="/"> |
|
211 | 207 | <file name="tests/V8Context.phpt" role="test" /> |
212 | 208 | <file name="tests/V8Context_GlobalObject.phpt" role="test" /> |
213 | 209 | <file name="tests/V8Context_invalid_ctor_arg_type.phpt" role="test" /> |
| 210 | + <file name="tests/V8Context_reference_lifecycle.phpt" role="test" /> |
214 | 211 | <file name="tests/V8Context_weakness.phpt" role="test" /> |
215 | 212 | <file name="tests/V8Data.phpt" role="test" /> |
216 | 213 | <file name="tests/V8DateObject.phpt" role="test" /> |
|
227 | 224 | <file name="tests/V8FunctionObject_Call.phpt" role="test" /> |
228 | 225 | <file name="tests/V8FunctionObject_Call_bad_args.phpt" role="test" /> |
229 | 226 | <file name="tests/V8FunctionObject_die.phpt" role="test" /> |
| 227 | + <file name="tests/V8FunctionObject_die_different_isolates.phpt" role="test" /> |
| 228 | + <file name="tests/V8FunctionObject_die_nested.phpt" role="test" /> |
230 | 229 | <file name="tests/V8FunctionObject_weakness_multiple.phpt" role="test" /> |
231 | 230 | <file name="tests/V8FunctionTemplate.phpt" role="test" /> |
232 | 231 | <file name="tests/V8FunctionTemplate_GetFunction.phpt" role="test" /> |
|
257 | 256 | <file name="tests/V8Isolate_snapshot_support.phpt" role="test" /> |
258 | 257 | <file name="tests/V8MapObject.phpt" role="test" /> |
259 | 258 | <file name="tests/V8Message.phpt" role="test" /> |
260 | | - <file name="tests/V8Module.sh" role="test" /> |
261 | | - <file name="tests/V8Module_oom.sh" role="test" /> |
262 | 259 | <file name="tests/V8NameValue.phpt" role="test" /> |
263 | 260 | <file name="tests/V8NamedPropertyHandlerConfiguration.phpt" role="test" /> |
264 | 261 | <file name="tests/V8NullValue.phpt" role="test" /> |
|
282 | 279 | <file name="tests/V8ObjectValue_SetIntegrityLevel.phpt" role="test" /> |
283 | 280 | <file name="tests/V8PrimitiveValue.phpt" role="test" /> |
284 | 281 | <file name="tests/V8PropertyAttribute.phpt" role="test" /> |
| 282 | + <file name="tests/V8PropertyCallbackInfo.phpt" role="test" /> |
285 | 283 | <file name="tests/V8PropertyHandlerFlags.phpt" role="test" /> |
286 | 284 | <file name="tests/V8RegExpFlags.phpt" role="test" /> |
287 | 285 | <file name="tests/V8RegExpObject.phpt" role="test" /> |
|
291 | 289 | <file name="tests/V8ScriptCompiler.phpt" role="test" /> |
292 | 290 | <file name="tests/V8ScriptCompiler_Compile.phpt" role="test" /> |
293 | 291 | <file name="tests/V8ScriptCompiler_CompileFunctionInContext.phpt" role="test" /> |
294 | | - <file name="tests/V8ScriptCompiler_CompileModule.sh" role="test" /> |
295 | 292 | <file name="tests/V8ScriptCompiler_CompileUnbound.phpt" role="test" /> |
296 | 293 | <file name="tests/V8ScriptOrigin.phpt" role="test" /> |
297 | 294 | <file name="tests/V8ScriptOriginOptions.phpt" role="test" /> |
298 | 295 | <file name="tests/V8Script_Run.phpt" role="test" /> |
299 | 296 | <file name="tests/V8Script_Run_out_of_memory.phpt" role="test" /> |
| 297 | + <file name="tests/V8Script_Run_uncaught_exception.phpt" role="test" /> |
300 | 298 | <file name="tests/V8Script_exit_during_script_execution.phpt" role="test" /> |
301 | 299 | <file name="tests/V8Script_terminate_script_execution.phpt" role="test" /> |
302 | 300 | <file name="tests/V8SetObject.phpt" role="test" /> |
|
339 | 337 | <file name="stubs/src/Exceptions/TerminationException.php" role="doc" /> |
340 | 338 | <file name="stubs/src/Exceptions/TimeLimitException.php" role="doc" /> |
341 | 339 | <file name="stubs/src/Exceptions/TryCatchException.php" role="doc" /> |
| 340 | + <file name="stubs/src/Exceptions/ValueException.php" role="doc" /> |
342 | 341 | <file name="stubs/src/FunctionCallbackInfo.php" role="doc" /> |
343 | 342 | <file name="stubs/src/FunctionObject.php" role="doc" /> |
344 | 343 | <file name="stubs/src/FunctionTemplate.php" role="doc" /> |
|
0 commit comments