-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref(replay): Update Replay installation with SDK-package import #5971
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
@@ -1,13 +1,13 @@ | |||
Install the Replay package with the package manager of your choice. Alternatively, you can load the Replay integration using a CDN bundle: | |||
The Replay Integration is **already included** in your Browser or Framework SDK NPM packages. If you're using CDN bundles instead of NPM packages, you need to load the Replay integration CDN bundle in addition to your browser bundle: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I made some changes to the text. Not sure if this is the best wording, so feel free to suggest alternatives.
@@ -4,8 +4,6 @@ To set up the integration, add the following to your Sentry initialization. Seve | |||
// import Sentry from your framework SDK (e.g. @sentry/react) instead of @sentry/browser | |||
import * as Sentry from "@sentry/browser"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should make this platform-specific some time in the future (just like in the wizard), to show the correct package import for each framework.
Co-authored-by: Jasmin <77064737+jas-kas@users.noreply.github.com>
This PR updates the Session Replay docs after we released version 7.27.0 of the JS SDKs. With this new version, users don't need to explicitly install
@sentry/replay
anymore, as it is now a dependency of@sentry/browser
which exports the Replay integration.ref #getsentry/sentry-javascript#6326
Note: I'd like to keep this PR open for a few days (Monday or so) just to make sure 7.27.0 isn't breaking anything