René's URL Explorer Experiment


Title: feat(core): Add lifecycle hooks by AbhiPrasad · Pull Request #7370 · getsentry/sentry-javascript · GitHub

Open Graph Title: feat(core): Add lifecycle hooks by AbhiPrasad · Pull Request #7370 · getsentry/sentry-javascript

X Title: feat(core): Add lifecycle hooks by AbhiPrasad · Pull Request #7370 · getsentry/sentry-javascript

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

Open Graph Description: Closes #7343 This PR adds a basic schema for hooks in the SDK. They live on the client. Currently there are three hooks defined, but none of them are implemented. They are beforeTransaction, transa...

X Description: Closes #7343 This PR adds a basic schema for hooks in the SDK. They live on the client. Currently there are three hooks defined, but none of them are implemented. They are beforeTransaction, transa...

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

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.112.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:56f0caa9-65c8-e7af-33e9-913c43b0e955
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idE752:28A7A5:385BE9:4C3441:6B0498BF
html-safe-nonce65c3522d54d2699271e8de88d3d398458e1b74c54bf0f318ef39c5f84f9a05c6
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFNzUyOjI4QTdBNTozODVCRTk6NEMzNDQxOjZCMDQ5OEJGIiwidmlzaXRvcl9pZCI6IjMyMDU3MTg0MzQyNDM3MTMyMTUiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac38dbb148ec6d1b8df976a4a3bcace9a581b388e540648cb7b4e86e4e228251b3
hovercard-subject-tagpull_request:1266400704
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/7370/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/972af2c652db16063a29e294097d08e710c39851f6e238454a517c67daf29c6a/getsentry/sentry-javascript/pull/7370
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/972af2c652db16063a29e294097d08e710c39851f6e238454a517c67daf29c6a/getsentry/sentry-javascript/pull/7370
og:image:altCloses #7343 This PR adds a basic schema for hooks in the SDK. They live on the client. Currently there are three hooks defined, but none of them are implemented. They are beforeTransaction, transa...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAbhiPrasad
hostnamegithub.com
expected-hostnamegithub.com
None9784b6f42e2d5eac4e394fa88cad134c0dc5b6662b4ff2787a1ed1ef5a96331d
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
release3fd14143b75b2af7b76bbd23b069867d091adfcc
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/getsentry/sentry-javascript/pull/7370#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetsentry%2Fsentry-javascript%2Fpull%2F7370
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%2F7370
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/7370
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7370
Reloadhttps://github.com/getsentry/sentry-javascript/pull/7370
getsentryhttps://github.com/getsentry
sentry-javascripthttps://github.com/getsentry/sentry-javascript
Codehttps://github.com/getsentry/sentry-javascript
Issues334 (334)https://github.com/getsentry/sentry-javascript/issues
Pull requests53 (53)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
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-hookshttps://github.com/getsentry/sentry-javascript/tree/abhi-hooks
Conversationhttps://github.com/getsentry/sentry-javascript/pull/7370
Commits11 (11)https://github.com/getsentry/sentry-javascript/pull/7370/commits
Checkshttps://github.com/getsentry/sentry-javascript/pull/7370/checks
Files changedhttps://github.com/getsentry/sentry-javascript/pull/7370/files
feat(core): Add lifecycle hookshttps://github.com/getsentry/sentry-javascript/pull/7370#top
AbhiPrasadhttps://github.com/AbhiPrasad
develophttps://github.com/getsentry/sentry-javascript/tree/develop
abhi-hookshttps://github.com/getsentry/sentry-javascript/tree/abhi-hooks
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 7, 2023https://github.com/getsentry/sentry-javascript/pull/7370#issue-1613591557
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
#7343https://github.com/getsentry/sentry-javascript/issues/7343
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 7, 2023https://github.com/getsentry/sentry-javascript/pull/7370#event-8686576360
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 7, 2023 https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1328791152
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7370/files
packages/types/src/client.tshttps://github.com/getsentry/sentry-javascript/pull/7370/files#diff-d05dfdc70248d685c008c33f75449d91ab3235ea162f83837125aa2dcaba0212
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 7, 2023 https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1328792888
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7370/files
packages/types/src/hooks.tshttps://github.com/getsentry/sentry-javascript/pull/7370/files#diff-71c05cd07549d51780343fb281d8299c5226e69bd45393a81d0a70a3318f53ed
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/AbhiPrasad
add hooks types and base implementationhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/30679250a3c68fe5cd34bb8b1a48681a62e1e308
3067925https://github.com/getsentry/sentry-javascript/pull/7370/commits/30679250a3c68fe5cd34bb8b1a48681a62e1e308
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
force-pushedhttps://github.com/getsentry/sentry-javascript/compare/bc746a0b50646e9e02b3d7d9b3da9e8cb99f7389..30679250a3c68fe5cd34bb8b1a48681a62e1e308
bc746a0https://github.com/getsentry/sentry-javascript/commit/bc746a0b50646e9e02b3d7d9b3da9e8cb99f7389
3067925https://github.com/getsentry/sentry-javascript/commit/30679250a3c68fe5cd34bb8b1a48681a62e1e308
Compare https://github.com/getsentry/sentry-javascript/compare/bc746a0b50646e9e02b3d7d9b3da9e8cb99f7389..30679250a3c68fe5cd34bb8b1a48681a62e1e308
March 8, 2023 15:16https://github.com/getsentry/sentry-javascript/pull/7370#event-8697565738
https://github.com/AbhiPrasad
add testshttps://github.com/getsentry/sentry-javascript/pull/7370/commits/712feb2ee6e93cdd755f285cec5bb7cdb6713159
712feb2https://github.com/getsentry/sentry-javascript/pull/7370/commits/712feb2ee6e93cdd755f285cec5bb7cdb6713159
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 8, 2023 15:23https://github.com/getsentry/sentry-javascript/pull/7370#event-8697640046
https://github.com/AbhiPrasad
make hook methods optionalhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/2350bdb3cbd933090878ce363a9be905dceef7d8
2350bdbhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/2350bdb3cbd933090878ce363a9be905dceef7d8
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
Mar 8, 2023https://github.com/getsentry/sentry-javascript/pull/7370#issuecomment-1460357582
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/AbhiPrasad
fix linthttps://github.com/getsentry/sentry-javascript/pull/7370/commits/0e337f65198839dcd4a8a00b234b0b98dd86c32f
0e337f6https://github.com/getsentry/sentry-javascript/pull/7370/commits/0e337f65198839dcd4a8a00b234b0b98dd86c32f
https://github.com/JonasBa
JonasBahttps://github.com/JonasBa
Mar 8, 2023 https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1330944498
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7370/files/0e337f65198839dcd4a8a00b234b0b98dd86c32f
mydeahttps://github.com/mydea
March 8, 2023 17:14https://github.com/getsentry/sentry-javascript/pull/7370#commits-pushed-79e1f59
https://github.com/mydea
ref: Make baseclient hooks typesafe when using genericshttps://github.com/getsentry/sentry-javascript/pull/7370/commits/79e1f592bf60d3a2b5ed5b058ccf0155d41cff2b
79e1f59https://github.com/getsentry/sentry-javascript/pull/7370/commits/79e1f592bf60d3a2b5ed5b058ccf0155d41cff2b
https://github.com/mydea
use generic for hookhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/99f67e23b2bdc0a806838aa3a5c633ef7947211b
99f67e2https://github.com/getsentry/sentry-javascript/pull/7370/commits/99f67e23b2bdc0a806838aa3a5c633ef7947211b
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 8, 2023https://github.com/getsentry/sentry-javascript/pull/7370#issuecomment-1460456960
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/mydea
un-export HookStoreItemhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690
729dedbhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 8, 2023 https://github.com/getsentry/sentry-javascript/pull/7370#pullrequestreview-1331024672
View reviewed changes https://github.com/getsentry/sentry-javascript/pull/7370/files/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690
https://github.com/mydea
ref: Make types explicithttps://github.com/getsentry/sentry-javascript/pull/7370/commits/52cd479264c91e02552c5b3b40fecfac2c0eeff3
52cd479https://github.com/getsentry/sentry-javascript/pull/7370/commits/52cd479264c91e02552c5b3b40fecfac2c0eeff3
https://github.com/mydea
mydeahttps://github.com/mydea
Mar 8, 2023https://github.com/getsentry/sentry-javascript/pull/7370#issuecomment-1460527934
@AbhiPrasadhttps://github.com/AbhiPrasad
@lforsthttps://github.com/lforst
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/AbhiPrasad
fix linthttps://github.com/getsentry/sentry-javascript/pull/7370/commits/f68eb4e0d60f7373679d46b43007ec2ef2ab33f1
f68eb4ehttps://github.com/getsentry/sentry-javascript/pull/7370/commits/f68eb4e0d60f7373679d46b43007ec2ef2ab33f1
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
Mar 8, 2023 https://github.com/getsentry/sentry-javascript/pull/7370#ref-pullrequest-1615658079
feat(core): Emit hooks for transaction start/finish #7387 https://github.com/getsentry/sentry-javascript/pull/7387
https://github.com/AbhiPrasad
fix types linthttps://github.com/getsentry/sentry-javascript/pull/7370/commits/32182f7262e4a68395ee6beb2f9009360f4833b5
32182f7https://github.com/getsentry/sentry-javascript/pull/7370/commits/32182f7262e4a68395ee6beb2f9009360f4833b5
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 8, 2023 18:18https://github.com/getsentry/sentry-javascript/pull/7370#event-8699198574
https://github.com/AbhiPrasad
prettierhttps://github.com/getsentry/sentry-javascript/pull/7370/commits/51570b580da9d7838a85b57110030fd9bd35a050
51570b5https://github.com/getsentry/sentry-javascript/pull/7370/commits/51570b580da9d7838a85b57110030fd9bd35a050
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
3eeef09https://github.com/getsentry/sentry-javascript/commit/3eeef091434f3ee36c2566b1db5cce8ffe9897ca
Mar 8, 2023https://github.com/getsentry/sentry-javascript/pull/7370#event-8699724386
https://github.com/AbhiPrasad
AbhiPrasadhttps://github.com/AbhiPrasad
March 8, 2023 19:16https://github.com/getsentry/sentry-javascript/pull/7370#event-8699724618
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%2F7370
https://github.com/mydea
mydea https://github.com/mydea
https://github.com/getsentry/sentry-javascript/pull/7370/files/729dedb98dda8f8e66ae1c04eb6d1960e5ce6690
https://github.com/JonasBa
JonasBa https://github.com/JonasBa
https://github.com/getsentry/sentry-javascript/pull/7370/files/0e337f65198839dcd4a8a00b234b0b98dd86c32f
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/AbhiPrasad
AbhiPrasad https://github.com/AbhiPrasad
Add hook interface to BaseClient and Client type https://github.com/getsentry/sentry-javascript/issues/7343
Please reload this pagehttps://github.com/getsentry/sentry-javascript/pull/7370
https://github.com/AbhiPrasad
https://github.com/mydea
https://github.com/JonasBa
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.