feat: upgrade... everything #389
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Just upgrade many, many dependencies...
The only thing I haven't updated is
@types/node.Major changes
Use caret ranges for package versions
Update Next.js to fix CVE-2025-66478.
My server was attacked, but fortunately no damage was caused.
Upgrade Prisma to v7 and use
prisma-clientinstead ofprisma-client-js.The biggest advantage is that you no longer need to use an engine written in Rust. Previously, I had to specify
binaryTargetsto deploy correctly on the server because my server's performance did not support building on it, and my local environment was different from the server's (my local environment was Arch Linux, corresponding todebian-openssl-3.0.x, but the server was Fedora, corresponding torhel-openssl-3.0.x).Upgrade better-auth
The passkey plugin was split to a separate package
@better-auth/passkey.Configure prettier
Otherwise, Prettier and ESLint will fight each other.