From 7b475bd5a517581902a4f1ec17a6f7db2ec18be5 Mon Sep 17 00:00:00 2001
From: s1gr1d <32902192+s1gr1d@users.noreply.github.com>
Date: Thu, 28 May 2026 13:52:33 +0200
Subject: [PATCH] feat(hono): Promote `@sentry/hono` to stable and deprecate
`honoIntegration`
---
CHANGELOG.md | 4 ++++
packages/cloudflare/src/integrations/hono.ts | 3 +++
packages/hono/README.md | 5 ++---
packages/node/src/integrations/tracing/hono/index.ts | 6 ++++++
4 files changed, 15 insertions(+), 3 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index f731e3c90cda..d0987fdf2946 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,10 @@
- "You miss 100 percent of the chances you don't take. — Wayne Gretzky" — Michael Scott
+- **feat(hono): Promote `@sentry/hono` to stable and deprecate `honoIntegration`**
+
+ The `@sentry/hono` SDK is now stable. See the [Sentry Hono SDK docs](https://docs.sentry.io/platforms/javascript/guides/hono/) to get started.
+
- **docs(tanstackstart-react): Promote SDK status to beta ([#21175](https://github.com/getsentry/sentry-javascript/pull/21175))**
This release promotes the `@sentry/tanstackstart-react` SDK to beta. For details on how to use it, check out the
diff --git a/packages/cloudflare/src/integrations/hono.ts b/packages/cloudflare/src/integrations/hono.ts
index 94d8e47057bc..efbe87c0940d 100644
--- a/packages/cloudflare/src/integrations/hono.ts
+++ b/packages/cloudflare/src/integrations/hono.ts
@@ -83,6 +83,9 @@ const _honoIntegration = ((options: Partial = {}) => {
*
* The integration is enabled by default.
*
+ * @deprecated Use the `@sentry/hono` package instead. The `sentry()` middleware from `@sentry/hono/cloudflare`
+ * handles error capturing automatically without needing this integration.
+ *
* @example
* integrations: [
* honoIntegration({
diff --git a/packages/hono/README.md b/packages/hono/README.md
index bf1ce203d8c5..9976b2330a7d 100644
--- a/packages/hono/README.md
+++ b/packages/hono/README.md
@@ -4,14 +4,13 @@
-# Official Sentry SDK for Hono (BETA)
+# Official Sentry SDK for Hono
[](https://www.npmjs.com/package/@sentry/hono)
[](https://www.npmjs.com/package/@sentry/hono)
[](https://www.npmjs.com/package/@sentry/hono)
-This SDK is compatible with Hono 4+ and is currently in BETA. Beta features are still in progress and may have bugs.
-Please reach out on [GitHub](https://github.com/getsentry/sentry-javascript/issues/new/choose) if you have any feedback or concerns.
+This SDK is compatible with Hono 4+.
## Links
diff --git a/packages/node/src/integrations/tracing/hono/index.ts b/packages/node/src/integrations/tracing/hono/index.ts
index 4249871b8acf..6b908ae96dee 100644
--- a/packages/node/src/integrations/tracing/hono/index.ts
+++ b/packages/node/src/integrations/tracing/hono/index.ts
@@ -74,6 +74,9 @@ const _honoIntegration = (() => {
*
* For more information, see the [hono documentation](https://docs.sentry.io/platforms/javascript/guides/hono/).
*
+ * @deprecated Use the `@sentry/hono` package instead. The `sentry()` middleware from `@sentry/hono/node` handles
+ * tracing and error capturing automatically without needing this integration or `setupHonoErrorHandler`.
+ *
* @example
* ```javascript
* const Sentry = require('@sentry/node');
@@ -128,6 +131,9 @@ function honoErrorHandler(options?: Partial): MiddlewareHand
* @param app The Hono instances
* @param options Configuration options for the handler
*
+ * @deprecated Use the `@sentry/hono` package instead. The `sentry()` middleware from `@sentry/hono/node` handles
+ * error capturing automatically without needing this function or `honoIntegration`.
+ *
* @example
* ```javascript
* const Sentry = require('@sentry/node');