Skip to content

Releases: ClearFoundry/ClearScript

Version 5.3.2

26 Sep 15:22

Choose a tag to compare

  • Updates for breaking V8 API changes.
  • V8Update now fetches a tested revision by default.
  • Tested with V8 3.19.9.

Version 5.3.1

26 Sep 15:21

Choose a tag to compare

  • Fixed JScriptEngine dynamic binding bug (Issue #9).

ClearScript 5.3

26 Sep 15:19

Choose a tag to compare

  • Enhancements for V8 users:
    • V8ScriptEngine now supports script compilation and re-execution.
    • New V8Runtime class 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

26 Sep 15:18

Choose a tag to compare

  • Fixed compilation errors caused by V8 API deprecation.

Version 5.2.1

26 Sep 15:17

Choose a tag to compare

  • Restored .NET 4.0 source compatibility.
  • Updated build and deployment information in Readme.txt.

ClearScript 5.2

26 Sep 15:16

Choose a tag to compare

  • Breaking Change: Revamped error handling:
    • Added ScriptEngineException and ScriptInterruptedException.
    • Exceptions are now preserved and chained whenever possible, including across engines.
  • 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.Object are exempt from type restriction.
  • Important: New V8 API usage:
    • Switched to new HandleScope constructor for improved performance.
    • ClearScript 5.2 requires V8 3.17.11 or later.
  • 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

26 Sep 15:10

Choose a tag to compare

  • Fixed V8ScriptEngine access violation.
  • V8Update can now reuse previously downloaded files.
  • V8Update now forces GYP to target Visual Studio 2012.
  • ReadMe.txt updates.

Version 5.1.2

26 Sep 15:09

Choose a tag to compare

  • Fixed delegate construction syntax for JavaScript.
  • Documentation updates.
  • New tests.

Version 5.1.1

26 Sep 15:09

Choose a tag to compare

  • Fixed null argument binding.
  • Added tests.
  • Minor code fixes.

ClearScript 5.1

26 Sep 15:08

Choose a tag to compare

  • Added ScriptEngine.AddRestrictedHostObject().
  • Added ScriptMemberAttribute, NoScriptAccessAttribute.
  • Improved method bind plumbing.
  • Improved GlobalMembers support in V8ScriptEngine.
  • Many new tests.