Skip to content

Next.js App Router support roadmap #6726

Description

@lforst

Note: You can already start using the Sentry Next.js SDK with Next.js 13 and the app directory. We add more features/fixes as time goes on.

For ideas, questions and discussions go here: #7999

What?

Relates to: #6290

We would like to provide first-class support for the Next.js 13 app directory.

How?

The following things need to be done to support the app directory, ordered by priority:

- [x] ~Check the Status Quo and eliminate blockers that prevent people from installing Sentry + `app` dir *today*(https://github.com/getsentry/sentry-javascript/issues/6290)~ From testing a bit nothing seems to block people from installing Sentry + the `app` dir. The SDK simply doesn't report errors (as of v7.31.0).
- [x] Inject `Sentry.init()` into the `app` dir browser bundle (https://github.com/getsentry/sentry-javascript/pull/6812)
- [x] Inject `Sentry.init()` into the `app` dir server bundle (https://github.com/getsentry/sentry-javascript/pull/6927)
- [x] Auto-wrap server components to track errors (https://github.com/getsentry/sentry-javascript/pull/6953)
- [ ] https://github.com/getsentry/sentry-javascript/issues/7176
- [ ] https://github.com/getsentry/sentry-javascript/issues/7179
- [ ] https://github.com/getsentry/sentry-javascript/issues/7641
- [ ] https://github.com/getsentry/sentry-javascript/pull/7648
- [ ] https://github.com/getsentry/sentry-javascript/issues/7228
- [ ] https://github.com/getsentry/sentry-javascript/issues/7180
- [x] Update wizard to work OOTB with app dir
- [x] Performance tracking for server components on edge
- [ ] https://github.com/getsentry/sentry-javascript/issues/9458
- [ ] https://github.com/getsentry/sentry-javascript/issues/9568
- [ ] https://github.com/getsentry/sentry-javascript/issues/7181
- [ ] https://github.com/getsentry/sentry-javascript/issues/9570

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

Relationships

None yet

Development

No branches or pull requests

Issue actions