Migration guide
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 publishRelease
) sourceMapStyle
option.
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:
configFile
,dryRun
,include
,sourcemap
andurlPrefix
options are no longer supported.setCommits
option moved torelease.setCommits
errorHandler
option signature has changed - see https://sentry.nuxtjs.org/guide/releases
The default value of the sourceMapStyle
option has changed from source-map
to 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:
- The
@sentry/tracing
dependency should be uninstalled, regardless whethertracing
option is used or not. - The
whitelistUrls
andblacklistUrls
Sentryconfig
(orclientConfig
/serverConfig
) options have been renamed toallowUrls
anddenyUrls
. - The
Vue
integration was removed as is now merged into the Sentry Browser SDK. If you have been passing customVue
options through theclientIntegrations.Vue
object then those can now be merged directly into theclientConfig
option (without the parentVue
key). - The
UserAgent
integration was renamed toHttpContext
. If you have been passing custom configuration to that integration throughclientIntegrations
option then you should rename the key.