Skip to content

feat(solidstart)!: No longer export sentrySolidStartVite #15143

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

s1gr1d
Copy link
Member

@s1gr1d s1gr1d commented Jan 23, 2025

Since the default way of setting up the SDK and passing the Sentry options is by wrapping the SolidStart config with withSentry, the previous method of using the sentrySolidStartVite plugin is no longer supported.

@s1gr1d s1gr1d requested review from lforst and andreiborza January 23, 2025 08:42
@@ -234,6 +234,10 @@ Sentry.init({
- The `addNormalizedRequestDataToEvent` method has been removed. Use `httpRequestToRequestData` instead and put the resulting object directly on `event.request`.
- A `sampleRand` field on `PropagationContext` is now required. This is relevant if you used `scope.setPropagationContext(...)`

### `@sentry/solidstart`

- The `sentrySolidStartVite` plugin is no longer exported. Instead, wrap the SolidStart config with `withSentry` and provide Sentry options as the second parameter.
Copy link
Member

Choose a reason for hiding this comment

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

If you want to be extra cool, you could add an example code snippet here of how that migration will look. Once we write this migration guide out we are gonna have more of those so we might already get started with that.

@lforst
Copy link
Member

lforst commented Jan 23, 2025

Also I believe we can remove the changelog entry (?)

@s1gr1d s1gr1d merged commit 6b66a28 into develop Jan 23, 2025
34 checks passed
@s1gr1d s1gr1d deleted the sig/delete-solidstart-plugin branch January 23, 2025 16:33
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.

3 participants