Skip to content
This repository was archived by the owner on Mar 29, 2024. It is now read-only.

Commit fb6af08

Browse files
committed
Prepare 0.1.8 release
1 parent d488fa8 commit fb6af08

File tree

2 files changed

+56
-55
lines changed

2 files changed

+56
-55
lines changed

package.xml

+54-53
Original file line numberDiff line numberDiff line change
@@ -26,24 +26,24 @@
2626
<email>pinepain@gmail.com</email>
2727
<active>yes</active>
2828
</lead>
29-
<date>2017-07-17</date>
30-
<time>19:04:05</time>
29+
<date>2017-09-01</date>
30+
<time>17:02:09</time>
3131
<version>
32-
<release>0.1.8</release>
33-
<api>0.1.8</api>
32+
<release>0.1.9</release>
33+
<api>0.1.9</api>
3434
</version>
3535
<stability>
3636
<release>stable</release>
3737
<api>stable</api>
3838
</stability>
3939
<license uri="https://opensource.org/licenses/mit">The MIT License (MIT)</license>
4040
<notes>
41-
This release extends and clarify existent API and does not introduce any BC-breaking changes.
41+
Refactor methods name to follow PSR-2 camelCase convention.
4242

43-
Changes list:
43+
NOTE: This is the last release that supports PHP 7.0.
4444

45-
- Change V8\Exception::*Error() return type to V8\ObjectValue as the only possible type;
46-
- Add external exception wiring option to V8\Isolate::ThrowException().
45+
Changes list:
46+
- refactor methods name to follow PSR-2 camelCase convention;
4747
</notes>
4848
<contents>
4949
<dir name="/">
@@ -166,71 +166,70 @@
166166
<file name="tests/.tracking_dtors.php" role="test" />
167167
<file name="tests/.v8-helpers.php" role="test" />
168168
<file name="tests/001-V8_extension_info.phpt" role="test" />
169+
<file name="tests/001-verify-method-case.phpt" role="test" />
169170
<file name="tests/001-verify-method-parameters-type.phpt" role="test" />
170171
<file name="tests/001.phpt" role="test" />
171172
<file name="tests/002-enums.phpt" role="test" />
172173
<file name="tests/003-V8ObjectTemplate_recursive_chain.phpt" role="test" />
173174
<file name="tests/003-V8ObjectTemplate_recursive_global.phpt" role="test" />
174175
<file name="tests/003-V8ObjectTemplate_recursive_self.phpt" role="test" />
175176
<file name="tests/003-V8ObjectTemplate_recursive_tree.phpt" role="test" />
176-
<file name="tests/004-ICU-Intl_DateTimeFormat.phpt" role="test" />
177-
<file name="tests/004-ICU-Intl_NumberFormat.phpt" role="test" />
177+
<file name="tests/004-ICU-Intl_dateTimeFormat.phpt" role="test" />
178+
<file name="tests/004-ICU-Intl_numberFormat.phpt" role="test" />
178179
<file name="tests/005-V8FunctionTemplate_external_memory.phpt" role="test" />
179180
<file name="tests/005-V8ObjectTemplate_external_memory.phpt" role="test" />
180181
<file name="tests/005-V8ObjectValue_external_memory.phpt" role="test" />
181182
<file name="tests/V8ArrayObject.phpt" role="test" />
182-
<file name="tests/V8ArrayObject_Length.phpt" role="test" />
183+
<file name="tests/V8ArrayObject_length.phpt" role="test" />
183184
<file name="tests/V8Boolean.phpt" role="test" />
184185
<file name="tests/V8BooleanObject.phpt" role="test" />
185186
<file name="tests/V8CachedData.phpt" role="test" />
186187
<file name="tests/V8Context.phpt" role="test" />
187-
<file name="tests/V8Context_GlobalObject.phpt" role="test" />
188-
<file name="tests/V8Context_SetSecurityToken.phpt" role="test" />
188+
<file name="tests/V8Context_globalObject.phpt" role="test" />
189189
<file name="tests/V8Context_invalid_ctor_arg_type.phpt" role="test" />
190190
<file name="tests/V8Context_reference_lifecycle.phpt" role="test" />
191+
<file name="tests/V8Context_setSecurityToken.phpt" role="test" />
191192
<file name="tests/V8Context_weakness.phpt" role="test" />
192193
<file name="tests/V8Data.phpt" role="test" />
193194
<file name="tests/V8DateObject.phpt" role="test" />
194-
<file name="tests/V8Exception_CreateMessage.phpt" role="test" />
195-
<file name="tests/V8Exception_Error.phpt" role="test" />
196-
<file name="tests/V8Exception_GetStackTrace.phpt" role="test" />
197-
<file name="tests/V8Exception_RangeError.phpt" role="test" />
198-
<file name="tests/V8Exception_ReferenceError.phpt" role="test" />
199-
<file name="tests/V8Exception_SyntaxError.phpt" role="test" />
200-
<file name="tests/V8Exception_TypeError.phpt" role="test" />
195+
<file name="tests/V8Exception_createMessage.phpt" role="test" />
196+
<file name="tests/V8Exception_error.phpt" role="test" />
197+
<file name="tests/V8Exception_getStackTrace.phpt" role="test" />
198+
<file name="tests/V8Exception_rangeError.phpt" role="test" />
199+
<file name="tests/V8Exception_referenceError.phpt" role="test" />
200+
<file name="tests/V8Exception_syntaxError.phpt" role="test" />
201+
<file name="tests/V8Exception_typeError.phpt" role="test" />
201202
<file name="tests/V8ExceptionsTryCatchException.phpt" role="test" />
202203
<file name="tests/V8FunctionCallbackInfo.phpt" role="test" />
203204
<file name="tests/V8FunctionObject.phpt" role="test" />
204-
<file name="tests/V8FunctionObject_Call.phpt" role="test" />
205-
<file name="tests/V8FunctionObject_Call_bad_args.phpt" role="test" />
206-
<file name="tests/V8FunctionObject_NewInstance.phpt" role="test" />
205+
<file name="tests/V8FunctionObject_call.phpt" role="test" />
206+
<file name="tests/V8FunctionObject_call_bad_args.phpt" role="test" />
207207
<file name="tests/V8FunctionObject_constructor_behavior.phpt" role="test" />
208208
<file name="tests/V8FunctionObject_die.phpt" role="test" />
209209
<file name="tests/V8FunctionObject_die_different_isolates.phpt" role="test" />
210210
<file name="tests/V8FunctionObject_die_nested.phpt" role="test" />
211+
<file name="tests/V8FunctionObject_newInstance.phpt" role="test" />
211212
<file name="tests/V8FunctionObject_weakness_multiple.phpt" role="test" />
212213
<file name="tests/V8FunctionTemplate.phpt" role="test" />
213-
<file name="tests/V8FunctionTemplate_GetFunction.phpt" role="test" />
214-
<file name="tests/V8FunctionTemplate_Set.phpt" role="test" />
215-
<file name="tests/V8FunctionTemplate_SetCallHandler.phpt" role="test" />
216214
<file name="tests/V8FunctionTemplate_callback_weakness.phpt" role="test" />
217215
<file name="tests/V8FunctionTemplate_constructor_behavior.phpt" role="test" />
218216
<file name="tests/V8FunctionTemplate_constructor_receiver.phpt" role="test" />
219217
<file name="tests/V8FunctionTemplate_exception_in_php.phpt" role="test" />
218+
<file name="tests/V8FunctionTemplate_getFunction.phpt" role="test" />
220219
<file name="tests/V8FunctionTemplate_invalid_ctor_arg_type.phpt" role="test" />
221220
<file name="tests/V8FunctionTemplate_require_implementation.phpt" role="test" />
221+
<file name="tests/V8FunctionTemplate_set.phpt" role="test" />
222+
<file name="tests/V8FunctionTemplate_setCallHandler.phpt" role="test" />
222223
<file name="tests/V8FunctionTemplate_weakness.phpt" role="test" />
223224
<file name="tests/V8HeapStatistics.phpt" role="test" />
224225
<file name="tests/V8IndexedPropertyHandlerConfiguration.phpt" role="test" />
225226
<file name="tests/V8Int32Value.phpt" role="test" />
226227
<file name="tests/V8IntegerValue.phpt" role="test" />
227228
<file name="tests/V8Isolate.phpt" role="test" />
228-
<file name="tests/V8Isolate_GetEnteredContext.phpt" role="test" />
229-
<file name="tests/V8Isolate_IsDead.phpt" role="test" />
230-
<file name="tests/V8Isolate_IsInUse.phpt" role="test" />
231-
<file name="tests/V8Isolate_ThrowException.phpt" role="test" />
232-
<file name="tests/V8Isolate_ThrowException_with_external.phpt" role="test" />
233229
<file name="tests/V8Isolate_gc_cyclic_ref_memleak.phpt" role="test" />
230+
<file name="tests/V8Isolate_getEnteredContext.phpt" role="test" />
231+
<file name="tests/V8Isolate_isDead.phpt" role="test" />
232+
<file name="tests/V8Isolate_isInUse.phpt" role="test" />
234233
<file name="tests/V8Isolate_limit_memory.phpt" role="test" />
235234
<file name="tests/V8Isolate_limit_memory_nested.phpt" role="test" />
236235
<file name="tests/V8Isolate_limit_memory_not_hit.phpt" role="test" />
@@ -242,51 +241,53 @@
242241
<file name="tests/V8Isolate_limit_time_set_during_execution.phpt" role="test" />
243242
<file name="tests/V8Isolate_nested_termination_exceptions.phpt" role="test" />
244243
<file name="tests/V8Isolate_snapshot_support.phpt" role="test" />
244+
<file name="tests/V8Isolate_throwException.phpt" role="test" />
245+
<file name="tests/V8Isolate_throwException_with_external.phpt" role="test" />
245246
<file name="tests/V8MapObject.phpt" role="test" />
246247
<file name="tests/V8Message.phpt" role="test" />
247248
<file name="tests/V8NamedPropertyHandlerConfiguration.phpt" role="test" />
248249
<file name="tests/V8NullValue.phpt" role="test" />
249250
<file name="tests/V8NumberObject.phpt" role="test" />
250251
<file name="tests/V8NumberValue.phpt" role="test" />
251252
<file name="tests/V8ObjectTemplate.phpt" role="test" />
252-
<file name="tests/V8ObjectTemplate_Set.phpt" role="test" />
253-
<file name="tests/V8ObjectTemplate_SetAccessor_receiver.phpt" role="test" />
254-
<file name="tests/V8ObjectTemplate_SetCallAsFunctionHandler.phpt" role="test" />
255-
<file name="tests/V8ObjectTemplate_SetHandlerForIndexedProperty.phpt" role="test" />
256-
<file name="tests/V8ObjectTemplate_SetHandlerForNamedProperty.phpt" role="test" />
257-
<file name="tests/V8ObjectTemplate_SetHandler_both.phpt" role="test" />
258-
<file name="tests/V8ObjectTemplate_SetNativeDataProperty.phpt" role="test" />
259253
<file name="tests/V8ObjectTemplate_invalid_ctor_arg_type.phpt" role="test" />
254+
<file name="tests/V8ObjectTemplate_set.phpt" role="test" />
255+
<file name="tests/V8ObjectTemplate_setAccessor_receiver.phpt" role="test" />
256+
<file name="tests/V8ObjectTemplate_setCallAsFunctionHandler.phpt" role="test" />
257+
<file name="tests/V8ObjectTemplate_setHandlerForIndexedProperty.phpt" role="test" />
258+
<file name="tests/V8ObjectTemplate_setHandlerForNamedProperty.phpt" role="test" />
259+
<file name="tests/V8ObjectTemplate_setHandler_both.phpt" role="test" />
260+
<file name="tests/V8ObjectTemplate_setNativeDataProperty.phpt" role="test" />
260261
<file name="tests/V8ObjectValue.phpt" role="test" />
261-
<file name="tests/V8ObjectValue_Get.phpt" role="test" />
262-
<file name="tests/V8ObjectValue_IsArgumentsObject.phpt" role="test" />
263-
<file name="tests/V8ObjectValue_IsNativeError.phpt" role="test" />
264-
<file name="tests/V8ObjectValue_SetAccessor.phpt" role="test" />
265-
<file name="tests/V8ObjectValue_SetIntegrityLevel.phpt" role="test" />
266-
<file name="tests/V8ObjectValue_SetNativeDataProperty.phpt" role="test" />
267-
<file name="tests/V8ObjectValue_SetNativeDataProperty_from_template.phpt" role="test" />
262+
<file name="tests/V8ObjectValue_get.phpt" role="test" />
263+
<file name="tests/V8ObjectValue_isArgumentsObject.phpt" role="test" />
264+
<file name="tests/V8ObjectValue_isNativeError.phpt" role="test" />
265+
<file name="tests/V8ObjectValue_setAccessor.phpt" role="test" />
266+
<file name="tests/V8ObjectValue_setIntegrityLevel.phpt" role="test" />
267+
<file name="tests/V8ObjectValue_setNativeDataProperty.phpt" role="test" />
268+
<file name="tests/V8ObjectValue_setNativeDataProperty_from_template.phpt" role="test" />
268269
<file name="tests/V8PropertyCallbackInfo.phpt" role="test" />
269270
<file name="tests/V8RegExpObject.phpt" role="test" />
270271
<file name="tests/V8ReturnValue.phpt" role="test" />
271272
<file name="tests/V8ReturnValue_context.phpt" role="test" />
272273
<file name="tests/V8Script.phpt" role="test" />
273274
<file name="tests/V8ScriptCompiler.phpt" role="test" />
274-
<file name="tests/V8ScriptCompiler_Compile.phpt" role="test" />
275-
<file name="tests/V8ScriptCompiler_CompileFunctionInContext.phpt" role="test" />
276-
<file name="tests/V8ScriptCompiler_CompileUnbound.phpt" role="test" />
275+
<file name="tests/V8ScriptCompiler_compile.phpt" role="test" />
276+
<file name="tests/V8ScriptCompiler_compileFunctionInContext.phpt" role="test" />
277+
<file name="tests/V8ScriptCompiler_compileUnbound.phpt" role="test" />
277278
<file name="tests/V8ScriptOrigin.phpt" role="test" />
278279
<file name="tests/V8ScriptOriginOptions.phpt" role="test" />
279-
<file name="tests/V8Script_Run.phpt" role="test" />
280-
<file name="tests/V8Script_Run_out_of_memory.phpt" role="test" />
281-
<file name="tests/V8Script_Run_uncaught_exception.phpt" role="test" />
282280
<file name="tests/V8Script_exit_during_script_execution.phpt" role="test" />
281+
<file name="tests/V8Script_run.phpt" role="test" />
282+
<file name="tests/V8Script_run_out_of_memory.phpt" role="test" />
283+
<file name="tests/V8Script_run_uncaught_exception.phpt" role="test" />
283284
<file name="tests/V8Script_terminate_script_execution.phpt" role="test" />
284285
<file name="tests/V8SetObject.phpt" role="test" />
285286
<file name="tests/V8Source.phpt" role="test" />
286287
<file name="tests/V8StackFrame.phpt" role="test" />
287288
<file name="tests/V8StackTrace.phpt" role="test" />
288-
<file name="tests/V8StackTrace_CurrentStackTrace.phpt" role="test" />
289-
<file name="tests/V8StartupData_CreateFromSource.phpt" role="test" />
289+
<file name="tests/V8StackTrace_currentStackTrace.phpt" role="test" />
290+
<file name="tests/V8StartupData_createFromSource.phpt" role="test" />
290291
<file name="tests/V8StringObject.phpt" role="test" />
291292
<file name="tests/V8StringValue.phpt" role="test" />
292293
<file name="tests/V8String_range_error_length.phpt" role="test" />

php_v8.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ extern zend_module_entry php_v8_module_entry;
3636
#endif
3737

3838
#ifndef PHP_V8_VERSION
39-
#define PHP_V8_VERSION "0.2.0"
39+
#define PHP_V8_VERSION "0.1.9"
4040
#endif
4141

4242
#ifndef PHP_V8_REVISION
43-
#define PHP_V8_REVISION "dev"
43+
#define PHP_V8_REVISION "release"
4444
#endif
4545

4646

0 commit comments

Comments
 (0)