Releases: sass/migrator
Sass Migrator 1.7.0
Media Logic Migrator
- Adds a new migrator for migrating deprecated
@media
query logic.
See the full changelog for changes in earlier releases.
Sass Migrator 1.6.0
Strict Unary Migrator
- Add a new migrator for eliminating ambiguous syntax for the
+
and-
operators that will soon be deprecated.
See the full changelog for changes in earlier releases.
Sass Migrator 1.5.6
- No user-visible changes.
See the full changelog for changes in earlier releases.
Sass Migrator 1.5.5
- No user-visible changes.
See the full changelog for changes in earlier releases.
Sass Migrator 1.5.4
Module Migrator
- Fix a bug where the built-in function
keywords
was incorrectly migrated.
See the full changelog for changes in earlier releases.
Sass Migrator 1.5.3
Division Migrator
- Fix a bug where division inside calc expressions was unnecessarily migrated.
See the full changelog for changes in earlier releases.
Sass Migrator 1.5.2
- No user-visible changes.
See the full changelog for changes in earlier releases.
Sass Migrator 1.5.1
Division Migrator
- Fix a bug where some division nested in a parenthesized expression would not be migrated.
See the full changelog for changes in earlier releases.
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.