Skip to content

Releases: microsoft/ClearScript

ClearScript 7.5

07 Mar 17:42
Compare
Choose a tag to compare
  • Breaking changes:
    • .NET Framework versions older than 4.6.2 are no longer supported.
    • Due to changes in V8, Linux versions now require glibc 2.27 or later.
  • V8 Initial support for the new FastProxy API:
    • Provides low-overhead access to host resources from script code.
    • Enables zero-allocation marshaling for most fundamental data types.
    • Tutorial blog post coming soon.
  • Extensive efficiency improvements:
    • Overhauled the codebase in favor of static lambdas.
    • Replaced most scope objects with ref structures.
    • Minimized boxing and structure copying on performance-critical code paths.
    • Eliminated the use of argument vectors for host calls with typical argument counts.
  • V8 Added span support to array buffers and related types (GitHub Issue #632).
  • V8 Enhanced task-promise interop with support for pre-settled promises and pre-completed tasks (GitHub Issue #641).
  • V8 Added V8ScriptEngineFlags.EnableArrayConversion (GitHub Issue #634).
  • V8 Fixed fast data transfer bounds checking for zero-length arrays and buffers (GitHub Issue #581).
  • V8 Added import.meta.setResult to enable reliable module evaluation results.
  • V8 Fixed MaxHeapSize and MaxRuntimeHeapSize behavior (GitHub Issue #571).
  • Incorporated Ansis Māliņš' conversion of MethodBindResult to a ref structure (GitHub PR #616).
  • Added promise state indicators to JavaScriptObjectFlags.
  • Fixed XMLDOM enumeration issue discussed in GitHub Issue #594.
  • Added sparse argument support to the reflection binder (GitHub Discussion #624).
  • Added ScriptEngine.NullImportValue (GitHub Issue #629).
  • Switched to XML for assembly table storage to eliminate security issues related to BinaryFormatter.
  • Updated API documentation.
  • Tested with V8 13.3.415.23.

Version 7.4.5

25 Mar 00:51
Compare
Choose a tag to compare
  • 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.

Version 7.4.4

17 Oct 02:12
Compare
Choose a tag to compare

Version 7.4.3

19 Aug 14:33
Compare
Choose a tag to compare
  • 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.

Version 7.4.2

01 Jun 01:46
Compare
Choose a tag to compare
  • 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.

Version 7.4.1

08 Apr 18:27
Compare
Choose a tag to compare
  • 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 7.4

09 Mar 13:47
Compare
Choose a tag to compare

Version 7.3.7

23 Jan 14:46
Compare
Choose a tag to compare

Version 7.3.6

20 Dec 02:53
Compare
Choose a tag to compare

Version 7.3.5

12 Nov 15:59
Compare
Choose a tag to compare
  • 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.