Releases: microsoft/ClearScript
Releases · microsoft/ClearScript
Version 7.3.4
- Fixed Linux and macOS NuGet packages (GitHub Issue #418).
Version 7.3.3
- 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.
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
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 allreadonly struct
types. - 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.TotalAvailableSize
andTotalExternalSize
(GitHub Issue #391). - Added partial workaround for
VT_BSTR/NULL
bug 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.TargetSite
reflection 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.HeapSizeViolationPolicy
andV8ScriptEngine.RuntimeHeapSizeViolationPolicy
(GitHub Issue #369). - Added
ScriptEngine.VoidResultValue
and madeVoidResult.Value
public (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
PropertyBag
andDynamicHostObject
. - 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.EnableTopLevelAwait
is no longer effective and has been deprecated.- Top-Level Await is now always enabled. More...
- Added
V8Settings.GlobalFlags
andV8GlobalFlags.DisableJITCompilation
. - Added
IArrayBuffer.InvokeWithDirectAccess
andIArrayBufferView.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.
Version 7.2.1
- (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.