Title: Remove `withSentry` in sentry-nextjs package · Issue #5893 · getsentry/sentry-javascript · GitHub
Open Graph Title: Remove `withSentry` in sentry-nextjs package · Issue #5893 · getsentry/sentry-javascript
X Title: Remove `withSentry` in sentry-nextjs package · Issue #5893 · getsentry/sentry-javascript
Description: Problem Statement As per #5778 we are doing all route wrapping on our own and having withSentry function has a potential to cause confusion and frankly, it becomes a tech debt the moment we promote auto wrapping of nexjs API routes to de...
Open Graph Description: Problem Statement As per #5778 we are doing all route wrapping on our own and having withSentry function has a potential to cause confusion and frankly, it becomes a tech debt the moment we promote...
X Description: Problem Statement As per #5778 we are doing all route wrapping on our own and having withSentry function has a potential to cause confusion and frankly, it becomes a tech debt the moment we promote...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/5893
X: @github
Domain: github.com
IPv4 address: 140.82.114.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Remove `withSentry` in sentry-nextjs package","articleBody":"### Problem Statement\r\n\r\nAs per https://github.com/getsentry/sentry-javascript/pull/5778 we are doing all route wrapping on our own and having `withSentry` function has a potential to cause confusion and frankly, it becomes a tech debt the moment we promote auto wrapping of nexjs API routes to default SDK behaviour.\r\n\r\n### Solution Brainstorm\r\n\r\n⚠️ this is a breaking change. I propose we schedule this for our v8 release ⚠️ \r\n\r\n1. Remove the `withSentry` from sentry-nextjs package\r\n2. Communicate breaking changes in v8 of the SDK.","author":{"url":"https://github.com/vladanpaunovic","@type":"Person","name":"vladanpaunovic"},"datePublished":"2022-10-05T19:55:17Z","url":"https://github.com/getsentry/sentry-javascript/issues/5893"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9c0f9809-f159-afc2-88fd-f827597a3796 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DD20:2F5E16:32D2B:42F39:6B042F92 |
| html-safe-nonce | 1091433e3f6b2b6a54d6b71a27c39006e52c1e5f1094e65eb9b44822b40a5110 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERDIwOjJGNUUxNjozMkQyQjo0MkYzOTo2QjA0MkY5MiIsInZpc2l0b3JfaWQiOiI3NjI3MjQyNDMwNTg4NTMwNTc4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | b171be3a178f2275b104221323e2e5ad5750bc12db48bdcb57334483f3f9a211 |
| hovercard-subject-tag | issue:1398301998 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/getsentry/sentry-javascript/5893/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3dbddd3663bbcdcd23d9a0b1ecf8f29d69b07994d6b1f734878dbe2cf4a1ef7f/getsentry/sentry-javascript/issues/5893 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3dbddd3663bbcdcd23d9a0b1ecf8f29d69b07994d6b1f734878dbe2cf4a1ef7f/getsentry/sentry-javascript/issues/5893 |
| og:image:alt | Problem Statement As per #5778 we are doing all route wrapping on our own and having withSentry function has a potential to cause confusion and frankly, it becomes a tech debt the moment we promote... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | vladanpaunovic |
| hostname | github.com |
| expected-hostname | github.com |
| None | b7a1d2b9101496921b08579fbee988d014345aef2f5bd660d1f8c7332d81560e |
| turbo-cache-control | no-preview |
| go-import | github.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git |
| octolytics-dimension-user_id | 1396951 |
| octolytics-dimension-user_login | getsentry |
| octolytics-dimension-repository_id | 3328572 |
| octolytics-dimension-repository_nwo | getsentry/sentry-javascript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3328572 |
| octolytics-dimension-repository_network_root_nwo | getsentry/sentry-javascript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | c3dd496c3da6ea6b77e69c09279d2b81604654f1 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width