This repository was archived by the owner on Mar 29, 2024. It is now read-only.
Improve API
This release adds low-level optimizations, simplify some internal methods and fix few bugs. For more details see change list below.
As of this release, V8 >= 6.0.45 required.
* - BC-breaking or potentially BC-breaking changes
Changes to public API and other important changes which may affect end-user:
- Raise libv8 required version to 6.0.45;
- Add
V8\Value::InstanceOf()method; - Add
V8\ObjectValue::SetNativeDataProperty()method; - Add
V8\PropertyFilter,V8\KeyCollectionModeandV8\IndexFilterenums; - Add property filtering support to
V8\ObjectValue::Get{Property,OwnProperty}Names(); - Consistently expose all well-known symbols on
V8\SymbolValue; - Setting boolean props on
StackFramewith valid type; - Remove non-working and non-supporting $attributes argument from
V8\StringValueconstructor in stubs; *AddV8\ConstructorBehaviorand support for it inV8\FunctionTemplateconstructor;*Add signature support inV8\FunctionTemplateconstructor via $receiver;*Add signature support toTemplate:SetNativeDataProperty()andObjectTemplate::SetAccessor()via$receiver;*Remove require$isolateparameter fromV8\Value::TypeOf();*Remove deprecated V8\Context::EstimatedSize() method;*Remove deprecatedV8\StackTrace\StackTraceOptions;*Remove deprecatedV8\StackTrace::AsArray();*Require Context explicitly inV8\Isolate::ThrowException();*RenameV8\Exceptions\GenericExceptiontoV8\Exceptions\Exception;*RenameV8\Exceptions\AbstractResourceLimitExceptiontoV8\Exceptions\ResourceLimitException;*Check whether returned context is empty inV8\Isolate\GetEnteredContext()instead of checkingInContext();