php-v8 v0.2.2 Release Notes

Release Date: 2018-02-27 // about 6 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() and ValueObject::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;
    • 🚚 * remove UnboundScript::kNoScriptId const and return null in getId() on no data
    • * change ScriptCompiler::cachedDataVersionTag(): int method name and return type to be ScriptCompiler::getCachedDataVersionTag(): float;
    • 🚚 * remove StartupData::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.