Create a Flutter v9 --> v10 migration guide including an interactive version (similar to JS) and an upgrade-assistance agent prompt to make upgrading simpler.
JS prompt:
Use curl to download and read https://docs.sentry.io/platforms/javascript/migration/v10-to-v11.md before making changes. Upgrade this project from Sentry JavaScript SDK v10 to v11. Inspect the project's Sentry packages, configuration, runtime, and framework versions, then apply every migration step that applies. Preserve the intended data collection behavior when migrating sendDefaultPii to dataCollection. Use the project's package manager to update dependencies and its existing checks to verify the migration. Summarize the changes and any remaining manual steps.
Flutter prompt:
Use curl to download and read https://docs.sentry.io/platforms/dart/guides/flutter/migration/v9-to-v10.md before making changes. Upgrade this project from Sentry Flutter SDK v9 to v10. Inspect its Sentry packages and integrations, Dart and Flutter versions, target platforms, build configuration, and SDK initialization. Apply every migration step that applies to this project. Preserve the intended telemetry collection and privacy behavior, including logging integration defaults, native failed-request capture, and Flutter web sendDefaultPii. Review Apple Swift Package Manager setup, app-start tracing, callback failures, and desktop crash reporting where applicable. Use the project's package manager to update dependencies and its existing analysis, tests, and platform build checks to verify the migration. Summarize the changes and any remaining manual steps.
Create a Flutter v9 --> v10 migration guide including an interactive version (similar to JS) and an upgrade-assistance agent prompt to make upgrading simpler.
JS prompt:
Flutter prompt: