ClearScript

A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).

MIT License

Stars
1.8K
Committers
11

Bot releases are visible (Hide)

ClearScript - Version 7.4.5 Latest Release

Published by ClearScriptLib 7 months ago

  • V8 Added AddPerformanceObject and SetTimerResolution to V8ScriptEngineFlags (GitHub Discussion #568).
  • V8 Enhanced execution and termination transitions, fixing GitHub Issue #560.
  • Optimized document code for string documents (GitHub Discussion #567).
  • Switched to Clang and C++20 on all platforms.
  • Added .NET 8 targets to test projects.
  • Updated API and build documentation.
  • Tested with V8 12.3.219.12.
ClearScript - Version 7.4.4

Published by ClearScriptLib about 1 year ago

ClearScript - Version 7.4.3

Published by ClearScriptLib about 1 year ago

  • Improved handling of anonymous host types.
  • V8 JScript Added support for JSON modules.
  • V8 Made host object toJSON method non-enumerable.
  • V8 Added enhanced compilation APIs (GitHub Issue #521).
  • V8 Added debugger connection events (GitHub Issue #518).
  • Added the ClearScript.Complete NuGet package (GitHub Issue #515).
  • Updated API documentation.
  • Tested with V8 11.6.189.18.
ClearScript - Version 7.4.2

Published by ClearScriptLib over 1 year ago

  • Enhanced support for parameterless value type constructors (mentioned in GitHub Issue #444).
  • Fixed COM-related memory leak on .NET Framework (GitHub Issue #510).
  • Enabled multidimensional array manipulation via VBScript indexing syntax (GitHub Issue #511).
  • Improved stability on Apple Silicon devices.
  • Tested with V8 11.4.183.17.
ClearScript - Version 7.4.1

Published by ClearScriptLib over 1 year ago

  • Performance improvements:
    • .NET method arguments and property/field values are now passed pre-decoded, eliminating decoding hops.
    • Property, field, and constructor bind caching accelerates re-invocation.
  • Further refined HeapExpansionMultiplier handling.
  • Miscellaneous NuGet package updates.
  • Tested with V8 11.2.214.13.
ClearScript - ClearScript 7.4

Published by ClearScriptLib over 1 year ago

ClearScript - Version 7.3.7

Published by ClearScriptLib over 1 year ago

ClearScript - Version 7.3.6

Published by ClearScriptLib almost 2 years ago

ClearScript - Version 7.3.5

Published by ClearScriptLib almost 2 years ago

  • Added support for script object identity comparison (GitHub Issue #422).
  • Overhauled scriptable enumerators to fix GitHub Issue #423.
  • Eliminated default V8 platform to fix process exit deadlock on Windows 7 (GitHub Issue #424).
  • Addressed performance regression reported in GitHub Issue #433.
  • Added a pair of ToRestrictedHostObject overloads (GitHub Issue #437).
  • Fixed a specific property accessor scriptability scenario (GitHub Issue #439).
  • Updated API documentation.
  • Tested with V8 10.7.193.22.
ClearScript - Version 7.3.4

Published by ClearScriptLib about 2 years ago

  • Fixed Linux and macOS NuGet packages (GitHub Issue #418).
ClearScript - Version 7.3.3

Published by ClearScriptLib about 2 years ago

  • Added DefaultDocumentLoader to address GitHub Issue #412.
  • Unified method, constructor, and property invocation, fixing GitHub Issue #413.
  • Fixed invocation of indexers with optional parameters.
  • Hardened V8 debug agent disposal, fixing a rare exception (GitHub Issue #416).
  • Added a check to prevent version mismatches between managed and native V8 assemblies (GitHub Issue #416).
  • Restricted host item IDispatchEx support to Windows Script engines, fixing GitHub Issue #417.
  • Updated API documentation.
  • Tested with V8 10.6.194.14.
ClearScript - Version 7.3.2

Published by ClearScriptLib about 2 years ago

  • Breaking change:
    • Switched from the standard .NET reflection binder to a custom algorithm.
    • The new binder ensures consistently enhanced behavior for all reflection binding scenarios.
    • This affects methods (when dynamic binding is disabled), constructors, and indexed properties.
  • Reviewed dynamic usage, eliminating it where possible and reducing it elsewhere (GitHub Issue #400):
  • Fixed invocation of methods that have both optional parameters and parameter arrays.
  • Added implicit conversion support for constructor and indexed property arguments (GitHub Issue #396).
  • Extended canonical referencing to Guid and all readonly struct types.
  • Added ScriptObject.InvokeAsFunction.
  • Updated API and build documentation.
  • Tested with V8 10.5.218.8.
ClearScript - Version 7.3.1

Published by ClearScriptLib over 2 years ago

ClearScript - ClearScript 7.3

Published by ClearScriptLib over 2 years ago

  • Added V8ScriptEngineFlags.EnableStringifyEnhancements (GitHub Issue #376).
  • Fixed issues blocking ClearScript use with .NET playgrounds. More...
  • The V8 ICU data is now packaged as a managed library to ease deployment.
  • V8 and JScript startup scripts are now minified.
  • Fixed Exception.TargetSite reflection hole and added V8ScriptEngineFlags.HideHostExceptions (GitHub Issue #382).
  • Fixed typeof-literal comparison in V8.
  • V8Update.cmd now works in a Visual Studio 2022 command prompt.
  • Rosetta is no longer required for macOS builds on the arm64 (M1) architecture.
  • Updated build, deployment, and API documentation.
  • Tested with V8 10.2.154.5.
ClearScript - Version 7.2.5

Published by ClearScriptLib over 2 years ago

ClearScript - Version 7.2.4

Published by ClearScriptLib over 2 years ago

ClearScript - Version 7.2.3

Published by ClearScriptLib over 2 years ago

  • Fixed crash on attempt to execute a compiled script in the wrong V8 runtime.
  • Fixed intermittent V8 crash on Windows x86 (GitHub Issue #354).
  • Added V8GlobalFlags.DisableBackgroundWork.
  • Fixed async function performance (GitHub Issue #356).
  • Added a WebAssembly unit test.
  • Updated API documentation.
  • Tested with V8 9.9.115.8.
ClearScript - Version 7.2.2

Published by ClearScriptLib over 2 years ago

ClearScript - Version 7.2.1

Published by ClearScriptLib almost 3 years ago

  • (V8) Added support for interrupt propagation and cancellation to address GitHub Issue #324.
  • (V8) Eliminated host proxies implemented as immutable prototype exotics (GitHub Issue #330).
  • Added ScriptEngine.Global to facilitate fast non-dynamic access to script resources.
  • Added project blog on GitHub Pages.
  • Updated build and API documentation.
  • Tested with V8 9.7.106.18.
ClearScript - ClearScript 7.2

Published by ClearScriptLib almost 3 years ago