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

Commit 891e459

Browse files
committed
Prepare 0.2.2 release
1 parent 6a2552a commit 891e459

File tree

2 files changed

+31
-22
lines changed

2 files changed

+31
-22
lines changed

package.xml

+29-20
Original file line numberDiff line numberDiff line change
@@ -26,39 +26,41 @@
2626
<email>pinepain@gmail.com</email>
2727
<active>yes</active>
2828
</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>
3131
<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>
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 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.
4243

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 &gt;= 7.2 unless further notice.
4448

4549
BC-breaking changes:
4650

47-
- require libv8 &gt;= 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
5155

5256
Non-breaking changes:
5357

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-&lt;strings for ObjectValue::GetOwnPropertyNames and `ObjectValue::GetPropertyNames
62+
- Add {Template,ObjectValue}:setLazyDataProperty() method
63+
6264
</notes>
6365
<contents>
6466
<dir name="/">
@@ -133,6 +135,8 @@
133135
<file name="src/php_v8_primitive.h" role="src" />
134136
<file name="src/php_v8_promise.cc" role="src" />
135137
<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" />
136140
<file name="src/php_v8_property_callback_info.cc" role="src" />
137141
<file name="src/php_v8_property_callback_info.h" role="src" />
138142
<file name="src/php_v8_proxy.cc" role="src" />
@@ -201,6 +205,9 @@
201205
<file name="tests/005-V8FunctionTemplate_external_memory.phpt" role="test" />
202206
<file name="tests/005-V8ObjectTemplate_external_memory.phpt" role="test" />
203207
<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" />
204211
<file name="tests/010-no-value-self-cleanup-on-shutdown.phpt" role="test" />
205212
<file name="tests/ArrayObject.phpt" role="test" />
206213
<file name="tests/ArrayObject_length.phpt" role="test" />
@@ -285,17 +292,17 @@
285292
<file name="tests/ObjectTemplate_setHandlerForIndexedProperty.phpt" role="test" />
286293
<file name="tests/ObjectTemplate_setHandlerForNamedProperty.phpt" role="test" />
287294
<file name="tests/ObjectTemplate_setHandler_both.phpt" role="test" />
295+
<file name="tests/ObjectTemplate_setLazyDataProperty.phpt" role="test" />
288296
<file name="tests/ObjectTemplate_setNativeDataProperty.phpt" role="test" />
289297
<file name="tests/ObjectValue.phpt" role="test" />
290298
<file name="tests/ObjectValue_get.phpt" role="test" />
291299
<file name="tests/ObjectValue_isArgumentsObject.phpt" role="test" />
292300
<file name="tests/ObjectValue_isNativeError.phpt" role="test" />
293301
<file name="tests/ObjectValue_setAccessor.phpt" role="test" />
294302
<file name="tests/ObjectValue_setIntegrityLevel.phpt" role="test" />
303+
<file name="tests/ObjectValue_setLazyDataProperty.phpt" role="test" />
295304
<file name="tests/ObjectValue_setNativeDataProperty.phpt" role="test" />
296305
<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" />
299306
<file name="tests/PropertyCallbackInfo.phpt" role="test" />
300307
<file name="tests/ProxyObject.phpt" role="test" />
301308
<file name="tests/ProxyObject_methods.phpt" role="test" />
@@ -307,6 +314,7 @@
307314
<file name="tests/ScriptCompiler_compile.phpt" role="test" />
308315
<file name="tests/ScriptCompiler_compileFunctionInContext.phpt" role="test" />
309316
<file name="tests/ScriptCompiler_compileUnbound.phpt" role="test" />
317+
<file name="tests/ScriptCompiler_createCodeCache.phpt" role="test" />
310318
<file name="tests/ScriptOrigin.phpt" role="test" />
311319
<file name="tests/ScriptOriginOptions.phpt" role="test" />
312320
<file name="tests/Script_exit_during_script_execution.phpt" role="test" />
@@ -378,6 +386,7 @@
378386
<file name="stubs/src/ObjectValue.php" role="doc" />
379387
<file name="stubs/src/PrimitiveValue.php" role="doc" />
380388
<file name="stubs/src/PromiseObject.php" role="doc" />
389+
<file name="stubs/src/PromiseObject/ResolverObject.php" role="doc" />
381390
<file name="stubs/src/PropertyAttribute.php" role="doc" />
382391
<file name="stubs/src/PropertyCallbackInfo.php" role="doc" />
383392
<file name="stubs/src/PropertyFilter.php" role="doc" />

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.3.0"
39+
#define PHP_V8_VERSION "0.2.2"
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)