sentry-javascript
sentry-javascript copied to clipboard
feat(replay): Add option to pass in custom record fn
Bringing back https://github.com/getsentry/sentry-javascript/pull/8647 but it would be nice to test new versions of rrweb without having to bundle it with our replay SDK.
size-limit report 📦
| Path | Size |
|---|---|
| @sentry/browser | 21.65 KB (added) |
| @sentry/browser (incl. Tracing) | 32.66 KB (added) |
| @sentry/browser (incl. Tracing, Replay) | 67.98 KB (added) |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 61.39 KB (added) |
| @sentry/browser (incl. Tracing, Replay with Canvas) | 72 KB (added) |
| @sentry/browser (incl. Tracing, Replay, Feedback) | 84.23 KB (added) |
| @sentry/browser (incl. Feedback) | 37.76 KB (added) |
| @sentry/browser (incl. sendFeedback) | 26.43 KB (added) |
| @sentry/browser (incl. FeedbackAsync) | 30.91 KB (added) |
| @sentry/react | 24.33 KB (added) |
| @sentry/react (incl. Tracing) | 35.56 KB (added) |
| @sentry/vue | 25.26 KB (added) |
| @sentry/vue (incl. Tracing) | 34.4 KB (added) |
| @sentry/svelte | 21.77 KB (added) |
| CDN Bundle | 23.95 KB (added) |
| CDN Bundle (incl. Tracing) | 33.9 KB (added) |
| CDN Bundle (incl. Tracing, Replay) | 67.51 KB (added) |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 83.31 KB (added) |
| CDN Bundle - uncompressed | 70.56 KB (added) |
| CDN Bundle (incl. Tracing) - uncompressed | 100.8 KB (added) |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 210.41 KB (added) |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 256.73 KB (added) |
| @sentry/nextjs (client) | 34.79 KB (added) |
| @sentry/sveltekit (client) | 33.16 KB (added) |
| @sentry/node | 152.84 KB (added) |
Instead of publicly exposing a custom record fn, we'll instead pin specific versions of rrweb via yarn resolutions.