Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency mini-css-extract-plugin to v2 #76

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented May 30, 2022

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mini-css-extract-plugin 0.5.0 -> 2.9.0 age adoption passing confidence

Release Notes

webpack-contrib/mini-css-extract-plugin (mini-css-extract-plugin)

v2.9.0

Compare Source

Features
  • add support for link preload/prefetch (#​1043) (ee25e51)
  • added the defaultExport option to generate default and named export together (#​1084) (74ae781)
Bug Fixes
2.8.1 (2024-02-27)
Bug Fixes
  • add nonce if __webpack_nonce__ has been defined (c7f0aee)

v2.8.1

Compare Source

v2.8.0

Compare Source

Features
2.7.7 (2024-01-10)
Bug Fixes
2.7.6 (2023-05-19)
Bug Fixes
2.7.5 (2023-03-16)
Bug Fixes
2.7.4 (2023-03-16)
Bug Fixes
  • module identifier, don't merge modules with different media/suppors/layer (#​1021) (ad3729b)
2.7.3 (2023-03-07)
Bug Fixes
  • avoid to throw error when link doesn't have parentNode (#​1016) (6292440)
2.7.2 (2022-12-06)
Bug Fixes
2.7.1 (2022-11-29)
Bug Fixes

v2.7.7

Compare Source

v2.7.6

Compare Source

v2.7.5

Compare Source

v2.7.4

Compare Source

v2.7.3

Compare Source

v2.7.2

Compare Source

v2.7.1

Compare Source

v2.7.0

Compare Source

Features
2.6.1 (2022-06-15)
Bug Fixes

v2.6.1

Compare Source

v2.6.0

Compare Source

Features
  • added baseUri option support (from entry options) (#​915) (6004d95)
2.5.3 (2022-01-25)
Bug Fixes
2.5.2 (2022-01-17)
Bug Fixes
2.5.1 (2022-01-17)
Bug Fixes

v2.5.3

Compare Source

v2.5.2

Compare Source

v2.5.1

Compare Source

v2.5.0

Compare Source

Features
2.4.7 (2022-01-13)
Bug Fixes
2.4.6 (2022-01-06)
Bug Fixes
2.4.5 (2021-11-17)
Chore
  • update schema-utils package to 4.0.0 version
2.4.4 (2021-11-04)
Bug Fixes
2.4.3 (2021-10-21)
Bug Fixes
2.4.2 (2021-10-07)
Bug Fixes
  • endless apply of loaders, leading to memory allocation failure (#​849) (94ad699)
2.4.1 (2021-10-05)
Bug Fixes

v2.4.7

Compare Source

v2.4.6

Compare Source

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

v0.12.0

Compare Source

v0.11.3

Compare Source

v0.11.2

Compare Source

v0.11.1

Compare Source

v0.11.0

Compare Source

v0.10.1

Compare Source

v0.10.0

Compare Source

v0.9.0

Compare Source

v0.8.2

Compare Source

v0.8.1

Compare Source

v0.8.0

Compare Source

Features

v0.7.0

Compare Source

Bug Fixes
Features

v0.6.0

Compare Source

Features

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - 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, check this box

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

@renovate
Copy link
Author

renovate bot commented May 30, 2022

⚠ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
ERROR: npm is known not to run on Node.js v10.24.1
You'll need to upgrade to a newer Node.js version in order to use this
version of npm. You can find the latest version at https://nodejs.org/

@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 3e7613b to 5a1c8d6 Compare June 15, 2022 20:36
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 5a1c8d6 to 0bf7b80 Compare November 20, 2022 17:06
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch 3 times, most recently from e11f4e4 to 8d1d798 Compare March 17, 2023 00:45
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 8d1d798 to 7c726c9 Compare May 28, 2023 11:42
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 7c726c9 to fc102dc Compare January 10, 2024 19:02
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from fc102dc to f857028 Compare February 1, 2024 23:48
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from f857028 to 2805eb7 Compare February 27, 2024 20:02
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 2805eb7 to fba8f4a Compare April 16, 2024 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants