v12: Remove the deprecated `withSentry` root export from `@sentry/solidstart`
Maintainer antworten meist innerhalb von 1 Tag
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Anfängerfreundlichkeit
- 45/100
- Issue-Typ
- Refactoring
- Klarheit
- Klar beschrieben
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- javascript, rollup, typescript, vite
- Bereich
- backend, build-system, documentation
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
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
- Vorherrschende Sprache
- TypeScript
- Sterne
- 8.8k
- Forks
- 1.9k
- Ø Merge
- 1 T. 19 Std.
- Gemergte PRs (30 T.)
- 664
Entwicklungsumgebung
- Kein Dockerfile und keine Docker-Compose-Datei
- Hat eine Pull-Request-Vorlage
- Beitragsleitfaden lesen
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/sentry-javascript
-
Bug Package: node Spans vercel ai
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 73/100
getsentry/sentry-javascript#26079 · 1 Kommentar ·
Maintainer antworten meist innerhalb von 1 Tag
-
Bug Node.js
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
getsentry/sentry-javascript#25950 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Browser Bug
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 85/100
getsentry/sentry-javascript#25946 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
normalize() throws when a getter throws a Symbol or a null-prototype objectEvtl. vergeben @rjmcgee53192 hat das vor 4 Tagen übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
getsentry/sentry-javascript#25920 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
Only create Nuxt database and storage spans when there is a parent spanEvtl. vergeben @nicohrubec hat das vor 5 Tagen übernommen. OffenImprovement Nuxt
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
getsentry/sentry-javascript#25805 · 2 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
Alle Issues in getsentry/sentry-javascript
Ähnliche Issues
-
test: claim-conflict drop leaves both facts active and is never re-proposed (untested review cell)Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 83/100
Maintainer antworten meist innerhalb von 1 Tag
-
[Feature]: Usage page should show API-equivalent cost and say when a connected plan shows info onlyOffenenhancement from-x
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
nightly-labs/openbot#4867 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
egonSchiele/agency-lang#1377 ·
Maintainer antworten meist innerhalb von 1 Tag
-
normalizePath removes the Windows device namespace prefixEvtl. vergeben Ein verknüpfter Pull Request ist offen oder bereits gemergt. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 76/100
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
caprover/caprover-frontend#273 ·
Maintainer antworten meist innerhalb von 1 Tag