Skip to content

fix(deps): update dependency sass-loader to v17 - #1332

Open
renovate[bot] wants to merge 1 commit into
masterfrom
renovate/sass-loader-17.x
Open

renovate[bot] wants to merge 1 commit into
masterfrom
renovate/sass-loader-17.x

Conversation

@renovate

@renovate renovate Bot commented Nov 2, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
sass-loader ^10.5.2 → ^17.1.0 age confidence

Release Notes

webpack/sass-loader (sass-loader)

v17.1.0

Compare Source

Minor Changes

v17.0.1

Compare Source

Patch Changes
  • Remove the byte order mark (BOM) from the compiled CSS. dart-sass prepends it when the compiled CSS contains non ASCII characters and the style option is compressed (the default for the production mode), but a BOM is only valid at the very beginning of a file - tools like css-loader move @import at-rules above it, so it ended up in the middle of the generated CSS and broke the rule after it. Source maps are shifted accordingly. (by @​alexander-akait in #​1337)

v17.0.0

Compare Source

Major Changes
  • Add "auto" to the api option and make it the default. When the Sass implementation supports the modern compiler, "auto" enables it and reuses a single long-running compiler across files, which significantly improves build performance; otherwise it falls back to the modern API. (by @​alexander-akait in #​1319)

  • Remove node-sass support. (by @​alexander-akait in #​1316)

  • Minimum supported NodeJS version is 22.11.0. (by @​alexander-akait in #​1318)

  • Convert source to native ECMAScript modules. The package now declares "type": "module" and exposes both an ESM and a CommonJS build via the exports field. CommonJS consumers continue to work via require, and ESM consumers can now import the loader directly. (by @​alexander-akait in #​1322)

  • Remove legacy Sass JS API support. (by @​alexander-akait in #​1316)

Minor Changes

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

16.0.8 (2026-05-08)
Bug Fixes
16.0.7 (2026-02-05)
Bug Fixes
16.0.6 (2025-10-23)
Bug Fixes
  • cache fs calls for modern API
16.0.5 (2025-02-14)
Bug Fixes
16.0.4 (2024-12-04)
Bug Fixes
  • include sources map сontent for modern api by default (#​1250) (70a10ff)
16.0.3 (2024-11-01)
Bug Fixes
16.0.2 (2024-09-20)
Bug Fixes

v16.0.8

Compare Source

v16.0.7

Compare Source

v16.0.6

Compare Source

v16.0.5

Compare Source

v16.0.4

Compare Source

v16.0.3

Compare Source

v16.0.2

Compare Source

v16.0.1

Compare Source

Bug Fixes

v16.0.0

Compare Source

⚠ BREAKING CHANGES
  • use modern Sass JS API by default for sass and sass-embedded

[!WARNING]

The sass options are different for the legacy (before) and modern APIs. Please look at docs how to migrate to the modern options.
Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/
Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/

To return to the previous logic use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.s[ac]ss$/i,
        use: [
          "style-loader",
          "css-loader",
          {
            loader: "sass-loader",
            options: {
              api: "legacy",
              // Your options
            },
          },
        ],
      },
    ],
  },
};
Features
  • use modern Sass JS API by default for sass and sass-embedded (10be1ba)

v15.0.0

Compare Source

⚠ BREAKING CHANGES
  • prefer sass-embedded over sass by default (#​1211)
Features
14.2.1 (2024-04-16)
Bug Fixes

v14.2.1

Compare Source

⚠ BREAKING CHANGES
  • prefer sass-embedded over sass by default (#​1211)
Features
14.2.1 (2024-04-16)
Bug Fixes

v14.2.0

Compare Source

⚠ BREAKING CHANGES
  • prefer sass-embedded over sass by default (#​1211)
Features
14.2.1 (2024-04-16)
Bug Fixes

v14.1.1

Compare Source

Features
  • added the modern-compiler value for API to reuse compiler process (#​1195) (cef40a8)
  • support webpack built-in resolver for modern and modern-compiler API (#​1197) (2265b72)

Notes:

Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.

14.1.1 (2024-02-19)
Bug Fixes

v14.1.0

Compare Source

Features
  • added the modern-compiler value for API to reuse compiler process (#​1195) (cef40a8)
  • support webpack built-in resolver for modern and modern-compiler API (#​1197) (2265b72)

Notes:

Using the modern-compiler value for the api option together with sass-embedded reduces compilation time by 5-10 times, especially for projects using large files with a lot of @import/@use, for small files the build time reduction will not be significant.

14.1.1 (2024-02-19)
Bug Fixes

v14.0.0

Compare Source

⚠ BREAKING CHANGES
  • removed fibers support
  • minimum supported Node.js version is 18.12.0 (627f55d)
13.3.3 (2023-12-25)
Bug Fixes
13.3.2 (2023-06-09)
Bug Fixes
13.3.1 (2023-05-28)
Bug Fixes

v13.3.3

Compare Source

⚠ BREAKING CHANGES
  • removed fibers support
  • minimum supported Node.js version is 18.12.0 (627f55d)
13.3.3 (2023-12-25)
Bug Fixes
13.3.2 (2023-06-09)
Bug Fixes
13.3.1 (2023-05-28)
Bug Fixes

v13.3.2

Compare Source

⚠ BREAKING CHANGES
  • removed fibers support
  • minimum supported Node.js version is 18.12.0 (627f55d)
13.3.3 (2023-12-25)
Bug Fixes
13.3.2 (2023-06-09)
Bug Fixes
13.3.1 (2023-05-28)
Bug Fixes

v13.3.1

Compare Source

⚠ BREAKING CHANGES
  • removed fibers support
  • minimum supported Node.js version is 18.12.0 (627f55d)
13.3.3 (2023-12-25)
Bug Fixes
13.3.2 (2023-06-09)
Bug Fixes
13.3.1 (2023-05-28)
Bug Fixes

v13.3.0

Compare Source

⚠ BREAKING CHANGES
  • removed fibers support
  • minimum supported Node.js version is 18.12.0 (627f55d)
13.3.3 (2023-12-25)
Bug Fixes
13.3.2 (2023-06-09)
Bug Fixes
13.3.1 (2023-05-28)
Bug Fixes

v13.2.2

Compare Source

Features
13.2.2 (2023-03-27)
Bug Fixes
13.2.1 (2023-03-18)
Bug Fixes
  • do not crash on a custom scheme in @import/@use for the modern API (21966ee)

v13.2.1

Compare Source

Features
13.2.2 (2023-03-27)
Bug Fixes
13.2.1 (2023-03-18)
Bug Fixes
  • do not crash on a custom scheme in @import/@use for the modern API (21966ee)

v13.2.0

Compare Source

Features
13.2.2 (2023-03-27)
Bug Fixes
13.2.1 (2023-03-18)
Bug Fixes
  • do not crash on a custom scheme in @import/@use for the modern API (21966ee)

v13.1.0

Compare Source

Features
13.0.2 (2022-06-27)
Bug Fixes
13.0.1 (2022-06-24)
Bug Fixes

v13.0.2

Compare Source

Features
13.0.2 (2022-06-27)
Bug Fixes
13.0.1 (2022-06-24)
Bug Fixes

v13.0.1

Compare Source

Features
13.0.2 (2022-06-27)
Bug Fixes
13.0.1 (2022-06-24)
Bug Fixes

v13.0.0

Compare Source

Features
13.0.2 (2022-06-27)
Bug Fixes
13.0.1 (2022-06-24)
Bug Fixes

v12.6.0

Compare Source

Features
  • added support for automatic loading of sass-embedded (#​1025) (c8dae87)

v12.5.0

Compare Source

Features
  • added support for sass-embedded (faster than node-sass), feel free to feedback
  • added the api option (modern api is experimental and currently doesn't support built-in webpack resolver) (afbe114)

v12.4.0

Compare Source

Features

v12.3.0

Compare Source

Features

v12.2.0

Compare Source

Features

v12.1.0

Compare Source

Features
  • allow String value for the implementation option (382a3ca)

v12.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
Bug Fixes
  • crash in custom importers with worker threads (#​958) (67aa139)
  • resolving _index.import.scss/index.import.scss in packages (#​906) (6641a16)
11.1.1 (2021-05-13)
Bug Fixes
  • disabled auto importing fiber on node >= 16 due incompatibility problems (#​950) (4ca004b)

v11.1.1

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
Bug Fixes
  • crash in custom importers with worker threads (#​958) (67aa139)
  • resolving _index.import.scss/index.import.scss in packages (#​906) (6641a16)
11.1.1 (2021-05-13)
Bug Fixes
  • disabled auto importing fiber on node >= 16 due incompatibility problems (#​950) (4ca004b)

v11.1.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
Bug Fixes
  • crash in custom importers with worker threads (#​958) (67aa139)
  • resolving _index.import.scss/index.import.scss in packages (#​906) (6641a16)
11.1.1 (2021-05-13)
Bug Fixes
  • disabled auto importing fiber on node >= 16 due incompatibility problems (#​950) (4ca004b)

v11.0.1

Compare Source

Features
11.0.1 (2021-02-08)
Bug Fixes
  • compatibility with custom importers for node-sass (#​927) (af5a072)

v11.0.0

Compare Source

Features
11.0.1 (2021-02-08)
Bug Fixes
  • compatibility with custom importers for node-sass (#​927) (af5a072)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • Between 12:00 AM and 03:59 AM, only on Monday (* 0-3 * * 1)
  • 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 added the dependencies Issue or PR by renovate/dependabot label Nov 2, 2026
@renovate
renovate Bot force-pushed the renovate/sass-loader-17.x branch 2 times, most recently from 6137bfa to 7e13da4 Compare November 5, 2026 13:54
@renovate
renovate Bot force-pushed the renovate/sass-loader-17.x branch from 7e13da4 to 8d5d3d0 Compare November 5, 2026 14:04

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Issue or PR by renovate/dependabot

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants