v12: Remove the deprecated `withSentry` root export from `@sentry/solidstart`
Les mainteneurs répondent en général sous 1 jour
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Accessibilité débutants
- 45/100
- Type d'issue
- Refactorisation
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- javascript, rollup, typescript, vite
- Domaine
- backend, build-system, documentation
Piste de recherche
Start at the @sentry/solidstart root entry and trace its withSentry export to identify the build-time types and runtime dependency path. Check the server runtime entry for imports of @sentry/bundler-plugins and the orchestrion Rollup transform. Update MIGRATION.md and the SolidStart guide at docs/platforms/javascript/guides/solidstart/index.mdx; done means the root export is removed, the documented import uses @sentry/solidstart/vite, and the runtime no longer pulls in build tooling.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
Problem
withSentry wraps the SolidStart config at build time. The root entry of @sentry/solidstart re-exports it. Because of this, the server runtime entry reaches @sentry/bundler-plugins and the orchestrion rollup transform. Any tool that traces or bundles the server entry then pulls in that build-time tooling.
getsentry/sentry-javascript#25725 adds withSentry to @sentry/solidstart/vite, next to the Vite plugin. The root export stays, deprecated, so existing app.config.ts files keep working until the next major version.
Proposal
In v12, remove withSentry (and its related build-time types) from the root entry of @sentry/solidstart. Users must import it from @sentry/solidstart/vite.
// before
import { withSentry } from "@sentry/solidstart";
// after
import { withSentry } from "@sentry/solidstart/vite";
Tasks
- Remove the
withSentryre-export from the root entry. - Confirm that the server runtime entry no longer imports
@sentry/bundler-pluginsor the orchestrion rollup transform. - Add the change to the v11 to v12 migration guide (sentry-javascript
MIGRATION.mdand sentry-docs). - In sentry-docs, remove the Alert in
docs/platforms/javascript/guides/solidstart/index.mdxthat explains the old import path.
References
- getsentry/sentry-javascript#25725
- #25676
- getsentry/sentry-javascript#25676
- Langage dominant
- TypeScript
- Étoiles
- 8.8k
- Forks
- 1.9k
- Merge moyen
- 1 j 21 h
- PR mergées (30 j)
- 617
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de getsentry/sentry-javascript
-
Bug Node.js
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
getsentry/sentry-javascript#25950 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Browser Bug
Difficulté 2/5 1-3 heures Accessibilité débutants 85/100
getsentry/sentry-javascript#25946 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
normalize() throws when a getter throws a Symbol or a null-prototype objectPeut-être pris @rjmcgee53192 l’a pris il y a 3 jours. Ouverte
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getsentry/sentry-javascript#25920 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Only create Nuxt database and storage spans when there is a parent spanPeut-être pris @nicohrubec l’a pris il y a 5 jours. OuverteImprovement Nuxt
Difficulté 2/5 1-3 heures Accessibilité débutants 83/100
getsentry/sentry-javascript#25805 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Only create Cloudflare storage and D1 db spans when there is a parent spanPeut-être pris @nicohrubec l’a pris il y a 5 jours. OuverteCloudflare Workers Improvement Spans
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
getsentry/sentry-javascript#25804 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
Toutes les issues de getsentry/sentry-javascript
Issues similaires
-
Difficulté 2/5 1-3 heures Accessibilité débutants 84/100
pingdotgg/t3code#30228 · 2 commentaires ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 78/100
-
ci-cd desktop size:low telemetry-improvement telemetry-round-1
Difficulté 2/5 1-3 heures Accessibilité débutants 66/100
vfarcic/dot-agent-deck#2079 ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 75/100
Les mainteneurs répondent en général sous 1 jour
-
Broken links in the docsOuverte
Difficulté 1/5 Moins d'une heure Accessibilité débutants 83/100
Les mainteneurs répondent en général sous 1 jour