You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
## DESCRIBE YOUR PR
We're switching over from the community middleware integration via
`tucan-js` to the official `@sentry/cloudflare` integration. Updating
docs to reflect that, and give a bit more context for other runtimes.
Related to: honojs/middleware#943
## IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs
to go live.
- [ ] Urgent deadline (GA date, etc.): <!-- ENTER DATE HERE -->
- [x] Other deadline: TBD
- [ ] None: Not urgent, can wait up to 1 week+
## SLA
- Teamwork makes the dream work, so please add a reviewer to your PRs.
- Please give the docs team up to 1 week to review your PR unless you've
added an urgent due date to it.
Thanks in advance for your help!
## PRE-MERGE CHECKLIST
*Make sure you've checked the following before merging your changes:*
- [ ] Checked Vercel preview for correctness, including links
- [ ] PR was reviewed and approved by any necessary SMEs (subject matter
experts)
- [ ] PR was reviewed and approved by a member of the [Sentry docs
team](https://github.com/orgs/getsentry/teams/docs)
Co-authored-by: Shannon Anahata <[email protected]>
This guide focuses on the **Node.js runtime** for Hono. For other runtimes, see the links below.
16
+
If you are using the `@sentry/cloudflare` middleware, see the [Hono on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/hono/).
18
17
</Alert>
19
18
19
+
## Runtime Support
20
+
21
+
Hono works across multiple JavaScript runtimes. Choose the appropriate Sentry SDK for your environment:
22
+
23
+
-**Node.js**: Use `@sentry/node` (this guide)
24
+
-**Cloudflare Workers**: Use `@sentry/cloudflare` - see our [Hono on Cloudflare guide](/platforms/javascript/guides/cloudflare/frameworks/hono/)
25
+
-**Deno**: Use `@sentry/deno` - see our [Deno guide](/platforms/javascript/guides/deno/) (Beta)
26
+
-**Bun**: Use `@sentry/bun` - see our [Bun guide](/platforms/javascript/guides/bun/)
27
+
28
+
<Alert>
29
+
The community middleware `@hono/sentry` has been deprecated in favor of using Sentry's official
30
+
packages, which provide better performance and more features. If you're currently using `@hono/sentry` middleware, you'll need to migrate to `@sentry/cloudflare`.
31
+
</Alert>
32
+
33
+
## Runtime-Specific Setup
34
+
35
+
### Node.js Runtime (This Guide)
36
+
37
+
This guide focuses on Node.js. The setup uses `@sentry/node` and follows standard Node.js patterns.
0 commit comments