|
26 | 26 | <email>pinepain@gmail.com</email> |
27 | 27 | <active>yes</active> |
28 | 28 | </lead> |
29 | | - <date>2017-09-30</date> |
30 | | - <time>20:09:41</time> |
| 29 | + <date>2017-10-23</date> |
| 30 | + <time>20:20:32</time> |
31 | 31 | <version> |
32 | | - <release>0.2.0</release> |
33 | | - <api>0.2.0</api> |
| 32 | + <release>0.2.1</release> |
| 33 | + <api>0.2.1</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 introduces many major changes to public API and breaks BC for the sake of more solid and stable API in a further versions. |
| 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 |
42 | 42 |
|
43 | | - PLEASE READ: |
44 | | - Maintaining this project takes significant amount of time and efforts. |
45 | | - If you like my work and want to show your appreciation, please consider supporting me: https://www.patreon.com/pinepain |
| 43 | + Changelog: |
46 | 44 |
|
47 | | - Changes: |
| 45 | + BC-breaking changes: |
48 | 46 |
|
49 | | - - Drop PHP 7.0 support, #30; |
50 | | - - Add typehint for $value param in Template::set(), #36; |
51 | | - - Rename constants to match PSR-2 convention, #34; |
52 | | - - Make enum classes with constants final, #39 ; |
53 | | - - Rename HeapStatistics methods to match PSR-2, #38; |
54 | | - - Rename V8\Exception class and it methods, #33; |
55 | | - - Add FunctionObject::getScriptId() method; |
56 | | - - Remove no-data constants and use NULL instead, #40; |
57 | | - - Refactor ScriptOriginOptions to use bit field, #42; |
58 | | - - Remove redundant ScriptOrigin::is*() methods, #61; |
59 | | - - Add missed method to Value stub; |
60 | | - - Fix improperly adjusted external allocated memory on weak callback call; |
61 | | - - Add Proxy and Promise builtin support, #55; |
62 | | - - Add support for regexp dotAll flag, #54; |
63 | | - - Move RegExpObject\Flags constants under RegExpObject, #64; |
64 | | - - Move CompileOptions constants under ScriptCompiler, #65; |
65 | | - - Add Isolate::MemoryPressureNotification() support, #57; |
66 | | - - Require libv8 >= 6.3.163; |
67 | | - - Add StackFrame::isWasm(), #53; |
68 | | - - Get rid of CallbackInfo, #67; |
69 | | - - Add immutable prototype chains to ObjectTemplate, #58; |
70 | | - - Add StartupData::warmUpSnapshotDataBlob(), #59; |
71 | | - - Add missed JSON class support, #56; |
72 | | - - Add Message::getErrorLevel() method, #52; |
73 | | - - Rename SymbolValue methods, #41; |
74 | | - - Rename TryCatch methods, #41; |
75 | | - - Add missed PrimitiveValue::value() abstract method; |
76 | | - - Add Isolate::SetRAILMode(), #60; |
77 | | - - Fix improperly internally constructed RAILMode enum class, #60. |
| 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; |
78 | 51 |
|
79 | | - See https://github.com/pinepain/php-v8/issues/43#issuecomment-333329225 for details |
| 52 | + Non-breaking changes: |
| 53 | + |
| 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. |
80 | 62 | </notes> |
81 | 63 | <contents> |
82 | 64 | <dir name="/"> |
|
91 | 73 | <file name="src/php_v8_boolean_object.h" role="src" /> |
92 | 74 | <file name="src/php_v8_cached_data.cc" role="src" /> |
93 | 75 | <file name="src/php_v8_cached_data.h" role="src" /> |
| 76 | + <file name="src/php_v8_callback_info_interface.cc" role="src" /> |
| 77 | + <file name="src/php_v8_callback_info_interface.h" role="src" /> |
94 | 78 | <file name="src/php_v8_callbacks.cc" role="src" /> |
95 | 79 | <file name="src/php_v8_callbacks.h" role="src" /> |
96 | 80 | <file name="src/php_v8_context.cc" role="src" /> |
|
229 | 213 | <file name="tests/Context_reference_lifecycle.phpt" role="test" /> |
230 | 214 | <file name="tests/Context_setSecurityToken.phpt" role="test" /> |
231 | 215 | <file name="tests/Context_weakness.phpt" role="test" /> |
| 216 | + <file name="tests/Context_within.phpt" role="test" /> |
232 | 217 | <file name="tests/Data.phpt" role="test" /> |
233 | 218 | <file name="tests/DateObject.phpt" role="test" /> |
234 | 219 | <file name="tests/ExceptionManager_createCreateMessage.phpt" role="test" /> |
|
279 | 264 | <file name="tests/Isolate_limit_time_not_hit.phpt" role="test" /> |
280 | 265 | <file name="tests/Isolate_limit_time_set_during_execution.phpt" role="test" /> |
281 | 266 | <file name="tests/Isolate_nested_termination_exceptions.phpt" role="test" /> |
| 267 | + <file name="tests/Isolate_snapshot_mismatch.phpt" role="test" /> |
282 | 268 | <file name="tests/Isolate_snapshot_support.phpt" role="test" /> |
283 | 269 | <file name="tests/Isolate_throwException.phpt" role="test" /> |
284 | 270 | <file name="tests/Isolate_throwException_with_external.phpt" role="test" /> |
| 271 | + <file name="tests/Isolate_throwException_with_external_preserved.phpt" role="test" /> |
| 272 | + <file name="tests/Isolate_within.phpt" role="test" /> |
285 | 273 | <file name="tests/JSON.phpt" role="test" /> |
286 | 274 | <file name="tests/MapObject.phpt" role="test" /> |
287 | 275 | <file name="tests/Message.phpt" role="test" /> |
|
354 | 342 | <file name="stubs/src/ArrayObject.php" role="doc" /> |
355 | 343 | <file name="stubs/src/BooleanObject.php" role="doc" /> |
356 | 344 | <file name="stubs/src/BooleanValue.php" role="doc" /> |
| 345 | + <file name="stubs/src/CallbackInfoInterface.php" role="doc" /> |
357 | 346 | <file name="stubs/src/ConstructorBehavior.php" role="doc" /> |
358 | 347 | <file name="stubs/src/Context.php" role="doc" /> |
359 | 348 | <file name="stubs/src/Data.php" role="doc" /> |
|
0 commit comments