Releases: ClearFoundry/ClearScript
Releases · ClearFoundry/ClearScript
Version 5.3.2
- Updates for breaking V8 API changes.
- V8Update now fetches a tested revision by default.
- Tested with V8 3.19.9.
Version 5.3.1
- Fixed
JScriptEnginedynamic binding bug (Issue #9).
ClearScript 5.3
- Enhancements for V8 users:
V8ScriptEnginenow supports script compilation and re-execution.- New
V8Runtimeclass allows engines to share resources and compiled scripts. - New experimental APIs for restricting and querying V8 memory usage.
- Improved V8 loading algorithm for simplified deployment.
- V8Update can now fetch a V8 version that is known to work with ClearScript.
- New method:
ScriptEngine.CollectGarbage(). - Host item caching improves performance and reduces memory usage.
- Several new tests.
Version 5.2.2
- Fixed compilation errors caused by V8 API deprecation.
Version 5.2.1
- Restored .NET 4.0 source compatibility.
- Updated build and deployment information in Readme.txt.
ClearScript 5.2
- Breaking Change: Revamped error handling:
- Added
ScriptEngineExceptionandScriptInterruptedException. - Exceptions are now preserved and chained whenever possible, including across engines.
- Added
- Breaking Change: Host member type restriction:
- Field, property, and method return values are now restricted to their declared types.
- Type restriction can be overridden via
ScriptMemberAttribute. - Members declared as
System.Objectare exempt from type restriction.
- Important: New V8 API usage:
- Switched to new
HandleScopeconstructor for improved performance. - ClearScript 5.2 requires V8 3.17.11 or later.
- Switched to new
- V8Update improvements:
- V8Update is now compatible with 32-bit Windows.
- Pre-existing Python installations no longer break builds.
- ClearScriptTest changes:
- Added error handling tests.
- Replaced many instances of
ExpectedExceptionAttribute. - Method hit tests no longer rely on stack walking.
- Global properties created via
V8ScriptEngine.Add*()are now read-only. - Script items now correctly implement
DynamicObject.GetDynamicMemberNames(). - ClearScriptConsole now preloads system and ClearScript assemblies and enables reflection.
Version 5.1.3
- Fixed
V8ScriptEngineaccess violation. - V8Update can now reuse previously downloaded files.
- V8Update now forces GYP to target Visual Studio 2012.
- ReadMe.txt updates.
Version 5.1.2
- Fixed delegate construction syntax for JavaScript.
- Documentation updates.
- New tests.
Version 5.1.1
- Fixed null argument binding.
- Added tests.
- Minor code fixes.
ClearScript 5.1
- Added
ScriptEngine.AddRestrictedHostObject(). - Added
ScriptMemberAttribute,NoScriptAccessAttribute. - Improved method bind plumbing.
- Improved
GlobalMemberssupport inV8ScriptEngine. - Many new tests.