V1.0 - nov.22

We are excited to announce the Better Auth V1.0 release.

What does V1 means?

Since introducing Better Auth, the community's excitement has been incredibly motivating—thank you!

V1 is an important milestone, but it simply means we believe you can use it in production and that we'll strive to keep the APIs stable until the next major version. However, we'll continue improving, adding new features, and fixing bugs at the same pace as before.

If you were using Better Auth for production, we recommend updating to V1 as soon as possible. There are some breaking changes, feel free to join us on Discord, and we'll gladly assist.

Install Latest

npm i better-auth@latest

Get the latest Node.js and npm.

Adopt the new Schema

pnpx @better-auth/cli migrate

Ensure you have the latest schema required by Better Auth.You can also add them manually. Read the Core Schema for full instructions.

Check out the change log, the new UI Builder, OpenAPI Docs, and more

We have some exciting new features and updates that you should check out.

Changelog

1.0.0

2024
  • feat: Open API Docs
  • docs: Sign In Box Builder
  • feat: default memory adapter. If no database is provided, it will use memory adapter
  • feat: New server only endpoints for Organization and Two Factor plugins
  • refactor: all core tables now have `createdAt` and `updatedAt` fields
  • refactor: accounts now store `expiresAt` for both refresh and access tokens
  • feat: Email OTP forget password flow
  • docs: NextAuth.js migration guide
  • feat: sensitive endpoints now check for fresh tokens
  • feat: two-factor now have different interface for redirect and callback
  • and a lot more bug fixes and improvements...