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() 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.