A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
MIT License
Bot releases are hidden (Show)
Published by ClearScriptLib over 5 years ago
ScriptObject
to simplify script object access without dynamic
.IWindowsScriptObject
(GitHub Issue #97).Published by ClearScriptLib almost 6 years ago
ScriptEngine.AccessContext
support to fix GitHub Issue #68.ScriptEngine.EnforceAnonymousTypeAccess
.V8Runtime.Compile
(GitHub Issue #66).Published by ClearScriptLib about 6 years ago
typeof
implementation to return "object" for all non-delegate host objects (GitHub Issue #62).DocumentInfo
and related APIs to address GitHub Issue #46.Published by ClearScriptLib over 6 years ago
V8ScriptEngineFlags.EnableDateTimeConversion
, resolving GitHub Issue #37.IScriptEngineException.ScriptException
, resolving GitHub Issue #39.Published by ClearScriptLib over 6 years ago
Date.now()
in V8 (GitHub Issue #34).Published by ClearScriptLib almost 7 years ago
chrome://inspect
.V8ScriptEngineFlags.AwaitDebuggerAndPauseOnStart
(GitHub Issue #22).ToString()
overrides to exception classes (GitHub Issue #16).Published by ClearScriptLib almost 7 years ago
v8-base-ia32.dll
and v8-base-x64.dll
.V8ScriptEngineFlags.EnableRemoteDebugging
and V8RuntimeFlags.EnableRemoteDebugging
.Published by ClearScriptLib about 7 years ago
V8ScriptEngine.SuppressInstanceMethodEnumeration
.Exception.GetType()
and _Exception.GetType()
when AllowReflection
is false (GitHub Issue #1).Delegate.Method
when AllowReflection
is false
(GitHub Issue #2).Published by ClearScriptLib about 7 years ago
V8ScriptEngine
initialization.Published by ClearScriptLib about 7 years ago
ScriptObject
to ease script object identification.Published by ClearScriptLib about 7 years ago
ImmutableValueAttribute
and fixed canonical reference support.Published by ClearScriptLib about 7 years ago
ScriptEngine.AddHostType()
.IScriptEngineException.ExecutionStarted
.Published by ClearScriptLib about 7 years ago
IList<T>
. Because IList<T>
takes precedence over IList
, array and list elements retrieved by index are now correctly type-restricted. Use the new property ScriptEngine.DisableListIndexTypeRestriction
to restore the previous behavior, or ScriptEngine.DisableTypeRestriction
to control type restriction globally.V8ScriptEngine.SuppressExtensionMethodEnumeration
(Issue #101).HostItemFlags.DirectAccess
.Published by ClearScriptLib about 7 years ago
ArrayBuffer
views) (Issue #83).V8ScriptEngine
.Published by ClearScriptLib about 7 years ago
V8ScriptEngine.Interrupt()
latency and reliability.Published by ClearScriptLib about 7 years ago
Published by ClearScriptLib about 7 years ago
V8ScriptEngine
now support toFunction()
, which creates a native JavaScript function wrapper.WindowsScriptEngine
invocations.IProcessDebugManager::AddApplication()
failure (Issue #76).ScriptEngine.AddHostType()
overloads that derive the script item name from the type name.ScriptAccess
settings at the type, assembly, and engine levels.IHostWindow
and WindowsScriptEngine.HostWindow
(Issue #73).V8RuntimeConstraints
limits are now specified in MiB. For compatibility with hosts that predate an inadvertent breaking change in Version 5.4.1, values greater than 1048576 (1 TiB) are still interpreted as bytes.ScriptMemberFlags.WrapNullResult
, ScriptEngine.EnableNullResultWrapping
, and HostFunctions.isNull()
(Issue #72).Published by ClearScriptLib about 7 years ago
GlobalMembers
on V8.ScriptEngine.EnableAutoHostVariables
.V8ScriptEngine
crash when script code calls the HostObject
constructor.newArr()
and func()
to HostFunctions
.ScriptEngine.Current
.HostFunctions
instances can now be exposed in multiple script engines.GetDynamicMemberNames()
override to MetaScriptItem
(Issue #64).Published by ClearScriptLib about 7 years ago
ScriptEngine
methods: AddCOMObject()
and AddCOMType()
.ExtendedHostFunctions
methods: newComObj()
and comType()
.V8ScriptEngine.CollectGarbage()
much more aggressive.WindowsScriptEngine
.ScriptEngine.UseReflectionBindFallback
.V8ScriptEngine
and V8Runtime
(experimental).HostFunctions.tryCatch()
.ScriptEngine.Invoke()
and V8ScriptEngine.Execute(V8Script)
.ScriptEngine.DisableTypeRestriction
.WindowsScriptEngineFlags.EnableDebugging
with no suitable script debugger installed (Issue #36).Published by ClearScriptLib about 7 years ago
AppDomain.AssemblyResolve
hook for ClearScriptV8 (Issue #34).WindowsScriptEngineFlags.EnableStandardsMode
.WindowsScriptEngine
execution result variant leak.