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

build(deps-dev): update mini-css-extract-plugin to v2 #53

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 14, 2021

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
mini-css-extract-plugin ^0.12.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


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 renovate bot requested a review from latipun7 as a code owner November 14, 2021 08:44
@renovate renovate bot added dependencies Pull requests that update a dependency file javascript labels Nov 14, 2021
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch 2 times, most recently from e1b7b79 to 111cb29 Compare November 17, 2021 19:12
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 111cb29 to b660a3a Compare January 6, 2022 13:13
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch 4 times, most recently from 9832b92 to 9418bb9 Compare January 17, 2022 22:15
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 9418bb9 to 911c17e Compare January 25, 2022 11:52
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 911c17e to ea17dcb Compare March 7, 2022 09:45
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from ea17dcb to 9638b13 Compare June 18, 2022 23:54
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 9638b13 to 45b3d12 Compare November 20, 2022 15:36
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch 2 times, most recently from cbb3589 to 6f7195b Compare March 22, 2023 17:26
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 6f7195b to 2e7e46b Compare May 28, 2023 11:54
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 2e7e46b to 6137b18 Compare January 10, 2024 20:37
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 6137b18 to e6eafc4 Compare February 1, 2024 18:49
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from e6eafc4 to 2b3641b Compare February 27, 2024 19:23
@renovate renovate bot force-pushed the renovate/mini-css-extract-plugin-2.x branch from 2b3641b to e238dd3 Compare April 16, 2024 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file javascript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants