|
20 | 20 | ============= |
21 | 21 | RELEASE NOTES |
22 | 22 | ============= |
23 | | - 1. In the `JsEngineSwitcher` class a `Instance` property was renamed to the |
24 | | - `Current` property; |
25 | | - 2. Now you can implement your own version of the `JsEngineSwitcher` class; |
26 | | - 3. Format of the error messages was unified; |
27 | | - 4. Created a new exception classes: `JsCompilationException`, |
28 | | - `JsEngineException`, `JsFatalException`, `JsInterruptedException`, |
29 | | - `JsTimeoutException`, `JsScriptException` and `JsUsageException`. These |
30 | | - exceptions are responsible for handling errors, some of which were |
31 | | - previously handled by the `JsRuntimeException` class; |
32 | | - 5. In the `JsException` class was added two new properties: `Category` and |
33 | | - `Description`; |
34 | | - 6. From the `JsRuntimeException` class was removed one property - `ErrorCode`; |
35 | | - 7. In the `JsRuntimeException` class was added three new properties: `Type`, |
36 | | - `DocumentName` and `CallStack`; |
37 | | - 8. `JsEngineLoadException` class now is inherited from the `JsEngineException` |
38 | | - class; |
39 | | - 9. Removed a `EmptyValueException` class; |
40 | | - 10. `Format` method of the `JsErrorHelpers` class was renamed to the |
41 | | - `GenerateErrorDetails`; |
42 | | - 11. Part of the auxiliary code was moved to external libraries: |
43 | | - PolyfillsForOldDotNet and AdvancedStringBuilder; |
44 | | - 12. In `IJsEngine` interface was added two new properties: |
45 | | - `SupportsScriptInterruption` and `SupportsScriptPrecompilation`, and four |
46 | | - new methods: `Interrupt`, `Precompile`, `PrecompileFile` and |
47 | | - `PrecompileResource`; |
48 | | - 13. Added support of .NET Standard 2.0. |
| 23 | + In the `JsEngineFactoryCollection` class was added a `Count` property and |
| 24 | + `GetRegisteredFactories` method. |
49 | 25 |
|
50 | 26 | ============= |
51 | 27 | DOCUMENTATION |
|
0 commit comments