This repository was archived by the owner on Mar 29, 2024. It is now read-only.
Add script compilation and caching
This release adds script compilation and caching. Also more new methods added and some internal logic refactored. See detailed changes below.
As of this release, V8 >= 5.8.168 required.
* - BC-breaking or potentially BC-breaking changes
Changes to public API and other important changes which may affect end-user:
*Add$is_wasmand$is_moduleoptions toV8\ScriptOriginOptionsandV8\ScriptOrigin;*Remove non-standardV8\Scrip::{getSource,getOrigin};*RemoveV8\ObjectValue::{Get,Set,Has,Delete,CreateDataProperty}Indexedmethods;*Remove non-workingV8\Contextextensions support;*HandleV8\IntegerValuesub-types when returning values from V8, fixes #19;- Add
V8\UnboundScriptclass; - Add
V8\ScriptCompiler\CachedDataclass; - Add
V8\ScriptCompiler\CompileOptionsclass; - Add
V8\ScriptCompiler\Sourceclass; - Add
V8\ScriptCompiler; - Add
V8\SymbolValue::GetToPrimitive()method; - Add
V8\Value::IsNullOrUndefinedl()method; - Add more
V8\Value::Is*()methods; - Add
V8\MapObject; - Add
V8\SetObject; - Fix obj and func templates external memory adjusting.