Skip to content

Releases: sass/migrator

Sass Migrator 2.3.0

18 Dec 23:41
e3712be
Compare
Choose a tag to compare
  • Add a --pkg-importer flag to enable loading dependencies from pkg: URLs with the same behavior as the compiler. Currently this only supports the Node.js package resolution algorithm, via --pkg-importer=node. For example, @use "pkg:bootstrap" will load node_modules/bootstrap/scss/bootstrap.scss.

See the full changelog for changes in earlier releases.

Sass Migrator 2.2.1

23 Oct 23:49
8b80d14
Compare
Choose a tag to compare

Module Migrator

  • Fix a bug where plain CSS min() and max() functions would incorrectly be migrated to math.min() and math.max().

See the full changelog for changes in earlier releases.

Sass Migrator 2.2.0

11 Oct 00:07
c5f8ac8
Compare
Choose a tag to compare

Module Migrator

  • Add a new --built-in-only flag, which migrates global functions to their sass: module equivalents, while leaving @import rules unchanged.

  • Fix bug where some functions (opacity, is-bracketed, and selector-extend) would not be migrated.

See the full changelog for changes in earlier releases.

Sass Migrator 2.1.0

19 Sep 01:21
c27792b
Compare
Choose a tag to compare

Color Function Migrator

  • Adds a new color migrator that migrates off of legacy color functions that were deprecated in Dart Sass 1.79.0.

See the full changelog for changes in earlier releases.

Sass Migrator 2.0.3

12 Mar 05:16
dce67db
Compare
Choose a tag to compare

Module Migrator

  • Fixes some crashes due to null pointer errors.

See the full changelog for changes in earlier releases.

Sass Migrator 2.0.2

16 Jan 23:51
d2b2ded
Compare
Choose a tag to compare

Calc Functions Interpolation Migrator

  • Fix the interpretation of a dash in a variable name as a minus sign.

See the full changelog for changes in earlier releases.

Sass Migrator 2.0.1

16 Jan 22:35
6d08f6d
Compare
Choose a tag to compare

Calc Functions Interpolation Migrator

  • Add parentheses in place of interpolation when necessary to preserve the evaluation order.
  • Keep interpolation in var() CSS functions.

See the full changelog for changes in earlier releases.

Sass Migrator 2.0.0

04 Jan 22:58
387292f
Compare
Choose a tag to compare
  • Breaking change: The media-logic migrator has been removed as the corresponding breaking change has been completed in Dart Sass. If you still need to migrate legacy code, use migrator version 1.8.1.

  • Update to be compatible with the latest version of the Dart Sass AST.

Calc Functions Interpolation Migrator

  • Add parentheses in place of interpolation when necessary to preserve the evaluation order.

Division Migrator

  • / division should now be left untouched in all CSS calculation functions. This was already the case for calc, clamp, min, and max, but it now applies to the new functions that Dart Sass 1.67.0 added support for.

See the full changelog for changes in earlier releases.

Sass Migrator 1.8.1

01 Dec 00:32
0852083
Compare
Choose a tag to compare

Calc Functions Interpolation Migrator

  • Migration for more than one interpolation or expressions in a calc function parameter.

See the full changelog for changes in earlier releases.

Sass Migrator 1.8.0

27 Nov 17:16
2b5915f
Compare
Choose a tag to compare

Calc Functions Interpolation Migrator

See the full changelog for changes in earlier releases.