diff --git a/CHANGELOG.md b/CHANGELOG.md index b2b50ea1..1f0dee64 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,24 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +## [11.0.0](https://github.com/webpack-contrib/sass-loader/compare/v10.1.1...v11.0.0) (2021-02-05) + + +### 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`](https://webpack.js.org/configuration/resolve/#resolve-modules). + +### ⚠ BREAKING CHANGES + +* minimum supported `webpack` version is `5` + +### Features + +* supported the [`resolve.byDependency`](https://webpack.js.org/configuration/resolve/#resolvebydependency) option, you can setup `{ resolve: { byDependency: { sass: { mainFiles: ['custom', '...'] } } } }` + ### [10.1.1](https://github.com/webpack-contrib/sass-loader/compare/v10.1.0...v10.1.1) (2021-01-11) diff --git a/package-lock.json b/package-lock.json index 571bd550..f5db35ba 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "sass-loader", - "version": "10.1.1", + "version": "11.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { diff --git a/package.json b/package.json index 57f46549..96b34ae2 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "sass-loader", - "version": "10.1.1", + "version": "11.0.0", "description": "Sass loader for webpack", "license": "MIT", "repository": "webpack-contrib/sass-loader",