Important
Action required
- If you use
getTestInstancewithtestWith: "mysql", run a MySQL server at127.0.0.1:3306with therootpassword set toroot_password. (#12244)
better-auth
Bug Fixes
- Fixed "revoke all sessions" with
secondaryStorageandstoreSessionInDatabaseto also revoke sessions created while the revocation is running, except sessions created by asession.delete.afterhook, which stay active (#12259) - Fixed
getTestInstancefrombetter-auth/testto close its own Postgres connection pool and SQLite database when the test file finishes, while with Vitest's defaultsequence.hooks: "stack"yourafterAllhooks still run first and can keep using the instance (#12250) - Fixed
getTestInstancewithtestWith: "mysql"hanging, and added a separate database per instance so several instances can run in one test file (#12244)
For detailed changes, see CHANGELOG
@better-auth/core
Bug Fixes
- fix(core): accept introspected tokens when verifyOptions.typ is set (#12249)
For detailed changes, see CHANGELOG
Contributors
Thanks to everyone who contributed to this release:
Full changelog: v1.7.17...v1.7.18