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 #902

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

Conversation

renovate[bot]
Copy link

@renovate renovate bot commented Jun 30, 2021

Mend Renovate

This PR contains the following updates:

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

ℹ️ Find our documentation at https://github.com/Financial-Times/next/wiki/Renovate.


Release Notes

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

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 a team as a code owner June 30, 2021 17:25
@renovate renovate bot force-pushed the renovate-mini-css-extract-plugin-2.x branch from 81cf02c to 8df1300 Compare July 12, 2021 18:23
@renovate renovate bot force-pushed the renovate-mini-css-extract-plugin-2.x branch from 8df1300 to 10c23b9 Compare December 16, 2022 13:23
@renovate renovate bot force-pushed the renovate-mini-css-extract-plugin-2.x branch from 10c23b9 to ff5f167 Compare February 23, 2023 14:53
@renovate
Copy link
Author

renovate bot commented Feb 23, 2023

⚠ 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
npm WARN ERESOLVE overriding peer dependency
npm WARN While resolving: react-docgen-typescript@2.2.2
npm WARN Found: typescript@3.9.5
npm WARN node_modules/typescript
npm WARN   dev typescript@"3.9.5" from the root project
npm WARN   4 more (@storybook/react-docgen-typescript-plugin, ...)
npm WARN 
npm WARN Could not resolve dependency:
npm WARN peer typescript@">= 4.3.x" from react-docgen-typescript@2.2.2
npm WARN node_modules/@storybook/react-docgen-typescript-plugin/node_modules/react-docgen-typescript
npm WARN   react-docgen-typescript@"^2.1.1" from @storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0
npm WARN   node_modules/@storybook/react-docgen-typescript-plugin
npm WARN 
npm WARN Conflicting peer dependency: typescript@4.9.5
npm WARN node_modules/typescript
npm WARN   peer typescript@">= 4.3.x" from react-docgen-typescript@2.2.2
npm WARN   node_modules/@storybook/react-docgen-typescript-plugin/node_modules/react-docgen-typescript
npm WARN     react-docgen-typescript@"^2.1.1" from @storybook/react-docgen-typescript-plugin@1.0.2-canary.6.9d540b91e815f8fc2f8829189deb00553559ff63.0
npm WARN     node_modules/@storybook/react-docgen-typescript-plugin
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR! 
npm ERR! While resolving: @financial-times/dotcom-build-sass@0.0.0
npm ERR! Found: webpack@4.46.0
npm ERR! node_modules/webpack
npm ERR!   peer webpack@"^4.39.2" from @financial-times/dotcom-build-sass@0.0.0
npm ERR!   packages/dotcom-build-sass
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     examples/building-sass-files/node_modules/@financial-times/dotcom-build-sass
npm ERR!       dev @financial-times/dotcom-build-sass@"file:../../packages/dotcom-build-sass" from example-build-sass@undefined
npm ERR!       examples/building-sass-files
npm ERR!         example-build-sass@undefined
npm ERR!         node_modules/example-build-sass
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     examples/ft-ui/node_modules/@financial-times/dotcom-build-sass
npm ERR!       dev @financial-times/dotcom-build-sass@"file:../../packages/dotcom-build-sass" from example-ft-ui@0.0.0
npm ERR!       examples/ft-ui
npm ERR!         example-ft-ui@0.0.0
npm ERR!         node_modules/example-ft-ui
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     examples/kitchen-sink/node_modules/@financial-times/dotcom-build-sass
npm ERR!       dev @financial-times/dotcom-build-sass@"file:../../packages/dotcom-build-sass" from example-kitchen-sink@0.0.0
npm ERR!       examples/kitchen-sink
npm ERR!         example-kitchen-sink@0.0.0
npm ERR!         node_modules/example-kitchen-sink
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     node_modules/@financial-times/dotcom-build-sass
npm ERR!       workspace packages/dotcom-build-sass from the root project
npm ERR! 
npm ERR! Could not resolve dependency:
npm ERR! peer webpack@"^5.0.0" from mini-css-extract-plugin@2.7.2
npm ERR! node_modules/mini-css-extract-plugin
npm ERR!   mini-css-extract-plugin@"^2.0.0" from @financial-times/dotcom-build-sass@0.0.0
npm ERR!   packages/dotcom-build-sass
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     examples/building-sass-files/node_modules/@financial-times/dotcom-build-sass
npm ERR!       dev @financial-times/dotcom-build-sass@"file:../../packages/dotcom-build-sass" from example-build-sass@undefined
npm ERR!       examples/building-sass-files
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     examples/ft-ui/node_modules/@financial-times/dotcom-build-sass
npm ERR!       dev @financial-times/dotcom-build-sass@"file:../../packages/dotcom-build-sass" from example-ft-ui@0.0.0
npm ERR!       examples/ft-ui
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     examples/kitchen-sink/node_modules/@financial-times/dotcom-build-sass
npm ERR!       dev @financial-times/dotcom-build-sass@"file:../../packages/dotcom-build-sass" from example-kitchen-sink@0.0.0
npm ERR!       examples/kitchen-sink
npm ERR!     @financial-times/dotcom-build-sass@0.0.0
npm ERR!     node_modules/@financial-times/dotcom-build-sass
npm ERR!       workspace packages/dotcom-build-sass from the root project
npm ERR! 
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR! 
npm ERR! See /tmp/renovate-cache/others/npm/eresolve-report.txt for a full report.

npm ERR! A complete log of this run can be found in:
npm ERR!     /tmp/renovate-cache/others/npm/_logs/2023-02-23T14_53_21_049Z-debug-0.log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

0 participants