Sourced from sass's releases.
Dart Sass 1.74.1
To install Sass 1.74.1, download one of the packages below and add it to your PATH, or see the Sass website for full installation instructions.
Changes
- No user-visible changes.
See the full changelog for changes in earlier releases.
Sourced from sass's changelog.
1.74.1
- No user-visible changes.
1.74.0
JS API
Add a new top-level
deprecationsobject, which contains variousDeprecationobjects that define the different types of deprecation used by the Sass compiler and can be passed to the options below.Add a new
fatalDeprecationscompiler option that causes the compiler to error if any deprecation warnings of the provided types are encountered. You can also pass in aVersionobject to treat all deprecations that were active in that Dart Sass version as fatal.Add a new
futureDeprecationscompiler option that allows you to opt-in to certain deprecations early (currently justimport).Add a new
silenceDeprecationscompiler option to ignore any deprecation warnings of the provided types.Command-Line Interface
Add a new
--silence-deprecationflag, which causes the compiler to ignore any deprecation warnings of the provided types.Previously, if a future deprecation was passed to
--fatal-deprecationbut not--future-deprecation, it would be treated as fatal despite not being enabled. Both flags are now required to treat a future deprecation as fatal with a warning emitted if--fatal-deprecationis passed without--future-deprecation, matching the JS API's behavior.Dart API
The
compilemethods now take in asilenceDeprecationsparameter, which causes the compiler to ignore any deprecation warnings of the provided types.Add
Deprecation.obsoleteInto match the JS API. This is currently null for all deprecations, but will be used once some deprecations become obsolete in Dart Sass 2.0.0.Potentially breaking bug fix: Fix a bug where
compileStringToResultAsyncignoredfatalDeprecationsandfutureDeprecations.The behavior around making future deprecations fatal mentioned in the CLI section above has also been changed in the Dart API.
1.73.0
... (truncated)
1137797 Fix bulma and release 1.74.1 (#2210)d9220d9 Complete implementation the deprecations API (#2207)783c248 Fix typo in function documentation (#2205)c8d0643 Better handle filesystem importers when load paths aren't necessary (#2203)9302b35 Add support for nesting in plain CSS (#2198)772280a Support linux-riscv64 and windows-arm64 (#2201)