René's URL Explorer Experiment


Title: feat(nextjs): Add edge route and middleware wrappers by lforst · Pull Request #6771 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(nextjs): Add edge route and middleware wrappers by lforst · Pull Request #6771 · getsentry/sentry-javascript

X Title: feat(nextjs): Add edge route and middleware wrappers by lforst · Pull Request #6771 · 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 This PR adds two wrappers, withSentryAPI and withSentryMiddleware, to the mini Edge Runtime SDK for Next.js that allow users to wrap their Edge routes and middleware with error ...

X Description: Ref #6120 Ref #4206 This PR adds two wrappers, withSentryAPI and withSentryMiddleware, to the mini Edge Runtime SDK for Next.js that allow users to wrap their Edge routes and middleware with error ...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.3

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:40127946-b98e-f250-24ca-21c7897cd96d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id8C32:E0CE1:5031B:6BE31:6B04AE84
html-safe-nonce41d86b473512a56e8897d2f2b4206293252dd008f036177b0833c4ac43b9e958
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QzMyOkUwQ0UxOjUwMzFCOjZCRTMxOjZCMDRBRTg0IiwidmlzaXRvcl9pZCI6IjgyMTUxNTU3ODYyMDEyMTQ1OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac1fa57b81d65a9a67f6dd6d08d3e649d3cb45bb8bbe43984baa344435e2a8ede5
hovercard-subject-tagpull_request:1197008840
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/6771/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/57cd74ea6b2310bde074c4a15166695918ab4f9c0e7fece9de9aedd21fe1cafe/getsentry/sentry-javascript/pull/6771
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/57cd74ea6b2310bde074c4a15166695918ab4f9c0e7fece9de9aedd21fe1cafe/getsentry/sentry-javascript/pull/6771
og:image:altRef #6120 Ref #4206 This PR adds two wrappers, withSentryAPI and withSentryMiddleware, to the mini Edge Runtime SDK for Next.js that allow users to wrap their Edge routes and middleware with error ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamelforst
hostnamegithub.com
expected-hostnamegithub.com
Nonef1d110ea058a0915c1d8aa3fc2069fa15801e128f591e5762525abe77490ecb1
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
releaseffa22a65e4c46d376940fe34b05e6a7e9c7fdb9b
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/6771#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F6771
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%2F6771
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/6771
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6771
Reloadhttps://github.com/getsentry/sentry-javascript/pull/6771
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-wrappershttps://github.com/getsentry/sentry-javascript/tree/lforst-edge-wrappers
Conversationhttps://github.com/getsentry/sentry-javascript/pull/6771
Commits6 (6)https://github.com/getsentry/sentry-javascript/pull/6771/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/6771/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/6771/files
feat(nextjs): Add edge route and middleware wrappershttps://github.com/getsentry/sentry-javascript/pull/6771#top
lforsthttps://github.com/lforst
masterhttps://github.com/getsentry/sentry-javascript/tree/master
lforst-edge-wrappershttps://github.com/getsentry/sentry-javascript/tree/lforst-edge-wrappers
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 13, 2023https://github.com/getsentry/sentry-javascript/pull/6771#issue-1532625713
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
#6120https://github.com/getsentry/sentry-javascript/issues/6120
#4206https://github.com/getsentry/sentry-javascript/issues/4206
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
feat(nextjs): Add edge route and middleware wrappershttps://github.com/getsentry/sentry-javascript/pull/6771/commits/6f4b0285545f310798ef9f7d1ba5b35302b96dc1
6f4b028https://github.com/getsentry/sentry-javascript/pull/6771/commits/6f4b0285545f310798ef9f7d1ba5b35302b96dc1
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Jan 13, 2023https://github.com/getsentry/sentry-javascript/pull/6771#issuecomment-1382144182
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
Fix tests on node 10https://github.com/getsentry/sentry-javascript/pull/6771/commits/a7c103dae79229c6a35642a999d676c845042071
a7c103dhttps://github.com/getsentry/sentry-javascript/pull/6771/commits/a7c103dae79229c6a35642a999d676c845042071
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 13, 2023 https://github.com/getsentry/sentry-javascript/pull/6771#ref-pullrequest-1530336729
feat(nextjs): Auto-wrap edge-routes and middleware #6746 https://github.com/getsentry/sentry-javascript/pull/6746
https://github.com/lforst
lforsthttps://github.com/lforst
January 13, 2023 18:40https://github.com/getsentry/sentry-javascript/pull/6771#event-8223488995
https://github.com/lforst
lforsthttps://github.com/lforst
AbhiPrasadhttps://github.com/AbhiPrasad
Lms24https://github.com/Lms24
January 16, 2023 08:24https://github.com/getsentry/sentry-javascript/pull/6771#event-8233071144
https://github.com/lforst
lforsthttps://github.com/lforst
Jan 16, 2023 https://github.com/getsentry/sentry-javascript/pull/6771#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/6771#pullrequestreview-1249779361
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6771/files/a7c103dae79229c6a35642a999d676c845042071
AbhiPrasadhttps://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/6771#pullrequestreview-1249779361
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
packages/nextjs/src/edge/utils/edgeWrapperUtils.tshttps://github.com/getsentry/sentry-javascript/pull/6771/files/a7c103dae79229c6a35642a999d676c845042071#diff-f648b99c1932c03cf4543402064bbc979a869f184300e9d5166ab1471da35041
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1070983873
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
lforsthttps://github.com/lforst
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1071100930
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
1835aaehttps://github.com/getsentry/sentry-javascript/commit/1835aae13596bb1da4be073262164bf90d719211
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
packages/nextjs/src/edge/withSentryAPI.tshttps://github.com/getsentry/sentry-javascript/pull/6771/files/a7c103dae79229c6a35642a999d676c845042071#diff-362d21a50726249cc57f8aeaf24d3f96a776f9be2f8afd14738d29e691832483
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1070985841
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
lforsthttps://github.com/lforst
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1071101207
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
76e4815https://github.com/getsentry/sentry-javascript/commit/76e4815b145da9cbe2de24256d6868e7636d72a5
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
packages/nextjs/src/edge/types.tshttps://github.com/getsentry/sentry-javascript/pull/6771/files/a7c103dae79229c6a35642a999d676c845042071#diff-797149ccb34f89d8883c61028016e73069b6fdee10dfd5744b2b8040d259869b
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1070986617
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
lforsthttps://github.com/lforst
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1070993483
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
packages/nextjs/src/edge/utils/edgeWrapperUtils.tshttps://github.com/getsentry/sentry-javascript/pull/6771/files/a7c103dae79229c6a35642a999d676c845042071#diff-f648b99c1932c03cf4543402064bbc979a869f184300e9d5166ab1471da35041
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1070988524
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
lforsthttps://github.com/lforst
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#discussion_r1071101556
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
924850fhttps://github.com/getsentry/sentry-javascript/commit/924850f6362b4a9fcb2bf91c3f81f48eefa1fa6f
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
January 16, 2023 09:19https://github.com/getsentry/sentry-javascript/pull/6771#commits-pushed-924850f
s/spanLabel/spanDescription/https://github.com/getsentry/sentry-javascript/pull/6771/commits/924850f6362b4a9fcb2bf91c3f81f48eefa1fa6f
924850fhttps://github.com/getsentry/sentry-javascript/pull/6771/commits/924850f6362b4a9fcb2bf91c3f81f48eefa1fa6f
Pass in mechanism processor to captureException scopehttps://github.com/getsentry/sentry-javascript/pull/6771/commits/1835aae13596bb1da4be073262164bf90d719211
1835aaehttps://github.com/getsentry/sentry-javascript/pull/6771/commits/1835aae13596bb1da4be073262164bf90d719211
Fix testshttps://github.com/getsentry/sentry-javascript/pull/6771/commits/e40883a294a37f5d6e9ab11db5b01192fac0444e
e40883ahttps://github.com/getsentry/sentry-javascript/pull/6771/commits/e40883a294a37f5d6e9ab11db5b01192fac0444e
Add unit testshttps://github.com/getsentry/sentry-javascript/pull/6771/commits/76e4815b145da9cbe2de24256d6868e7636d72a5
76e4815https://github.com/getsentry/sentry-javascript/pull/6771/commits/76e4815b145da9cbe2de24256d6868e7636d72a5
https://github.com/lforst
lforsthttps://github.com/lforst
January 16, 2023 10:56https://github.com/getsentry/sentry-javascript/pull/6771#event-8234418966
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Jan 16, 2023 https://github.com/getsentry/sentry-javascript/pull/6771#pullrequestreview-1249974388
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/6771/files/76e4815b145da9cbe2de24256d6868e7636d72a5
https://github.com/lforst
lforsthttps://github.com/lforst
dcc7680https://github.com/getsentry/sentry-javascript/commit/dcc76808916c70cbb3959c3081c1431c2bb3c39a
Jan 16, 2023https://github.com/getsentry/sentry-javascript/pull/6771#event-8234552533
https://github.com/lforst
lforsthttps://github.com/lforst
January 16, 2023 11:10https://github.com/getsentry/sentry-javascript/pull/6771#event-8234552751
https://github.com/josh-
josh-https://github.com/josh-
Jan 19, 2023 https://github.com/getsentry/sentry-javascript/pull/6771#ref-issue-1548461274
[Windows] TypeError when running Next.js app with middleware and latest @sentry/nextjs package #6858 https://github.com/getsentry/sentry-javascript/issues/6858
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%2F6771
https://github.com/Lms24
Lms24 https://github.com/Lms24
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
https://github.com/getsentry/sentry-javascript/pull/6771/files/76e4815b145da9cbe2de24256d6868e7636d72a5
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/6771
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.