GeezerVison is showing github.com — Next.js Turbopack Support · Issue #8105 · getsentry/sentry-javascript
Next.js Turbopack Support #8105Description
⚠️ This original post has been edited by @lforst to reflect the current status of Turbopack Support ⚠️
[!IMPORTANT]
This issue is tracking progress on Turbopack Support. If you find bugs or problems with the Sentry SDK in combination with Turbopack please open a separate issue. Thank you!
Problem Statement
Sentry should work in combination with Turbopack with all of its features.
Current Status (Last Update May 5, 2025)
| Feature |
Support |
Notes |
| Next.js app compiles and runs without issues |
✅ |
|
| Server-side instrumentation |
✅ |
|
| Client-side instrumentation |
✅ |
- Upgrade to SDK version 9.9.0 or greater - Upgrade to Next.js canary 15.3.0-canary.8 or greater - Add instrumentation-client.ts file with Sentry.init() call. (sentry.client.config.ts can be replaced with instrumentation-client.ts. It serves the same purpose.) |
| Release Injection |
✅ |
- Upgrade SDK to version 9.11.0 |
| Source Maps |
❌ |
- Needs runAfterProductionCompile hook implemented in Next.js (done in Next.js 15.4.0-canary.19) - Needs way to inject debug IDs into bundles implemented in Next.js |
| React Component Name Annotations |
❌ |
- Needs way to transform code in Next.js - Will likely not be possible for the forseeable future |
Reacted by Steven Eubank, Sascha Mayr, Alexander Kachkaev, Denis Laboureyras, Sam Komesarook, Luispe, Dennis Torres, Arseny Garelyshev, Adam Lane, Rainer Martinez and 234 more Reacted by Manuel Dugué, Alexandre Paradis, David Bergeron, Thomas Waterfall, Andri Rafn, Alexander Tømmerås, João Gabriel, Pukima, Xavi Magrinyà, Cody Adam and 111 more Activitysmeubank commented on May 12, 2023 mdugue commented on Sep 18, 2023 lforst commented on Sep 21, 2023 smeubank commented on Sep 21, 2023 iamnafets commented on Sep 9, 2025 Hey @chargome do you have an updated ETA on this? RulaKhaled commented on Sep 10, 2025 Hey @iamnafets We expect to make progress by the end of the month. Experimental support was added in v10.10.0 via #17352, and we’re currently verifying that it works. Our goal is to ship this as stable in the coming weeks. Reacted by Alexander Kachkaev, David Šolc, BrickheadJohnny, Robert Buchberger, Benji Grant, Robin Jonsson, Murillo de Miranda Pereira, Luis Estrada, Jaime Ayala, swiecki and 2 more chargome commented on Sep 22, 2025 Update:
- We just released
10.13.0 of the SDK which will enable automatic sourcemap uploads for turbopack builds (minimum next version is 15.4.1).
- Keep in mind that we're leveraging an after production compile hook for injecting debugIds and uploading sourcemaps
- Vercel is working on adding native debugId support in turbopack, we'll make use of this as soon as they release it.
- Sentry docs being updated atm
- React Component Name Annotations will unlikely be supported in turbopack for the time being
- Errors thrown in Route Handlers are currently not reported to Sentry, this will be fixed once Vercel releases
[email protected]
In case you are running into turbopack related problems please first check our open issues and if your issue was not yet reported, create a new one!
I will close this issue so we can better keep track of things. Thanks for your patience on this one! Reacted by l2D, Shyam Verma, Viktor Hubert, Jason Rai, Matthew Pawley, Killian Huyghe, 微笑, Takuya Fukuju, Gianfranco P, Andrey Gorchakov and 3 more Reacted by Alexander Kachkaev Reacted by Abhijeet Prasad, Sergiy Dybskiy, Louis CUVELIER, 10shii, Shyam Verma, Jason Rai, Josh Katofsky, Jaime Ayala, David Heller, Dmitry Manannikov and 7 more Reacted by Louis CUVELIER, Shyam Verma, Jason Rai, BrickheadJohnny, Benji Grant, Alexander Kachkaev, Vilhelm Melkstam and Maurício Mutte MisterJimson commented on Sep 22, 2025 @chargome thank you! Is there a specific/minimum version of NextJS that is required to be used along with Sentry v10.13.0? chargome commented on Sep 22, 2025 LouisCuvelier commented on Oct 1, 2025 chargome commented on Oct 1, 2025 Yes, we still need to support them in the SDK though, you can subscribe to #17841 for that. In the meantime, sourcemap uploads will still work out of the box, so no need to set this flag yet! Reacted by Alexander Kachkaev, David Šolc, BrickheadJohnny and Davi Medeiros Reacted by Louis CUVELIER
MetadataMetadataStatusWaiting for: Product Owner Show more project fields
DevelopmentNo branches or pull requestsIssue actions
|