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

chore(deps): update webpack packages (major) #80833

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

Conversation

matticbot
Copy link
Contributor

@matticbot matticbot commented Aug 19, 2023

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sentry/webpack-plugin (source) ^1.21.0 -> ^2.22.7 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.1.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.4.2 age adoption passing confidence
webpack-dev-server ^4.15.2 -> ^5.1.0 age adoption passing confidence

Release Notes

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

v2.22.7

Compare Source

  • deps: Bump @sentry/cli to 2.39.1 and require specific version (#​632)
  • feat(telemetry): Record if plugin is run in CI (#​627)

v2.22.6

Compare Source

  • fix(core): Use sha256 instead of md5 to generate uuids from string (#​619)

v2.22.5

Compare Source

  • fix: Ignore stderr output from git command (#​613)
  • feat: Update Sentry telemetry to v8 (#​604)
  • deps: Update @sentry/cli to 2.36.1 (#​609)

v2.22.4

Compare Source

  • feat(react-component-annotate): Handle function body returning a ternary (#​598)
  • fix: Allow injection plugins to apply to files with query parameters and fragments in their name (#​597)

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

v2.22.3

Compare Source

  • fix(core): Always instantiate global Error class in injected code snippets (#​594)

v2.22.2

Compare Source

  • fix: Disable debug ID injection when sourcemaps.disable is set (#​589)

v2.22.1

Compare Source

  • fix: Use sourcemaps.disable to disable debug ID upload instead of legacy upload (#​587)
  • fix: Escape release string in injection snippet (#​585)

v2.22.0

Compare Source

  • deps: Bump @sentry/cli to 2.33.1 (#​581)
  • feat: Add bundleSizeOptimizations.excludeTracing option as alias to deprecated bundleSizeOptimizations.excludePerformanceMonitoring (#​582)
  • fix(vite-plugin): Ensure post order of sentry-vite-release-injection-plugin to avoid breaking @rollup/plugin-commonjs step (#​578)

v2.21.1

Compare Source

  • fix: Do not delete files before all upload tasks executed (#​572)

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

v2.21.0

Compare Source

  • fix: Use sequential and post order for vite artifact deletion (#​568)
  • feat: Add option to disable sourcemaps (#​561)

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

v2.20.1

Compare Source

  • feat(telemetry): Collect whether applicationKey is set (#​559)
  • fix: Wait for tasks depending on sourcemaps before deleting (#​557)

v2.20.0

Compare Source

  • feat: Export esbuild plugin as default (#​555)

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
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.1.0

Compare Source

Features

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

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 matticbot added [Type] Task dependencies Pull requests that update a dependency file Framework labels Aug 19, 2023
@matticbot matticbot requested review from a team August 19, 2023 02:10
@matticbot matticbot added [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. labels Aug 19, 2023
@github-actions
Copy link

github-actions bot commented Aug 19, 2023

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

@matticbot
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link
Contributor Author

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 matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from 3deb111 to 373dbc3 Compare August 21, 2023 08:37
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from 6296b06 to 4aaf0a1 Compare August 29, 2023 21:11
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 4 times, most recently from 61135f5 to 13ff68f Compare September 15, 2023 18:38
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from 5aafd26 to 5fb4e1b Compare September 27, 2023 13:41
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 3 times, most recently from 2f0fb3d to 572582e Compare October 2, 2023 12:46
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 3 times, most recently from 226a492 to 452f8bf Compare October 15, 2023 14:39
@matticbot
Copy link
Contributor Author

matticbot commented Oct 15, 2023

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 matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from 40d9b6e to 1935bff Compare October 18, 2023 06:42
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 7 times, most recently from ee3cc03 to 094e3df Compare September 20, 2024 11:08
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch from 094e3df to ae02505 Compare September 27, 2024 09:38
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from e63cee0 to e2e827f Compare October 16, 2024 08:42
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 3 times, most recently from 3591fb1 to 5dd3277 Compare October 28, 2024 09:06
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 4 times, most recently from f00162b to 7c94882 Compare November 7, 2024 19:06
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 3 times, most recently from 326361d to a04cc89 Compare November 21, 2024 20:38
@matticbot matticbot changed the title chore(deps): update webpack packages (major) chore(deps): update webpack packages (major) - autoclosed Dec 8, 2024
@matticbot matticbot closed this Dec 8, 2024
@matticbot matticbot deleted the renovate/major-webpack-packages branch December 8, 2024 18:39
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Dec 8, 2024
@matticbot matticbot changed the title chore(deps): update webpack packages (major) - autoclosed chore(deps): update webpack packages (major) Dec 8, 2024
@matticbot matticbot restored the renovate/major-webpack-packages branch December 8, 2024 19:06
@matticbot matticbot reopened this Dec 8, 2024
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch from a04cc89 to 52aff3b Compare December 11, 2024 15:31
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch from 52aff3b to ed3883c Compare December 15, 2024 08:06
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 Framework [Type] Task
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants