Wizard: surface an RN-specific JS-11 migration link when React Native adopts JS 11

Aberta
#6,776 2 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
35/100
Tipo de issue
Funcionalidade
Clareza
Claramente especificada
Status de atividade
Ativa
Stack de tecnologia
javascript, react-native, typescript

Direção de pesquisa

Start in getsentry/sentry-wizard with printSdkV11MigrationGuideIfOutdated and JS_SDK_V11_MIGRATION_GUIDE_SLUGS, then inspect the React Native wizard flow. Confirm the JS 11 adoption timing and whether RN needs a dedicated guide; done means the migration documentation and RN wizard behavior are coordinated only after that adoption.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

React-Native Wizard (CLI)
Summary

Follow-up to #6774. While verifying that @sentry/[email protected] doesn't break the React Native flow (RN stays on JS 10 for now), we found a gap to coordinate when RN moves to JS 11 in its next major.

Context

In @sentry/wizard v8, the shared helper printSdkV11MigrationGuideIfOutdated prints a v10→v11 migration link when it detects an already-installed SDK below v11. It picks the URL from a slug map, JS_SDK_V11_MIGRATION_GUIDE_SLUGS, which is keyed only to the seven JS-framework packages:

@sentry/angular, @sentry/cloudflare, @sentry/nextjs, @sentry/nuxt, @sentry/react-router, @sentry/remix, @sentry/sveltekit.

@sentry/react-native is not in that map, and the RN wizard flow doesn't call the helper at all today (correct while RN is on JS 10).

The gap

When the RN SDK bumps to JS 11 and the wizard starts installing/updating to that major, an RN user upgrading from an older SDK would either get no migration link or a fallback to the generic JS v10-to-v11 guide — not an RN-specific one.

Tasks (do when RN adopts JS 11)
  • Decide whether RN needs a dedicated v10-to-v11 (JS-11) migration guide, or the generic JS guide is acceptable.
  • If dedicated: add @sentry/react-native to JS_SDK_V11_MIGRATION_GUIDE_SLUGS in sentry-wizard and publish the RN migration doc.
  • Wire the migration-guide / node-version-warning behavior into the RN wizard flow only once RN is actually on JS 11 (so it doesn't fire prematurely).

[!NOTE]
The actual code change lives in getsentry/sentry-wizard, not this repo. This issue tracks the RN-side coordination for the JS-11 next major.

References
Linguagem predominante
TypeScript
Estrelas
1.8k
Forks
371
Merge médio
22h 3min
PRs com merge (30d)
106

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de getsentry/sentry-react-native

Todas as issues de getsentry/sentry-react-native

Issues semelhantes

Mais issues de TypeScript

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.