Skip to content

Initial Support for Bun JS Runtime #9042

Closed
@AbhiPrasad

Description

@AbhiPrasad

Update! With https://github.com/getsentry/sentry-javascript/releases/tag/7.70.0 we've shipped a beta version of @sentry/bun, our official Sentry SDK for the Bun JavaScript runtime.

bun add @sentry/bun

This is still in beta, but we plan to keep adding features to it! Please note some of the unhandled exception error monitoring is blocked by oven-sh/bun#5091, but the Bun team seems to be actively working on it!

ref #5611
ref #7979

### Phase 1
- [ ] https://github.com/getsentry/sentry-javascript/pull/9029
- [x] Add async local storage to make `runWithAsyncContext` work
- [ ] https://github.com/getsentry/sentry-javascript/pull/9050
- [ ] https://github.com/getsentry/sentry-javascript/pull/9049
- [x] Release `@sentry/bun`: https://github.com/getsentry/sentry-javascript/releases/tag/7.70.0
- [ ] https://github.com/getsentry/sentry-docs/pull/7858
### Phase 2
- [ ] https://github.com/getsentry/sentry-release-registry/pull/119
- [ ] https://github.com/getsentry/sentry-javascript/pull/9073
- [ ] https://github.com/getsentry/sentry-javascript/pull/9080
- [x] Check to see how to test against multiple Bun versions

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions