Releases: ClearFoundry/ClearScript
Releases · ClearFoundry/ClearScript
Version 7.3.5
- 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
ToRestrictedHostObjectoverloads (GitHub Issue #437). - Fixed a specific property accessor scriptability scenario (GitHub Issue #439).
- Updated API documentation.
- Tested with V8 10.7.193.22.
Version 7.3.4
- Fixed Linux and macOS NuGet packages (GitHub Issue #418).
Version 7.3.3
- Added
DefaultDocumentLoaderto 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
IDispatchExsupport to Windows Script engines, fixing GitHub Issue #417. - Updated API documentation.
- Tested with V8 10.6.194.14.
Version 7.3.2
- 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
dynamicusage, 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
Guidand allreadonly structtypes. - Added
ScriptObject.InvokeAsFunction. - Updated API and build documentation.
- Tested with V8 10.5.218.8.
Version 7.3.1
- Added script indexing support for
IReadOnlyList<T>(GitHub Issue #393). - Added
ScriptEngine.NullExportValue. - Added
V8RuntimeHeapInfo.TotalAvailableSizeandTotalExternalSize(GitHub Issue #391). - Added partial workaround for
VT_BSTR/NULLbug in COM interop (GitHub Issue #390). - Updated API documentation.
- Tested with V8 10.3.174.17.
ClearScript 7.3
- 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.TargetSitereflection hole and addedV8ScriptEngineFlags.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.
Version 7.2.5
- Added
V8Runtime.HeapSizeViolationPolicyandV8ScriptEngine.RuntimeHeapSizeViolationPolicy(GitHub Issue #369). - Added
ScriptEngine.VoidResultValueand madeVoidResult.Valuepublic (GitHub Issue #372). - Fixed array buffer memory leak (GitHub Issue #370).
- Fixed access to events with inaccessible handler types (GitHub Issue #365).
- Updated API documentation.
- Tested with V8 10.1.124.11.
Version 7.2.4
- Added
V8ScriptEngineFlags.UseCaseInsensitiveMemberBinding(GitHub Issue #363). - Restored compatibility with older Linux systems going back to glibc-2.23 (GitHub Issue #362).
- Overhauled attribute access and added custom attribute loaders. More...
- Added case-insensitivity support to
PropertyBagandDynamicHostObject. - Added .NET 6 targets to test projects.
- Updated API documentation.
- Tested with V8 10.0.139.8.
Version 7.2.3
- 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.
Version 7.2.2
- Breaking Changes:
V8Settings.EnableTopLevelAwaitis no longer effective and has been deprecated.- Top-Level Await is now always enabled. More...
- Added
V8Settings.GlobalFlagsandV8GlobalFlags.DisableJITCompilation. - Added
IArrayBuffer.InvokeWithDirectAccessandIArrayBufferView.InvokeWithDirectAccess(GitHub Issue #349). - Added disposal of enumerators created for JavaScript iteration (GitHub Issue #348).
- Fixed dynamic module import from host-invoked functions (GitHub Issue #339).
- Updated API documentation.
- Tested with V8 9.8.177.9.