Releases: microsoft/ClearScript
Releases · microsoft/ClearScript
ClearScript 7.2
- Added
V8ScriptEngine.CancelAwaitDebugger
(GitHub Issue #309). - Added support for
BigInt64Array
andBigUint64Array
. - Improved support for sharing JavaScript objects across
V8ScriptEngine
instances:- Same-runtime engines get direct access to all shared objects (related to GitHub Issue #308).
- Typed arrays and data views based on
SharedArrayBuffer
can be shared across runtimes (GitHub Issue #317).
- Improved V8-to-host invocation performance.
- Updated build and API documentation.
- Tested with V8 9.6.180.14.
Version 7.1.7
Version 7.1.7 Preview
- Disabled V8 pointer compression to improve performance and potentially fix GitHub Issue #291.
- Added symbols to managed component packages.
- Tested with V8 9.5.172.13 (Beta).
Version 7.1.6
- Optimized simple member access, addressing GitHub Issue #281.
- Fixed a Windows Script error handling scenario (GitHub Issue #274).
- Enabled 64-bit V8 features such as pointer compression.
- Tested with V8 9.4.146.16.
Version 7.1.5
- Eliminated file/web checks when reloading cached documents (GitHub Issue #219).
- Added
ScriptEngine.DisableFloatNarrowing
(GitHub Issue #270). - Lowered the minimum NuGet client version for Visual Studio 2017 (GitHub Issue #272).
- Added
V8RuntimeConstraints.MaxArrayBufferAllocation
(GitHub Issue #271). - Fixed
OnExposedToScriptCode
reentrancy scenario (GitHub Issue #269). - Updated API documentation.
- Tested with V8 9.2.230.21.
Version 7.1.4
- Added initial support for macOS on arm64 (M1) hardware.
- Fixed intermittent crashes in heavily multithreaded applications (GitHub Issue #268).
- Merged @KurtGokhan's implicit conversion fix (GitHub PR #265).
- Made
CacheDocument
andGetCachedDocument
public to facilitate custom document loaders. - Updated API documentation.
- Tested with V8 9.1.269.36.
Version 7.1.3
- Added
V8Settings.EnableTopLevelAwait
. - Host collections and async enumerables now support
for await...of
in V8 (GitHub Issue #259 ). - Added
ScriptEngine.DisableExtensionMethods
(GitHub Issue #261). - Fixed V8 property name/index retrieval bug (GitHub Issue #262).
- Added
ScriptEngine.AddHostTypes
. - Updated API documentation.
- Tested with V8 9.1.269.28.
Version 7.1.2
- Added optional
ValueTask
conversions (GitHub Issue #248). - Patched V8 to avoid
Date.prototype.toLocaleString
crash when ICU data is unavailable (GitHub Issue #246). - Added
HostSettings.AuxiliarySearchPath
. - Fixed default document loader issue with foreign file name extensions.
- Updated V8 debug agent web responses for Node.js alignment.
- Updated API documentation.
- Tested with V8 9.0.257.19.
Version 7.1.1
- Added support for Linux on 32-bit ARM hardware (GitHub Issue #230).
- Added support for .NET Standard 2.1 (GitHub Issue #151).
- Added
V8RuntimeConstraints.HeapExpansionMultiplier
. - Fixed an intermittent crash related to V8 background tasks.
- Updated API and build documentation.
- Tested with V8 8.9.255.20.
ClearScript 7.1
- Breaking Changes:
- A new assembly, ClearScript.Windows.Core, has been split out of ClearScript.Windows.
- Added "core" Windows Script engine classes that don't require the Windows Desktop runtime.
- Added support for Windows and Linux on arm64 hardware (GitHub Issue #206).
- The Windows Desktop runtime is not available for arm64, so only V8 and the "core" Windows Script engines are supported.
- Enabled the JavaScript Internationalization API in
V8ScriptEngine
(GitHub Issue #150).- An ICU Data file must be deployed with the application for full support of this API.
- Added
V8Runtime.WriteHeapSnapshot
andV8ScriptEngine.WriteRuntimeHeapSnapshot
(GitHub Issue #85). - Switched to static linking of C/C++ libraries to broaden Linux support (GitHub Issue #215).
- Relaxed type comparison in HostTypeCollection (GitHub Issue #213).
- Added experimental support for the Universal Windows Platform (V8 only).
- Updated API and build documentation.
- Tested with V8 8.8.278.14.