Skip to content

v3.0.0

Compare
Choose a tag to compare
@Taritsyn Taritsyn released this 24 Dec 19:30
· 72 commits to master since this release

Version: 3.0.0
Published: 12/24/2018
Change Set: 632168c
NuGet Package MsieJavaScriptEngine

  • Format of the error messages was unified
  • Created a new exception classes: JsCompilationException, JsEngineException, JsFatalException, JsInterruptedException, JsScriptException and JsUsageException. These exceptions are responsible for handling errors, some of which were previously handled by the JsRuntimeException class.
  • In the JsException class was added two new properties: Category and Description
  • From the JsRuntimeException class was removed one property - ErrorCode
  • In the JsRuntimeException class was added three new properties: Type, DocumentName and CallStack
  • JsEngineLoadException class now is inherited from the JsEngineException class
  • Format method of the JsErrorHelpers class was renamed to the GenerateErrorDetails
  • One part of the auxiliary code was removed, and other part moved to an external library - AdvancedStringBuilder
  • Added a ability to interrupt execution of the script
  • In JsRT modes added a ability to pre-compile scripts
  • In MsieJsEngine class was added SupportsScriptPrecompilation property and four new methods: Interrupt, Precompile, PrecompileFile and PrecompileResource
  • In JavaScript engine settings was added one new property - MaxStackSize (default 492 or 984 KB)
  • Added support of .NET Standard 2.0 (only supported ChakraIeJsRt and ChakraEdgeJsRt modes)