| 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/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format) |
| route-controller | voltron_pull_requests_fragments |
| route-action | pull_request_layout |
| fetch-nonce | v2:8b59c797-e910-14b4-8d42-f6d4e120bd9f |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | E6FC:1EF7B4:7793FD:A3A178:6B04AAC0 |
| html-safe-nonce | 306d7aa1fdbc4790a9bd2714af6d078085581e0390fcbcd8a748697d37f9b049 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkZDOjFFRjdCNDo3NzkzRkQ6QTNBMTc4OjZCMDRBQUMwIiwidmlzaXRvcl9pZCI6Ijk4NjAyODE4NjkwNTM4OTc2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 2ff8a7178af528af071163103e4b8e594cde4500d5f84ff12b9a85b067ace91d |
| hovercard-subject-tag | pull_request:1194975653 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | ///voltron/pull_requests_fragments/pull_request_layout |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/6746/pull_request_layout |
| twitter:image | https://opengraph.githubassets.com/09b2f5cf987e99c3a3de20d5bb38084b95206951acfb67e7a41dd698727ec81e/getsentry/sentry-javascript/pull/6746 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/09b2f5cf987e99c3a3de20d5bb38084b95206951acfb67e7a41dd698727ec81e/getsentry/sentry-javascript/pull/6746 |
| og:image:alt | Ref #6120
Ref #4206
Based on #6771, this PR adds automatic wrapping of Edge routes and Next.js middleware. |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | lforst |
| hostname | github.com |
| expected-hostname | github.com |
| None | 188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b |
| turbo-cache-control | no-cache |
| 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 | 557cfbac6cdb532730c95c90f2cefdc0c4128029 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | pull-requests |
| Skip to content | https://github.com/getsentry/sentry-javascript/pull/6746#start-of-content |
| https://github.com/ |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6746 |
| GitHubRepository hosting, code review, and collaboration | https://github.com/platform |
| CopilotAI coding agent for tasks, projects, and automated work | https://github.com/features/copilot |
| ActionsCI/CD and automation | https://github.com/features/actions |
| Code QualityQuality analysis, fixes, and enforcement | https://github.com/features/code-quality |
| CodespacesCloud development environments | https://github.com/features/codespaces |
| Code SecurityVulnerability detection and remediation | https://github.com/security/advanced-security/code-security |
| Secret ProtectionSecret scanning and leak prevention | https://github.com/security/advanced-security/secret-protection |
| All Features | https://github.com/features |
| Documentation | https://docs.github.com/en |
| Training | https://learn.github.com/skills |
| Certifications | https://learn.github.com/credentials |
| Build with Copilot | https://github.com/features/ai |
| Customize Copilot | https://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview |
| Integrations | https://github.com/marketplace |
| Trending repos | https://github.com/trending |
| GitHub Sponsors | https://github.com/open-source/sponsors |
| Developer articles | https://github.com/resources/articles |
| ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place. | https://github.blog/changelog/ |
| Enterprises | https://github.com/enterprise |
| Team | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| See all industries | https://github.com/solutions/industry |
| Why GitHub | https://github.com/why-github |
| Customer Stories | https://github.com/customer-stories |
| Business insights | https://github.com/solutions/executive-insights |
| Trust Center | https://github.com/trust-center |
| GitHub Advanced SecurityEnterprise-grade code security | https://github.com/security/advanced-security |
| Copilot for businessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Documentation | https://docs.github.com/en |
| Resource center | https://github.com/resources |
| Blog | https://github.blog/ |
| Events & webinars | https://github.com/resources/events |
| Community Forum | https://github.com/orgs/community/discussions |
| Customer Stories | https://github.com/customer-stories |
| Integrations | https://github.com/marketplace |
| Customer support | https://help.github.com/ |
| Training | https://learn.github.com/skills |
| GitHub Status | https://www.githubstatus.com/ |
| About | https://github.com/about |
| Partners | https://github.com/partners |
| Changelog | https://github.blog/changelog/ |
| GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub. | https://githubuniverse.com/ |
| Pricing | https://github.com/pricing |
| Sign in | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6746 |
| Sign up | https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=getsentry%2Fsentry-javascript |
| Reload | https://github.com/getsentry/sentry-javascript/pull/6746 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/6746 |
| Reload | https://github.com/getsentry/sentry-javascript/pull/6746 |
| getsentry | https://github.com/getsentry |
| sentry-javascript | https://github.com/getsentry/sentry-javascript |
| Code | https://github.com/getsentry/sentry-javascript |
| Issues333 (333) | https://github.com/getsentry/sentry-javascript/issues |
| Pull requests52 (52) | https://github.com/getsentry/sentry-javascript/pulls |
| Discussions | https://github.com/getsentry/sentry-javascript/discussions |
| Actions | https://github.com/getsentry/sentry-javascript/actions |
| Security and quality7 (7) | https://github.com/getsentry/sentry-javascript/security |
| Insights | https://github.com/getsentry/sentry-javascript/insights |
| https://github.com/getsentry/sentry-javascript |
| lforst | https://github.com/lforst |
| master | https://github.com/getsentry/sentry-javascript/tree/master |
| lforst-edge-auto-wrapping | https://github.com/getsentry/sentry-javascript/tree/lforst-edge-auto-wrapping |
| Conversation | https://github.com/getsentry/sentry-javascript/pull/6746 |
| Commits10 (10) | https://github.com/getsentry/sentry-javascript/pull/6746/commits |
| Checks | https://github.com/getsentry/sentry-javascript/pull/6746/checks |
| Files changed | https://github.com/getsentry/sentry-javascript/pull/6746/files |
| feat(nextjs): Auto-wrap edge-routes and middleware | https://github.com/getsentry/sentry-javascript/pull/6746#top |
| lforst | https://github.com/lforst |
| master | https://github.com/getsentry/sentry-javascript/tree/master |
| lforst-edge-auto-wrapping | https://github.com/getsentry/sentry-javascript/tree/lforst-edge-auto-wrapping |
|
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| Jan 12, 2023 | https://github.com/getsentry/sentry-javascript/pull/6746#issue-1530336729 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| #6120 | https://github.com/getsentry/sentry-javascript/issues/6120 |
| #4206 | https://github.com/getsentry/sentry-javascript/issues/4206 |
| #6771 | https://github.com/getsentry/sentry-javascript/pull/6771 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| https://github.com/apps/github-actions |
| github-actions | https://github.com/apps/github-actions |
| Jan 12, 2023 | https://github.com/getsentry/sentry-javascript/pull/6746#issuecomment-1380017897 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
|
feat(nextjs): Support edge runtime
#6730
| https://github.com/getsentry/sentry-javascript/pull/6730 |
|
feat(nextjs): Use Edge SDK for Edge bundles
#6753
| https://github.com/getsentry/sentry-javascript/pull/6753 |
|
feat(nextjs): Add Edge Runtime SDK
#6752
| https://github.com/getsentry/sentry-javascript/pull/6752 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| force-pushed | https://github.com/getsentry/sentry-javascript/compare/760df35fd53f13b48636adbcb8ac84c4f15db613..c31d07f36b4b3d2b5e6e44279b3e46ebc3f6e520 |
| 760df35 | https://github.com/getsentry/sentry-javascript/commit/760df35fd53f13b48636adbcb8ac84c4f15db613 |
| c31d07f | https://github.com/getsentry/sentry-javascript/commit/c31d07f36b4b3d2b5e6e44279b3e46ebc3f6e520 |
|
Compare
| https://github.com/getsentry/sentry-javascript/compare/760df35fd53f13b48636adbcb8ac84c4f15db613..c31d07f36b4b3d2b5e6e44279b3e46ebc3f6e520 |
| January 12, 2023 16:47 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8213356418 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| January 13, 2023 16:38 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8222586056 |
| January 13, 2023 16:51 | https://github.com/getsentry/sentry-javascript/pull/6746#commits-pushed-6f4b028 |
| feat(nextjs): Add edge route and middleware wrappers | https://github.com/getsentry/sentry-javascript/pull/6746/commits/6f4b0285545f310798ef9f7d1ba5b35302b96dc1 |
| 6f4b028 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/6f4b0285545f310798ef9f7d1ba5b35302b96dc1 |
| feat(nextjs): Auto-wrap edge-routes and middleware | https://github.com/getsentry/sentry-javascript/pull/6746/commits/416a7c87ada7072bdc67dfd5ad2324c5877fbac8 |
| 416a7c8 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/416a7c87ada7072bdc67dfd5ad2324c5877fbac8 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| force-pushed | https://github.com/getsentry/sentry-javascript/compare/1eb318304fcfd054f89aa5d95d3e546033e7f630..416a7c87ada7072bdc67dfd5ad2324c5877fbac8 |
| 1eb3183 | https://github.com/getsentry/sentry-javascript/commit/1eb318304fcfd054f89aa5d95d3e546033e7f630 |
| 416a7c8 | https://github.com/getsentry/sentry-javascript/commit/416a7c87ada7072bdc67dfd5ad2324c5877fbac8 |
|
Compare
| https://github.com/getsentry/sentry-javascript/compare/1eb318304fcfd054f89aa5d95d3e546033e7f630..416a7c87ada7072bdc67dfd5ad2324c5877fbac8 |
| January 13, 2023 16:52 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8222701224 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| January 13, 2023 16:53 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8222705798 |
| January 13, 2023 17:58 | https://github.com/getsentry/sentry-javascript/pull/6746#commits-pushed-a7c103d |
| Fix tests on node 10 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/a7c103dae79229c6a35642a999d676c845042071 |
| a7c103d | https://github.com/getsentry/sentry-javascript/pull/6746/commits/a7c103dae79229c6a35642a999d676c845042071 |
| Merge branch 'lforst-edge-wrappers' into lforst-edge-auto-wrapping | https://github.com/getsentry/sentry-javascript/pull/6746/commits/487eee27915fcb4b629cb9f5277722bd758836e5 |
| 487eee2 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/487eee27915fcb4b629cb9f5277722bd758836e5 |
| Cosmetics | https://github.com/getsentry/sentry-javascript/pull/6746/commits/918e831f4e508114a2b91cf079195cd2d67a968b |
| 918e831 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/918e831f4e508114a2b91cf079195cd2d67a968b |
| Add js doc | https://github.com/getsentry/sentry-javascript/pull/6746/commits/2791323f78f4cfd18f44351382561b3c57b4bb8f |
| 2791323 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/2791323f78f4cfd18f44351382561b3c57b4bb8f |
| Add option to disable auto wrapping of middleware | https://github.com/getsentry/sentry-javascript/pull/6746/commits/a1bf405d6c480d02bc4692267fca682c9d317461 |
| a1bf405 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/a1bf405d6c480d02bc4692267fca682c9d317461 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| AbhiPrasad | https://github.com/AbhiPrasad |
| mydea | https://github.com/mydea |
| January 16, 2023 08:25 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8233074793 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| January 16, 2023 08:25 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8233075909 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
|
Jan 16, 2023
| https://github.com/getsentry/sentry-javascript/pull/6746#ref-issue-1534541566 |
|
Document Next.js + Vercel changes
getsentry/sentry-docs#6080
| https://github.com/getsentry/sentry-docs/issues/6080 |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Jan 16, 2023
| https://github.com/getsentry/sentry-javascript/pull/6746#pullrequestreview-1249790023 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/6746/files/a1bf405d6c480d02bc4692267fca682c9d317461 |
| packages/nextjs/src/config/templates/apiWrapperTemplate.ts | https://github.com/getsentry/sentry-javascript/pull/6746/files/a1bf405d6c480d02bc4692267fca682c9d317461#diff-95c99a1631e330c4a9530e40338eef8db8309c4da600219b37402d951c1a57a1 |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Jan 16, 2023 | https://github.com/getsentry/sentry-javascript/pull/6746#discussion_r1070990705 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| packages/nextjs/src/config/webpack.ts | https://github.com/getsentry/sentry-javascript/pull/6746/files/a1bf405d6c480d02bc4692267fca682c9d317461#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75 |
| AbhiPrasad | https://github.com/AbhiPrasad |
| Jan 16, 2023 | https://github.com/getsentry/sentry-javascript/pull/6746#discussion_r1070993470 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| lforst | https://github.com/lforst |
| Jan 16, 2023 | https://github.com/getsentry/sentry-javascript/pull/6746#discussion_r1071145552 |
| Learn more | https://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment |
| here | https://nextjs.org/docs/advanced-features/src-directory |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| Rename wrapping target | https://github.com/getsentry/sentry-javascript/pull/6746/commits/b7f551146ee656a7f490420bcc61fbf3a8486e65 |
| b7f5511 | https://github.com/getsentry/sentry-javascript/pull/6746/commits/b7f551146ee656a7f490420bcc61fbf3a8486e65 |
| January 16, 2023 11:10 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8234552707 |
| January 16, 2023 11:43 | https://github.com/getsentry/sentry-javascript/pull/6746#commits-pushed-7889dbc |
| Merge remote-tracking branch 'origin/master' into lforst-edge-auto-wr… | https://github.com/getsentry/sentry-javascript/pull/6746/commits/7889dbc798d9d55d56f0381a4f694a540b99929e |
| 7889dbc | https://github.com/getsentry/sentry-javascript/pull/6746/commits/7889dbc798d9d55d56f0381a4f694a540b99929e |
| Remove unused loader option | https://github.com/getsentry/sentry-javascript/pull/6746/commits/26f154dd421c374a59871aaac6070e48cd6f721d |
| 26f154d | https://github.com/getsentry/sentry-javascript/pull/6746/commits/26f154dd421c374a59871aaac6070e48cd6f721d |
| https://github.com/AbhiPrasad |
| AbhiPrasad | https://github.com/AbhiPrasad |
|
Jan 16, 2023
| https://github.com/getsentry/sentry-javascript/pull/6746#pullrequestreview-1250027055 |
|
View reviewed changes
| https://github.com/getsentry/sentry-javascript/pull/6746/files/26f154dd421c374a59871aaac6070e48cd6f721d |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| 4d5f13e | https://github.com/getsentry/sentry-javascript/commit/4d5f13e079d1cb7f8e347125c4ed638c3cd5a99f |
| Jan 16, 2023 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8234933656 |
| https://github.com/lforst |
| lforst | https://github.com/lforst |
| January 16, 2023 11:58 | https://github.com/getsentry/sentry-javascript/pull/6746#event-8234933767 |
| https://github.co/hiddenchars |
| https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }} |
| Sign up for free | https://github.com/join?source=comment-repo |
| Sign in to comment | https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6746 |
|
| https://github.com/mydea |
|
mydea
| https://github.com/mydea |
|
| https://github.com/AbhiPrasad |
|
AbhiPrasad
| https://github.com/AbhiPrasad |
|
| https://github.com/getsentry/sentry-javascript/pull/6746/files/26f154dd421c374a59871aaac6070e48cd6f721d |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
| Please reload this page | https://github.com/getsentry/sentry-javascript/pull/6746 |
|
| https://github.com/lforst |
|
| https://github.com/AbhiPrasad |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |