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 -> ^3.2.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.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 -> ^6.0.1 age adoption passing confidence
webpack-cli (source) ^5.1.4 -> ^6.0.1 age adoption passing confidence
webpack-dev-middleware ^5.3.4 -> ^7.4.2 age adoption passing confidence
webpack-dev-server ^4.15.2 -> ^5.2.0 age adoption passing confidence

Release Notes

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

v3.2.0

Compare Source

  • feat(core): Accept and await a promise in sourcemaps.filesToDeleteAfterUpload (#​677)

v3.1.2

Compare Source

  • deps: Bump @sentry/cli to 2.41.1 (#​671)

v3.1.1

Compare Source

  • fix(core): Disable release creation and source maps upload in dev mode (#​666)

    This fix disables any external calls to the Sentry API for managing releases or uploading source maps, when detecting that the plugin is running in dev-mode. While this rarely actually happened,
    it also polluted the dev server output with unnecessary logs about missing auth tokens, which shouldn't
    be required in dev mode.

v3.1.0

Compare Source

  • feat(webpack): Gate forced process exit behind experimental flag (#​663)

v3.0.0

Compare Source

Breaking Changes
  • Injected code will now use let, which was added in ES6 (ES2015).
    This means that ES6 is the minimum JavaScript version that the Sentry bundler plugins support.

  • Deprecated options have been removed:

    • deleteFilesAfterUpload - Use filesToDeleteAfterUpload instead
    • bundleSizeOptimizations.excludePerformanceMonitoring - Use bundleSizeOptimizations.excludeTracing instead
    • _experiments.moduleMetadata - Use moduleMetadata instead
    • cleanArtifacts - Did not do anything
List of Changes
  • fix!: Wrap injected code in block-statement to contain scope (#​646)
  • chore!: Remove deprecated options (#​654)
  • feat(logger): Use console methods respective to log level (#​652)
  • fix(webpack): Ensure process exits when done (#​653)
  • fix: Use correct replacement matcher for bundleSizeOptimizations.excludeTracing (#​644)

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

v2.23.0

Compare Source

  • chore(deps): bump nanoid from 3.3.6 to 3.3.8 (#​641)
  • feat(core): Detect Railway release name (#​639)
  • feat(core): Write module injections to globalThis (#​636)
  • feat(react-component-annotate): Allow skipping annotations on specified components (#​617)
  • ref(core): Rename release management plugin name (#​647)

Work in this release contributed by @​conor-ob. Thank you for your contribution!

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](https://togithub.com/webpack-co


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 3 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 2 times, most recently from 52aff3b to ed3883c Compare December 15, 2024 08:06
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 3 times, most recently from 19742b6 to 5e9b047 Compare December 26, 2024 11:08
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from ad7632d to 1f5747b Compare December 30, 2024 14:37
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch from 1f5747b to 4339f30 Compare January 8, 2025 04:39
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 2 times, most recently from eaf73bd to e4ba485 Compare January 20, 2025 12:48
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch from e4ba485 to 652f788 Compare January 25, 2025 09:06
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch 4 times, most recently from f8d7ad2 to 5f2c0d5 Compare February 27, 2025 23:48
@matticbot matticbot force-pushed the renovate/major-webpack-packages branch from 5f2c0d5 to 655d8bf Compare March 1, 2025 09:22
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