Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Feat PR missing integration or E2E tests

Low Severity

This feat PR does not include any integration or E2E test. Per project review rules, feat PRs need at least one integration or E2E test. While the changes are primarily deprecation annotations and documentation updates, the rule applies to all feat PRs. Consider adding a test that verifies the deprecated honoIntegration still works (or that @sentry/hono middleware works as the recommended replacement).

Fix in Cursor Fix in Web

Triggered by project rule: PR Review Guidelines for Cursor Bot

Reviewed by Cursor Bugbot for commit a5371a4. Configure here.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this does not need a test


- **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
Expand Down
3 changes: 3 additions & 0 deletions packages/cloudflare/src/integrations/hono.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,9 @@ const _honoIntegration = ((options: Partial<Options> = {}) => {
*
* 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({
Expand Down
5 changes: 2 additions & 3 deletions packages/hono/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,13 @@
</a>
</p>

# Official Sentry SDK for Hono (BETA)
# Official Sentry SDK for Hono

[![npm version](https://img.shields.io/npm/v/@sentry/hono.svg)](https://www.npmjs.com/package/@sentry/hono)
[![npm dm](https://img.shields.io/npm/dm/@sentry/hono.svg)](https://www.npmjs.com/package/@sentry/hono)
[![npm dt](https://img.shields.io/npm/dt/@sentry/hono.svg)](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

Expand Down
6 changes: 6 additions & 0 deletions packages/node/src/integrations/tracing/hono/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down Expand Up @@ -128,6 +131,9 @@ function honoErrorHandler(options?: Partial<HonoHandlerOptions>): 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');
Expand Down
Loading