Releases: microsoft/ClearScript
Releases · microsoft/ClearScript
ClearScript 7.0 RC5
- Breaking Changes:
- The ClearScript assembly has been split into ClearScript.Core, ClearScript.Windows, and ClearScript.V8.
- The project no longer builds distinct .NET Core libraries for non-Windows platforms.
- The name of each ClearScriptV8 assembly now includes its Runtime Identifier:
ClearScriptV8.win-x86.dll
ClearScriptV8.win-x64.dll
ClearScriptV8.linux-x64.so
ClearScriptV8.osx-x64.dylib
- Enhanced support for cross-platform deployment of web projects.
- Overhauled NuGet packaging according to Andrey Taritsyn's recommended taxonomy (GitHub Issue #209).
- Tested with V8 8.7.220.16.
ClearScript 7.0 RC4
- Fixed support for multiple application domains (GitHub Issue #208).
- Tested with V8 8.7.220.10
ClearScript 7.0 RC3
- Fixed more task-promise conversion issues (GitHub Issue #198).
ClearScript 7.0 RC2
- Fixed task-promise conversion issues (GitHub Issue #198).
ClearScript 7.0 RC
- Breaking Changes:
- V8 deployment no longer requires the
v8-*.dll
assemblies. - V8 deployment no longer requires the Visual C++ redistributables.
- ClearScriptV8 is now linked against a matching V8 configuration (Debug or Release).
- V8 deployment no longer requires the
- Removed all C++/CLI code, paving the way for non-Windows builds.
- The ClearScriptV8 assemblies are now 100% native code, resolving GitHub Issue #197.
- Switched to static linking for V8 and C++ libraries.
- Added initial support for .NET Core 3.1 on Linux (x64) and macOS (x64).
- Non-Windows builds are limited to V8; legacy script engines (JScript/VBScript) are non-functional.
- Windows-specific integration features such as COM Interop are not available on Linux and macOS.
- Built and tested on Ubuntu 20.04, Manjaro 20.1, and macOS Catalina.
- Added V8ScriptEngineFlags.EnableTaskPromiseConversion to resolve GitHub Issue #198.
- Updated managed code to leverage C# 7.3 features.
- Updated build, deployment, and debugging documentation, resolving GitHub Issue #199.
- Tested with V8 8.6.395.17.
Version 6.0.2
- Fixed error handling in
JavaScriptExtensions.ToPromise
. - Added
JavaScriptExtensions.ToTask
(GitHub Issue #182). - Added
DocumentLoader.MaxCacheSize
andDocumentCategory.MaxCacheSize
. - Added code to break event connections on engine disposal (GitHub Issue #183).
- Improved ES6 module support, fixing cycle crash (GitHub Issue #181).
- Added
DynamicHostObject
(GitHub Issue #180). - Added
BigInt
/BigInteger
support for V8 (GitHub Issue #176). - Hardened
Assembly.Load
call in V8Proxy.cs (GitHub Issue #175). - Improved V8Update environment isolation to fix some V8 build issues (GitHub Issue #185).
- Updated API documentation.
- Tested with V8 8.3.110.9.
Version 6.0.1
- Breaking Changes:
- The
v8-libcpp-ia32.dll
andv8-libcpp-x64.dll
assemblies are no longer used. - V8 deployment requires two new assemblies:
v8-zlib-ia32.dll
andv8-zlib-x64.dll
.
- The
- Improved support for IIS least-privilege accounts (GitHub Issue #160).
- Fixed 64-bit V8 initialization on Azure App Service (GitHub Issue #166).
- Enabled
DirectAccess
forComVisible
.NET objects (GitHub Issue #161). - Added
ScriptEngine.ExposeHostObjectStaticMembers
(GitHub Issue #152). - Added
ScriptEngine.UndefinedImportValue
and madeUndefined.Value
public (GitHub Issue #154). - Enhanced
ExtendedHostFunctions.typeLibEnums
to pull in external enumerations. - Added thread affinity enforcement in
WindowsScriptEngine.Dispose
. - Eliminated
KeyNotFoundException
when checking for system documents (GitHub Issue #169). - Enabled the use of the application's root folder as a backup for its local data folder (GitHub Issue #171).
- Reduced minimum CPU profile and heap size sampling intervals to 125 ms.
- Updated deployment and API documentation, resolving GitHub Issues #158 and #159.
- Tested with V8 8.1.307.28.
ClearScript 6.0
- Breaking Changes:
- To build ClearScript you must now use Visual Studio 2019 Version 16.4 or later.
- The assembly table has been deprecated and is now disabled by default.
- Added preliminary support for .NET Core 3.1 on Windows (GitHub Issue #9).
- .NET Core platform differences may impact some host integration features.
- Hosts making heavy use of COM object scripting are advised not to migrate.
- Added support for system documents (GitHub Issue #143).
- Added
IList
implementation to V8 arrays. - Added
ExtendedHostFunctions.typeLibEnums
(GitHub Issue #147). - Added
WindowsScriptEngineFlags.MarshalDateTimeAsDate
(GitHub Issue #141). - Fixed generic type inference for COM interfaces.
- Fixed enumeration of COM collections that don't provide class information (GitHub Issue #146).
- Fixed memory leak impacting Windows Script object property assignment (GitHub Issue #135).
- Updated build and API documentation.
- Tested with V8 7.9.317.32.
ClearScript 5.6
- Breaking Changes:
- V8 deployment requires two new assemblies:
v8-libcpp-ia32.dll
andv8-libcpp-x64.dll
. - Visual Studio 2015 is no longer supported.
- V8 deployment requires two new assemblies:
- Added initial support for JavaScript modules (V8 only, GitHub Issue #114).
- Added initial support for CommonJS modules (V8 and JScript).
- Added
ScriptEngine.ExecuteDocument
andScriptEngine.EvaluateDocument
. - Added
V8ScriptEngine.CompileDocument
andV8Runtime.CompileDocument
. - Added support for machine-level deployment (GitHub Issue #117).
- Added
Extensions
andJavaScriptExtensions
to facilitate specific scenarios. - Added implicit conversion of host method arguments via user-defined operators (GitHub Issue #115).
- Patched a V8 issue that causes occasional script execution failure in 32-bit processes (GitHub Issue #111).
- Fixed accessibility of public methods overriden by internal classes (GitHub Issue #112).
- Updated deployment and API documentation.
- Tested with V8 7.6.303.28.
Version 5.5.6
- Added experimental support for CPU profiling in
V8ScriptEngine
andV8Runtime
. - Improved support for newer V8 features such as promises and WebAssembly.
- Added
Nothing
class for better VBScript support (GitHub Issue #106). - Added
readme.txt
to NuGet package (GitHub Issue #109). - Updated API documentation.
- Tested with V8 7.4.288.26.