Issue
I have set a release value in my Sentry initialization call. But when I go to Releases page in my dashboard, I see my release along with some unknown ones.
Applies To
- Users of Next.js SDK
Resolution
The Next.js SDK includes our Webpack plugin which uploads source maps output by Next.js. The Webpack plugin creates a Sentry Release automatically and associates that release value with the uploaded source maps.
The Webpack plugin will also attempt to inject its release value to all the Sentry Initialization calls (client, server, and edge). If a release value is being provided in any of the initialization calls, the injection will fail. This will cause duplicate/extra releases being created.