Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

chore(deps): update dependency mini-css-extract-plugin to v2 #863

Merged
merged 1 commit into from
Nov 21, 2021

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 20, 2021

WhiteSource Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mini-css-extract-plugin ~0.12.0 -> ~2.4.0 age adoption passing confidence

Release Notes

webpack-contrib/mini-css-extract-plugin

v2.4.5

Compare Source

v2.4.4

Compare Source

v2.4.3

Compare Source

v2.4.2

Compare Source

v2.4.1

Compare Source

v2.4.0

Compare Source

Performance
  • migrate on new API, this improves performance and memory usage a lot, you need to have at least webpack 5.52.0 (recommended latest stable), for older versions the old API will be used (except explicit enabling of the experimentalUseImportModule option)
Features
  • added support for supports() and layer() in @import at-rule (#​843) (e751080)
Bug Fixes

v2.3.0

Compare Source

Features
Bug Fixes
  • better description for async chunk options (34b65ac)
2.2.2 (2021-09-01)
Bug Fixes
  • experimentalUseImportModule works with new URL(...) syntax (cf81c4b)
2.2.1 (2021-08-31)
Bug Fixes
  • order of @import with the output.pathinfo option (#​815) (831f771)
  • source map generation with the output.pathinfo option (#​817) (f813b4c)

v2.2.2

Compare Source

v2.2.1

Compare Source

v2.2.0

Compare Source

Features
Bug Fixes
  • hmr in browser extension (3d09da1)

v2.1.0

Compare Source

Features

v2.0.0

Compare Source

NOTES

In the current release we have fixed many problems with publicPath, previously to generate relative URLs inside CSS files developers use different hacks: publicPath: '', publicPath: '../', using relative ../../ in the outputPath option for file-loader and etc. Now you don't need it anymore. Webpack v5 uses publicPath: "auto" by default, which means to always generate relative URLs, and now mini-css-extract-plugin does the same.

We strongly recommend use auto value by default (except when using CDN).

We also want to show you that the file-loader and url-loader are outdated, please migrate on Asset Modules.

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
  • minimum supported webpack version is 5.0.0
  • the modules.namedExport option was removed, you don't need it anymore, because we respect the modules.namedExport option from css-loader, just remove it
  • the publicPath option no longer automatically adds / (trailing slash), you need to specify, you need to specify it yourself if it is absent, i.e. if you have publicPath: "/my/public/path" replace it with publicPath: "/my/public/path/"
Bug Fixes
  • generating correct relative url() for assets inside CSS files when you use publicPath: "auto" (default value)
1.6.2 (2021-06-28)
Bug Fixes
  • performance improvement
1.6.1 (2021-06-25)
Bug Fixes

v1.6.2

Compare Source

v1.6.1

Compare Source

v1.6.0

Compare Source

Features
1.5.1 (2021-04-28)
Bug Fixes

v1.5.1

Compare Source

v1.5.0

Compare Source

Features
  • add experimental support for importModule, improve perfomance (#​737) (8471ac2)
1.4.1 (2021-04-07)
Bug Fixes

v1.4.1

Compare Source

v1.4.0

Compare Source

Features
1.3.9 (2021-02-25)
Bug Fixes
  • allow consumers to access CssModule and CssDependency (#​703) (6484345)
  • allow to use auto value with the publicPath option (#​709) (1be21d2)
1.3.8 (2021-02-18)
Bug Fixes
1.3.7 (2021-02-15)
Bug Fixes
  • compatibility with webpack v5 (9b6b8b3)
1.3.6 (2021-02-08)
Bug Fixes
1.3.5 (2021-01-28)
Bug Fixes
1.3.4 (2021-01-13)
Bug Fixes
1.3.3 (2020-12-10)
Bug Fixes
1.3.2 (2020-12-04)
Bug Fixes
1.3.1 (2020-11-12)
Bug Fixes

v1.3.9

Compare Source

v1.3.8

Compare Source

v1.3.7

Compare Source

v1.3.6

Compare Source

v1.3.5

Compare Source

v1.3.4

Compare Source

v1.3.3

Compare Source

v1.3.2

Compare Source

v1.3.1

Compare Source

v1.3.0

Compare Source

⚠ POTENTIAL BREAKING CHANGE

Options are now validated according to stricter rules - no unknown additional properties. For example, if you have not removed the hmr option for the loader when migrating to mini-css-extract-plugin@1, you will get an error. Just remove them from your configuration(s). We did this because many developers started making these mistakes.

Features
Bug Fixes
1.2.1 (2020-10-27)
Bug Fixes

v1.2.1

Compare Source

v1.2.0

Compare Source

Features
Bug Fixes
  • compatibility with webpack@4 and webpack@5 for monorepos (#​638) (60c3eef)
1.1.2 (2020-10-22)
Bug Fixes
1.1.1 (2020-10-20)
Bug Fixes

v1.1.2

Compare Source

v1.1.1

Compare Source

v1.1.0

Compare Source

Features
  • added the attributes option (e8a2d5a)
  • added the insert option (a5f17c4)
Bug Fixes
1.0.0 (2020-10-09)
BREAKING CHANGE
  • minimum supported Node.js version is 10.13.0
  • the esModule option is true by default, you need to change const locals = require('./styles.css')/require('./styles.css') on import locals from './styles.css'/import './styles.css''
  • the moduleFilename option was removed in favor the filename option
  • the hmr option was removed, HMR will work automatically when HotModuleReplacement plugin used or webpack-dev-server with enabled the hot option
  • the reloadAll was removed
Features
  • the chunkFilename option can be a function for webpack@5
⚠ NOTICE

To avoid problems between mini-css-extract-plugin and style-loader because of changing the esModule option to true by default we strongly recommend upgrading style-loader to 2.0.0 version.

0.12.0 (2020-10-07)
Features
  • opt-in to transitive only side effects (webpack@5), no more empty JS chunks
0.11.3 (2020-10-02)
Bug Fixes
0.11.2 (2020-09-12)
Bug Fixes
0.11.1 (2020-09-08)
Bug Fixes
0.11.0 (2020-08-27)
Features
Bug Fixes
  • compatibility with webpack@5
0.10.0 (2020-08-10)
Features
Bug Fixes
0.9.0 (2019-12-20)
Features
0.8.2 (2019-12-17)
Bug Fixes
0.8.1 (2019-12-17)
Bug Fixes

v1.0.0

Compare Source


Configuration

📅 Schedule: 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, click this checkbox.

This PR has been generated by WhiteSource Renovate. View repository job log here.

@renovate renovate bot requested a review from a team as a code owner November 20, 2021 21:43
@renovate renovate bot requested review from photodow, annawen1 and andysherman2121 and removed request for a team November 20, 2021 21:43
@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 20, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 20, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 20, 2021

@ibmdotcom-bot
Copy link
Contributor

ibmdotcom-bot commented Nov 20, 2021

@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 4df5dfd to ddcdee7 Compare November 21, 2021 02:35
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch 3 times, most recently from f900647 to 1fdf734 Compare November 21, 2021 14:41
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 1fdf734 to a4d6ec0 Compare November 21, 2021 15:10
@abdonrd abdonrd added the Ready to merge Label for the pull requests that are ready to merge label Nov 21, 2021
@kodiakhq kodiakhq bot merged commit 1fbbcc7 into master Nov 21, 2021
@kodiakhq kodiakhq bot deleted the renovate/mini-css-extract-plugin-2.x branch November 21, 2021 15:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Ready to merge Label for the pull requests that are ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants