Follow this guide to upgrade from one major version to the other.
Upgrading from v7 to v8
Breaking changes only affect the
publishRelease and the (related to
When using the
publishRelease option, the
@sentry/webpack-plugin package needs to be updated from version 1.x to 2.x.
The options supported by the
publishRelease object have also changed slightly:
urlPrefixoptions are no longer supported.
setCommitsoption moved to
errorHandleroption signature has changed - see https://sentry.nuxtjs.org/guide/releases
The default value of the
sourceMapStyle option has changed from
hidden-source-map since the new version of the webpack plugin can handle source maps without having to reference them directly in the source files.
You can also check the
@sentry/webpack-plugin official migration guide for more information although not everything mentioned there applies to this module.
Upgrading from v6 to v7
Sentry SDK dependencies updated from v6 to v7. Please read about breaking changes in Sentry SDK's Upgrading from v6.x to v7.x document.
Some of the breaking changes listed in that document are automatically handled by the module and don't need any action. Other notable changes that might require action are:
@sentry/tracingdependency should be uninstalled, regardless whether
tracingoption is used or not.
serverConfig) options have been renamed to
Vueintegration was removed as is now merged into the Sentry Browser SDK. If you have been passing custom
Vueoptions through the
clientIntegrations.Vueobject then those can now be merged directly into the
clientConfigoption (without the parent
UserAgentintegration was renamed to
HttpContext. If you have been passing custom configuration to that integration through
clientIntegrationsoption then you should rename the key.