Title: Replacement for Handlers.requestHandler, Handlers.errorHandler, etc. · Issue #12007 · getsentry/sentry-javascript · GitHub
Open Graph Title: Replacement for Handlers.requestHandler, Handlers.errorHandler, etc. · Issue #12007 · getsentry/sentry-javascript
X Title: Replacement for Handlers.requestHandler, Handlers.errorHandler, etc. · Issue #12007 · getsentry/sentry-javascript
Description: Problem Statement I'm trying to upgrade to v8 of @sentry/node. By and large, the migration instructions at https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.mdand https://docs.sentry.io/platforms/javascript/migration/...
Open Graph Description: Problem Statement I'm trying to upgrade to v8 of @sentry/node. By and large, the migration instructions at https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.mdand https://docs.s...
X Description: Problem Statement I'm trying to upgrade to v8 of @sentry/node. By and large, the migration instructions at https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.mdand https://do...
Opengraph URL: https://github.com/getsentry/sentry-javascript/issues/12007
X: @github
Domain: github.com
IPv4 address: 140.82.112.3
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Replacement for Handlers.requestHandler, Handlers.errorHandler, etc.","articleBody":"### Problem Statement\n\nI'm trying to upgrade to v8 of `@sentry/node`. By and large, the migration instructions at https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.mdand https://docs.sentry.io/platforms/javascript/migration/v7-to-v8 have done a good job explaining how to upgrade. However, there's no mention of the fact that the `Handlers` export was removed, or what APIs have replaced `Handlers.requestHandler()`, `Handlers.tracingHandler()`, or `Handlers.errorHandler()`. The only relevant mention of handlers in either doc is under \"Removal of `Sentry.Handlers.trpcMiddleware()` in favor of `Sentry.trpcMiddleware()`\".\n\n### Solution Brainstorm\n\nI'd expect the v8 migration instructions to contain documentation on replacement APIs for `Handlers.requestHandler()`, `Handlers.tracingHandler()`, and `Handlers.errorHandler()`.","author":{"url":"https://github.com/nwalters512","@type":"Person","name":"nwalters512"},"datePublished":"2024-05-13T18:27:02Z","url":"https://github.com/getsentry/sentry-javascript/issues/12007"}
| 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:53d16fdc-5b5f-e2de-348d-25c9315eb7b2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B3E4:1FCE:15AE28:1E5BA0:6B042FD4 |
| html-safe-nonce | 36a2663400ecd5f61536511b21035e77cf9ae8e65601dad0e4f76d1feb0c3562 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCM0U0OjFGQ0U6MTVBRTI4OjFFNUJBMDo2QjA0MkZENCIsInZpc2l0b3JfaWQiOiI3NjM1NzYwNjgyMTc2MzYwNDA0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 9075815ab04bc8e3fddf26b36b54aef77593aee30630747aa0094869f3199f64 |
| hovercard-subject-tag | issue:2293525063 |
| 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/12007/issue_layout |
| twitter:image | https://opengraph.githubassets.com/84484ed2f1c9086067ca1e72f4692996a95bcc6ee52c2defb3851741a94461a4/getsentry/sentry-javascript/issues/12007 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/84484ed2f1c9086067ca1e72f4692996a95bcc6ee52c2defb3851741a94461a4/getsentry/sentry-javascript/issues/12007 |
| og:image:alt | Problem Statement I'm trying to upgrade to v8 of @sentry/node. By and large, the migration instructions at https://github.com/getsentry/sentry-javascript/blob/develop/MIGRATION.mdand https://docs.s... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nwalters512 |
| 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