wp-calypso icon indicating copy to clipboard operation
wp-calypso copied to clipboard

chore(deps): update webpack packages (major)

Open matticbot opened this issue 1 year ago • 5 comments

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/webpack-plugin (source) ^1.21.0 -> ^2.19.0 age adoption passing confidence
copy-webpack-plugin ^10.2.4 -> ^12.0.2 age adoption passing confidence
css-loader ^6.11.0 -> ^7.1.2 age adoption passing confidence
css-loader ^3.6.0 -> ^7.1.2 age adoption passing confidence
css-minimizer-webpack-plugin ^3.4.1 -> ^7.0.0 age adoption passing confidence
html-loader ^0.5.5 -> ^5.0.0 age adoption passing confidence
loader-utils ^1.4.2 -> ^3.3.1 age adoption passing confidence
postcss-loader ^6.2.1 -> ^8.1.1 age adoption passing confidence
style-loader ^1.3.0 -> ^4.0.0 age adoption passing confidence
webpack-cli (source) ^4.10.0 -> ^5.1.4 age adoption passing confidence
webpack-dev-middleware ^5.3.4 -> ^7.2.1 age adoption passing confidence
webpack-dev-server ^4.15.2 -> ^5.0.4 age adoption passing confidence

Release Notes

getsentry/sentry-javascript-bundler-plugins (@​sentry/webpack-plugin)

v2.19.0

Compare Source

  • feat: Don't use word "error" in log message about telemetry (#​548)
  • feat(core): Detect releases from more providers (#​549)
  • fix: Always delete files when sourcemaps.filesToDeleteAfterUpload is set (#​547)
  • fix(vite): Fix environment variable loading issue for Windows (#​545)

Work in this release contributed by @​Rassilion, and @​mateusz-daniluk-xtb. Thank you for your contributions!

v2.18.0

Compare Source

  • feat: Add applicationKey option to identify application code from within the SDK (#​540)
  • feat: Allow passing of meta-framework as telemetry data (#​539)
  • feat: Promote experimental moduleMetadata option to stable (#​538)
  • fix(esbuild): Invert warning about bundle: true (#​542)

v2.17.0

Compare Source

  • feat: Deprecate and noop cleanArtifacts (#​525)
  • feat: Support Heroku env vars when inferring release name (#​517)
  • fix(docs): Update pnpm install commands (#​516)
  • misc(esbuild): Log warning when attempting to inject debug IDs with esbuild bundle option active (#​526)

Work in this release contributed by @​et84121, and @​duailibe. Thank you for your contributions!

v2.16.1

Compare Source

  • fix: Create word-based fidelity source mapping for code transformations (#​513)
  • fix: Also match .cjs and .mjs files when finding files to upload in rollup-based bundlers (#​509)

v2.16.0

Compare Source

  • feat(core): Add loggerPrefixOverride meta option (#​506)

v2.15.0

Compare Source

  • feat: Make options argument optional (#​502)
  • ref(annotate): Turn disabled message to debug log (#​504)

v2.14.3

Compare Source

  • deps(core): Unpin @babel/core, find-up, and glob (#​496)

Work in this release contributed by @​allanlewis. Thank you for your contribution!

v2.14.2

Compare Source

  • feat(core): Bundle in Sentry SDK deps (#​487)

v2.14.1

Compare Source

  • fix(core): Stop .env files from being picked up (#​486)
  • feat(core): Add telemetry for React component annotations (#​482)

v2.14.0

Compare Source

  • ref(component-annotate): Use default export (#​478)

v2.13.0

Compare Source

  • ref(component-annotate): Conform to Babel plugin naming conventions

v2.12.0

Compare Source

  • ref(component-annotate): Prefix plugin name with babel

v2.11.0

Compare Source

  • feat(core): Include component name annotation plugin with all bundler plugins except esbuild (#​469)
  • feat(component-annotate): Introduce new plugin to annotate frontend components at build-time (#​468)

v2.10.3

Compare Source

  • fix(core): Safely flush telemetry

v2.10.2

Compare Source

  • deps(core): Bump @sentry/cli to ^2.22.3 (#​451)

v2.10.1

Compare Source

v2.10.0

Compare Source

  • feat: deprecate excludeReplayCanvas config (#​436)
  • feat: Add excludeReplayWorker to bundleSizeOptimizations (#​433)

v2.9.0

Compare Source

  • feat: Allow to configure bundleSizeOptimizations (#​428)
  • fix(core): Don't abort source map location guessing when the reference is a URL (#​424)
  • fix(core): Widen detection of source maps with .cjs.map and .mjs.map (#​422)

v2.8.0

Compare Source

  • build(core): Bump Sentry CLI to v2.21.2 (#​415)
  • feat: Detect release name for Bitbucket pipelines (#​404)
  • feat: Detect release name for Flightcontrol (#​411)
  • fix(core): Move git revision to a separate function (#​399)
  • fix(esbuild): Don't inject debug IDs into injected modules (#​417)

Work in this release contributed by @​hoslmelq, @​mjomble, and @​aquacash5. Thank you for your contributions!

v2.7.1

Compare Source

  • docs: Point to org auth token page (#​393)
  • fix(webpack): Add default fallback to webpack import (#​395)
  • fix: Save results of rewriteSourcesHook (#​390)

Work in this release contributed by @​adonskoy. Thank you for your contribution!

v2.7.0

Compare Source

  • feat: Add module metadata injection for esbuild (#​381)
  • feat: Add module metadata injection for vite and rollup (#​380)
  • ref: Emit high resolution source-maps with magic-string (#​383)
  • ref: Run upload preparation with maximum concurrency (#​379)

v2.6.2

Compare Source

  • fix: Fix regex in source map locating heuristic via sourceMappingURL (#​376)
  • fix: Make sourceMappingURL heuristic more resilient (#​378)

Thanks to @​tomyam1 for identifying and pinpointing a bug that was hard to spot!

v2.6.1

Compare Source

  • fix: Don't crash on failed delete after upload (#​373)

v2.6.0

Compare Source

  • deps: Bump sentry-cli to 2.20.1 (#​355)
  • feat: Allow ommiting org when using organization auth token (#​368)
  • ref: Make asset detection more robust (#​369)

v2.5.0

Compare Source

  • deps: Bump and unpin Sentry SDK deps (#​353)
  • docs: Remove misleading documentation (#​339)
  • feat: Add experimental module metadata injection (#​334)
  • fix: Fix 'identifiy' typo in log messages (#​341)

Work in this release contributed by @​chunfeilung. Thank you for your contribution!

v2.4.0

Compare Source

  • docs: Update instructions to install Vite plugin via pnpm (#​331)
  • docs: Update minimum supported Node.js version to 14 (#​327)
  • feat: Add configuration via .env.sentry-build-plugin file (#​333)
  • ref: Use full git SHA for release name (#​330)

Work in this release contributed by @​ffxsam and @​emilsivervik. Thank you for your contributions!

v2.3.0

Compare Source

  • feat(webpack): Generate deterministic debug IDs (#​321)
  • feat: Add filesToDeleteAfterUpload alias for deleteFilesAfterUpload (#​313)
  • feat: Sort globbed files to ensure deterministic bundle IDs (#​318)
  • fix(esbuild): Don't override user code with proxy module (#​322)
  • fix(esbuild): Fix debug ID generation (#​325)
  • fix: Use SENTRY_RELEASE environment variable to set release.name option (#​317)

Work in this release contributed by @​smbroadley. Thank you for your contribution!

v2.2.2

Compare Source

  • fix(esbuild): Don't use namespace for esbuild proxy resolving (#​311)
  • fix: Update commentUseStrictRegex to be lazy instead of greedy (#​309)

Work in this release contributed by @​jdk2pq. Thank you for your contribution!

v2.2.1

Compare Source

  • fix(esbuild): Inject different debug IDs into different output bundles (#​301)
  • fix(webpack): Set minimum webpack 4 peer dep to 4.40.0 (#​290)
  • fix: Use magic-string appendLeft instead of replace (#​303)
  • ref: Improve log message when sourcemap cannot be found (#​287)

v2.2.0

Compare Source

  • ref(core): Make better use of Sentry (#​246)
  • ref(webpack): Use webpack peer dependency (#​273)

Work in this release was made possible with help from @​wojtekmaj and @​dobladov. Thank you for your contributions!

v2.1.0

Compare Source

  • docs: Add removal of configFile option to migration guide (#​266)
  • feat: Auto detect build artifacts (#​257)
  • fix(core): Ignore query and hash in filepaths for release injection (#​272)
  • fix(esbuild): Use absolute path for virtual file resolving (#​269)
  • fix: Don't show log message if telemetry is disabled (#​267)
  • fix: Use automatic release name detection for release injection (#​271)

v2.0.0

Version 2.0.0 marks the official release of the @sentry/vite-plugin, @sentry/esbuild-plugin and @sentry/rollup-plugin packages. They are now considered stable.

For the @sentry/webpack-plugin this is a major release with breaking changes. Please refer to the migration guide for instructions on how to upgrade.

  • feat(core): Add deleteFilesAfterUpload option (#​244)
  • feat(core): Implements rewrite sources for debug ID upload (#​243)
  • fix(core): Account for undefined release name values (#​251)
  • fix(webpack): Inject different debug IDs for different bundles (#​242)
  • ref(core): Add new options type for future use (#​216)
  • ref(core): Extract debug ID injection into separate plugins (#​230)
  • ref(core): Extract debug ID sourcemap upload into a separate plugin (#​231)
  • ref(core): Extract release injection into separate plugins (#​218)
  • ref(core): Extract release management into a separate plugin (#​232)
  • ref(core): Extract telemetry into a separate plugin (#​234)
  • ref(core): Switch to v2 options (#​237)
  • ref(core): Use debug ID as filename for upload (#​247)
  • ref(core): Use factory function to create individual plugins (#​229)
  • ref: Remove injectReleasesMap option (#​236)
webpack-contrib/copy-webpack-plugin (copy-webpack-plugin)

v12.0.2

Compare Source

v12.0.1

Compare Source

v12.0.0

Compare Source

⚠ BREAKING CHANGES
  • update globby to 14.0.0
  • minimum supported Node.js version is 18.12.0 (#​759) (a5b7d06)

v11.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 14.15.0
build
10.2.4 (2022-01-31)
Bug Fixes
10.2.3 (2022-01-29)
Bug Fixes
10.2.2 (2022-01-28)
Bug Fixes
10.2.1 (2022-01-20)
Bug Fixes
webpack-contrib/css-loader (css-loader)

v7.1.2

Compare Source

v7.1.1

Compare Source

v7.1.0

Compare Source

Features
  • added the getJSON option to output CSS modules mapping (#​1577) (af834b4)

v7.0.0

Compare Source

⚠ BREAKING CHANGES
  • The modules.namedExport option is true by default if you enable the esModule option

Migration guide:

Before:

import style from "./style.css";

console.log(style.myClass);

After:

import * as style from "./style.css";

console.log(style.myClass);

To restore 6.x behavior, please use:

module.exports = {
  module: {
    rules: [
      {
        test: /\.css$/i,
        loader: "css-loader",
        options: {
          modules: {
            namedExport: false,
            exportLocalsConvention: 'as-is',
            //
            // or, if you prefer camelcase style
            //
            // exportLocalsConvention: 'camel-case-only'
          },
        },
      },
    ],
  },
};

Typescript migration:

Before:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export default classes;
}

After:

declare module '*.module.css' {
  const classes: { [key: string]: string };
  export = classes;
}
  • 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)
  • Added dashed variants for the modules.exportLocalsConvention options (40e1668)
webpack-contrib/css-minimizer-webpack-plugin (css-minimizer-webpack-plugin)

v7.0.0

Compare Source

⚠ BREAKING CHANGES

v6.0.0

Compare Source

⚠ BREAKING CHANGES
5.0.1 (2023-06-13)
Bug Fixes

v5.0.1

Compare Source

v5.0.0

Compare Source

⚠ BREAKING CHANGES
  • update cssnano to v6 (migration guide - https://github.com/cssnano/cssnano/releases/tag/cssnano%406.0.0) (#​224)
Features
4.2.2 (2022-10-13)
Bug Fixes
4.2.1 (2022-10-06)
Bug Fixes

v4.2.2

Compare Source

v4.2.1

Compare Source

v4.2.0

Compare Source

Features

v4.1.0

Compare Source

Features

v4.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 14.15.0
3.4.1 (2022-01-18)
Bug Fixes
webpack-contrib/html-loader (html-loader)

v5.0.0

Compare Source

⚠ BREAKING CHANGES

v4.2.0

Compare Source

Features

v4.1.0

Compare Source

Features
4.0.0 (2022-06-15)
⚠ BREAKING CHANGES
  • minimum supported Node.js version is 14.15.0
  • update parse5 to 7.0.0
Bug Fixes

v4.0.0

Compare Source

v3.1.2

Compare Source

Fix

  • broken release

v3.1.1

Compare Source

v3.1.0

Compare Source

Features
  • add possibility to extend default minimize options (#​414) (0fa36af)
3.0.1 (2021-11-02)
Bug Fixes

v3.0.1

Compare Source

v3.0.0

Compare Source

⚠ BREAKING CHANGES
  • minimum supported Node.js version is 12.13.0
Features
2.1.2 (2021-03-09)
Bug Fixes
  • avoid using file protocol (a309fe0)
2.1.1 (2021-02-24)
Bug Fixes

v2.1.2

Compare Source

v2.1.1

Compare Source

v2.1.0

Compare Source

Features

v2.0.0

Compare Source

⚠ BREAKING CHANGES
  • new URL('./source.ext', import.meta.url) syntax is using for importing sources (i.e. src/srcset/etc) and the esModule option is true by default, you can disable it by setting the esModule option to false
  • rename the attributes option to sources
  • the attributes.root option was removed in favor resolve.roots
  • minimum supported webpack version is 5
  • migrate from htmlparser2 to parse5
Features
  • handle more attribute for meta and link tags (348e4f5)
  • allow to disable default sources (#​351) (480656f)
Bug Fixes
1.3.2 (2020-10-09)
Chore
  • update schema-utils
1.3.1 (2020-09-21)
Bug Fixes

v1.3.2

Compare Source

v1.3.1

Compare Source

v1.3.0

Compare Source

Features
Bug Fixes
1.2.1 (2020-08-19)
Bug Fixes

v1.2.1

Compare Source

v1.2.0

Compare Source

Features
Bug Fixes

v1.1.0

Compare Source

Features
  • added support for an async functions to the preprocessor option (#​272) (e59324b)
  • allowed to handle an attribute without a tag (#​273) (c0d6d5b)
Bug Fixes

v1.0.0

Compare Source

⚠ BREAKING CHANGES
  • for parsing HTML now we use htmlparser2 package
  • the attrs option was renamed to the attributes option
  • the interpolate option was removed, please consider migration on the preprocessor
  • the minimize option is true by default in production mode. You need to list all options for html-minifier if you use object notation.
  • uppercase tags and uppercase attributes are handled by default
  • the root option was moved under the attributes option, please look at the documentation
  • emit an error on broken HTML syntax when minimization is enabled
  • By default, now we process the following tags with attributes:
    • the src attribute of the audio tag
    • the src attribute of the embed tag
    • the src attribute of the img tag
    • the srcset attribute of the img tag
    • the src attribute of the input tag
    • the href attribute of the link tag (only for stylesheets)
    • the data attribute of the object tag
    • the src attribute of the script tag
    • the src attribute of the source tag
    • the srcset attribute of the source tag
    • the src attribute of the track tag
    • the poster attribute of the video tag
    • the src attribute of the video tag
  • the attributes option should be Boolean or Object, please look at the documentation
  • the exportAsDefault option were removed in favor the esModules option
  • the exportAsEs6Default option were removed in favor the esModules option
Features
  • handle more tags and attributes
  • added the preprocessor option
  • added the esModule option
  • add the rulFilter option for filtering some of urls, please look at the documentation
  • allow to setup how to handle and filter tags and attributes, please look at the documentation
  • improve error reporting
Bug Fixes
  • adding quotes when necessary for unquoted sources
  • do not handle empty attributes
  • escape \u2028 and \u2029 characters
  • handle only valid srcset tags
  • parser tags and attributes according spec
  • reduce import/require count
  • reduce size of generated modules
  • respect #hash in sources
  • support ES6 syntax in script tags when minimize
  • support ES6 import of urls
webpack/loader-utils (loader-uti

Configuration

📅 Schedule: Branch creation - "every weekend" (UTC), 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • [ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

matticbot avatar Aug 19 '23 02:08 matticbot

Link to live branch is being generated... Please wait a few minutes and refresh this page.

github-actions[bot] avatar Aug 19 '23 02:08 github-actions[bot]

This PR modifies the release build for happy-blocks

To test your changes on WordPress.com, run install-plugin.sh happy-blocks renovate/major-webpack-packages on your sandbox.

To deploy your changes after merging, see the documentation: PCYsg-r7r-p2

matticbot avatar Aug 19 '23 02:08 matticbot

This PR modifies the release build for o2-blocks

To test your changes on WordPress.com, run install-plugin.sh o2-blocks renovate/major-webpack-packages on your sandbox.

To deploy your changes after merging, see the documentation: PCYsg-r7r-p2

matticbot avatar Aug 19 '23 02:08 matticbot

This PR modifies the release build for editing-toolkit

To test your changes on WordPress.com, run install-plugin.sh editing-toolkit renovate/major-webpack-packages on your sandbox.

To deploy your changes after merging, see the documentation: PCYsg-mMA-p2

matticbot avatar Aug 19 '23 02:08 matticbot

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • blaze-dashboard
  • happy-blocks
  • help-center
  • notifications
  • o2-blocks
  • odyssey-stats
  • whats-new
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug renovate/major-webpack-packages on your sandbox.

matticbot avatar Oct 15 '23 14:10 matticbot