sentry-javascript
sentry-javascript copied to clipboard
feat(browser): Experimental Soft Navigation Support
This PR implements soft navigation support which is pulled from https://github.com/GoogleChrome/web-vitals/pull/308 which entered recently origin trials.
No plans yet to support this in our product, just experimenting with how it works once I submit a suitable origin to test out.
Links:
- https://developer.chrome.com/docs/web-platform/soft-navigations-experiment
- https://developer.chrome.com/blog/new-soft-navigations-origin-trial
size-limit report 📦
| Path | Size | % Change | Change |
|---|---|---|---|
| @sentry/browser | 24.8 kB | - | - |
| @sentry/browser - with treeshaking flags | 23.31 kB | - | - |
| ⛔️ @sentry/browser (incl. Tracing) (max: 42 kB) | 42.35 kB | +1.96% | +814 B 🔺 |
| @sentry/browser (incl. Tracing, Profiling) | 47.02 kB | +1.91% | +881 B 🔺 |
| ⛔️ @sentry/browser (incl. Tracing, Replay) (max: 80 kB) | 80.77 kB | +1.03% | +816 B 🔺 |
| @sentry/browser (incl. Tracing, Replay) - with treeshaking flags | 70.49 kB | +1.15% | +801 B 🔺 |
| ⛔️ @sentry/browser (incl. Tracing, Replay with Canvas) (max: 85 kB) | 85.46 kB | +0.98% | +825 B 🔺 |
| ⛔️ @sentry/browser (incl. Tracing, Replay, Feedback) (max: 97 kB) | 97.69 kB | +0.84% | +811 B 🔺 |
| @sentry/browser (incl. Feedback) | 41.48 kB | - | - |
| @sentry/browser (incl. sendFeedback) | 29.49 kB | - | - |
| @sentry/browser (incl. FeedbackAsync) | 34.47 kB | - | - |
| @sentry/react | 26.52 kB | - | - |
| ⛔️ @sentry/react (incl. Tracing) (max: 44 kB) | 44.6 kB | +1.98% | +865 B 🔺 |
| @sentry/vue | 29.25 kB | - | - |
| ⛔️ @sentry/vue (incl. Tracing) (max: 44 kB) | 44.17 kB | +1.93% | +834 B 🔺 |
| @sentry/svelte | 24.82 kB | - | - |
| CDN Bundle | 27.21 kB | - | - |
| ⛔️ CDN Bundle (incl. Tracing) (max: 42.5 kB) | 43.05 kB | +1.98% | +832 B 🔺 |
| CDN Bundle (incl. Tracing, Replay) | 79.58 kB | +1.07% | +835 B 🔺 |
| CDN Bundle (incl. Tracing, Replay, Feedback) | 85.07 kB | +1.04% | +869 B 🔺 |
| CDN Bundle - uncompressed | 79.96 kB | - | - |
| ⛔️ CDN Bundle (incl. Tracing) - uncompressed (max: 127 kB) | 128.33 kB | +2.39% | +2.99 kB 🔺 |
| CDN Bundle (incl. Tracing, Replay) - uncompressed | 244.36 kB | +1.24% | +2.99 kB 🔺 |
| CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed | 257.12 kB | +1.18% | +2.99 kB 🔺 |
| ⛔️ @sentry/nextjs (client) (max: 46 kB) | 46.8 kB | +1.83% | +839 B 🔺 |
| ⛔️ @sentry/sveltekit (client) (max: 42 kB) | 42.73 kB | +1.99% | +832 B 🔺 |
| @sentry/node-core | 51.27 kB | - | - |
| @sentry/node | 159.43 kB | -0.01% | -4 B 🔽 |
| @sentry/node - without tracing | 92.85 kB | - | - |
| @sentry/aws-serverless | 108.14 kB | - | - |