|
26 | 26 | <email>pinepain@gmail.com</email> |
27 | 27 | <active>yes</active> |
28 | 28 | </lead> |
29 | | - <date>2017-03-05</date> |
30 | | - <time>20:48:11</time> |
| 29 | + <date>2017-04-22</date> |
| 30 | + <time>18:58:58</time> |
31 | 31 | <version> |
32 | | - <release>0.1.3</release> |
33 | | - <api>0.1.3</api> |
| 32 | + <release>0.1.4</release> |
| 33 | + <api>0.1.4</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 adds low-level optimizations, simplify some internal methods and fix few bugs. For more details see |
42 | | - change list below. |
| 41 | + This release adds low-level optimizations, simplify some internal methods and fix few bugs. For more details see change list below. |
43 | 42 |
|
44 | | - As of this release, V8 >= 5.9.5 required. |
| 43 | + As of this release, V8 >= 6.0.45 required. |
45 | 44 |
|
46 | 45 | * - BC-breaking or potentially BC-breaking changes |
47 | 46 |
|
48 | 47 | Changes to public API and other important changes which may affect end-user: |
49 | 48 |
|
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. |
| 49 | + - Raise libv8 required version to 6.0.45; |
| 50 | + - Add V8\Value::InstanceOf() method; |
| 51 | + - Add V8\ObjectValue::SetNativeDataProperty() method; |
| 52 | + - Add V8\PropertyFilter, V8\KeyCollectionMode and V8\IndexFilter enums; |
| 53 | + - Add property filtering support to V8\ObjectValue::Get{Property,OwnProperty}Names(); |
| 54 | + - Consistently expose all well-known symbols on V8\SymbolValue; |
| 55 | + - Setting boolean props on StackFrame with valid type; |
| 56 | + - Remove non-working and non-supporting $attributes argument from V8\StringValue constructor in stubs; |
| 57 | + - * Add V8\ConstructorBehavior and support for it in V8\FunctionTemplate constructor; |
| 58 | + - * Add signature support in V8\FunctionTemplate constructor via $receiver; |
| 59 | + - * Add signature support to Template:SetNativeDataProperty() and ObjectTemplate::SetAccessor() via $receiver; |
| 60 | + - * Remove require $isolate parameter from V8\Value::TypeOf(); |
| 61 | + - * Remove deprecated V8\Context::EstimatedSize() method; |
| 62 | + - * Remove deprecated V8\StackTrace\StackTraceOptions; |
| 63 | + - * Remove deprecated V8\StackTrace::AsArray(); |
| 64 | + - * Require Context explicitly in V8\Isolate::ThrowException(); |
| 65 | + - * Rename V8\Exceptions\GenericException to V8\Exceptions\Exception; |
| 66 | + - * Rename V8\Exceptions\AbstractResourceLimitException to V8\Exceptions\ResourceLimitException; |
| 67 | + - internal: Check whether returned context is empty in V8\Isolate\GetEnteredContext() instead of checking InContext(); |
60 | 68 | </notes> |
61 | 69 | <contents> |
62 | 70 | <dir name="/"> |
63 | 71 | <!-- begin files list --> |
64 | 72 | <file name="src/php_v8_a.cc" role="src" /> |
65 | 73 | <file name="src/php_v8_a.h" role="src" /> |
66 | | - <file name="src/php_v8_access_control.cc" role="src" /> |
67 | | - <file name="src/php_v8_access_control.h" role="src" /> |
68 | | - <file name="src/php_v8_access_type.cc" role="src" /> |
69 | | - <file name="src/php_v8_access_type.h" role="src" /> |
70 | 74 | <file name="src/php_v8_array.cc" role="src" /> |
71 | 75 | <file name="src/php_v8_array.h" role="src" /> |
72 | 76 | <file name="src/php_v8_boolean.cc" role="src" /> |
|
79 | 83 | <file name="src/php_v8_callback_info.h" role="src" /> |
80 | 84 | <file name="src/php_v8_callbacks.cc" role="src" /> |
81 | 85 | <file name="src/php_v8_callbacks.h" role="src" /> |
82 | | - <file name="src/php_v8_compile_options.cc" role="src" /> |
83 | | - <file name="src/php_v8_compile_options.h" role="src" /> |
84 | 86 | <file name="src/php_v8_context.cc" role="src" /> |
85 | 87 | <file name="src/php_v8_context.h" role="src" /> |
86 | 88 | <file name="src/php_v8_data.cc" role="src" /> |
87 | 89 | <file name="src/php_v8_data.h" role="src" /> |
88 | 90 | <file name="src/php_v8_date.cc" role="src" /> |
89 | 91 | <file name="src/php_v8_date.h" role="src" /> |
| 92 | + <file name="src/php_v8_enums.cc" role="src" /> |
| 93 | + <file name="src/php_v8_enums.h" role="src" /> |
90 | 94 | <file name="src/php_v8_exception.cc" role="src" /> |
91 | 95 | <file name="src/php_v8_exception.h" role="src" /> |
92 | 96 | <file name="src/php_v8_exceptions.cc" role="src" /> |
|
107 | 111 | <file name="src/php_v8_int32.h" role="src" /> |
108 | 112 | <file name="src/php_v8_integer.cc" role="src" /> |
109 | 113 | <file name="src/php_v8_integer.h" role="src" /> |
110 | | - <file name="src/php_v8_integrity_level.cc" role="src" /> |
111 | | - <file name="src/php_v8_integrity_level.h" role="src" /> |
112 | 114 | <file name="src/php_v8_isolate.cc" role="src" /> |
113 | 115 | <file name="src/php_v8_isolate.h" role="src" /> |
114 | 116 | <file name="src/php_v8_isolate_limits.cc" role="src" /> |
|
133 | 135 | <file name="src/php_v8_object_template.h" role="src" /> |
134 | 136 | <file name="src/php_v8_primitive.cc" role="src" /> |
135 | 137 | <file name="src/php_v8_primitive.h" role="src" /> |
136 | | - <file name="src/php_v8_property_attribute.cc" role="src" /> |
137 | | - <file name="src/php_v8_property_attribute.h" role="src" /> |
138 | 138 | <file name="src/php_v8_property_callback_info.cc" role="src" /> |
139 | 139 | <file name="src/php_v8_property_callback_info.h" role="src" /> |
140 | | - <file name="src/php_v8_property_handler_flags.cc" role="src" /> |
141 | | - <file name="src/php_v8_property_handler_flags.h" role="src" /> |
142 | 140 | <file name="src/php_v8_regexp.cc" role="src" /> |
143 | 141 | <file name="src/php_v8_regexp.h" role="src" /> |
144 | 142 | <file name="src/php_v8_return_value.cc" role="src" /> |
|
188 | 186 | <file name="tests/.v8-helpers.php" role="test" /> |
189 | 187 | <file name="tests/001-verify-method-parameters-type.phpt" role="test" /> |
190 | 188 | <file name="tests/001.phpt" role="test" /> |
| 189 | + <file name="tests/002-enums.phpt" role="test" /> |
191 | 190 | <file name="tests/003-V8ObjectTemplate_recursive_chain.phpt" role="test" /> |
192 | 191 | <file name="tests/003-V8ObjectTemplate_recursive_global.phpt" role="test" /> |
193 | 192 | <file name="tests/003-V8ObjectTemplate_recursive_self.phpt" role="test" /> |
|
197 | 196 | <file name="tests/005-V8FunctionTemplate_external_memory.phpt" role="test" /> |
198 | 197 | <file name="tests/005-V8ObjectTemplate_external_memory.phpt" role="test" /> |
199 | 198 | <file name="tests/005-V8ObjectValue_external_memory.phpt" role="test" /> |
200 | | - <file name="tests/V8AccessControl.phpt" role="test" /> |
201 | 199 | <file name="tests/V8ArrayObject.phpt" role="test" /> |
202 | 200 | <file name="tests/V8ArrayObject_Length.phpt" role="test" /> |
203 | 201 | <file name="tests/V8Boolean.phpt" role="test" /> |
204 | 202 | <file name="tests/V8BooleanObject.phpt" role="test" /> |
205 | 203 | <file name="tests/V8CachedData.phpt" role="test" /> |
206 | | - <file name="tests/V8CompileOptions.phpt" role="test" /> |
207 | 204 | <file name="tests/V8Context.phpt" role="test" /> |
208 | 205 | <file name="tests/V8Context_GlobalObject.phpt" role="test" /> |
| 206 | + <file name="tests/V8Context_SetSecurityToken.phpt" role="test" /> |
209 | 207 | <file name="tests/V8Context_invalid_ctor_arg_type.phpt" role="test" /> |
210 | 208 | <file name="tests/V8Context_reference_lifecycle.phpt" role="test" /> |
211 | 209 | <file name="tests/V8Context_weakness.phpt" role="test" /> |
|
223 | 221 | <file name="tests/V8FunctionObject.phpt" role="test" /> |
224 | 222 | <file name="tests/V8FunctionObject_Call.phpt" role="test" /> |
225 | 223 | <file name="tests/V8FunctionObject_Call_bad_args.phpt" role="test" /> |
| 224 | + <file name="tests/V8FunctionObject_constructor_behavior.phpt" role="test" /> |
226 | 225 | <file name="tests/V8FunctionObject_die.phpt" role="test" /> |
227 | 226 | <file name="tests/V8FunctionObject_die_different_isolates.phpt" role="test" /> |
228 | 227 | <file name="tests/V8FunctionObject_die_nested.phpt" role="test" /> |
|
231 | 230 | <file name="tests/V8FunctionTemplate_GetFunction.phpt" role="test" /> |
232 | 231 | <file name="tests/V8FunctionTemplate_SetCallHandler.phpt" role="test" /> |
233 | 232 | <file name="tests/V8FunctionTemplate_callback_weakness.phpt" role="test" /> |
| 233 | + <file name="tests/V8FunctionTemplate_constructor_behavior.phpt" role="test" /> |
| 234 | + <file name="tests/V8FunctionTemplate_constructor_receiver.phpt" role="test" /> |
234 | 235 | <file name="tests/V8FunctionTemplate_exception_in_php.phpt" role="test" /> |
235 | 236 | <file name="tests/V8FunctionTemplate_invalid_ctor_arg_type.phpt" role="test" /> |
236 | 237 | <file name="tests/V8FunctionTemplate_require_implementation.phpt" role="test" /> |
|
239 | 240 | <file name="tests/V8IndexedPropertyHandlerConfiguration.phpt" role="test" /> |
240 | 241 | <file name="tests/V8Int32Value.phpt" role="test" /> |
241 | 242 | <file name="tests/V8IntegerValue.phpt" role="test" /> |
242 | | - <file name="tests/V8IntegrityLevel.phpt" role="test" /> |
243 | 243 | <file name="tests/V8Isolate.phpt" role="test" /> |
| 244 | + <file name="tests/V8Isolate_GetEnteredContext.phpt" role="test" /> |
244 | 245 | <file name="tests/V8Isolate_IsDead.phpt" role="test" /> |
245 | 246 | <file name="tests/V8Isolate_IsInUse.phpt" role="test" /> |
246 | 247 | <file name="tests/V8Isolate_ThrowException.phpt" role="test" /> |
|
262 | 263 | <file name="tests/V8NumberObject.phpt" role="test" /> |
263 | 264 | <file name="tests/V8NumberValue.phpt" role="test" /> |
264 | 265 | <file name="tests/V8ObjectTemplate.phpt" role="test" /> |
265 | | - <file name="tests/V8ObjectTemplate_MarkAsUndetectable.phpt" role="test" /> |
266 | 266 | <file name="tests/V8ObjectTemplate_Set.phpt" role="test" /> |
267 | | - <file name="tests/V8ObjectTemplate_SetAccessCheckCallback.phpt" role="test" /> |
268 | | - <file name="tests/V8ObjectTemplate_SetAccessCheckCallback_func_args.phpt" role="test" /> |
| 267 | + <file name="tests/V8ObjectTemplate_SetAccessor_receiver.phpt" role="test" /> |
269 | 268 | <file name="tests/V8ObjectTemplate_SetCallAsFunctionHandler.phpt" role="test" /> |
270 | 269 | <file name="tests/V8ObjectTemplate_SetHandlerForIndexedProperty.phpt" role="test" /> |
271 | 270 | <file name="tests/V8ObjectTemplate_SetHandlerForNamedProperty.phpt" role="test" /> |
272 | 271 | <file name="tests/V8ObjectTemplate_SetHandler_both.phpt" role="test" /> |
| 272 | + <file name="tests/V8ObjectTemplate_SetNativeDataProperty.phpt" role="test" /> |
273 | 273 | <file name="tests/V8ObjectTemplate_invalid_ctor_arg_type.phpt" role="test" /> |
274 | 274 | <file name="tests/V8ObjectValue.phpt" role="test" /> |
275 | 275 | <file name="tests/V8ObjectValue_Get.phpt" role="test" /> |
276 | 276 | <file name="tests/V8ObjectValue_IsArgumentsObject.phpt" role="test" /> |
277 | 277 | <file name="tests/V8ObjectValue_IsNativeError.phpt" role="test" /> |
278 | 278 | <file name="tests/V8ObjectValue_SetAccessor.phpt" role="test" /> |
279 | 279 | <file name="tests/V8ObjectValue_SetIntegrityLevel.phpt" role="test" /> |
| 280 | + <file name="tests/V8ObjectValue_SetNativeDataProperty.phpt" role="test" /> |
| 281 | + <file name="tests/V8ObjectValue_SetNativeDataProperty_from_template.phpt" role="test" /> |
280 | 282 | <file name="tests/V8PrimitiveValue.phpt" role="test" /> |
281 | | - <file name="tests/V8PropertyAttribute.phpt" role="test" /> |
282 | 283 | <file name="tests/V8PropertyCallbackInfo.phpt" role="test" /> |
283 | | - <file name="tests/V8PropertyHandlerFlags.phpt" role="test" /> |
284 | | - <file name="tests/V8RegExpFlags.phpt" role="test" /> |
285 | 284 | <file name="tests/V8RegExpObject.phpt" role="test" /> |
286 | 285 | <file name="tests/V8ReturnValue.phpt" role="test" /> |
287 | 286 | <file name="tests/V8ReturnValue_context.phpt" role="test" /> |
|
301 | 300 | <file name="tests/V8Source.phpt" role="test" /> |
302 | 301 | <file name="tests/V8StackFrame.phpt" role="test" /> |
303 | 302 | <file name="tests/V8StackTrace.phpt" role="test" /> |
304 | | - <file name="tests/V8StackTraceOptions.phpt" role="test" /> |
305 | 303 | <file name="tests/V8StackTrace_CurrentStackTrace.phpt" role="test" /> |
306 | 304 | <file name="tests/V8StartupData_CreateFromSource.phpt" role="test" /> |
307 | 305 | <file name="tests/V8StringObject.phpt" role="test" /> |
|
327 | 325 | <file name="stubs/src/BooleanObject.php" role="doc" /> |
328 | 326 | <file name="stubs/src/BooleanValue.php" role="doc" /> |
329 | 327 | <file name="stubs/src/CallbackInfo.php" role="doc" /> |
| 328 | + <file name="stubs/src/ConstructorBehavior.php" role="doc" /> |
330 | 329 | <file name="stubs/src/Context.php" role="doc" /> |
331 | 330 | <file name="stubs/src/Data.php" role="doc" /> |
332 | 331 | <file name="stubs/src/DateObject.php" role="doc" /> |
333 | 332 | <file name="stubs/src/Exception.php" role="doc" /> |
334 | | - <file name="stubs/src/Exceptions/AbstractResourceLimitException.php" role="doc" /> |
335 | | - <file name="stubs/src/Exceptions/GenericException.php" role="doc" /> |
| 333 | + <file name="stubs/src/Exceptions/Exception.php" role="doc" /> |
336 | 334 | <file name="stubs/src/Exceptions/MemoryLimitException.php" role="doc" /> |
| 335 | + <file name="stubs/src/Exceptions/ResourceLimitException.php" role="doc" /> |
337 | 336 | <file name="stubs/src/Exceptions/TerminationException.php" role="doc" /> |
338 | 337 | <file name="stubs/src/Exceptions/TimeLimitException.php" role="doc" /> |
339 | 338 | <file name="stubs/src/Exceptions/TryCatchException.php" role="doc" /> |
|
342 | 341 | <file name="stubs/src/FunctionObject.php" role="doc" /> |
343 | 342 | <file name="stubs/src/FunctionTemplate.php" role="doc" /> |
344 | 343 | <file name="stubs/src/HeapStatistics.php" role="doc" /> |
| 344 | + <file name="stubs/src/IndexFilter.php" role="doc" /> |
345 | 345 | <file name="stubs/src/IndexedPropertyHandlerConfiguration.php" role="doc" /> |
346 | 346 | <file name="stubs/src/Int32Value.php" role="doc" /> |
347 | 347 | <file name="stubs/src/IntegerValue.php" role="doc" /> |
348 | 348 | <file name="stubs/src/IntegrityLevel.php" role="doc" /> |
349 | 349 | <file name="stubs/src/Isolate.php" role="doc" /> |
| 350 | + <file name="stubs/src/KeyCollectionMode.php" role="doc" /> |
350 | 351 | <file name="stubs/src/MapObject.php" role="doc" /> |
351 | 352 | <file name="stubs/src/Message.php" role="doc" /> |
352 | 353 | <file name="stubs/src/NameValue.php" role="doc" /> |
|
359 | 360 | <file name="stubs/src/PrimitiveValue.php" role="doc" /> |
360 | 361 | <file name="stubs/src/PropertyAttribute.php" role="doc" /> |
361 | 362 | <file name="stubs/src/PropertyCallbackInfo.php" role="doc" /> |
| 363 | + <file name="stubs/src/PropertyFilter.php" role="doc" /> |
362 | 364 | <file name="stubs/src/PropertyHandlerFlags.php" role="doc" /> |
363 | 365 | <file name="stubs/src/RegExp/Flags.php" role="doc" /> |
364 | 366 | <file name="stubs/src/RegExpObject.php" role="doc" /> |
|
373 | 375 | <file name="stubs/src/SetObject.php" role="doc" /> |
374 | 376 | <file name="stubs/src/StackFrame.php" role="doc" /> |
375 | 377 | <file name="stubs/src/StackTrace.php" role="doc" /> |
376 | | - <file name="stubs/src/StackTrace/StackTraceOptions.php" role="doc" /> |
377 | 378 | <file name="stubs/src/StartupData.php" role="doc" /> |
378 | 379 | <file name="stubs/src/StringObject.php" role="doc" /> |
379 | 380 | <file name="stubs/src/StringValue.php" role="doc" /> |
|
0 commit comments