-
feat: Skip CI prompt if
--coming-from
vercel
(#848) -
feat(deps): Bump axios from 1.7.4 to 1.8.2 (#844)
-
feat(sourcemaps): Remove NextJS and Remix flows from sourcemaps wizard (#849)
The NextJS and Remix flows have been removed when running the wizard with
npx @sentry/wizard -i sourcemaps
.
Please usenpx @sentry/wizard -i nextjs
andnpx @sentry/wizard -i remix
instead. -
ref: Reword Replay feature selection (#847)
-
ref: Fix auth token env variable wording in flutter and apple wizards (#853)
- feat: Add
coming-from
parameter (#837)
- feat: add coming-from parameter (#837) by @obostjancic
- feat(nuxt): More granular error catching while modifying config (#833)
- ref: Set wizard version at build time (#827)
- fix: Skip asking if users have sentry account if
--org
and--project
flags were passed (#817)
- fix: Remove bulk from npm (#825)
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.
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)
- ref!: Follow up to Node v18 changes (#797)
Other changes:
- ref: Remove obsolete deps (r2, lodash) (#799)
- ref: No more dynamic requires (#801)
- ref: Remove @sentry/cli as a dependency (#802)
- fix: Fix broken legacy wizard (#811)
- feat: Add self-contained binary artifacts (#806)
- fix: Add fallback from parsing project package path candidates (#814)
- fix: Refactor the wizard version lookup to handle gracefully (#816)
- fix(nextjs): Remove outdated
hideSourceMaps
option (#798)
- feat: Update
nextjs
,remix
,sveltekit
andnuxt
wizards to install v9 (#794)
- feat: Add
forceInstall
option to NPM-based wizards (#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)
- fix(apple): Fix null-handling in apple-wizard with typings (#775)
- feat(flutter): Add Flutter support (#735)
- Always send platform query param to auth page (#757)
- fix(nextjs): Mention correct local auth token file during source map generation (#764)
- feat(react-native): Add minimum supported Sentry React Native SDK version detection (>=5.0.0) (#752)
- fix(deps): Bump to
[email protected]
to resolve deprecated dependency warning (#753) - fix(react-native): Replaces the deprecated enableSpotlight option with spotlight (#750)
- feat(nuxt): Add
import-in-the-middle
install step when using pnpm (#727) - fix(nuxt): Remove unused parameter in sentry-example-api template (#734)
- fix(nuxt): Remove option to downgrade override nitropack (#744)
- feat(nuxt): Add deployment-platform flow with links to docs (#747)
- feat: Pin JS SDK versions to v8 (#712)
- Remove enableTracing for Cocoa (#715)
- feat(nuxt): Add nuxt wizard (#719)
Set up the Sentry Nuxt SDK in your app with one command:
npx @sentry/wizard@latest -i nuxt
- chore(deps): Update various dependencies (#701, #700, #224)
- 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)
- fix(nextjs): Don't ask for package manager twice (#690)
- fix(sveltekit): Ensure Sentry example page renders correct Html (#688)
- ref: Handle edge cases in formatting step more gracefully (#687)
- feat: Forward slugs to auth page (#686)
- feat: Only format changed files with Prettier (#670)
- ref(remix): Use recursive true in error example creation (#681)
- ref(remix): Fix creation sentry example when no routes folder (#680)
- build(deps): bump axios from 1.6.0 to 1.7.4 (#655)
- build(deps): bump micromatch from 4.0.5 to 4.0.8 (#654)
- 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)
- 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)
- feat: Allow passing org and project slug parameters (#671)
- 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)
- feat(nextjs): Add
onRequestError
toinstrumentation.ts
(#659) - feat(nextjs): Warn about Turbopack incompatibility (#657)
- feat(sveltekit): Add feature selection (#648)
- 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!
- 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)
- ref: Improve intro and wizard selection (#625)
- fix(remix): Change
handleError
in server entry (#621)
- feat(react-native): Add support for Expo projects (#505)
- fix(nextjs): Add trailing comma to
sentryUrl
option inwithSentryConfig
template (#601)
- 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)
- fix(nextjs): Fix Types of GlobalError (#592)
- 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)
- fix(nextjs): Replace
url
withsentryUrl
inwithSentryConfig
options (#579)
- 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)
- 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)
- feat(nextjs): Adjust Next.js wizard for usage with v8 SDK (#567)
- fix(wizard): Handle missing auth token in wizard API endpoint response (#566)
- feat(nextjs): Ask users about tunnelRoute option (#556)
- 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)
- fix: Update
@clack/core
to fix selection error on Windows (#539)
- ref(remix): Replace
BrowserTracing
withbrowserTracingIntegration
(#533)
- ref(nextjs): Replace
new Replay()
withreplayIntegration
(#532) - ref(remix): Replace
new Replay()
withreplayIntegration
(#532) - ref(sveltekit): Replace
new Replay()
withreplayIntegration
(#532)
- ref(wizard): Print error object if wizard endpoint API request failed (#524)
- fix(nextjs): Replace deprecated Sentry API calls in example page templates (#520)
- fix(sveltekit): Replace deprecated Sentry API calls in example page templates (#520)
- 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)
- feat(nextjs): Add instructions on how to set auth token in CI (#511)
- fix(nextjs): Fix app folder lookup (#510)
- 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)
- 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)
- fix(wizard): Update wizard API data type and issue stream url creation (#500)
- feat(nextjs): Add instructions for custom _error page (#496)
- fix(sourcemaps): Re-read package.json when modifying build command (#493)
- fix(sourcemaps): Re-read package.json after CLI install (#489)
- fix(nextjs): Set created test route handler to always be dynamic (#486)
- fix(Cordova): Skip dynamic libraries on Cordova (#481)
- 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)
- feat(remix): Support sourcemap uploads of Hydrogen apps (#474)
- fix(remix): Use captureRemixServerException inside handleError (#466)
- fix(remix): Fix
request
arg inhandleError
template (#469) - fix(remix): Update documentation links to the new routes (#470)
- fix(remix): Instrument existing root
ErrorBoundary
(#472)
- ref(sveltekit): Add log for successful Vite plugin insertion (#465)
- 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)
- enh(android): Show link to issues page after setup is complete (#448)
- feat(remix): Pass
org
,project
,url
toupload-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!
- 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)
- feat(android): Add wizard support for Android (#389)
Set up the Sentry Android SDK in your app with one command:
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 publishingsentry-wizard
to Sentry's custom Homebrew tap (#406)
You can now install sentry-wizard
via Homebrew:
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)
- feat(remix): Add Remix wizard (#387)
Set up the Sentry Remix SDK in your app with one command:
npx @sentry/wizard@latest -i remix
- fix(cordova): Fallback to the default Sentry CLI path if not defined. (#401)
- fix(sentry-cli-sourcemaps): Fix writing of build command (#398)
- 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)
- 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)
- 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)
fix(telemetry): Re-enable telemetry collection (#361)
- 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)
- 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)
- 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)
- feat(sourcemaps): Add setup flow for esbuild (#327)
- feat(sourcemaps): Add setup flow for Rollup (#325)
- feat(sourcemaps): Add setup flow for
tsc
(#324)
- fix: Typo in gitignore insertion (#322)
- feat(sourcemaps): Record in telemetry which build tool was selected (#321)
- 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)
fix(sveltekit): Bump magicast to handle satisfies keyword (#279)
- 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)
- ref(sveltekit): Prepend Vite plugin (#271)
-
feat(sveltekit): Add support for SvelteKit SDK Setup (#251)
Set up the Sentry SvelteKit SDK in your app with one command:
npx @sentry/wizard -i sveltekit
-
feat(rn): Add code snippet to send the first Sentry Error (#263)
-
fix(rn): Show loader when installing dependencies (#264)
-
ref(nextjs): Clean up minor things (#258)
-
ref(nextjs): Replace old Next.js wizard (#262)
- ref: Rewrite Next.js wizard (#256)
- The minimum Node version for the wizard is now Node 14.
- build: Update a bunch of dev dependencies (#248) by @lforst
- fix: Typo
hideSourcemaps
→hideSourceMaps
(#231) by @maxbeier
- feat(rn): One line
@sentry/react-native
setup command (#243)
npx @sentry/wizard -s -i reactNative
- fix(rn): Upload debug files from
$DWARF_DSYM_FOLDER_PATH
during Xcode build (#240)
- feat(rn): Support patching app/build.gradle RN 0.71.0 and Expo SDK 43+ bare workflow (#229)
- feat: Merge next.config.js files automatically (#222)
- feat(nextjs): Add sentry.edge.config.js template (#227)
- feat: Add logic to add @sentry/nextjs if it's missing when running the wizard (#219)
- fix: Print localhost with
http
instead ofhttps
(#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)
- Raise nextjs version limit to include 13 (#206)
- feat(react-native): Xcode plugin includes collect modules script (#210)
- feat(react-native): Xcode plugin includes collect modules script (#213)
- fix(nextjs): Always check for both
next
and@sentry/nextjs
presence and version (#209) - fix:
cli.executable
property should be resolved from cwd (#211)
- feat(react-native): Xcode plugin debug files upload can include source using env
- chore(ci): remove jira workflow (#204)
- feat(nextjs): Remove option to auto-wrap data fetchers and API routes (#196)
- feat(nextjs): Add option to auto-wrap data fetchers and API routes to Next.js config (#194)
- ref(nextjs): Default to hiding source maps in nextjs config (#188)
- feat(react-native): Add support for RN TypeScript and other templates
- fix(electron): Remove Electron symbols.js script
- feat(nextjs): Add page to send onboarding sample error for Next.js (#179)
- fix(react-native) Xcode linking for RN 0.69 and higher (#178)
- 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)
- Support Next.js v12 (#152)
- fix(nextjs): Do not capture 404s as exceptions in
_error
(#146)
- Check version range rather than minimum version for nextjs (#143)
- Automatically include
pages/_error.js
when setting up nextjs project (#140) - Clarify "Usage" section of
README.md
(#139)
- Fix
.sentryclirc
file formatting (#131)
- Don't expose auth token in
sentry.properties
(#128)
- Parse Next.js version as a string, instead of int (#122)
- Check new contents before overwriting a file (#117)
- Add performance monitoring support to nextjs scripts (#114)
- Make webpack silent by default in nextjs config (#113)
- Fix React Native JS patching throwing errors due to incorrect argument
- Fix React Native uninstall script
- Fix platform selection issues and repeated prompts on Mobile Projects.
- Get release from environment for the Next.js SDK
- Ignore coverage when linting and clarify Next.js messages.
- Add Next.js SDK initialization config files.
- Update webpack config file of Next.js.
- Don't use
package
as a varname in the NextJS config - Enable env variables in the NextJS config
- Add support for
NEXT_PUBLIC_SENTRY_DSN
- Update
next.config.js
, and create mergeable configs when they already exist
- Add support for Next.js
- Bump @sentry/cli
1.52.4
- Add sourcemap output path to derived data to react native ios script
- Bump @sentry/cli
1.52.3
- Don't
cli/executable
for Android project on react-native
- Bump @sentry/cli
1.51.0
- Bump @sentry/cli
1.50.0
- Several dependeny bumps with related security updates
- Strip only
Sentry*
frameworks for Cordova - Guard Xcode project updates for react-native
- Support for new
@sentry/react-native
- Bump @sentry/cli
1.43.0
- Bump @sentry/cli
1.36.1
- Fixed #22
- Bumped dependencies
- Fixed #16
- Update all dependencies, Fix tests on travis
- Use public DSN for react-native
- Remove secret DSN part check for prompt
- Use opn in favor of open
- Change Cordova wizard steps to only run once and create properties file in root
- Fix a bug where sentry-wizard will ask for parameters on uninstall
- Fix electron symbol upload script
- Update Electron instructions to latest SDK version
- Restore Node compatibility
- Add more tests
- Fix Electron installation code - Fixes #7
- Support Electron prereleases in symbol upload
- Correctly upload Electron dSYMs for macOS
- Add strip arch script for cordova
- Add support for electron projects
- Fixed an issue where file exsists always returned false
- Move sentry.properties file to plugins folder for Cordova
- Fix react-native js file patching
- Bump sentry-cli to 1.28.4
- Fix Cordova sentry-cli upload-dsym command for Xcode
- Bump sentry-cli version to 1.28.1
- Bump sentry-cli version to 1.27.1
- Fix Cordova integration
- Fix issue in file checker to default to false
- Bump sentry-cli version
- Fix quiet mode and default parameter
- Fix version detection for @sentry/cli
- Improve function call for wizard and parameter validation/sanitation
- Use @sentry/cli
- Add quiet mode --quiet
- Fallback to user prompts when not able to connect to Sentry
- Renamed parameter type/protype to integration
- Passing answers fixed in file helper
- Platform check
- Fix skip connection also for polling
- Add skip connection option to skip connecting to Sentry
- Add possiblity to overwrite args with ENV vars SENTRY_WIZARD prefixed
- Fix uninstall step for react-native
- Fix sentry-cli version
- Fix polling and json reponse parsing
- Add support for cordova
- Internal refactorings
- Check if project is already setup
- Fix build process
- Fix build process
- Add support for react-native
- Fix build process
- Inital release