Skip to content

Release info is not sent in the event payload (7.24.0 breaks it) #6504

@pawojciechowski

Description

@pawojciechowski

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/nextjs

SDK Version

7.25.0

Framework Version

Next.js 12.1.5, React 17.0.2

Link to Sentry event

No response

Steps to Reproduce

I've noticed that release info in events stopped being sent after upgrading Sentry 7.14.2 -> 7.24.2. I've tried to upgrade to 7.25.0, but the behavior is the same. I debugged it, and it seems like 7.24.0 breaks this feature (release info is sent correctly with previous versions).

Expected Result

Release info is sent along with the events & it is visible in Sentry UI.

Actual Result

Release info is not sent in the event payload despite it being correct & available on the window.SENTRY_RELEASE.
Releases are correctly sent while building the app & visible in the Sentry UI (https://sentry.io/organizations/<org_id>/releases/)

Metadata

Metadata

Assignees

Labels

Package: nextjsIssues related to the Sentry Nextjs SDK

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions