v3.0.0
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,JsScriptExceptionandJsUsageException. These exceptions are responsible for handling errors, some of which were previously handled by theJsRuntimeExceptionclass. - In the
JsExceptionclass was added two new properties:CategoryandDescription - From the
JsRuntimeExceptionclass was removed one property -ErrorCode - In the
JsRuntimeExceptionclass was added three new properties:Type,DocumentNameandCallStack JsEngineLoadExceptionclass now is inherited from theJsEngineExceptionclassFormatmethod of theJsErrorHelpersclass was renamed to theGenerateErrorDetails- 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
MsieJsEngineclass was addedSupportsScriptPrecompilationproperty and four new methods:Interrupt,Precompile,PrecompileFileandPrecompileResource - In JavaScript engine settings was added one new property -
MaxStackSize(default492or984KB) - Added support of .NET Standard 2.0 (only supported
ChakraIeJsRtandChakraEdgeJsRtmodes)