Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update Sentry to latest version #60

Merged
merged 1 commit into from
Sep 13, 2024
Merged

Conversation

chanceaclark
Copy link
Contributor

What/Why?

Updates Sentry to the latest version. Was blocking middleware from running on requests.

Rollout/Rollback

Revert.

Testing

Screenshot 2024-09-13 at 15 42 56

@bigcommerce/team-data

@chanceaclark chanceaclark requested a review from a team as a code owner September 13, 2024 19:44
Copy link

vercel bot commented Sep 13, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai-app-foundation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 13, 2024 7:44pm

Comment on lines -38 to -56
{
// For all available options, see:
// https://docs.sentry.io/platforms/javascript/guides/nextjs/manual-setup/

// Upload a larger set of source maps for prettier stack traces (increases build time)
widenClientFileUpload: true,

// Transpiles SDK to be compatible with IE11 (increases bundle size)
transpileClientSDK: true,

// Routes browser requests to Sentry through a Next.js rewrite to circumvent ad-blockers (increases server load)
tunnelRoute: '/monitoring',

// Hides source maps from generated client bundles
hideSourceMaps: true,

// Automatically tree-shake Sentry logger statements to reduce bundle size
disableLogger: true,
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some of these were enabled by default now. We also don't need tunnelling tbh...

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The lockfile version updating so make sure to update npm on your local machine.

@chanceaclark chanceaclark merged commit 0ce155b into main Sep 13, 2024
3 checks passed
@chanceaclark chanceaclark deleted the chore/update-sentry branch September 13, 2024 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants