Upgrade dependencies: Vitest 5, kysely 0.29, Sentry 11, recharts 3, TanStack Table 9 and more #64
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
ckreidl/nuxx.lol!64
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/dependency-upgrades"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
Dependency upgrade pass across the monorepo, one commit per library so each can be reviewed (or reverted) on its own.
c5baebe@tanstack/devtools-vite0.8,@tanstack/react-devtools0.10818bba9@vitest/*5, jsdom 30,@testing-library/jest-dom7dd1f6a4Migrator/FileMigrationProvidernow fromkysely/migration; cast the Neon pool toPostgresPoold403a9c@sentry/node,@sentry/react,@sentry/vite-plugin11dataCollection(see below)d5e0a0bchart.tsxrecharts-3 typings; chain timelinelabelFormatter; armor scatteronClickb84230460263ab@tanstack/react-table9useReactTable→useTablewith explicittableFeaturesb46f2ba3a9f01ctableclassNames key (v9 never applied it)f309a16@vitejs/plugin-react6, rollup-plugin-visualizer 7,@types/node26Things worth a review
sendDefaultPiiwithdataCollection, and when it is unset it now collects cookies, HTTP bodies, user info/IP, DB query data, etc. Both client and server init setdataCollectionexplicitly to keep v10 behavior (headers and query params still collected with the SDK's built-in sensitive-value scrubbing; everything else off). Without this, login request bodies containing Torn API keys and the session cookie would be sent to Sentry.attachStacktracenow defaults totrue(may change issue grouping), span attribute/op names were renamed (dashboards/alerts filtering on old names need updating), and web vitals are reported per soft navigation.packages/database/src/client.ts): kysely 0.29 typespool.Client, which Neon declares withconnect(): Promise<void>. Kysely only uses it for a query-cancellation control connection and ignoresconnect()'s result, so it is compatible at runtime. Neon 1.2.0 is already the latest.sortFns/filterFnsregistries are registered because v9's"auto"only resolves registered functions; this preserves v8's per-type detection. Unused faceting row models were dropped, as wasdata-state={row.getIsSelected()}on the chain table (selection was never enabled).0value instead of hiding it; lucide icons render witharia-hiddenby default.Intentionally not upgraded
@tanstack/react-router/@tanstack/react-start: pinned (see1fea726). Newer releases removeuseSessionand renameinputValidator; the session migration changes the cookie format and gets its own PR.@opentelemetry/api1.10 and OTel SDK 3.x: need to move together.oxlint-tsgolint7: separate effort.arkenv1.0: still a release candidate.undici8: never imported directly; the direct dep only hoists the 7.x that dotenvx and shadcn require.Test plan
bun run typecheck(all workspaces)bun lint(no errors; warnings 79 → 77)bun format:checkbun run test:run(all workspaces; web 257/257)bun run build, includingdist/stats.htmlbun run db:migrateagainst a dev database (kysely/migrationimport, Neon pool)bun run db:generate-typeswith kysely-codegen 0.20; reviewpackages/database/src/types.tsdiff🤖 Generated with Claude Code
Summary by CodeRabbit
The latest updates on your projects. Learn more about Vercel for GitHub.
9416c862-9531-4c0e-9f02-10b249f6a189Reviewing files that changed from the base of the PR and between
f77a328052andf309a16618.bun.lockis excluded by!**/*.lockapps/bot/package.jsonapps/web/package.jsonapps/web/src/components/ui/calendar.tsxapps/web/src/components/ui/chart.tsxapps/web/src/lib/sentry.server.tsapps/web/src/lib/sentry.tsapps/web/src/routes/_authed/chain/-lib/columns.tsxapps/web/src/routes/_authed/chain/-lib/datatable.tsxapps/web/src/routes/_authed/chain/stats/-components/timeline-tab.tsxapps/web/src/routes/_authed/rankedwar/dashboard/-components/data-table.tsxapps/web/src/routes/_authed/rankedwar/dashboard/-lib/columns.tsxapps/web/src/routes/_authed/rankedwar/dashboard/-lib/table-features.tsapps/web/src/routes/_authed/rankedwar/dashboard/index.tsxapps/web/src/routes/_authed/shopping/armor/index.tsxapps/worker/package.jsonpackages/database/package.jsonpackages/database/scripts/migrate.tspackages/database/src/client.tspackages/shared/package.jsonpackages/torn-services/package.jsonIncluded review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.
Walkthrough
The changes update Kysely, TanStack Table, Recharts, Sentry, and other dependency ranges. They adapt database, table, and chart integrations, adjust chart and calendar behavior, and add data collection settings to both Sentry initializations.
Changes: Kysely upgrade
apps/bot/package.json,apps/worker/package.json,packages/database/package.json,packages/shared/package.json,packages/torn-services/package.json^0.29.7in the listed packages.kysely-codegenchanges to^0.20.0inpackages/database.packages/database/scripts/migrate.ts,packages/database/src/client.tskysely/migration. The Neon pool is cast to Kysely’sPostgresPooltype when it is passed toPostgresDialect.TanStack Table API updates
apps/web/package.json,apps/web/src/routes/_authed/chain/-lib/*^9.3.1. The chain table uses a feature registry with sorting and column visibility, updates its types and table setup, and removes the row’s selected-state data attribute.apps/web/src/routes/_authed/rankedwar/dashboard/-lib/*,apps/web/src/routes/_authed/rankedwar/dashboard/-components/data-table.tsx,apps/web/src/routes/_authed/rankedwar/dashboard/index.tsxuseTablewith that configuration, and its table and column types are updated.Web visualization updates
apps/web/package.json,apps/web/src/components/ui/chart.tsx^3.10.1and updates to other application and development dependencies.ChartContaineraccepts initial dimensions. Tooltip and legend props use Recharts default content types, and tooltip values render when non-null, with locale formatting for numbers.apps/web/src/routes/_authed/chain/stats/-components/timeline-tab.tsx,apps/web/src/routes/_authed/shopping/armor/index.tsx,apps/web/src/components/ui/calendar.tsxgoToItemMarket. The calendar’s table class override is removed.Sentry data collection settings
apps/web/package.json,apps/web/src/lib/sentry.ts,apps/web/src/lib/sentry.server.tsEstimated code review effort: 3 (Moderate) | ~25 minutes
A rabbit checks the charts at dawn
Zero values now stay on
Tables sort and filters flow
New package versions take their row
Sentry keeps the listed data low
The rabbit hops through updates slow
Comment
@coderabbitai helpto get the list of available commands.Review the following changes in direct dependencies. Learn more about Socket for GitHub.
Security
View full report