|
1 | 1 | Change log |
2 | 2 | ========== |
3 | 3 |
|
| 4 | +## v3.0.0 - December 25, 2018 |
| 5 | + * In the `JsEngineSwitcher` class a `Instance` property was renamed to the `Current` property |
| 6 | + * Now you can implement your own version of the `JsEngineSwitcher` class |
| 7 | + * Format of the error messages was unified |
| 8 | + * Created a new exception classes: `JsCompilationException`, `JsEngineException`, `JsFatalException`, `JsInterruptedException`, `JsTimeoutException`, `JsScriptException` and `JsUsageException`. These exceptions are responsible for handling errors, some of which were previously handled by the `JsRuntimeException` class |
| 9 | + * In the `JsException` class was added two new properties: `Category` and `Description` |
| 10 | + * From the `JsRuntimeException` class was removed one property - `ErrorCode` |
| 11 | + * In the `JsRuntimeException` class was added three new properties: `Type`, `DocumentName` and `CallStack` |
| 12 | + * `JsEngineLoadException` class now is inherited from the `JsEngineException` class |
| 13 | + * Removed a `EmptyValueException` class |
| 14 | + * `Format` method of the `JsErrorHelpers` class was renamed to the `GenerateErrorDetails` |
| 15 | + * Part of the auxiliary code was moved to external libraries: [PolyfillsForOldDotNet](https://github.com/Taritsyn/PolyfillsForOldDotNet) and [AdvancedStringBuilder](https://github.com/Taritsyn/AdvancedStringBuilder) |
| 16 | + * In `IJsEngine` interface was added two new properties: `SupportsScriptInterruption` and `SupportsScriptPrecompilation`, and four new methods: `Interrupt`, `Precompile`, `PrecompileFile` and `PrecompileResource` |
| 17 | + * In JavaScriptEngineSwitcher.Extensions.MsDependencyInjection added a overloaded versions of the `AddJsEngineSwitcher` extension method, which takes an instance of JS engine switcher |
| 18 | + * In JavaScriptEngineSwitcher.ChakraCore, JavaScriptEngineSwitcher.Msie, JavaScriptEngineSwitcher.V8 and JavaScriptEngineSwitcher.Vroom added a ability to interrupt execution of the script |
| 19 | + * In JavaScriptEngineSwitcher.ChakraCore, JavaScriptEngineSwitcher.Jint, JavaScriptEngineSwitcher.Jurassic, JavaScriptEngineSwitcher.Msie and JavaScriptEngineSwitcher.V8 added a ability to pre-compile scripts |
| 20 | + * In all modules, except the JavaScriptEngineSwitcher.V8, added support of .NET Standard 2.0 |
| 21 | + * In JavaScriptEngineSwitcher.ChakraCore: |
| 22 | + * ChakraCore was updated to version 1.11.4 |
| 23 | + * No longer used the old ChakraCore API for Windows (Internet Explorer-like API) |
| 24 | + * Now the ChakraCore for Windows requires the [Microsoft Visual C++ Redistributable for Visual Studio 2017](https://www.visualstudio.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2017) |
| 25 | + * In configuration settings of the ChakraCore JS engine was added one new property - `MaxStackSize` (default `492` or `984` KB) |
| 26 | + * Added support of .NET Framework 4.7.1 and .NET Core App 2.1 |
| 27 | + * In JavaScriptEngineSwitcher.Jint: |
| 28 | + * Jint was updated to version 2.11.58 |
| 29 | + * In configuration settings of the Jint JS engine a `Timeout` property has been replaced by the `TimeoutInterval` property (default `TimeSpan.Zero`) and was added one new property - `LocalTimeZone` (default `TimeZoneInfo.Local`) |
| 30 | + * In JavaScriptEngineSwitcher.Jurassic added support of Jurassic version of February 24, 2018 |
| 31 | + * In JavaScriptEngineSwitcher.Msie: |
| 32 | + * MSIE JavaScript Engine was updated to version 3.0.0 |
| 33 | + * In configuration settings of the MSIE JS engine was added one new property - `MaxStackSize` (default `492` or `984` KB) |
| 34 | + * In JavaScriptEngineSwitcher.V8: |
| 35 | + * Microsoft ClearScript.V8 was updated to version 5.5.4 (support of V8 version 7.0.276.42) |
| 36 | + * Now requires .NET Framework 4.5 or higher |
| 37 | + * Now the Microsoft ClearScript.V8 requires the [Microsoft Visual C++ Redistributable for Visual Studio 2017](https://www.visualstudio.com/downloads/#microsoft-visual-c-redistributable-for-visual-studio-2017) |
| 38 | + * In configuration settings of the V8 JS engine became obsolete the `MaxExecutableSize` property and added two new properties: `AwaitDebuggerAndPauseOnStart` (default `false`) and `EnableRemoteDebugging` (default `false`) |
| 39 | + * In JavaScriptEngineSwitcher.Vroom added support of .NET Framework 4.7.1 |
| 40 | + * Added a module based on the [NiL.JS](https://github.com/nilproject/NiL.JS) |
| 41 | + |
4 | 42 | ## v3.0.0 RC 3 - December 18, 2018 |
5 | 43 | * In JavaScriptEngineSwitcher.ChakraCore: |
6 | 44 | * ChakraCore was updated to version 1.11.4 |
|
0 commit comments