We have some issues in the Next.js SDK that may have originated from our auto-wrapping approach. The following table outlines which Sentry SDK features and which Next.js features work and/or have issues, off and on Vercel for different versions of Next.js.
| Feature |
10 |
10 (Vercel) |
11 |
11 (Vercel) |
12 |
12 (Vercel) |
13 |
13 (Vercel) |
| Auto-wrapping errors |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
| Pageload-Transactions |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
| Navigation-Transactions |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
✅ |
| Middleware |
N/A |
N/A |
N/A |
N/A |
✅ |
✅ |
✅ |
✅ |
| Dev mode |
✅ |
N/A |
✅ |
N/A |
✅ |
N/A |
✅ |
N/A |
| Experimantal edge API routes |
N/A |
N/A |
N/A |
N/A |
✅ |
✅ |
✅ |
✅ |
Takeaways
We have some issues in the Next.js SDK that may have originated from our auto-wrapping approach. The following table outlines which Sentry SDK features and which Next.js features work and/or have issues, off and on Vercel for different versions of Next.js.
Takeaways
@sentry/nextjs7.15and7.16have issues with@vercel/nft#5998, Resolving files with querystring vercel/nft#319) (fixed in fix(resolution): Fix resolution of querystringed imports in ESM files vercel/nft#322)