This repository has been 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\KeyCollectionMode
andV8\IndexFilter
enums; - Add property filtering support to
V8\ObjectValue::Get{Property,OwnProperty}Names()
; - Consistently expose all well-known symbols on
V8\SymbolValue
; - Setting boolean props on
StackFrame
with valid type; - Remove non-working and non-supporting $attributes argument from
V8\StringValue
constructor in stubs; *
AddV8\ConstructorBehavior
and support for it inV8\FunctionTemplate
constructor;*
Add signature support inV8\FunctionTemplate
constructor via $receiver;*
Add signature support toTemplate:SetNativeDataProperty()
andObjectTemplate::SetAccessor()
via$receiver
;*
Remove require$isolate
parameter 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\GenericException
toV8\Exceptions\Exception
;*
RenameV8\Exceptions\AbstractResourceLimitException
toV8\Exceptions\ResourceLimitException
;*
Check whether returned context is empty inV8\Isolate\GetEnteredContext()
instead of checkingInContext()
;