Repository navigation
chore(deps): update dependency better-auth to v1.7.28 - #113
Merged
Merged
Conversation
renovate
Bot
force-pushed
the
renovate/better-auth-1.x
branch
from
November 28, 2026 04:56
47bbe97 to
4865208
Compare
Better Auth 1.7.28 draws one more random value on the email-OTP sign-in path, so every seeded ID after it shifts by one draw. Only ID values change in the snapshots; the structure and the OTP email are unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
# Conflicts: # pnpm-lock.yaml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
This PR contains the following updates:
1.7.27→1.7.28Release Notes
better-auth/better-auth (better-auth)
v1.7.28Compare Source
Patch Changes
#12806
47a77c0Thanks @bytaesu! - Revoked sessions are now removed from secondary storage even when a databaseafterhook throws during password reset or user deletion. Before, they could stay valid until they expired.#12858
7e229f0Thanks @bytaesu! - Deleting a user no longer reports success when a database read fails, auser.delete.beforehook vetoes the delete, or the database skips it without an error. A failed read now surfaces as an error. A veto or a skipped delete answersFAILED_TO_DELETE_USERand keeps the user's sessions and accounts, on databases with transactions for a skipped delete.user.delete.beforenow runs before the session and account deletes.#12853
2ba7622Thanks @bytaesu! - Fix/device/codereturning a 500 on a user or device code collision with the Drizzle adapter. The collision is now retried with a new code, as with the other adapters.#12893
a3a9d2dThanks @bytaesu! - When two email OTP requests for the same address collide on a database with a uniqueverification.identifier, both emails now carry the same code when it can be read back. Before, the code in one of the emails was rejected as invalid.#12893
a3a9d2dThanks @bytaesu! - Sending a new email OTP now replaces the earlier code for that address instead of keeping it. Before, a code resent after a wrong guess, or in the same millisecond as another send, could be refused while the earlier code still worked.#12893
a3a9d2dThanks @bytaesu! - Sending a new phone number OTP now replaces the earlier code for that number instead of keeping it, so a code sent while another one is being checked stays valid.#12893
a3a9d2dThanks @bytaesu! - Verifying a phone number that no user has, withoutsignUpOnVerification, now returns a 400PHONE_NUMBER_NOT_EXISTerror instead of a 500.#12858
7e229f0Thanks @bytaesu! -/revoke-sessionand/admin/revoke-user-sessionno longer report success when the session survives, such as when asession.delete.beforehook vetoes the delete or the database read before the delete fails.#12858
7e229f0Thanks @bytaesu! - Revoking all of a user's sessions now fails whensecondaryStoragecannot clean up the cached sessions, after the remaining delete hooks have run. Previously the call reported success, and the cached sessions could keep working until they expired.#12858
7e229f0Thanks @bytaesu! - A session cached insecondaryStoragewithout its user no longer breaksgetSession. The user is now read from the database, wheregetSessionpreviously failed for every request until the cached session expired.#12907
d079059Thanks @gustavovalverde! -generateBackupCodesrefreshes store-backed sessions before checking whether two-factor authentication is enabled. A session cached before enrollment can now generate backup codes, and a revoked session is rejected even while its cookie is still cached.#12860
3011e5cThanks @bytaesu! - Theusernameplugin now checks usernames on/update-useragainst the session the endpoint resolved, so re-sending your own username with a bearer token no longer fails as already taken. Signed-out/update-usercalls with a taken username now return 401 like other signed-out calls.Updated dependencies [
47a77c0,7e229f0,35df753,ddec4d7,7e229f0,a879d3d]:Configuration
📅 Schedule: (in timezone America/Los_Angeles)
* * * * 4)🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.