From 96e6ff4ee6514a2c6fa5d0abcd8b8f445386b6da Mon Sep 17 00:00:00 2001 From: "alexander.akait" Date: Thu, 4 Apr 2024 19:37:45 +0300 Subject: [PATCH] chore(release): 7.0.0 --- CHANGELOG.md | 34 ++++++++++++++++++++++++++++++++++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 37 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c1a53ba2..a2b512ec 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,40 @@ 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. +## [7.0.0](https://github.com/webpack-contrib/css-loader/compare/v6.11.0...v7.0.0) (2024-04-04) + + +### ⚠ BREAKING CHANGES + +* The `modules.namedExport` option is `true` by default if you enable the `esModule` option + +Migration guide: + +Before: + +```js +import style from "./style.css"; + +console.log(style.myClass); +``` + +After: + +```js +import * as style from "./style.css"; + +console.log(style.myClass); +``` + +* The `modules.exportLocalsConvention` has the value `as-is` when the `modules.namedExport` option is `true` and you don't specify a value +* Minimum supported webpack version is `5.27.0` +* Minimum supported Node.js version is `18.12.0` + +### Features + +* The `modules.namedExports` option works fine with any `modules.exportLocalsConvention` values ([f96a110](https://github.com/webpack-contrib/css-loader/commit/f96a11007da55a632de7f58167895e1b5814d717)) +* Added dashed variants for the `modules.exportLocalsConvention` options ([40e1668](https://github.com/webpack-contrib/css-loader/commit/40e1668b8366f0df63343efe706ba848c2b5dfb2)) + ## [6.11.0](https://github.com/webpack-contrib/css-loader/compare/v6.10.0...v6.11.0) (2024-04-03) diff --git a/package-lock.json b/package-lock.json index feea2063..c183ec93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "css-loader", - "version": "6.11.0", + "version": "7.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "css-loader", - "version": "6.11.0", + "version": "7.0.0", "license": "MIT", "dependencies": { "icss-utils": "^5.1.0", diff --git a/package.json b/package.json index a7a7bdef..65d45335 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "css-loader", - "version": "6.11.0", + "version": "7.0.0", "description": "css loader module for webpack", "license": "MIT", "repository": "webpack-contrib/css-loader",