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

[deps]: Update sass-loader to v16 #561

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 19, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
sass-loader 14.0.0 -> 16.0.1 age adoption passing confidence

Release Notes

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

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

Configuration

📅 Schedule: Branch creation - "every 2nd week starting on the 2 week of the year before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

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

Rebasing: Whenever PR becomes conflicted, 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 requested a review from a team as a code owner August 19, 2024 01:39
@renovate renovate bot requested a review from r-tome August 19, 2024 01:39
@bitwarden-bot bitwarden-bot changed the title [deps]: Update sass-loader to v16 [AC-2996] [deps]: Update sass-loader to v16 Aug 19, 2024
@bitwarden-bot
Copy link

Internal tracking:

@renovate renovate bot changed the title [AC-2996] [deps]: Update sass-loader to v16 [deps]: Update sass-loader to v16 Aug 19, 2024
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 0b15b09 to f94b4e7 Compare August 19, 2024 13:36
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from f94b4e7 to 3ce7b21 Compare August 26, 2024 20:17
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 3ce7b21 to 72baef0 Compare September 16, 2024 03:53
Copy link

codecov bot commented Sep 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 0.00%. Comparing base (6e6039d) to head (c7ae955).
Report is 1 commits behind head on main.

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@          Coverage Diff          @@
##            main    #561   +/-   ##
=====================================
  Coverage   0.00%   0.00%           
=====================================
  Files         58      58           
  Lines       2542    2542           
  Branches     462     462           
=====================================
  Misses      2542    2542           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 72baef0 to ae387d7 Compare September 16, 2024 12:27
@eliykat eliykat requested review from eliykat and removed request for r-tome September 17, 2024 00:11
@eliykat
Copy link
Member

eliykat commented Sep 17, 2024

I'm also updating sass so it made sense to do both at once.

eliykat
eliykat previously approved these changes Sep 17, 2024
@renovate renovate bot force-pushed the renovate/sass-loader-16.x branch from 9508a14 to c7ae955 Compare September 17, 2024 00:41
@eliykat eliykat merged commit f52af53 into main Sep 17, 2024
19 of 20 checks passed
@eliykat eliykat deleted the renovate/sass-loader-16.x branch September 17, 2024 00:46
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.

2 participants