From b9dbfc89ef8f91fe7e5ce04a3c25f860e3870a6b Mon Sep 17 00:00:00 2001 From: Dhruva Kumar Date: Mon, 19 Oct 2026 20:34:46 +0530 Subject: [PATCH 1/2] docs: fix typos and grammar in migration guide --- MIGRATION.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/MIGRATION.md b/MIGRATION.md index 2bd27998..25ce4fce 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -18,8 +18,7 @@ This document serves as a migration guide, documenting all breaking changes betw ## Upgrading from 1.x to 2.x (Webpack Plugin Only) -Version 2 of `@sentry/webpack-plugin` is a complete rewrite of version 1, relying on bundler-agnostic code (based on [unjs/unplugin](https://github.com/unjs/unplugin)). While we tried to keep changes to v1 of the webpack plugin minimal, a adjustments are nevertheless necessary: - +Version 2 of `@sentry/webpack-plugin` is a complete rewrite of version 1, relying on bundler-agnostic code (based on [unjs/unplugin](https://github.com/unjs/unplugin)). While we tried to keep changes to v1 of the webpack plugin minimal, a few adjustments are nevertheless necessary: ### Initialization and Required Values Previously, to use the plugin, you had to create a new class of the `SentryCLIPlugin` class. @@ -41,8 +40,7 @@ sentryWebpackPlugin({ ### Removal of `include` for `sourcemap` option -The `include` option was removed in favour of the new `sourcemaps` option. If you cannot migrate to the `sourcemaps`, `include` is still avaliable as the `uploadLegacySourcemaps` option. - +The `include` option was removed in favour of the new `sourcemaps` option. If you cannot migrate to the `sourcemaps` option, `include` is still available as the `uploadLegacySourcemaps` option. Use the `sourcemaps.assets` and `sourcemaps.ignore` options to indicate to the plugin which sourcemaps should be uploaded to Sentry. The plugin now also exposes `sourcemaps.deleteAfterUpload` to delete your sourcemaps after they have been uploaded to Sentry. With the `sourcemaps` options, you no longer need to set filename transforms like `urlPrefix` because the plugin uses a new debug IDs system to associate sourcemaps to your bundles. ```js From 640c28071bee44d336d4b6ebbdcf41e63f3c1180 Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Tue, 20 Oct 2026 07:50:25 +0000 Subject: [PATCH 2/2] chore: Fix formatting Co-Authored-By: Andrei Borza --- MIGRATION.md | 1 + 1 file changed, 1 insertion(+) diff --git a/MIGRATION.md b/MIGRATION.md index 25ce4fce..35d5ecf9 100644 --- a/MIGRATION.md +++ b/MIGRATION.md @@ -19,6 +19,7 @@ This document serves as a migration guide, documenting all breaking changes betw ## Upgrading from 1.x to 2.x (Webpack Plugin Only) Version 2 of `@sentry/webpack-plugin` is a complete rewrite of version 1, relying on bundler-agnostic code (based on [unjs/unplugin](https://github.com/unjs/unplugin)). While we tried to keep changes to v1 of the webpack plugin minimal, a few adjustments are nevertheless necessary: + ### Initialization and Required Values Previously, to use the plugin, you had to create a new class of the `SentryCLIPlugin` class.