René's URL Explorer Experiment


Title: feat(nextjs): Auto-wrap edge-routes and middleware by lforst · Pull Request #6746 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Auto-wrap edge-routes and middleware by lforst · Pull Request #6746 · getsentry/sentry-javascript

X Title: feat(nextjs): Auto-wrap edge-routes and middleware by lforst · Pull Request #6746 · getsentry/sentry-javascript

Description: Official Sentry SDKs for JavaScript. Contribute to getsentry/sentry-javascript development by creating an account on GitHub.

Open Graph Description: Ref #6120 Ref #4206 Based on #6771, this PR adds automatic wrapping of Edge routes and Next.js middleware.

X Description: Ref #6120 Ref #4206 Based on #6771, this PR adds automatic wrapping of Edge routes and Next.js middleware.

Opengraph URL: https://github.com/getsentry/sentry-javascript/pull/6746

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.4

react-profiling0
react-import-mapreact,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-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:8b59c797-e910-14b4-8d42-f6d4e120bd9f
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE6FC:1EF7B4:7793FD:A3A178:6B04AAC0
html-safe-nonce306d7aa1fdbc4790a9bd2714af6d078085581e0390fcbcd8a748697d37f9b049
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNkZDOjFFRjdCNDo3NzkzRkQ6QTNBMTc4OjZCMDRBQUMwIiwidmlzaXRvcl9pZCI6Ijk4NjAyODE4NjkwNTM4OTc2MCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac2ff8a7178af528af071163103e4b8e594cde4500d5f84ff12b9a85b067ace91d
hovercard-subject-tagpull_request:1194975653
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/getsentry/sentry-javascript/6746/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/09b2f5cf987e99c3a3de20d5bb38084b95206951acfb67e7a41dd698727ec81e/getsentry/sentry-javascript/pull/6746
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/09b2f5cf987e99c3a3de20d5bb38084b95206951acfb67e7a41dd698727ec81e/getsentry/sentry-javascript/pull/6746
og:image:altRef #6120 Ref #4206 Based on #6771, this PR adds automatic wrapping of Edge routes and Next.js middleware.
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
None188497a0f45a7aa8f7c866faa1950d1a7f8d82b59416adf549b222ad1d1dd19b
turbo-cache-controlno-cache
go-importgithub.com/getsentry/sentry-javascript git https://github.com/getsentry/sentry-javascript.git
octolytics-dimension-user_id1396951
octolytics-dimension-user_logingetsentry
octolytics-dimension-repository_id3328572
octolytics-dimension-repository_nwogetsentry/sentry-javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id3328572
octolytics-dimension-repository_network_root_nwogetsentry/sentry-javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release557cfbac6cdb532730c95c90f2cefdc0c4128029
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/6746#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6746
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6746
Sign uphttps://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
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6746
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6746
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6746
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues333 (333)https://github.com/getsentry/sentry-javascript/issues
Pull requests52 (52)https://github.com/getsentry/sentry-javascript/pulls
Discussionshttps://github.com/getsentry/sentry-javascript/discussions
Actionshttps://github.com/getsentry/sentry-javascript/actions
Security and quality7 (7)https://github.com/getsentry/sentry-javascript/security
Insightshttps://github.com/getsentry/sentry-javascript/insights
https://github.com/getsentry/sentry-javascript
lforsthttps://github.com/lforst
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-edge-auto-wrappinghttps://github.com/getsentry/sentry-javascript/tree/lforst-edge-auto-wrapping
Conversationhttps://github.com/getsentry/sentry-javascript/pull/6746
Commits10 (10)https://github.com/getsentry/sentry-javascript/pull/6746/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/6746/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/6746/files
feat(nextjs): Auto-wrap edge-routes and middlewarehttps://github.com/getsentry/sentry-javascript/pull/6746#top
lforsthttps://github.com/lforst
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-edge-auto-wrappinghttps://github.com/getsentry/sentry-javascript/tree/lforst-edge-auto-wrapping
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 12, 2023https://github.com/getsentry/sentry-javascript/pull/6746#issue-1530336729
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
#6120https://github.com/getsentry/sentry-javascript/issues/6120
#4206https://github.com/getsentry/sentry-javascript/issues/4206
#6771https://github.com/getsentry/sentry-javascript/pull/6771
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 12, 2023https://github.com/getsentry/sentry-javascript/pull/6746#issuecomment-1380017897
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
Please reload this pagehttps://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
lforsthttps://github.com/lforst
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/760df35fd53f13b48636adbcb8ac84c4f15db613..c31d07f36b4b3d2b5e6e44279b3e46ebc3f6e520
760df35https://github.com/getsentry/sentry-javascript/commit/760df35fd53f13b48636adbcb8ac84c4f15db613
c31d07fhttps://github.com/getsentry/sentry-javascript/commit/c31d07f36b4b3d2b5e6e44279b3e46ebc3f6e520
Compare https://github.com/getsentry/sentry-javascript/compare/760df35fd53f13b48636adbcb8ac84c4f15db613..c31d07f36b4b3d2b5e6e44279b3e46ebc3f6e520
January 12, 2023 16:47https://github.com/getsentry/sentry-javascript/pull/6746#event-8213356418
https://github.com/lforst
lforsthttps://github.com/lforst
January 13, 2023 16:38https://github.com/getsentry/sentry-javascript/pull/6746#event-8222586056
January 13, 2023 16:51https://github.com/getsentry/sentry-javascript/pull/6746#commits-pushed-6f4b028
feat(nextjs): Add edge route and middleware wrappershttps://github.com/getsentry/sentry-javascript/pull/6746/commits/6f4b0285545f310798ef9f7d1ba5b35302b96dc1
6f4b028https://github.com/getsentry/sentry-javascript/pull/6746/commits/6f4b0285545f310798ef9f7d1ba5b35302b96dc1
feat(nextjs): Auto-wrap edge-routes and middlewarehttps://github.com/getsentry/sentry-javascript/pull/6746/commits/416a7c87ada7072bdc67dfd5ad2324c5877fbac8
416a7c8https://github.com/getsentry/sentry-javascript/pull/6746/commits/416a7c87ada7072bdc67dfd5ad2324c5877fbac8
https://github.com/lforst
lforsthttps://github.com/lforst
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/1eb318304fcfd054f89aa5d95d3e546033e7f630..416a7c87ada7072bdc67dfd5ad2324c5877fbac8
1eb3183https://github.com/getsentry/sentry-javascript/commit/1eb318304fcfd054f89aa5d95d3e546033e7f630
416a7c8https://github.com/getsentry/sentry-javascript/commit/416a7c87ada7072bdc67dfd5ad2324c5877fbac8
Compare https://github.com/getsentry/sentry-javascript/compare/1eb318304fcfd054f89aa5d95d3e546033e7f630..416a7c87ada7072bdc67dfd5ad2324c5877fbac8
January 13, 2023 16:52https://github.com/getsentry/sentry-javascript/pull/6746#event-8222701224
https://github.com/lforst
lforsthttps://github.com/lforst
January 13, 2023 16:53https://github.com/getsentry/sentry-javascript/pull/6746#event-8222705798
January 13, 2023 17:58https://github.com/getsentry/sentry-javascript/pull/6746#commits-pushed-a7c103d
Fix tests on node 10https://github.com/getsentry/sentry-javascript/pull/6746/commits/a7c103dae79229c6a35642a999d676c845042071
a7c103dhttps://github.com/getsentry/sentry-javascript/pull/6746/commits/a7c103dae79229c6a35642a999d676c845042071
Merge branch 'lforst-edge-wrappers' into lforst-edge-auto-wrappinghttps://github.com/getsentry/sentry-javascript/pull/6746/commits/487eee27915fcb4b629cb9f5277722bd758836e5
487eee2https://github.com/getsentry/sentry-javascript/pull/6746/commits/487eee27915fcb4b629cb9f5277722bd758836e5
Cosmeticshttps://github.com/getsentry/sentry-javascript/pull/6746/commits/918e831f4e508114a2b91cf079195cd2d67a968b
918e831https://github.com/getsentry/sentry-javascript/pull/6746/commits/918e831f4e508114a2b91cf079195cd2d67a968b
Add js dochttps://github.com/getsentry/sentry-javascript/pull/6746/commits/2791323f78f4cfd18f44351382561b3c57b4bb8f
2791323https://github.com/getsentry/sentry-javascript/pull/6746/commits/2791323f78f4cfd18f44351382561b3c57b4bb8f
Add option to disable auto wrapping of middlewarehttps://github.com/getsentry/sentry-javascript/pull/6746/commits/a1bf405d6c480d02bc4692267fca682c9d317461
a1bf405https://github.com/getsentry/sentry-javascript/pull/6746/commits/a1bf405d6c480d02bc4692267fca682c9d317461
https://github.com/lforst
lforsthttps://github.com/lforst
AbhiPrasadhttps://github.com/AbhiPrasad
mydeahttps://github.com/mydea
January 16, 2023 08:25https://github.com/getsentry/sentry-javascript/pull/6746#event-8233074793
https://github.com/lforst
lforsthttps://github.com/lforst
January 16, 2023 08:25https://github.com/getsentry/sentry-javascript/pull/6746#event-8233075909
https://github.com/lforst
lforsthttps://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
AbhiPrasadhttps://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.tshttps://github.com/getsentry/sentry-javascript/pull/6746/files/a1bf405d6c480d02bc4692267fca682c9d317461#diff-95c99a1631e330c4a9530e40338eef8db8309c4da600219b37402d951c1a57a1
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6746#discussion_r1070990705
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
packages/nextjs/src/config/webpack.tshttps://github.com/getsentry/sentry-javascript/pull/6746/files/a1bf405d6c480d02bc4692267fca682c9d317461#diff-55396f0a8f12ba2eb7ce27f3cf886f946c29c2aa93b5d2f993dadbd5a9f3cc75
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6746#discussion_r1070993470
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
lforsthttps://github.com/lforst
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6746#discussion_r1071145552
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
herehttps://nextjs.org/docs/advanced-features/src-directory
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
Rename wrapping targethttps://github.com/getsentry/sentry-javascript/pull/6746/commits/b7f551146ee656a7f490420bcc61fbf3a8486e65
b7f5511https://github.com/getsentry/sentry-javascript/pull/6746/commits/b7f551146ee656a7f490420bcc61fbf3a8486e65
January 16, 2023 11:10https://github.com/getsentry/sentry-javascript/pull/6746#event-8234552707
January 16, 2023 11:43https://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
7889dbchttps://github.com/getsentry/sentry-javascript/pull/6746/commits/7889dbc798d9d55d56f0381a4f694a540b99929e
Remove unused loader optionhttps://github.com/getsentry/sentry-javascript/pull/6746/commits/26f154dd421c374a59871aaac6070e48cd6f721d
26f154dhttps://github.com/getsentry/sentry-javascript/pull/6746/commits/26f154dd421c374a59871aaac6070e48cd6f721d
https://github.com/AbhiPrasad
AbhiPrasadhttps://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
lforsthttps://github.com/lforst
4d5f13ehttps://github.com/getsentry/sentry-javascript/commit/4d5f13e079d1cb7f8e347125c4ed638c3cd5a99f
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6746#event-8234933656
https://github.com/lforst
lforsthttps://github.com/lforst
January 16, 2023 11:58https://github.com/getsentry/sentry-javascript/pull/6746#event-8234933767
https://github.co/hiddenchars
https://github.com/getsentry/sentry-javascript/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://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 pagehttps://github.com/getsentry/sentry-javascript/pull/6746
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6746
https://github.com/lforst
https://github.com/AbhiPrasad
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlno-cache

Viewport: width=device-width


URLs of crawlers that visited me.