v3.24.0
Version: 3.24.0
Published: 2/6/2024
Change Set: e9a49c1
- In the
JsEngineSwitcherclass was added theAllowCurrentPropertyproperty (defaulttrue) - In JavaScriptEngineSwitcher.Extensions.MsDependencyInjection:
AddJsEngineSwitcher(Action<IJsEngineSwitcher>)andAddJsEngineSwitcher(IJsEngineSwitcher, Action<IJsEngineSwitcher>)extension methods are replaced by new methods accordingly:AddJsEngineSwitcher(Action<JsEngineSwitcherOptions>)andAddJsEngineSwitcher(IJsEngineSwitcher, Action<JsEngineSwitcherOptions>)AllowCurrentPropertyproperty ofJsEngineSwitcherOptionsclass allows to forbid usage of theJsEngineSwitcher.Currentproperty. This feature can be used to fix a error #115 “Concurrency issue when initializing JS engine switcher in startup”. Special thanks to Ville Häkli