wp-calypso
wp-calypso copied to clipboard
chore(deps): update webpack packages (major)
This PR contains the following updates:
Release Notes
getsentry/sentry-javascript-bundler-plugins (@sentry/webpack-plugin)
v2.19.0
- 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
- 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
- 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
- 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
- feat(core): Add
loggerPrefixOverride
meta option (#506)
v2.15.0
- feat: Make options argument optional (#502)
- ref(annotate): Turn disabled message to debug log (#504)
v2.14.3
- deps(core): Unpin
@babel/core
,find-up
, andglob
(#496)
Work in this release contributed by @allanlewis. Thank you for your contribution!
v2.14.2
- feat(core): Bundle in Sentry SDK deps (#487)
v2.14.1
- fix(core): Stop .env files from being picked up (#486)
- feat(core): Add telemetry for React component annotations (#482)
v2.14.0
- ref(component-annotate): Use default export (#478)
v2.13.0
- ref(component-annotate): Conform to Babel plugin naming conventions
v2.12.0
- ref(component-annotate): Prefix plugin name with
babel
v2.11.0
- 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
- fix(core): Safely flush telemetry
v2.10.2
- deps(core): Bump
@sentry/cli
to^2.22.3
(#451)
v2.10.1
- chore: bump @sentry/cli dependency to 2.21.4 (#440)
v2.10.0
- feat: deprecate
excludeReplayCanvas
config (#436) - feat: Add
excludeReplayWorker
tobundleSizeOptimizations
(#433)
v2.9.0
- 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
- 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
- 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
- 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
- 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
- fix: Don't crash on failed delete after upload (#373)
v2.6.0
- 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
- 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
- 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
- feat(webpack): Generate deterministic debug IDs (#321)
- feat: Add
filesToDeleteAfterUpload
alias fordeleteFilesAfterUpload
(#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 setrelease.name
option (#317)
Work in this release contributed by @smbroadley. Thank you for your contribution!
v2.2.2
- 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
- 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 ofreplace
(#303) - ref: Improve log message when sourcemap cannot be found (#287)
v2.2.0
Work in this release was made possible with help from @wojtekmaj and @dobladov. Thank you for your contributions!
v2.1.0
- 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
v12.0.1
v12.0.0
⚠ BREAKING CHANGES
v11.0.0
⚠ BREAKING CHANGES
- minimum supported
Node.js
version is14.15.0
build
10.2.4 (2022-01-31)
Bug Fixes
10.2.3 (2022-01-29)
Bug Fixes
- async
to
support (fd095fb)
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
v7.1.1
v7.1.0
Features
v7.0.0
⚠ BREAKING CHANGES
- The
modules.namedExport
option istrue
by default if you enable theesModule
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 valueas-is
when themodules.namedExport
option istrue
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
webpack-contrib/css-minimizer-webpack-plugin (css-minimizer-webpack-plugin)
v7.0.0
⚠ BREAKING CHANGES
v6.0.0
⚠ BREAKING CHANGES
5.0.1 (2023-06-13)
Bug Fixes
v5.0.1
v5.0.0
⚠ 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
v4.2.1
v4.2.0
Features
v4.1.0
Features
v4.0.0
⚠ BREAKING CHANGES
- minimum supported
Node.js
version is14.15.0
3.4.1 (2022-01-18)
Bug Fixes
- types (9c8b0f3)
webpack-contrib/html-loader (html-loader)
v5.0.0
⚠ BREAKING CHANGES
v4.2.0
Features
v4.1.0
Features
4.0.0 (2022-06-15)
⚠ BREAKING CHANGES
- minimum supported
Node.js
version is14.15.0
- update
parse5
to7.0.0
Bug Fixes
v4.0.0
v3.1.2
Fix
- broken release
v3.1.1
v3.1.0
Features
3.0.1 (2021-11-02)
Bug Fixes
- context for loader without resource (#409) (eb08a58)
- handle attributes without tag (#410) (e5d5fd8)
v3.0.1
v3.0.0
⚠ BREAKING CHANGES
- minimum supported
Node.js
version is12.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
v2.1.1
v2.1.0
Features
v2.0.0
⚠ BREAKING CHANGES
-
new URL('./source.ext', import.meta.url)
syntax is using for importingsources
(i.e.src
/srcset
/etc) and theesModule
option istrue
by default, you can disable it by setting theesModule
option tofalse
- rename the
attributes
option tosources
- the
attributes.root
option was removed in favorresolve.roots
- minimum supported
webpack
version is5
- migrate from
htmlparser2
toparse5
Features
- handle more attribute for
meta
andlink
tags (348e4f5) - allow to disable default sources (#351) (480656f)
Bug Fixes
- broken
src
with#hash
(#342) (d6590b0) - handle
\
character (#353) (c124fae) - pass hash from request to other loaders (#349) (e97d3c8)
1.3.2 (2020-10-09)
Chore
- update
schema-utils
1.3.1 (2020-09-21)
Bug Fixes
v1.3.2
v1.3.1
v1.3.0
Features
Bug Fixes
1.2.1 (2020-08-19)
Bug Fixes
v1.2.1
v1.2.0
Features
Bug Fixes
- do not handle non standard
script
types (ddad9f2) - inline syntax for sources (#310) (c247cfa)
- linefeed characters in sources (#311) (b8ee9ee)
- minimize is more safely (#304) (03152b1)
- perf (#300) (d69f259)
v1.1.0
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
⚠ BREAKING CHANGES
- for parsing HTML now we use
htmlparser2
package - the
attrs
option was renamed to theattributes
option - the
interpolate
option was removed, please consider migration on thepreprocessor
- the
minimize
option istrue
by default inproduction
mode. You need to list all options forhtml-minifier
if you useobject
notation. - uppercase tags and uppercase attributes are handled by default
- the
root
option was moved under theattributes
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 theaudio
tag - the
src
attribute of theembed
tag - the
src
attribute of theimg
tag - the
srcset
attribute of theimg
tag - the
src
attribute of theinput
tag - the
href
attribute of thelink
tag (only for stylesheets) - the
data
attribute of theobject
tag - the
src
attribute of thescript
tag - the
src
attribute of thesource
tag - the
srcset
attribute of thesource
tag - the
src
attribute of thetrack
tag - the
poster
attribute of thevideo
tag - the
src
attribute of thevideo
tag
- the
- the
attributes
option should beBoolean
orObject
, please look at the documentation - the
exportAsDefault
option were removed in favor theesModules
option - the
exportAsEs6Default
option were removed in favor theesModules
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.
Link to live branch is being generated... Please wait a few minutes and refresh this page.
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
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
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
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.