Skip to content

Conversation

@timfish
Copy link
Collaborator

@timfish timfish commented Feb 8, 2026

#857 added tracking webpack major version usage and this PR extends that to track for Vite and Rollup too.

@github-actions
Copy link

github-actions bot commented Feb 8, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • Track major version for Vite and Rollup by timfish in #867
  • Track major version for Vite and Rollup by timfish in #867

Internal Changes 🔧

  • Bump craft for release workflow by chargome in #859

Other


🤖 This preview updates automatically when you update the PR.

@timfish timfish requested a review from chargome February 8, 2026 19:20
@timfish timfish marked this pull request as ready for review February 8, 2026 19:20
@timfish timfish requested review from Lms24 February 9, 2026 11:58
Copy link
Member

@Lms24 Lms24 left a comment

Choose a reason for hiding this comment

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

Thanks! One request, otherwise LGTM.

Copy link
Member

Choose a reason for hiding this comment

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

l: Can we also test Vite here? AFAICT, this only runs for rollup. Would be nice to have this covered but if it doesn't work easily, we can also leave it at rollup

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's looking like Jest can't run Vite directly because... well Jest. Various ESM issues, etc.

What I really want to do is re-write these telemetry tests so we can override the DSN and capture the telemetry directly rather than this in-process hack (it was my hack 🤣). But this will have to wait until we can use Vitest.

Copy link
Member

Choose a reason for hiding this comment

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

thanks for checking. Sounds reasonable to me!

@Lms24 Lms24 merged commit d3236bd into getsentry:main Feb 10, 2026
25 checks passed
renovate bot added a commit to andrei-picus-tink/auto-renovate that referenced this pull request Feb 11, 2026
| datasource | package             | from  | to    |
| ---------- | ------------------- | ----- | ----- |
| npm        | @sentry/vite-plugin | 4.9.0 | 4.9.1 |


## [v4.9.1](https://github.com/getsentry/sentry-javascript-bundler-plugins/blob/HEAD/CHANGELOG.md#491)

##### New Features ✨

- Track major version for Vite and Rollup by [@timfish](https://github.com/timfish) in [#867](getsentry/sentry-javascript-bundler-plugins#867)

##### Internal Changes 🔧

- Bump craft for release workflow by [@chargome](https://github.com/chargome) in [#859](getsentry/sentry-javascript-bundler-plugins#859)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants