Skip to content

Commit 93b8d83

Browse files
docs: fix version
1 parent f862f7a commit 93b8d83

File tree

3 files changed

+46
-3
lines changed

3 files changed

+46
-3
lines changed

CHANGELOG.md

+43
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,49 @@
22

33
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.
44

5+
## [16.0.0](https://github.com/webpack-contrib/sass-loader/compare/v15.0.0...v16.0.0) (2024-07-26)
6+
7+
8+
### ⚠ BREAKING CHANGES
9+
10+
* use modern Sass JS API by default for `sass` and `sass-embedded`
11+
12+
> [!WARNING]
13+
>
14+
> The sass options are different for the `legacy` (before) and `modern` APIs. Please look at [docs](https://sass-lang.com/documentation/js-api) how to migrate to the modern options.
15+
> Legacy options - https://sass-lang.com/documentation/js-api/interfaces/legacystringoptions/
16+
> Modern options - https://sass-lang.com/documentation/js-api/interfaces/options/
17+
18+
To return to the previous logic use:
19+
20+
```js
21+
module.exports = {
22+
module: {
23+
rules: [
24+
{
25+
test: /\.s[ac]ss$/i,
26+
use: [
27+
"style-loader",
28+
"css-loader",
29+
{
30+
loader: "sass-loader",
31+
options: {
32+
api: "legacy",
33+
// Your options
34+
},
35+
},
36+
],
37+
},
38+
],
39+
},
40+
};
41+
```
42+
43+
### Features
44+
45+
* use modern Sass JS API by default for `sass` and `sass-embedded` ([10be1ba](https://github.com/webpack-contrib/sass-loader/commit/10be1ba161557638fd3b80f4a5467159179ef9b1))
46+
47+
548
## [15.0.0](https://github.com/webpack-contrib/sass-loader/compare/v14.2.1...v15.0.0) (2024-07-23)
649

750

package-lock.json

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "sass-loader",
3-
"version": "15.0.0",
3+
"version": "16.0.0",
44
"description": "Sass loader for webpack",
55
"license": "MIT",
66
"repository": "webpack-contrib/sass-loader",

0 commit comments

Comments
 (0)