Releases: sass/migrator
Sass Migrator 1.5.0
Division Migrator
-
When migrating division where the divisor is a common constant value, the migrator will now convert it to multiplication, rather than
math.div
.For example:
$variable / 2
would be migrated to$variable * 0.5
.To disable this and migrate all division to
math.div
, pass--no-multiplication
.
See the full changelog for changes in earlier releases.
Sass Migrator 1.4.5
- Glob syntax will no longer be resolved if a file with that literal name exists.
See the full changelog for changes in earlier releases.
Sass Migrator 1.4.4
Division Migrator
- Fix a bug where
@use "sass:math"
would sometimes be incorrectly inserted after other rules.
See the full changelog for changes in earlier releases.
Sass Migrator 1.4.3
Division Migrator
- Fix a crash when encountering parentheses in an expression that's definitely not division.
See the full changelog for changes in earlier releases.
Sass Migrator 1.4.2
Division Migrator
- Fix a bug where negated division could be migrated incorrectly.
See the full changelog for changes in earlier releases.
Sass Migrator 1.4.1
- Globs containing
**
should now be properly resolved when running on Node.
See the full changelog for changes in earlier releases.
Sass Migrator 1.4.0
Division Migrator
- The division migrator is now enabled, and will convert slash-as-division to the
math.div
function.
See the full changelog for changes in earlier releases.
Sass Migrator 1.3.9
- Fix crash when running on Node.
See the full changelog for changes in earlier releases.
Sass Migrator 1.3.8
- No user-visible changes.
See the full changelog for changes in earlier releases.
Sass Migrator 1.3.7
Module Migrator
- Fix a crash in a rare edge case involving orphan import-only files and multiple load paths.
See the full changelog for changes in earlier releases.