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