github nextauthjs/next-auth v4.0.0-next.8

latest releases: next-auth@5.0.0-beta.22, @auth/azure-tables-adapter@1.5.3, @auth/d1-adapter@1.5.3...
pre-release3 years ago

4.0.0-next.8 (2021-06-09)

Features

BREAKING CHANGES

  • adapter: From now on, you will have to import your own adapter

Check out https://github.com/nextauthjs/adapters

The migration is super easy and has HUGE advantages for those not using TypeORM.

// [...nextauth].js
+ import TypeORMAdapter from "@next-auth/typeorm-legacy-adapter"
import NextAuth from "next-auth"

...
export default NextAuth({
-  database: "yourconnectionstring",
+ adapter: TypeORMAdapter("yourconnectionstring")
})

Don't miss a new next-auth release

NewReleases is sending notifications on new releases.