php-v8 v0.2.2 Release Notes
Release Date: 2018-02-27 // almost 7 years ago-
๐ I'm excited to announce that starting from this release documentation is available at https://php-v8.readthedocs.io.
๐ Read The Docs is awesome place to host documentation and Sphinx would help to create decent documentation. Contributors welcomed!
๐ This is the last version that supports PHP 7.1. For all next versions PHP >= 7.2 required.
BC-breaking changes:
- โฌ๏ธ Upgrade v8 version to 6.6.313
- โ Remove deprecated and non-working
ScriptCompiler
cache options - Rework
PromiseObject
- โ Add
ValueObject::isBigInt64Array()
andValueObject::isBigUint64Array
methods
Non-breaking changes:
- โ Add number of native and detached contexts to
HeapStatistics
- โ Add support to produce code cache
- Add ScriptCompiler::OPTION_EAGER_COMPILE option
- โ Add support for integer->strings for
ObjectValue::GetOwnPropertyNames
and `ObjectValue::GetPropertyNames - โ Add {Template,ObjectValue}:setLazyDataProperty() method
Previous changes from v0.2.1
-
๐ 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
๐ Changelog:
*
- BC-breaking changes*
require libv8 >= 6.4.6;- ๐
*
removeUnboundScript::kNoScriptId
const and returnnull
ingetId()
on no data *
changeScriptCompiler::cachedDataVersionTag(): int
method name and return type to beScriptCompiler::getCachedDataVersionTag(): float
;- ๐
*
removeStartupData::getRawSize()
method; - ๐ fix segfault when invalid startup data passed to isolate;
- ๐ fix external exception lost when it has refcount 1;
- ๐ change script compiler version tag generation to take into account changes to extension internals;
- โ add
CallbackInfoInterface
; - โ add support for ScriptCompiler::kProduceFullCodeCache;
- โ add
{Isolate,Context}::within()
as optimization solution; - โ add
StartupData::isRejected()
; - โ add docs skeleton.