UNPKG

@sentry/wizard

Version:

Sentry wizard helping you to configure your project

1,215 lines (762 loc) 42 kB
# Changelog ## 6.10.0 - chore(deps): Upgrade `@sentry/node` from v7 to v10.29.0 ([#1126](https://github.com/getsentry/sentry-wizard/pull/1126)) This is an internal dependency upgrade. The telemetry module now uses the v10 Scope-based APIs instead of the deprecated v7 Hub/NodeClient APIs. The public `withTelemetry` and `traceStep` APIs remain unchanged. - fix(nextjs): update Next.js template with webpack options ([#1143](https://github.com/getsentry/sentry-wizard/pull/1143)) This fixes the Next.js config template using the old top-level webpack options. This change moves them to the new `webpack` namespace option. - Pin install version of `@sentry/cli` to ^2 ([#1144](https://github.com/getsentry/sentry-wizard/pull/1144)) ### Features - feat(nextjs): Add Sentry.logger examples to example pages when logs feature is enabled ([#1127](https://github.com/getsentry/sentry-wizard/pull/1127)) - feat(nextjs): Add Biome support and fix linting issues in generated code ([#1128](https://github.com/getsentry/sentry-wizard/pull/1128)) - The Next.js wizard now detects if Biome is installed and offers to run `biome check --write` on generated files - Fixed generated code templates to pass Biome and ESLint checks: - Removed unreachable code in API route template - Added `lang="en"` attribute to `<html>` in global-error template - Fixed import order (Sentry first) in example page template - Added `role="img"` and `aria-label` to SVG for accessibility - Added `rel="noopener"` to `target="_blank"` links for security - Standardized double quotes in instrumentation templates ### Fixes - Fix leaking absolute paths when creating example page ([#1141](https://github.com/getsentry/sentry-wizard/pull/1141)) ## 6.9.0 ### Features - Remove deprecated `sourceMapsUploadOptions` ([#1132](https://github.com/getsentry/sentry-wizard/pull/1132)) - Add deletion glob to delete sourcemaps ([#1134](https://github.com/getsentry/sentry-wizard/pull/1134)) ### Docs - Fix typo in release action name ([#1136](https://github.com/getsentry/sentry-wizard/pull/1136)) ## 6.8.1 ### Fixes - Change fastlane injection to `sentry_debug_files_upload` instead of `sentry_cli` ([#1125](https://github.com/getsentry/sentry-wizard/pull/1125)) - Ensure example page works on Svelte 4 and 5 ([#1129](https://github.com/getsentry/sentry-wizard/pull/1129)) ## 6.8.0 ### Features - feat(pnpm): Allow pnpm catalog in the package.json ([#1117](https://github.com/getsentry/sentry-wizard/pull/1117)) ## 6.7.0 ### Features - feat: Add wizard for `react-router` framework mode ([#1076](https://github.com/getsentry/sentry-wizard/pull/1076)) This release adds a new wizard setup flow for React Router (framework): ```sh npx @sentry/wizard@latest -i reactRouter ``` - feat(nextjs): Add --spotlight support ([#1119](https://github.com/getsentry/sentry-wizard/pull/1119)) This release adds a new mode for setting up the Sentry SDK in NextJS for Spotlight. When running ```sh npx @sentry/wizard@latest -i nextjs --spotlight ``` the NextJS SDK will be configured to only send its telemetry to Spotlight. No Sentry account is required to complete this flow. ## 6.6.1 fix(telemetry): Handle promise rejections during wizard cancellation ([#1111](https://github.com/getsentry/sentry-wizard/pull/1111)) Work in this release was contributed by @kaanmertkoc. Thank you for your contribution! ## 6.6.0 - feat: Add wizard for react-router framework mode ([#1076](https://github.com/getsentry/sentry-wizard/pull/1076)) - feat(angular): Set `sendDefaultPii: true` by default ([#1057](https://github.com/getsentry/sentry-wizard/pull/1057)) - feat(nextjs): Update turbopack warning ([#1089](https://github.com/getsentry/sentry-wizard/pull/1089)) - feat(nextjs): Set `sendDefaultPii: true` by default ([#1052](https://github.com/getsentry/sentry-wizard/pull/1052)) - feat(nuxt): Set `sendDefaultPii: true` by default ([#1060](https://github.com/getsentry/sentry-wizard/pull/1060)) - feat(remix): Set `sendDefaultPii: true` by default ([#1053](https://github.com/getsentry/sentry-wizard/pull/1053)) - feat(sveltekit): Set `sendDefaultPii: true` by default ([#1055](https://github.com/getsentry/sentry-wizard/pull/1055)) - fix(apple): Remove `options.debug: true` from SDK init snippet ([#1096](https://github.com/getsentry/sentry-wizard/pull/1096)) - fix(nextjs): Remove `debug: false` option from SDK init snippets ([#1099](https://github.com/getsentry/sentry-wizard/pull/1099)) - feat(react-native): Updates the bundle script in React Native to match the one from the docs ([#1098](https://github.com/getsentry/sentry-wizard/pull/1098)) ## 6.5.0 - feat(android): Add Logs step ([#1085](https://github.com/getsentry/sentry-wizard/pull/1085)) - feat(react-native): Add Logs step ([#1080](https://github.com/getsentry/sentry-wizard/pull/1080)) - fix(react-native): Omits quotes in with-environment.sh parameter script in RN >= 0.81.1 ([#1082](https://github.com/getsentry/sentry-wizard/pull/1082)) ## 6.4.0 - feat(sveltekit): Add support for SDK setup with `instrumentation.server.ts` ([#1077](https://github.com/getsentry/sentry-wizard/pull/1077)) This release adds support for setting up the SvelteKit SDK in SvelteKit versions 2.31.0 or higher. ## 6.3.0 - feat(nextjs,remix,sveltekit,react-native,flutter,ios,angular,android,nuxt): add support to add MCP server during wizard based installlations ([#1063](https://github.com/getsentry/sentry-wizard/pull/1063)) ## 6.2.0 - fix(nextjs): Prevent double-wrapping of Next.js config ([#1058](https://github.com/getsentry/sentry-wizard/pull/1058)) - feat(cocoa): Add structured logs opt-in option ([#1051](https://github.com/getsentry/sentry-wizard/pull/1051)) - feat(electron): Show `sendDefaultPii: true` inside `Sentry.init` example ([#1062](https://github.com/getsentry/sentry-wizard/pull/1062)) - feat(flutter): Add structured logs opt-in #1050 ([#1050](https://github.com/getsentry/sentry-wizard/pull/1050)) - fix(nextjs): Prevent double-wrapping of Next.js config ([#1058](https://github.com/getsentry/sentry-wizard/pull/1058)) - fix(react-native): Add support for metro.config.cjs files ([#1064](https://github.com/getsentry/sentry-wizard/pull/1064)) - fix(remix): Wrap app with `withSentry` independently from `hasSentryContent` ([#1061](https://github.com/getsentry/sentry-wizard/pull/1061)) <details> <summary><strong>Internal Changes</strong></summary> - chore: remove unused deps (@clack/core, rimraf, @types/\*) ([#1065](https://github.com/getsentry/sentry-wizard/pull/1065)) - chore: remove unused deps (tsx, dotenv, @sentry-internal/sdk) ([#1068](https://github.com/getsentry/sentry-wizard/pull/1068)) </details> <br/> Work in this release was contributed by @outslept. Thank you for your contribution! ## 6.1.2 - ref(angular,nextjs,nuxt,remix,sveltekit): Install SDK package version `@^10` ([#1048](https://github.com/getsentry/sentry-wizard/pull/1048)) ## 6.1.1 - fix(apple): Added methods to add and update Sentry build phase script ([#1029](https://github.com/getsentry/sentry-wizard/pull/1029)) - ref(angular,nextjs): Install SDK package with version `@^9` ([#1047](https://github.com/getsentry/sentry-wizard/pull/1047)) ## 6.1.0 - feat(nextjs): Add option to enable logs to be sent to Sentry ([#1031](https://github.com/getsentry/sentry-wizard/pull/1031)) - feat(angular): Add option to enable logs to be sent to Sentry ([#1036](https://github.com/getsentry/sentry-wizard/pull/1036)) - feat(nuxt): Add option to enable logs to be sent to Sentry ([#1040](https://github.com/getsentry/sentry-wizard/pull/1040)) - feat(remix): Add option to enable logs to be sent to Sentry ([#1041](https://github.com/getsentry/sentry-wizard/pull/1041)) - feat(sveltekit): Add option to enable logs to be sent to Sentry ([#1042](https://github.com/getsentry/sentry-wizard/pull/1042)) ## 6.0.0 ### Breaking Changes - remove(remix)!: Drop Remix v1 support ([#1013](https://github.com/getsentry/sentry-wizard/pull/1013)) ## 5.4.0 - feat: Introduce run build command and prompts in sourcemaps wizard ([#1024](https://github.com/getsentry/sentry-wizard/pull/1024)) - feat: Add a default build path for create-react-app in soucemaps wizard ([#1025](https://github.com/getsentry/sentry-wizard/pull/1025)) ## 5.3.0 - fix(react-native): Avoid importing `isPlainObject` from `@sentry/utils` ([#1023](https://github.com/getsentry/sentry-wizard/pull/1023)) - feat(flutter): Add replay configuration option ([#1012](https://github.com/getsentry/sentry-wizard/pull/1012)) ## 5.2.0 - fix(nextjs): Update jsx/tsx snippets ([#1015](https://github.com/getsentry/sentry-wizard/pull/1015)) - feat(nextjs): deactivate error button when adblocker is detected ([#1010](https://github.com/getsentry/sentry-wizard/pull/1010)) - feat(remix): deactivate error button when adblocker is detected ([#1017](https://github.com/getsentry/sentry-wizard/pull/1017)) - feat(sveltekit): deactivate error button when adblocker is detected ([#1018](https://github.com/getsentry/sentry-wizard/pull/1018)) - feat(nuxt): deactivate error button when adblocker is detected ([#1019](https://github.com/getsentry/sentry-wizard/pull/1019)) ## 5.1.0 - feat(nextjs): Add template for generateMetadata in App router for next@14 ([#1003](https://github.com/getsentry/sentry-wizard/pull/1003)) - feat(sourcemaps): Add Cloudflare Wrangler Tool Flow ([#999](https://github.com/getsentry/sentry-wizard/pull/999)) ## 5.0.0 ### Breaking changes - !remove(react-native): Uninstall command ([#983](https://github.com/getsentry/sentry-wizard/pull/983)) - !remove(react-native): Old SDK versions support, Wizard only supports the latest Sentry RN SDK ([#984](https://github.com/getsentry/sentry-wizard/pull/984)) ### Other changes - fix(cordova): Don't fail to build if node isn't found. ([#694](https://github.com/getsentry/sentry-wizard/pull/694)) - ref(cordova): Improved logs with Cordova integration and Sentry-CLI now runs in foregroung. ([#694](https://github.com/getsentry/sentry-wizard/pull/694)) ## 4.9.0 - fix(apple): add support for synchronized Xcode folders ([#904](https://github.com/getsentry/sentry-wizard/pull/904)) - feat(react-native): Add Feedback Widget step ([#969](https://github.com/getsentry/sentry-wizard/pull/969)) - feat(react-native): More granular error reporting for RN Wizard ([#861](https://github.com/getsentry/sentry-wizard/pull/861)) - feat(Mobile): add `sendDefaultPii=true` to Mobile wizards ([#981](https://github.com/getsentry/sentry-wizard/pull/981)) - fix(apple): Use project-relative path to gitignore file ([#982](https://github.com/getsentry/sentry-wizard/pull/982)) ## 4.8.0 - feat: Add Angular Wizard ([#767](https://github.com/getsentry/sentry-wizard/pull/767)) - feat(nextjs): Add connectivity check to example page([#951](https://github.com/getsentry/sentry-wizard/pull/951)) - feat(nextjs): Improve error names in example page to better differentiate between frontend and API errors ([#944](https://github.com/getsentry/sentry-wizard/pull/944)) - feat(nuxt): Add connectivity check to example page ([#966](https://github.com/getsentry/sentry-wizard/pull/966)) - feat(remix): Add connectivity check to example page([#967](https://github.com/getsentry/sentry-wizard/pull/967)) - feat(sveltekit): Add connectivity check to example page ([#972](https://github.com/getsentry/sentry-wizard/pull/972)) - fix(remix): Linting issues in generated client init code ([#949](https://github.com/getsentry/sentry-wizard/pull/949)) - fix(sveltekit): Move example page from sentry-example to sentry-example-page( [#973](https://github.com/getsentry/sentry-wizard/pull/973)) ## 4.7.0 - feat: Add `deno` as a package manager ([#905](https://github.com/getsentry/sentry-wizard/pull/905)) - feat(nextjs): Add `onRouterTransitionStart` to client instrumentation template ([#938](https://github.com/getsentry/sentry-wizard/pull/938)) - feat(cocoa): Update snippets to use new UI Profiling configureation ([#933](https://github.com/getsentry/sentry-wizard/pull/933)) - fix(react-native): Handles xcode build phase patching failure ([#866](https://github.com/getsentry/sentry-wizard/pull/866)) - feat(react-native): Add a Session Replay step ([#915](https://github.com/getsentry/sentry-wizard/pull/915)) ## 4.6.0 - feat(nextjs): Switch to injecting `instrumentation-client.ts` ([#918](https://github.com/getsentry/sentry-wizard/pull/918)) - feat(remix): New Remix example page ([#917](https://github.com/getsentry/sentry-wizard/pull/917)) - feat(nuxt): New Nuxt example page ([#916](https://github.com/getsentry/sentry-wizard/pull/916)) - feat(sveltekit): New Sveltekit example page ([#913](https://github.com/getsentry/sentry-wizard/pull/913)) - feat(nextjs): New NextJS example page ([#899](https://github.com/getsentry/sentry-wizard/pull/899)) - feat(telemetry): Add `is_binary` tag to distinguish fossilized binaries ([#857](https://github.com/getsentry/sentry-wizard/pull/857)) - fix(utils): Bail package manager detection if multiple candidates are detected ([#864](https://github.com/getsentry/sentry-wizard/pull/864)) - fix(nextjs): Create root layout for example page if it doesn't exist([#863](https://github.com/getsentry/sentry-wizard/pull/863)) - ref(utils): Unify `getPackageManger` and `detectPackageManager` ([#865](https://github.com/getsentry/sentry-wizard/pull/865)) - feat: add option to ignore git changes ([#898](https://github.com/getsentry/sentry-wizard/pull/898)) - fix(apple): Add additional types to `xcode.d.ts` ([#900](https://github.com/getsentry/sentry-wizard/pull/900)) - fix: enable debug logs for option `--debug` ([#902](https://github.com/getsentry/sentry-wizard/pull/902)) ## 4.5.0 - feat(nextjs): Remove react component annotation prompt and insertion ([#858](https://github.com/getsentry/sentry-wizard/pull/858)) - fix: Prevent addition of multiple `sentry:sourcemaps` commands ([#840](https://github.com/getsentry/sentry-wizard/pull/840)) - ref(clack-utils): Use child_process spawn instead of exec when to install package ([#859](https://github.com/getsentry/sentry-wizard/pull/859)) ## 4.4.0 - feat(react-native): Adds wrapping root app component with `Sentry.wrap` ([#835](https://github.com/getsentry/sentry-wizard/pull/835)) ## 4.3.0 - feat: Skip CI prompt if `--coming-from` `vercel` ([#848](https://github.com/getsentry/sentry-wizard/pull/848)) - feat(deps): Bump axios from 1.7.4 to 1.8.2 ([#844](https://github.com/getsentry/sentry-wizard/pull/844)) - feat(sourcemaps): Remove NextJS and Remix flows from sourcemaps wizard ([#849](https://github.com/getsentry/sentry-wizard/pull/849)) The NextJS and Remix flows have been removed when running the wizard with `npx @sentry/wizard -i sourcemaps`. Please use `npx @sentry/wizard -i nextjs` and `npx @sentry/wizard -i remix` instead. - ref: Reword Replay feature selection ([#847](https://github.com/getsentry/sentry-wizard/pull/847)) - ref: Fix auth token env variable wording in flutter and apple wizards ([#853](https://github.com/getsentry/sentry-wizard/pull/853)) ## 4.2.0 - feat: Add `coming-from` parameter ([#837](https://github.com/getsentry/sentry-wizard/pull/837)) ### Various fixes & improvements - feat: add coming-from parameter (#837) by @obostjancic ## 4.1.0 - feat(nuxt): More granular error catching while modifying config ([#833](https://github.com/getsentry/sentry-wizard/pull/833)) ## 4.0.2 - ref: Set wizard version at build time ([#827](https://github.com/getsentry/sentry-wizard/pull/827)) - fix: Skip asking if users have sentry account if `--org` and `--project` flags were passed ([#817](https://github.com/getsentry/sentry-wizard/pull/817)) ## 4.0.1 - fix: Remove bulk from npm ([#825](https://github.com/getsentry/sentry-wizard/pull/825)) ## 4.0.0 This release of the Sentry Wizard includes **breaking changes**. Primarily, going forward, the wizard is now only compatible with Node versions `18.20.6` or newer. Using the wizard on older Node version _might_ work but you'll likely experience pacakge manager warnings. Please note that we no longer offer support for running the wizard on Node versions older than `18.20.6`. In other news, we now build standalone binaries for the wizard, so that it can be used without a Node (or related JS) runtime. For now, you'll find these binaries as artifacts on the [GitHub Releases Page](https://github.com/getsentry/sentry-wizard/releases). Related, this release also includes a variety of cleanup to ship less dependencies when using the wizard. If you import APIs from the `@sentry/wizard` package, no publicly exported API was changed. Breaking Changes: - ref!: Bump main Node.js version to the earliest LTS v18 ([#793](https://github.com/getsentry/sentry-wizard/pull/793)) - ref!: Follow up to Node v18 changes ([#797](https://github.com/getsentry/sentry-wizard/pull/797)) Other changes: - ref: Remove obsolete deps (r2, lodash) ([#799](https://github.com/getsentry/sentry-wizard/pull/799)) - ref: No more dynamic requires ([#801](https://github.com/getsentry/sentry-wizard/pull/801)) - ref: Remove @sentry/cli as a dependency ([#802](https://github.com/getsentry/sentry-wizard/pull/802)) - fix: Fix broken legacy wizard ([#811](https://github.com/getsentry/sentry-wizard/pull/811)) - feat: Add self-contained binary artifacts ([#806](https://github.com/getsentry/sentry-wizard/pull/806)) - fix: Add fallback from parsing project package path candidates ([#814](https://github.com/getsentry/sentry-wizard/pull/814)) - fix: Refactor the wizard version lookup to handle gracefully ([#816](https://github.com/getsentry/sentry-wizard/pull/816)) ## 3.42.1 - fix(nextjs): Remove outdated `hideSourceMaps` option (#798) ## 3.42.0 - feat: Update `nextjs`, `remix`, `sveltekit` and `nuxt` wizards to install v9 ([#794](https://github.com/getsentry/sentry-wizard/pull/794)) ## 3.41.0 - feat: Add `forceInstall` option to NPM-based wizards ([#791](https://github.com/getsentry/sentry-wizard/pull/791)) - feat(apple): Add extended whitespace support to AppDelegate detection; add tests for code-tools (#785) - fix: Avoid checking for uncommitted files when not in a git repo ([#789](https://github.com/getsentry/sentry-wizard/pull/789)) - fix(apple): Fix null-handling in apple-wizard with typings ([#775](https://github.com/getsentry/sentry-wizard/pull/775)) ## 3.40.0 - feat(flutter): Add Flutter support ([#735](https://github.com/getsentry/sentry-wizard/pull/735)) ## 3.39.0 - Always send platform query param to auth page ([#757](https://github.com/getsentry/sentry-wizard/pull/757)) - fix(nextjs): Mention correct local auth token file during source map generation ([#764](https://github.com/getsentry/sentry-wizard/pull/764)) ## 3.38.0 - feat(react-native): Add minimum supported Sentry React Native SDK version detection (>=5.0.0) ([#752](https://github.com/getsentry/sentry-wizard/pull/752)) - fix(deps): Bump to `glob@9.3.5` to resolve deprecated dependency warning ([#753](https://github.com/getsentry/sentry-wizard/pull/753)) - fix(react-native): Replaces the deprecated enableSpotlight option with spotlight ([#750](https://github.com/getsentry/sentry-wizard/pull/750)) ## 3.37.0 - feat(nuxt): Add `import-in-the-middle` install step when using pnpm ([#727](https://github.com/getsentry/sentry-wizard/pull/727)) - fix(nuxt): Remove unused parameter in sentry-example-api template ([#734](https://github.com/getsentry/sentry-wizard/pull/734)) - fix(nuxt): Remove option to downgrade override nitropack ([#744](https://github.com/getsentry/sentry-wizard/pull/744)) - feat(nuxt): Add deployment-platform flow with links to docs ([#747](https://github.com/getsentry/sentry-wizard/pull/747)) ## 3.36.0 - Remove Profiling for Android ([#720](https://github.com/getsentry/sentry-wizard/pull/720)) - Add downgrade path to nitro 2.9.7 ([#725](https://github.com/getsentry/sentry-wizard/pull/725)) ## 3.35.0 - feat: Pin JS SDK versions to v8 (#712) - Remove enableTracing for Cocoa ([#715](https://github.com/getsentry/sentry-wizard/pull/715)) - feat(nuxt): Add nuxt wizard ([#719](https://github.com/getsentry/sentry-wizard/pull/719)) Set up the Sentry Nuxt SDK in your app with one command: ```sh npx @sentry/wizard@latest -i nuxt ``` ## 3.34.4 - chore(deps): Update various dependencies (#701, #700, #224) ## 3.34.3 - fix(Apple): Sentry-cli not found by build phase when installed with homebrew (#691) - feat(nextjs): Create `next.config.mjs` when package.json has type: "module" (#699) ## 3.34.2 - fix(nextjs): Don't ask for package manager twice (#690) ## 3.34.1 - fix(sveltekit): Ensure Sentry example page renders correct Html ([#688](https://github.com/getsentry/sentry-wizard/pull/688)) - ref: Handle edge cases in formatting step more gracefully ([#687](https://github.com/getsentry/sentry-wizard/pull/686)) ## 3.34.0 - feat: Forward slugs to auth page ([#686](https://github.com/getsentry/sentry-wizard/pull/686)) ## 3.33.0 - feat: Only format changed files with Prettier ([#670](https://github.com/getsentry/sentry-wizard/pull/670)) - ref(remix): Use recursive true in error example creation ([#681](https://github.com/getsentry/sentry-wizard/pull/681)) - ref(remix): Fix creation sentry example when no routes folder ([#680](https://github.com/getsentry/sentry-wizard/pull/680)) - build(deps): bump axios from 1.6.0 to 1.7.4 ([#655](https://github.com/getsentry/sentry-wizard/pull/655)) - build(deps): bump micromatch from 4.0.5 to 4.0.8 ([#654](https://github.com/getsentry/sentry-wizard/pull/654)) ## 3.32.0 - feat: Add `--saas` CLI arg to skip self-hosted or SaaS selection step (#678) - ref: Add `--project` and `--org` args to help message and update readme (#679) ## 3.31.0 - fix(sveltekit): Create bundler plugin env file instead of sentryclirc (#675) - fix(check-sdk-version): update sentry sdk packages (#676) - feat(telemetry): Add telemetry for org and project CLI argument usage (#677) ## 3.30.0 - feat: Allow passing org and project slug parameters (#671) ## 3.29.0 - ref(nextjs): Adjust dev server command in verification message (#665) - feat(remix): Add feature selection (#646) - feat: Try running Prettier on exit (#644) - fix(remix): Don't create `.sentrclirc` if project uses Vite (#667) ## 3.28.0 - feat(nextjs): Add `onRequestError` to `instrumentation.ts` (#659) - feat(nextjs): Warn about Turbopack incompatibility (#657) - feat(sveltekit): Add feature selection (#648) ## 3.27.0 - feat(nextjs): Add feature selection (#631) - fix(nextjs): Don't inject replay integration in server configs (#651) - fix(deps): fix(deps): Add `recast` as a direct dependency (#653) - fix: Fix issue stream URL for self-hosted instances (#645) - feat: Detect Yarn v2+ (#652) Work in this release contributed by @MaximAL. Thank you for your contributions! ## 3.26.0 - fix(nextjs): Don't add '.env.sentry-build-plugin' to .gitignore if it's already there (#610) - feat(nextjs): Support all `next.config` file types (#630) - fix(nextjs): Update instrumentation and example creation logic for app or pages usage (#629) - feat(nextjs): Prompt for `reactComponentAnnotation` (#634) - fix(nextjs): Add missing Error.getInitialProps calls in Next.js error page snippets (#632) - fix/feat: Improve error logging for package installation (#635) - fix: Properly close open handles (#638) ## 3.25.2 - ref: Improve intro and wizard selection (#625) ## 3.25.1 - fix(remix): Change `handleError` in server entry (#621) ## 3.25.0 - feat(react-native): Add support for Expo projects (#505) ## 3.24.1 - fix(nextjs): Add trailing comma to `sentryUrl` option in `withSentryConfig` template (#601) ## 3.24.0 - feat(remix): Switch to OTEL setup (#593) - feat(remix): Update `start` script for built-in Remix servers (#604) - deps: Bump glob to `10.4.2` (#599) ## 3.23.3 - fix(nextjs): Fix Types of GlobalError (#592) ## 3.23.2 - feat(nextjs): Detect typescript usage and emit files accordingly (#580) - fix(step-wizards): Show correct URL when prompting DSN (#577) - feat(electron): Update code examples for v5 (#591) ## 3.23.1 - fix(nextjs): Replace `url` with `sentryUrl` in `withSentryConfig` options (#579) ## 3.23.0 - feat(apple): Disable build script sandboxing (#574) - feat(reactnative): Added comment to add spotlight in Sentry.init for React Native config (#548) - feat(reactnative): Added `withSentryConfig` Metro patch (#575) ## 3.22.3 - feat(nextjs): Make example page resilient to `typescript-eslint/no-floating-promises` (#568) - fix: Remove quotes around auth token in .env files (#570) - fix(nextjs): Remove `transpileClientSDK` from template (#571) ## 3.22.2 - feat(nextjs): Adjust Next.js wizard for usage with v8 SDK (#567) ## 3.22.1 - fix(wizard): Handle missing auth token in wizard API endpoint response (#566) ## 3.22.0 - feat(nextjs): Ask users about tunnelRoute option (#556) ## 3.21.0 - feat(nextjs): Add comment to add spotlight in Sentry.init for Next.js server config (#545) - feat(nextjs): Pin installed Next.js SDK version to version 7 (#550) - feat(remix): Add example page (#542) - feat(sveltekit): Add comment for spotlight in Sentry.init for SvelteKit server hooks config (#546) - ref(nextjs): Add note about `tunnelRoute` and Next.js middleware incompatibility (#544) - ref(remix): Remove Vite dev-mode modification step (#543) ## 3.20.5 - fix: Update `@clack/core` to fix selection error on Windows (#539) ## 3.20.4 - ref(remix): Replace `BrowserTracing` with `browserTracingIntegration` (#533) ## 3.20.3 - ref(nextjs): Replace `new Replay()` with `replayIntegration` (#532) - ref(remix): Replace `new Replay()` with `replayIntegration` (#532) - ref(sveltekit): Replace `new Replay()` with `replayIntegration` (#532) ## 3.20.2 - ref(wizard): Print error object if wizard endpoint API request failed (#524) ## 3.20.1 - fix(nextjs): Replace deprecated Sentry API calls in example page templates (#520) - fix(sveltekit): Replace deprecated Sentry API calls in example page templates (#520) ## 3.20.0 - feat(nextjs): Ask for confirmation before creating example page (#515) - feat(remix): Add instrumentation step for Express server adapters (#504) - feat(sveltekit): Add instrumentation step for Express server adapters (#516) - fix(nextjs): Instruct users to restart dev server after setup (#513) - ref(sveltekit): Improve Outro Message (#514) ## 3.19.0 - feat(nextjs): Add instructions on how to set auth token in CI (#511) ## 3.18.1 - fix(nextjs): Fix app folder lookup (#510) ## 3.18.0 - feat(nextjs): Add instructions on how to add a `global-error` page to Next.js App Router (#506) - feat(nextjs): Automatically enable vercel cron monitors (#507) ## 3.17.0 - feat(reactnative): Use Xcode scripts bundled with Sentry RN SDK (#499) - feat(reactnative): Make `pod install` step optional (#501) - feat(remix): Add Vite support (#495) - feat(reactnative): Add Sentry Metro serializer (#502) ## 3.16.5 - fix(wizard): Update wizard API data type and issue stream url creation (#500) ## 3.16.4 - feat(nextjs): Add instructions for custom \_error page (#496) ## 3.16.3 - fix(sourcemaps): Re-read package.json when modifying build command (#493) ## 3.16.2 - fix(sourcemaps): Re-read package.json after CLI install (#489) - fix(nextjs): Set created test route handler to always be dynamic (#486) ## 3.16.1 - fix(Cordova): Skip dynamic libraries on Cordova (#481) ## 3.16.0 - ref(reactnative): Use clack prompts and share common code (dirty repo, login) (#473) - feat(reactnative): Add telemetry (#477) - feat(reactnative): Improve `build.gradle` patch so that it's more likely to work without changes in monorepos (#478) - fix(reactnative): Save Sentry URL, Organization and Project to `sentry.properties` (#479) ## 3.15.0 - feat(remix): Support sourcemap uploads of Hydrogen apps (#474) - fix(remix): Use captureRemixServerException inside handleError (#466) - fix(remix): Fix `request` arg in `handleError` template (#469) - fix(remix): Update documentation links to the new routes (#470) - fix(remix): Instrument existing root `ErrorBoundary` (#472) ## 3.14.1 - ref(sveltekit): Add log for successful Vite plugin insertion (#465) ## 3.14.0 - feat(nextjs): Add telemetry collection to NextJS wizard (#458) - feat(wizard): Ask for confirmation to continue if git repo is not clean (#462) - fix(remix): Fix Remix version and TS checks (#464) ## 3.13.0 - enh(android): Show link to issues page after setup is complete (#448) - feat(remix): Pass `org`, `project`, `url` to `upload-sourcemaps` script (#434) - feat(sourcemaps): Automatically enable source maps generation in `tsconfig.json` (#449) - feat(sveltekit): Add telemetry collection (#455) - fix(nextjs): Add selfhosted url in `next.config.js` (#438) - fix(nextjs): Create necessary directories in app router (#439) - fix(sourcemaps): Write package manager command instead of object to package.json (#453) - ref(sveltekit): Check for minimum supported SvelteKit version (#456) Work in this release contributed by @andreysam. Thank you for your contributions! ## 3.12.0 - feat(sourcemaps): Automatically insert Sentry Webpack plugin (#432) - fix(android): Add support for unusual import statements (#440) - fix(wizard): Sort projects in project-selection step (#441) - enh(android): Add more telemetry (#435) ## 3.11.0 - feat(android): Add wizard support for Android (#389) Set up the Sentry Android SDK in your app with one command: ```sh npx @sentry/wizard@latest -i android # or via brew brew install getsentry/tools/sentry-wizard && sentry-wizard -i android ``` - feat(craft): Add `brew` target for automatically publishing `sentry-wizard` to Sentry's custom Homebrew tap (#406) You can now install `sentry-wizard` via Homebrew: ```sh brew update brew install getsentry/tools/sentry-wizard ``` - feat: Add Bun package manager support (#417) - feat(apple): Add option to choose between cocoapods when available and SPM (#423) - feat(apple): Search App entry point by build files not directories (#420) - feat(apple): Use ".sentryclirc" for auth instead of hard coding it (#422) - feat(nextjs): Add support for Next.js 13 app router (#385) - feat(sourcemaps): Provide exit path if there's no need to upload sourcemaps (#415) - fix: Handle no projects available (#412) - fix: Remove picocolor usage (#426) - fix: Support org auth tokens in old wizards (#409) - fix: Treat user-entered DSN as a public DSN (#410) - fix(sourcemaps): Enable source map generation when modifying Vite config (#421) ## 3.10.0 - feat(remix): Add Remix wizard (#387) Set up the Sentry Remix SDK in your app with one command: ```sh npx @sentry/wizard@latest -i remix ``` - fix(cordova): Fallback to the default Sentry CLI path if not defined. (#401) ## 3.9.2 - fix(sentry-cli-sourcemaps): Fix writing of build command (#398) ## 3.9.1 - ref(sourcemaps): Handle no vite config found case (#391) - ref(sourcemaps): Improve handling of vite config already having Sentry code (#392) - fix(apple): Don't remove other swift packages (#396) ## 3.9.0 - ref: Add debug logging to clack-based wizards (#381) - fix: Pin minimum version to Node 14.18 (#383) - feat(sourcemaps): Automatically insert Sentry Vite plugin in Vite config (#382) - feat(reactnative): Use `with-environment.sh` in Xcode Build Phases (#329) - fix(sveltekit): Bump `magicast` to handle vite configs declared as variables (#380) - ref(sveltekit): Add vite plugin insertion fallback mechanism (#379) - ref(sveltekit): Insert project config into vite config instead of `sentry.properties` (#378) ## 3.8.0 - feat: Autodetect more wizards (#370) - feat(apple): iOS wizard has support for cocoapods (#350) - feat(apple): Add Fastlane detector for iOS wizard (#356) - feat(sourcemaps): Add dedicated NextJS sourcemaps flow (#372) - feat(sourcemaps): Add option to add cli npm script to build command (#374) - fix(login): Avoid repeatedly printing loading message (#368) - fix(sveltekit): Abort the wizard when encountering an error (#376) - ref(sourcemaps): Redirect to ReactNative wizard if RN project is detected (#369) ## 3.7.1 fix(telemetry): Re-enable telemetry collection (#361) ## 3.7.0 - feat(sourcemaps): Add path for users who don't use CI (#359) - fix: Ensure wizard exits after setup is completed (#360) - fix(sveltekit): Call correct API endpoint in Sentry example code (#358) - ref(sveltekit): Create `.ts` hooks files if typescript is detected (#355) ## 3.6.0 - feat(apple): Add support for iOS (#334) - feat(sourcemaps): Add CLI-based flow for Angular (#349) - feat(sourcemaps): Detect SvelteKit and NextJS projects and redirect to dedicated wizards (#341) - feat(sourcemaps): Pre-select auto-detected build tool option (#354) - ref(sourcemaps): Improve Outro message (#344) ## 3.5.0 - feat(sourcemaps): Check if correct SDK version is installed (#336) - feat: Open browser when logging in (sourcemaps, sveltekit, nextjs) (#328) - feat(sourcmaps): Add create-react-app option (#335) - fix: Support `--url` arg in NextJs, SvelteKit and Sourcemaps wizards (#331) - fix: Update minimum Node version to Node 14 (#332) ## 3.4.0 - feat(sourcemaps): Add setup flow for esbuild (#327) - feat(sourcemaps): Add setup flow for Rollup (#325) - feat(sourcemaps): Add setup flow for `tsc` (#324) ## 3.3.2 - fix: Typo in gitignore insertion (#322) ## 3.3.1 - feat(sourcemaps): Record in telemetry which build tool was selected (#321) ## 3.3.0 - feat(sourcemaps): Add bundler selection prompt (#304) - feat(sourcemaps): Add Login and Project Selection flow (#300) - feat(sourcemaps): Add setup flow for sentry-cli (#314) - feat(sourcemaps): Add setup flow for Vite (#308) - feat(sourcemaps): Add setup flow for Webpack (#317) - feat(sourcemaps): Add Sourcemaps as selectable integration (#302) - feat(sourcemaps): Add telemetry (#318) - feat(sourcemaps): Create `.env.sentry-build-plugin` instead of `.sentryclirc` to set auth token (#313) - feat: Add empty sourcemaps wizard (#295) - feat: Add single tenant to self-hosted question (#277) - feat: Add telemetry helper (#309) - feat: Improve error handling of incorrect self-hosted URLs (#299) - fix: Add select with sliding window for project selection prompt (#306) ## 3.2.3 fix(sveltekit): Bump magicast to handle satisfies keyword (#279) ## 3.2.2 - fix: Don't crash in environments without browser (#272) - fix: Add manual package manager selection as fallback (#275) - fix(sveltekit): Use correct template when creating server hooks file (#276) ## 3.2.1 - ref(sveltekit): Prepend Vite plugin (#271) ## 3.2.0 - feat(sveltekit): Add support for SvelteKit SDK Setup (#251) Set up the Sentry SvelteKit SDK in your app with one command: ```sh npx @sentry/wizard -i sveltekit ``` - feat(rn): Add code snippet to send the first Sentry Error ([#263](https://github.com/getsentry/sentry-wizard/pull/263)) - fix(rn): Show loader when installing dependencies (#264) - ref(nextjs): Clean up minor things (#258) - ref(nextjs): Replace old Next.js wizard (#262) ## 3.1.0 - ref: Rewrite Next.js wizard (#256) ## 3.0.0 ### Node Version Compatibility - The minimum Node version for the wizard is now Node 14. ### Various fixes & improvements - build: Update a bunch of dev dependencies (#248) by @lforst - fix: Typo `hideSourcemaps``hideSourceMaps` (#231) by @maxbeier ## 2.7.0 - feat(rn): One line `@sentry/react-native` setup command (#243) ```bash npx @sentry/wizard -s -i reactNative ``` ## 2.6.1 - fix(rn): Upload debug files from `$DWARF_DSYM_FOLDER_PATH` during Xcode build (#240) ## 2.6.0 - feat(rn): Support patching app/build.gradle RN 0.71.0 and Expo SDK 43+ bare workflow (#229) ## 2.5.0 - feat: Merge next.config.js files automatically (#222) ## 2.4.2 - feat(nextjs): Add sentry.edge.config.js template (#227) ## 2.4.1 - feat: Add logic to add @sentry/nextjs if it's missing when running the wizard (#219) - fix: Print localhost with `http` instead of `https` (#212) - feat: Add project_platform as query param if -s and -i are set (#221) - feat: Add promo code option used for signup flows (#223) ## 2.4.0 - Raise nextjs version limit to include 13 (#206) - feat(react-native): Xcode plugin includes collect modules script (#210) ## 1.4.0 - feat(react-native): Xcode plugin includes collect modules script (#213) ## 2.3.1 - fix(nextjs): Always check for both `next` and `@sentry/nextjs` presence and version (#209) - fix: `cli.executable` property should be resolved from cwd (#211) ## 2.3.0 - feat(react-native): Xcode plugin debug files upload can include source using env - chore(ci): remove jira workflow (#204) ## 2.2.2 - feat(nextjs): Remove option to auto-wrap data fetchers and API routes (#196) ## 2.2.1 - feat(nextjs): Add option to auto-wrap data fetchers and API routes to Next.js config (#194) ## 2.2.0 - ref(nextjs): Default to hiding source maps in nextjs config (#188) ## 2.1.0 - feat(react-native): Add support for RN TypeScript and other templates ## 2.0.2 - fix(electron): Remove Electron symbols.js script ## 2.0.1 - feat(nextjs): Add page to send onboarding sample error for Next.js (#179) ## 2.0.0 - fix(react-native) Xcode linking for RN 0.69 and higher (#178) ## 1.3.0 - chore(deps): Bump sentry-cli to 1.72.0 (#154) - feat(nextjs): Use helper function in `_error.js` (#170) - fix(electron): Fix version detection to use electron/package.json (#161) ## 1.2.17 - Support Next.js v12 (#152) ## 1.2.16 - fix(nextjs): Do not capture 404s as exceptions in `_error` (#146) ## 1.2.15 - Check version range rather than minimum version for nextjs (#143) ## 1.2.14 - Automatically include `pages/_error.js` when setting up nextjs project (#140) - Clarify "Usage" section of `README.md` (#139) ## 1.2.13 - Fix `.sentryclirc` file formatting (#131) ## 1.2.12 - Don't expose auth token in `sentry.properties` (#128) ## 1.2.11 - Parse Next.js version as a string, instead of int (#122) ## 1.2.10 - Check new contents before overwriting a file (#117) ## 1.2.9 - Add performance monitoring support to nextjs scripts (#114) - Make webpack silent by default in nextjs config (#113) ## v1.2.8 - Fix React Native JS patching throwing errors due to incorrect argument ## v1.2.7 - Fix React Native uninstall script - Fix platform selection issues and repeated prompts on Mobile Projects. ## v1.2.6 - Get release from environment for the Next.js SDK ## v1.2.5 - Ignore coverage when linting and clarify Next.js messages. ## v1.2.4 - Add Next.js SDK initialization config files. - Update webpack config file of Next.js. ## v1.2.3 - Don't use `package` as a varname in the NextJS config - Enable env variables in the NextJS config ## v1.2.2 - Add support for `NEXT_PUBLIC_SENTRY_DSN` ## v1.2.1 - Update `next.config.js`, and create mergeable configs when they already exist ## v1.2.0 - Add support for Next.js ## v1.1.4 - Bump @sentry/cli `1.52.4` ## v1.1.3 - Add sourcemap output path to derived data to react native ios script - Bump @sentry/cli `1.52.3` ## v1.1.2 - Don't `cli/executable` for Android project on react-native ## v1.1.1 - Bump @sentry/cli `1.51.0` ## v1.1.0 - Bump @sentry/cli `1.50.0` ## v1.0.2 - Several dependeny bumps with related security updates ## v1.0.1 - Strip only `Sentry*` frameworks for Cordova - Guard Xcode project updates for react-native ## v1.0.0 - Support for new `@sentry/react-native` ## v0.13.0 - Bump @sentry/cli `1.43.0` ## v0.12.1 - Bump @sentry/cli `1.36.1` ## v0.12.0 - Fixed #22 - Bumped dependencies ## v0.11.1 - Fixed #16 ## v0.11.0 - Update all dependencies, Fix tests on travis ## v0.10.3 - Use public DSN for react-native ## v0.10.2 - Remove secret DSN part check for prompt ## v0.10.1 - Use opn in favor of open ## v0.10.0 - Change Cordova wizard steps to only run once and create properties file in root ## v0.9.7 - Fix a bug where sentry-wizard will ask for parameters on uninstall ## v0.9.6 - Fix electron symbol upload script ## v0.9.5 - Update Electron instructions to latest SDK version ## v0.9.4 - Restore Node compatibility - Add more tests ## v0.9.3 - Fix Electron installation code - Fixes #7 ## v0.9.2 - Support Electron prereleases in symbol upload - Correctly upload Electron dSYMs for macOS ## v0.9.1 - Add strip arch script for cordova ## v0.9.0 - Add support for electron projects ## v0.8.3 - Fixed an issue where file exsists always returned false ## v0.8.2 - Move sentry.properties file to plugins folder for Cordova ## v0.8.1 - Fix react-native js file patching - Bump sentry-cli to 1.28.4 ## v0.8.0 - Fix Cordova sentry-cli upload-dsym command for Xcode ## v0.7.5 - Bump sentry-cli version to 1.28.1 ## v0.7.4 - Bump sentry-cli version to 1.27.1 - Fix Cordova integration - Fix issue in file checker to default to false ## v0.7.3 - Bump sentry-cli version ## v0.7.2 - Fix quiet mode and default parameter - Fix version detection for @sentry/cli ## v0.7.1 - Improve function call for wizard and parameter validation/sanitation ## v0.7.0 - Use @sentry/cli ## v0.6.1 - Fixed https://github.com/getsentry/react-native-sentry/issues/304 ## v0.6.0 - Add quiet mode --quiet - Fallback to user prompts when not able to connect to Sentry - Renamed parameter type/protype to integration ## v0.5.3 - Passing answers fixed in file helper ## v0.5.2 - Platform check ## v0.5.1 - Fix skip connection also for polling ## v0.5.0 - Add skip connection option to skip connecting to Sentry - Add possiblity to overwrite args with ENV vars SENTRY_WIZARD prefixed ## v0.4.0 - Fix uninstall step for react-native ## v0.3.2 - Fix sentry-cli version ## v0.3.1 - Fix polling and json reponse parsing ## v0.3.0 - Add support for cordova - Internal refactorings - Check if project is already setup ## v0.2.2 - Fix build process ## v0.2.1 - Fix build process ## v0.2.0 - Add support for react-native ## v0.1.1 - Fix build process ## v0.1.0 - Inital release