Skip to content
This repository has been archived by the owner on Dec 5, 2020. It is now read-only.

[js] Upgrade sass-loader: 8.0.2 → 10.1.0 (major) #178

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

Conversation

depfu[bot]
Copy link
Contributor

@depfu depfu bot commented Nov 12, 2020

Here is everything you need to know about this upgrade. Please take a good look at what changed and the test results before merging this pull request.

What changed?

✳️ sass-loader (8.0.2 → 10.1.0) · Repo · Changelog

Release Notes

10.1.0

10.1.0 (2020-11-11)

Features

  • allow the additionalData to be async (#902) (9d925ff)

10.0.5

10.0.5 (2020-11-02)

Bug Fixes

10.0.4

10.0.4 (2020-10-22)

Bug Fixes

  • compatibility with the filesystem cache (#896) (e31f9b6)

10.0.3

10.0.3 (2020-10-09)

Chore

  • update schema-utils

10.0.2

10.0.2 (2020-09-03)

Bug Fixes

10.0.1

10.0.1 (2020-08-25)

Chore

  • update deps

10.0.0

10.0.0 (2020-08-24)

Bug Fixes

  • handle absolute windows path in source maps

See notes for https://github.com/webpack-contrib/sass-loader/releases/tag/v10.0.0-rc.0 release

9.0.3

9.0.3 (2020-08-05)

Bug Fixes

9.0.2

9.0.2 (2020-07-07)

Bug Fixes

9.0.1

9.0.1 (2020-07-03)

Bug Fixes

9.0.0

9.0.0 (2020-07-02)

⚠ 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

Does any of this look wrong? Please let us know.

Commits

See the full diff on Github. The new version differs by 67 commits:


Depfu Status

Depfu will automatically keep this PR conflict-free, as long as you don't add any commits to this branch yourself. You can also trigger a rebase manually by commenting with @depfu rebase.

All Depfu comment commands
@​depfu rebase
Rebases against your default branch and redoes this update
@​depfu recreate
Recreates this PR, overwriting any edits that you've made to it
@​depfu merge
Merges this PR once your tests are passing and conflicts are resolved
@​depfu close
Closes this PR and deletes the branch
@​depfu reopen
Restores the branch and reopens this PR (if it's closed)
@​depfu pause
Ignores all future updates for this dependency and closes this PR
@​depfu pause [minor|major]
Ignores all future minor/major updates for this dependency and closes this PR
@​depfu resume
Future versions of this dependency will create PRs again (leaves this PR as is)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

Successfully merging this pull request may close these issues.

0 participants