JavaScriptEngineSwitcher.Core 3.0.0

JavaScript Engine Switcher determines unified interface for access to the basic features of popular JavaScript engines (MSIE JavaScript Engine for .NET, Microsoft ClearScript.V8, Jurassic, Jint, ChakraCore, VroomJs and NiL.JS). This library allows you to quickly and easily switch to using of another JavaScript engine.

No packages depend on JavaScriptEngineSwitcher.Core.

1. In the `JsEngineSwitcher` class a `Instance` property was renamed to the `Current` property; 2. Now you can implement your own version of the `JsEngineSwitcher` class; 3. Format of the error messages was unified; 4. 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; 5. In the `JsException` class was added two new properties: `Category` and `Description`; 6. From the `JsRuntimeException` class was removed one property - `ErrorCode`; 7. In the `JsRuntimeException` class was added three new properties: `Type`, `DocumentName` and `CallStack`; 8. `JsEngineLoadException` class now is inherited from the `JsEngineException` class; 9. Removed a `EmptyValueException` class; 10. `Format` method of the `JsErrorHelpers` class was renamed to the `GenerateErrorDetails`; 11. Part of the auxiliary code was moved to external libraries: PolyfillsForOldDotNet and AdvancedStringBuilder; 12. In `IJsEngine` interface was added two new properties: `SupportsScriptInterruption` and `SupportsScriptPrecompilation`, and four new methods: `Interrupt`, `Precompile`, `PrecompileFile` and `PrecompileResource`; 13. Added support of .NET Standard 2.0.

.NET Framework 4.0

.NET Framework 4.5

.NET Standard 1.3

.NET Standard 2.0

Version Downloads Last updated
3.24.1 13 03/12/2024
3.24.0 15 02/18/2024
3.21.0 6 02/18/2024
3.19.0 6 02/18/2024
3.3.0 7 02/18/2024
3.1.0 6 02/18/2024
3.0.0 5 02/18/2024
3.0.0-rc2 3 02/18/2024
3.0.0-rc1 4 02/18/2024
3.0.0-beta9 3 02/18/2024
3.0.0-beta4 4 02/18/2024
3.0.0-beta3 10 02/18/2024
3.0.0-beta1 8 02/18/2024
3.0.0-alpha9 4 02/18/2024
3.0.0-alpha6 3 02/18/2024
3.0.0-alpha2 4 02/18/2024
3.0.0-alpha1 5 02/18/2024
2.4.10 6 02/18/2024
2.4.9 7 02/18/2024
2.4.0 9 02/18/2024
2.2.0 7 02/18/2024
2.1.2 9 02/18/2024
2.0.3 6 02/09/2024
2.0.0 8 02/18/2024
2.0.0-beta1 7 02/18/2024
2.0.0-alpha1 6 02/18/2024
1.5.0 8 02/18/2024
1.5.0-beta1 6 02/18/2024
1.5.0-alpha1 5 02/18/2024
1.2.4 9 02/18/2024
1.2.0 39 11/29/2019
1.1.3 6 02/18/2024
1.1.0 7 02/18/2024
1.0.0 10 02/18/2024
0.9.5 7 02/18/2024
0.9.2 5 02/18/2024