Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Next.js] Don't set experimental.instrumentationHook for Next.js >= 15 #13551

Closed
lforst opened this issue Sep 2, 2024 · 1 comment
Closed
Assignees
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK

Comments

@lforst
Copy link
Member

lforst commented Sep 2, 2024

The hook has been stabilized and a warning will be emitted if the setting is set: vercel/next.js#68853

I spotted some env var process.env.__NEXT_VERSION in the Next.js repo. Maybe we can use that to get the version: https://github.com/lforst/nextjs-fork/blob/06c5ea4f16a1ea0eeef0c76c89154e328d6a3faa/packages/next/src/build/index.ts#L718

@lforst lforst self-assigned this Sep 2, 2024
@AbhiPrasad AbhiPrasad added the Package: nextjs Issues related to the Sentry Nextjs SDK label Sep 9, 2024
@lforst
Copy link
Member Author

lforst commented Sep 10, 2024

Resolved with #13586

@lforst lforst closed this as completed Sep 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Package: nextjs Issues related to the Sentry Nextjs SDK
Projects
None yet
Development

No branches or pull requests

2 participants