chore(deps): upgrade better-auth from 1.3.12 to 1.4.18#3255
chore(deps): upgrade better-auth from 1.3.12 to 1.4.18#3255waleedlatif1 wants to merge 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.
| "@better-auth/sso": "1.4.18", | ||
| "@better-auth/stripe": "1.4.18", | ||
| "better-auth": "1.4.18" | ||
| } |
There was a problem hiding this comment.
Duplicate dependencies added to root monorepo package.json
Low Severity
better-auth, @better-auth/sso, and @better-auth/stripe were added as runtime dependencies in the root monorepo package.json, but they already exist in apps/sim/package.json. The root previously had no dependencies section at all — only devDependencies and overrides. This looks like the upgrade command was accidentally run from the repo root instead of from apps/sim/. Having these duplicated at both levels is unnecessary and inconsistent with the monorepo convention used by this project.
Additional Locations (1)
Greptile SummaryThis PR upgrades Key Changes:
Confidence Score: 5/5
Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[better-auth v1.3.12] -->|Upgrade| B[better-auth v1.4.18]
B --> C[API Rename: forgetPassword to requestPasswordReset]
B --> D[Callback Update: sendResetPassword parameter]
B --> E[Hook Migration: organizationCreation to organizationHooks]
B --> F[Bug Fix: oneTimeToken expiresIn units]
C --> G[Update route.ts]
C --> H[Update test files]
D --> I[Change request to ctx]
E --> J[Update afterCreate to afterCreateOrganization]
F --> K[86400 seconds to 1440 minutes]
Last reviewed commit: 248b513 |


Summary
auth.api.forgetPassword→auth.api.requestPasswordReset(breaking rename in 1.4)organizationCreation.afterCreate→organizationHooks.afterCreateOrganizationoneTimeTokenexpiresIn from 86400 (60 days) to 1440 (24 hours) — unit is minutes not secondssendResetPasswordcallback signature (request→ctx)Type of Change
Testing
Checklist