Skip to content

Commit 0233c3a

Browse files
fix: resolve Sentry version conflicts and import-in-the-middle error (calcom#23551)
- Upgrade API v2 Sentry packages from v8.x to v9.15.0 to match web/API v1 - Add yarn resolution for import-in-the-middle to prevent version conflicts - Standardize Sentry versions across the monorepo Fixes import-in-the-middle package version mismatch error: - Project was using 1.11.2 while Sentry v9.x requires 1.13.1 - Root cause: API v2 used Sentry v8.x while other apps used v9.x - Solution: Upgrade all Sentry packages to v9.15.0 and force single import-in-the-middle version Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
1 parent 71a2b69 commit 0233c3a

3 files changed

Lines changed: 156 additions & 1131 deletions

File tree

apps/api/v2/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,9 @@
5555
"@nestjs/platform-express": "^10.0.0",
5656
"@nestjs/swagger": "^7.3.0",
5757
"@nestjs/throttler": "6.2.1",
58-
"@sentry/nestjs": "^8.37.1",
59-
"@sentry/node": "^8.8.0",
60-
"@sentry/profiling-node": "^8.37.1",
58+
"@sentry/nestjs": "^9.15.0",
59+
"@sentry/node": "^9.15.0",
60+
"@sentry/profiling-node": "^9.15.0",
6161
"@snyk/protect": "latest",
6262
"body-parser": "^1.20.2",
6363
"bull": "^4.12.4",

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,8 @@
137137
"dayjs@^1": "patch:dayjs@npm%3A1.11.4#./.yarn/patches/dayjs-npm-1.11.4-97921cd375.patch",
138138
"dayjs@^1.8.29": "patch:dayjs@npm%3A1.11.4#./.yarn/patches/dayjs-npm-1.11.4-97921cd375.patch",
139139
"@prisma/client@^5.4.2": "patch:@prisma/client@npm%3A5.4.2#./.yarn/patches/@prisma-client-npm-5.4.2-fca489b2dc.patch",
140-
"@prisma/client@5.4.2": "patch:@prisma/client@npm%3A5.4.2#./.yarn/patches/@prisma-client-npm-5.4.2-fca489b2dc.patch"
140+
"@prisma/client@5.4.2": "patch:@prisma/client@npm%3A5.4.2#./.yarn/patches/@prisma-client-npm-5.4.2-fca489b2dc.patch",
141+
"import-in-the-middle": "1.13.1"
141142
},
142143
"lint-staged": {
143144
"(apps|packages)/**/*.{js,ts,jsx,tsx}": [

0 commit comments

Comments
 (0)