Skip to content

v1.13.0

Compare
Choose a tag to compare
@Taritsyn Taritsyn released this 18 Dec 17:59
· 58 commits to master since this release

Version: 1.13.0
Published: 12/18/2022
Change Set: 0ff7371

  • In BundleTransformer.ConfigurationIntelliSense updated definitions for configuration settings of Sass and SCSS translator
  • In BundleTransformer.SassAndScss:
    • Now the Dart Sass Host library (requires installation and registration of the JS engine) is used instead of the LibSass Host
    • In configuration settings of Sass and SCSS translator was added one new property - JsEngine
    • From configuration settings of Sass and SCSS translator was removed two properties: Precision and SourceComments
    • In configuration settings of Sass and SCSS translator was added one new property - Severity (default 0)
    • VirtualFileManager class was made public
    • Conversion of the application-relative paths (starts with ~/) to an absolute virtual paths is no longer supported in the url() functions if its value contains an interpolation and unquoted (for example, url(#{$icons-path}/computer.png)). For normal working, such values should be quoted (for example, url("#{$icons-path}/computer.png") or url('#{$icons-path}/computer.png')).

Steps required to update the BundleTransformer.SassAndScss module to version 1.13.X:

  1. Update the BundleTransformer.SassAndScss package to latest version.
  2. Uninstall the LibSassHost and LibSassHost.Native.* packages if necessary.
  3. Remove the precision and sourceComments attributes from the /configuration/bundleTransformer/sassAndScss configuration element in the Web.config file.
  4. Install one of the following packages: JavaScriptEngineSwitcher.Msie (only in the Chakra “Edge” JsRT mode), JavaScriptEngineSwitcher.ChakraCore or JavaScriptEngineSwitcher.V8.
  5. Register a JS engine.
  6. Set a name of JS engine (for example, MsieJsEngine) to the name attribute of /configuration/bundleTransformer/sassAndScss/jsEngine configuration element in the Web.config file.
  7. In Sass and SCSS code convert a unquoted values with interpolation in the url() functions (for example, url(#{$icons-path}/computer.png)) to quoted values (for example, url("#{$icons-path}/computer.png") or url('#{$icons-path}/computer.png')).

NuGet Packages

Core
Translators