Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency sass-loader to v16 #1453

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Oct 21, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sass-loader ^8.0.0 -> ^16.0.0 age adoption passing confidence

Release Notes

webpack-contrib/sass-loader (sass-loader)

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

v14.2.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.1.1

Compare Source

v14.1.0

Compare Source

Features

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

v13.3.2

Compare Source

v13.3.1

Compare Source

v13.3.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.2.2

Compare Source

v13.2.1

Compare Source

v13.2.0

Compare Source

Features

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

v13.0.1

Compare Source

v13.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 14.15.0 (#​1048)
  • emit @warn at-rules as webpack warnings by default, if you want to revert behavior please use the warnRuleAsWarning option (#​1054) (58ffb68)
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

v11.1.0

Compare Source

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

v11.0.1

Compare Source

v11.0.0

Compare Source

Notes
  • using ~ is deprecated and can be removed from your code (we recommend it), but we still support it for historical reasons.

Why you can removed it?
The loader will first try to resolve @import/@use as relative, if it cannot be resolved, the loader will try to resolve @import/@use inside node_modules.
Using ~ means looking for files in node_modules or resolve.alias or resolve.fallback.

⚠ BREAKING CHANGES
  • minimum supported webpack version is 5
Features
  • supported the resolve.byDependency option, you can setup { resolve: { byDependency: { sass: { mainFiles: ['custom', '...'] } } } }

v10.5.2

Compare Source

10.5.2 (2024-01-04)
Bug Fixes

v10.5.1

Compare Source

10.5.1 (2023-12-19)
Bug Fixes
  • missing sass embedded check when get default implementation (#​1170) (9914870)

v10.5.0

Compare Source

Features

v10.4.1

Compare Source

10.4.1 (2022-11-15)
Bug Fixes

v10.4.0

Compare Source

Features

v10.3.1

Compare Source

10.3.1 (2022-07-06)
Bug Fixes

v10.3.0

Compare Source

Features

v10.2.1

Compare Source

10.2.1 (2022-01-14)
Bug Fixes
  • backported disabled auto importing fiber on node >= 16 (#​1014) (f4234e4)

v10.2.0

Compare Source

Features
10.1.1 (2021-01-11)
Bug Fixes
  • problem with resolving and the includePaths option (#​913) (cadc75e)

v10.1.1

Compare Source

v10.1.0

Compare Source

Features
10.0.5 (2020-11-02)
Bug Fixes
10.0.4 (2020-10-22)
Bug Fixes
10.0.3 (2020-10-09)
Chore
  • update schema-utils
10.0.2 (2020-09-03)
Bug Fixes
10.0.1 (2020-08-25)
Chore
  • update deps

v10.0.5

Compare Source

v10.0.4

Compare Source

v10.0.3

Compare Source

v10.0.2

Compare Source

v10.0.1

Compare Source

v10.0.0

Compare Source

Bug Fixes
  • handle absolute windows path in source maps

v9.0.3

Compare Source

v9.0.2

Compare Source

v9.0.1

Compare Source

v9.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Nodejs version is 10.13
  • prefer sass (dart-sass) by default, it is strongly recommended to migrate on sass (dart-sass)
  • the prependData option was removed in favor the additionalData option, see docs
  • when the sourceMap is true, sassOptions.sourceMap, sassOptions.sourceMapContents, sassOptions.sourceMapEmbed, sassOptions.sourceMapRoot and sassOptions.omitSourceMapUrl will be ignored.
Features
  • pass the loader context to custom importers under the this.webpackLoaderContext property (#​853) (d487683)
  • supports for process.cwd() resolution logic by default (#​837) (0c8d3b3)
  • supports for SASS-PATH env variable resolution logic by default (#​836) (8376179)
  • supports for the sass property for the exports field from package.json (conditional exports, for more information read docs)
Bug Fixes
  • avoid different content on different os (#​832) (68dd278)
  • resolution logic when the includePaths option used was improved (#​827) (cbe5ad4)
  • resolution logic for file:// scheme was improved (17832fd)
  • resolution logic for absolute paths and server relative URLs was improved
  • source maps generation was improved
8.0.2 (2020-01-13)
Bug Fixes
8.0.1 (2020-01-10)
Bug Fixes

Configuration

📅 Schedule: Branch creation - "every weekend" in timezone US/Eastern, 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.

@github-actions github-actions bot temporarily deployed to pull request October 21, 2024 12:31 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 21, 2024 12:31 Inactive
Copy link

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from afaac1e to c7853e4 Compare October 21, 2024 14:58
@github-actions github-actions bot temporarily deployed to pull request October 21, 2024 15:09 Inactive
@github-actions github-actions bot temporarily deployed to pull request October 21, 2024 15:10 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch 2 times, most recently from 5fc86f6 to 8352a60 Compare November 11, 2024 13:59
@github-actions github-actions bot temporarily deployed to pull request November 11, 2024 14:31 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 11, 2024 14:31 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 8352a60 to e08c76f Compare November 13, 2024 10:51
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 11:19 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 11:19 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from e08c76f to 86ff3a6 Compare November 13, 2024 12:52
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 13:01 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 13:01 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 86ff3a6 to 36e20d8 Compare November 13, 2024 13:11
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 13:20 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 13:21 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 36e20d8 to 7846227 Compare November 13, 2024 13:58
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 14:33 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 13, 2024 14:33 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 7846227 to c729535 Compare November 20, 2024 13:41
@github-actions github-actions bot temporarily deployed to pull request November 20, 2024 13:48 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 20, 2024 13:48 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from c729535 to 7f889f1 Compare November 20, 2024 15:28
@github-actions github-actions bot temporarily deployed to pull request November 20, 2024 15:42 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 20, 2024 15:42 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 7f889f1 to 822aaf6 Compare November 22, 2024 20:33
@github-actions github-actions bot temporarily deployed to pull request November 25, 2024 16:01 Inactive
@github-actions github-actions bot temporarily deployed to pull request November 25, 2024 16:01 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 8be64a3 to 14cd799 Compare December 3, 2024 17:54
@github-actions github-actions bot temporarily deployed to pull request December 3, 2024 17:57 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 3, 2024 17:58 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 10de0a9 to 4d51442 Compare December 10, 2024 07:25
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 07:28 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 07:28 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 4d51442 to 4549bf1 Compare December 10, 2024 07:30
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 07:33 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 07:33 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 4549bf1 to ead5052 Compare December 10, 2024 09:42
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 09:44 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 09:44 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from ead5052 to 24ff701 Compare December 10, 2024 10:04
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 10:06 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 10:06 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 24ff701 to bad03ea Compare December 10, 2024 23:38
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 23:40 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 10, 2024 23:40 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from bad03ea to 986f207 Compare December 12, 2024 15:22
@github-actions github-actions bot temporarily deployed to pull request December 12, 2024 15:24 Inactive
@github-actions github-actions bot temporarily deployed to pull request December 12, 2024 15:25 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 986f207 to da481b2 Compare January 2, 2025 14:08
@github-actions github-actions bot temporarily deployed to pull request January 2, 2025 14:10 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 2, 2025 14:11 Inactive
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from da481b2 to 4eeb1fb Compare January 6, 2025 07:44
@github-actions github-actions bot temporarily deployed to pull request January 6, 2025 07:46 Inactive
@github-actions github-actions bot temporarily deployed to pull request January 6, 2025 07:46 Inactive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants