v12: Remove the deprecated `withSentry` root export from `@sentry/solidstart`
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Refactoring
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- javascript, rollup, typescript, vite
- Ambito
- backend, build-system, documentation
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- TypeScript
- Stelle
- 8.8k
- Fork
- 1.9k
- Merge medio
- 1g 21h
- PR unite (30g)
- 617
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di getsentry/sentry-javascript
-
Bug Node.js
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
getsentry/sentry-javascript#25950 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Browser Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
getsentry/sentry-javascript#25946 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
normalize() throws when a getter throws a Symbol or a null-prototype objectForse già presa @rjmcgee53192 l’ha presa 3 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-javascript#25920 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Only create Nuxt database and storage spans when there is a parent spanForse già presa @nicohrubec l’ha presa 4 giorni fa. ApertaImprovement Nuxt
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
getsentry/sentry-javascript#25805 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Only create Cloudflare storage and D1 db spans when there is a parent spanForse già presa @nicohrubec l’ha presa 4 giorni fa. ApertaCloudflare Workers Improvement Spans
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
getsentry/sentry-javascript#25804 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di getsentry/sentry-javascript
Issue simili
-
mobile-app
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
Open-Locker/Open-Locker#352 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
leanprover-community/lean4game#589 ·
I maintainer di solito rispondono entro 2 giorni
-
Add: CS Action BGApertacheck:passed streams:add
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
unocss/unocss#5421 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno