Follow this guide to upgrade from one major version to the other.
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.