Skip to content

feat(hono): Add @sentry/hono/bun for Bun runtime - #20355

Merged
s1gr1d merged 2 commits into
developfrom
sig/hono-bun
Apr 20, 2026
Merged

feat(hono): Add @sentry/hono/bun for Bun runtime#20355
s1gr1d merged 2 commits into
developfrom
sig/hono-bun

Conversation

@s1gr1d

Copy link
Copy Markdown
Member

Adds a Hono subexport for the Bun runtime

Internal Linear issue: https://linear.app/getsentry/issue/JS-2038/hono-add-bun-support-3

@github-actions

github-actionsBot commented Apr 16, 2026

Copy link
Copy Markdown
Contributor

size-limit report 📦

PathSize% ChangeChange
@sentry/browser25.78 kB--
@sentry/browser - with treeshaking flags24.27 kB--
@sentry/browser (incl. Tracing)43.65 kB--
@sentry/browser (incl. Tracing + Span Streaming)45.36 kB--
@sentry/browser (incl. Tracing, Profiling)48.58 kB--
@sentry/browser (incl. Tracing, Replay)82.79 kB--
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags72.29 kB--
@sentry/browser (incl. Tracing, Replay with Canvas)87.49 kB--
@sentry/browser (incl. Tracing, Replay, Feedback)99.74 kB--
@sentry/browser (incl. Feedback)42.59 kB--
@sentry/browser (incl. sendFeedback)30.45 kB--
@sentry/browser (incl. FeedbackAsync)35.45 kB--
@sentry/browser (incl. Metrics)27.07 kB--
@sentry/browser (incl. Logs)27.2 kB--
@sentry/browser (incl. Metrics & Logs)27.89 kB--
@sentry/react27.53 kB--
@sentry/react (incl. Tracing)45.92 kB--
@sentry/vue30.61 kB--
@sentry/vue (incl. Tracing)45.49 kB--
@sentry/svelte25.8 kB--
CDN Bundle28.46 kB--
CDN Bundle (incl. Tracing)44.73 kB--
CDN Bundle (incl. Logs, Metrics)29.83 kB--
CDN Bundle (incl. Tracing, Logs, Metrics)45.81 kB--
CDN Bundle (incl. Replay, Logs, Metrics)68.73 kB--
CDN Bundle (incl. Tracing, Replay)81.68 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics)82.77 kB--
CDN Bundle (incl. Tracing, Replay, Feedback)87.2 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics)88.27 kB--
CDN Bundle - uncompressed83.12 kB--
CDN Bundle (incl. Tracing) - uncompressed133.75 kB--
CDN Bundle (incl. Logs, Metrics) - uncompressed87.27 kB--
CDN Bundle (incl. Tracing, Logs, Metrics) - uncompressed137.17 kB--
CDN Bundle (incl. Replay, Logs, Metrics) - uncompressed210.63 kB--
CDN Bundle (incl. Tracing, Replay) - uncompressed250.99 kB--
CDN Bundle (incl. Tracing, Replay, Logs, Metrics) - uncompressed254.38 kB--
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed263.9 kB--
CDN Bundle (incl. Tracing, Replay, Feedback, Logs, Metrics) - uncompressed267.29 kB--
@sentry/nextjs (client)48.44 kB--
@sentry/sveltekit (client)44.09 kB--
@sentry/node-core57.94 kB+0.02%+6 B 🔺
@sentry/node174.77 kB+0.01%+7 B 🔺
@sentry/node - without tracing97.89 kB+0.03%+20 B 🔺
@sentry/aws-serverless115.12 kB+0.01%+8 B 🔺

View base workflow run

@s1gr1d
s1gr1d requested a review from logaretmApril 17, 2026 08:19

@cursorcursorBot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Fix All in Cursor

❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Reviewed by Cursor Bugbot for commit 5be91e9. Configure here.

Comment threadpackages/hono/src/bun/sdk.ts

@logaretmlogaretm left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM

@andreiborzaandreiborza left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Neat!

@s1gr1d
s1gr1d merged commit d37d6e4 into developApr 20, 2026
41 checks passed
@s1gr1d
s1gr1d deleted the sig/hono-bun branch April 20, 2026 09:22
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@s1gr1d@logaretm@andreiborza