Skip to content

chore: bump subscriptions v2.2.2 for CDN deploy - #34

Merged
iamsamuelfraga merged 1 commit into
mainfrom
development
Mar 1, 2026
Merged

chore: bump subscriptions v2.2.2 for CDN deploy#34
iamsamuelfraga merged 1 commit into
mainfrom
development

Conversation

@iamsamuelfraga

Copy link
Copy Markdown
Member

Version bump to trigger CDN deploy. v2.2.1 was skipped because it already existed in S3. Contains NEV-1545 fix for newsletter widget field key alias resolution.

- Trigger CDN redeploy with NEV-1545 fix (alias key resolution)
- Previous deploy skipped because v2.2.1 already existed in S3

Refs: NEV-1545
@iamsamuelfraga
iamsamuelfraga merged commit afb14a0 into main Mar 1, 2026
1 check passed
{
"name": "@nevent/subscriptions",
"version": "2.2.1",
"version": "2.2.2",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: The Sentry release version is hardcoded to @nevent/subscriptions@2.2.1 and was not updated to 2.2.2 to match the package.json version bump.
Severity: MEDIUM

Suggested Fix

Update the hardcoded release string in packages/subscriptions/src/newsletter-widget.ts to match the new package version: release: '@nevent/subscriptions@2.2.2'. For a more robust long-term solution, consider automating this version replacement during the build process, for example by using an environment variable or a Vite plugin to read the version from package.json.

Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: packages/subscriptions/package.json#L3

Potential issue: The `release` version for Sentry reporting is hardcoded as
`@nevent/subscriptions@2.2.1` in `packages/subscriptions/src/newsletter-widget.ts`.
However, this pull request updates the package version to `2.2.2` in `package.json`.
Since the build process does not automatically substitute this string, all errors from
the new v2.2.2 deployment will be incorrectly attributed to v2.2.1 in Sentry. This will
break error attribution and version tracking, making it difficult to correlate bugs with
the specific release that introduced them and impacting production observability.

Did we get this right? 👍 / 👎 to inform future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant