github nextauthjs/next-auth @auth/typeorm-adapter@1.0.0

latest releases: @auth/azure-tables-adapter@1.7.4, @auth/d1-adapter@1.7.4, @auth/dgraph-adapter@2.7.4...
17 months ago

Features

  • introduce @auth/typeorm-adapter (#7706)

Other

  • drop Legacy from naming everywhere

BREAKING CHANGES

  • If you are coming from the previous adapter, change your package.json:
-  "@next-auth/typeorm-legacy-adapter": "0.0.0",
+  "@auth/typeorm-adapter": "0.0.0",

And imports like so:

- import { TypeORMLegacyAdapter } from "@next-auth/typeorm-legacy-adapter"
+ import { TypeORMAdapter } from "@auth/typeorm-adapter"

And run npm install, yarn install or pnpm install respectively.

Note: This packages is published as ESM-only

Documentation is at https://authjs.dev/reference/adapter/typeorm

Don't miss a new next-auth release

NewReleases is sending notifications on new releases.