-
-
Notifications
You must be signed in to change notification settings - Fork 18
chore(deps): update dependency @sentry/* to v10 and @envelop/sentry t… #1048
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
base: main
Are you sure you want to change the base?
Conversation
…o v15, updated templates
✅ Deploy Preview for cedarjs canceled.
|
|
| Command | Status | Duration | Result |
|---|---|---|---|
nx run-many -t test --minWorkers=1 --maxWorkers=4 |
✅ Succeeded | 1m 58s | View ↗ |
nx run-many -t build:pack --exclude create-ceda... |
✅ Succeeded | 8s | View ↗ |
nx run-many -t build |
✅ Succeeded | 8s | View ↗ |
nx run-many -t test:types |
✅ Succeeded | 10s | View ↗ |
☁️ Nx Cloud last updated this comment at 2026-01-26 14:27:53 UTC
|
@Bigood This is amazing! Thank you so much 🙏 |
Greptile OverviewGreptile SummaryUpdated Sentry SDK from v7 to v10 and
Confidence Score: 4/5
Important Files Changed
Sequence DiagramsequenceDiagram
participant CLI as Cedar CLI
participant Handler as sentryHandler.ts
participant NPM as Package Manager
participant Template as Sentry Templates
participant App as User Application
CLI->>Handler: Execute setup sentry command
Handler->>NPM: Install @envelop/sentry@^15
Handler->>NPM: Install @sentry/node@^10
Handler->>NPM: Install @sentry/react@^10
Handler->>NPM: Install @sentry/browser@^10
Handler->>Template: Generate sentryApi.ts
Note over Template: Uses prismaIntegration() (auto-discovery)<br/>Uses httpIntegration()
Template->>App: Create api/lib/sentry.ts
Handler->>Template: Generate sentryWeb.ts
Note over Template: Uses browserTracingIntegration()
Template->>App: Create web/lib/sentry.ts
Handler->>App: Configure GraphQL handler with useSentry
Handler->>App: Replace FatalErrorBoundary with Sentry.ErrorBoundary
Handler->>CLI: Setup complete
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
1 file reviewed, 1 comment
packages/cli/src/commands/setup/monitoring/sentry/templates/sentryApi.ts.template
Show resolved
Hide resolved
| integrations: [ | ||
| new Sentry.Integrations.Prisma({ client }), | ||
| new Sentry.Integrations.Http({ tracing: true }), | ||
| Sentry.prismaIntegration(), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Bigood Is this even needed now? Looks like prisma might be enabled by default https://docs.sentry.io/platforms/javascript/guides/node/configuration/integrations/

I started having some bugs with the current Prisma version (issue on sentry-javascript repo)
I upgraded beyond v7, and it went fluently, in dev and production. Let me know if there's something more to do before merging !