Skip to content

Update dependency sass-migrator to v2 - #206

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sass-migrator-2.x
Open

renovate[bot] wants to merge 1 commit into
mainfrom
renovate/sass-migrator-2.x

Conversation

@renovate

@renovate renovate Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
sass-migrator ^1.5.6^2.0.0 age confidence

Release Notes

sass/migrator (sass-migrator)

v2.5.7

Compare Source

  • Fix a bug where the --migrate-deps flag would not apply to dependencies
    via @forward rules.

v2.5.6

Compare Source

  • No user-visible changes.

v2.4.2

Compare Source

Module Migrator
  • Late @import rules can now be hoisted above safe at-rules in the same file.

  • Fix a typo in the error message for late @import rules that could not be
    migrated.

  • Fix a bug where hoisted @use rules with configuration would have incorrect
    syntax.

v2.4.1

Compare Source

Module Migrator
  • Fix a bug where a duplicate namespace would be added to a reassignment of a
    variable from another module when running on a partially migrated file.

v2.4.0

Compare Source

Module Migrator
  • Better handling of late @import rules. Previously, these were treated
    identically to nested imports, but now they can be hoisted to the top of the
    file where @use is allowed if they do not emit any CSS.

    To allow the migrator to hoist even late imports that do emit CSS, use the
    --unsafe-hoist flag. @import rules that emit CSS will still be converted
    to meta.load-css() even with this flag if no Sass members are referenced
    from them.

    If there are any plain CSS at-rules that are used by your post-processing
    tools but never actually result in meaningful CSS, you can pass them
    (without the @) to --safe-at-rule so that the migrator doesn't consider
    them to emit CSS when handling late imports.

    The migrator's behavior when encountering actual nested imports remains
    unchanged.

  • Fix a bug that resulted in duplicate @use rules when migrating stylesheets
    that contained both a @use and an @import of the same dependency.

v2.3.3

Compare Source

Module Migrator
  • Fix some bugs in the conversion of private names that are referenced across
    files to public names, especially when --remove-prefix and/or multiple
    leading dashes/underscores are involved.

v2.3.2

Compare Source

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

v2.3.1

Compare Source

Color Function Migrator
  • Fix a bug where deprecated color functions nested inside other functions would
    not be migrated.

v2.3.0

Compare Source

  • 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.

v2.2.1

Compare Source

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

v2.2.0

Compare Source

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.

v2.1.0

Compare Source

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

v2.0.3

Compare Source

Module Migrator
  • Fixes some crashes due to null pointer errors.

v2.0.2

Compare Source

Calc Functions Interpolation Migrator
  • Fix the interpretation of a dash in a variable name as a minus sign.

v2.0.1

Compare Source

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

v2.0.0

Compare Source

  • 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.

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.

v1.8.1

Compare Source

Calc Functions Interpolation Migrator
  • Migration for more than one interpolation or expressions in a calc function
    parameter.

v1.8.0

Compare Source

Calc Functions Interpolation Migrator

Configuration

📅 Schedule: Branch creation - "before 2am" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch from 8bb1390 to 69c1420 Compare April 2, 2026 15:10
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch 8 times, most recently from 53c5954 to f299a41 Compare May 5, 2026 01:39
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch from f299a41 to cf01ab4 Compare June 8, 2026 22:10
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch 5 times, most recently from 9153d78 to f5435ce Compare June 20, 2026 01:18
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch from f5435ce to ad1ecbe Compare July 1, 2026 01:11
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch from ad1ecbe to 4d321bb Compare August 10, 2026 22:10
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch from 4d321bb to b38a21e Compare August 17, 2026 22:12
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch 6 times, most recently from f73a6d7 to 1ce2358 Compare September 8, 2026 08:10
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch 15 times, most recently from 5cf62e4 to 04834c0 Compare September 14, 2026 22:22
@renovate
renovate Bot force-pushed the renovate/sass-migrator-2.x branch from 04834c0 to 410b569 Compare September 15, 2026 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants