Balázs Orbán
9c6f81308c
chore: bump pnpm and typescript
2023-08-24 20:31:33 +02:00
Balázs Orbán
5dfec49ee8
chore: rename @next-auth/* packages to @auth/*
2023-08-24 11:18:04 +02:00
Balázs Orbán
d47b56743e
feat(adapters): Drizzle adapter ( #8258 )
...
Co-authored-by: Anthony Shew <anthonyshew@gmail.com >
2023-08-08 19:34:17 +02:00
Balázs Orbán
018b086c4f
chore: fix tests
2023-06-21 09:42:46 +02:00
Balázs Orbán
2ecf52c342
feat: introduce @auth/prisma-adapter ( #7703 )
...
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/prisma-adapter": "0.0.0",
+ "@auth/prisma-adapter": "0.0.0",
```
And run `npm install`, `yarn install` or `pnpm install` respectively.
**Note:** This packages is published as ESM-only.
2023-06-01 16:06:22 +02:00
Thang Vu
6f2cb460c9
feat: rewrite PouchDB Adapter ( #6745 )
...
BREAKING CHANGE:
Complete rewrite of the package. It is now published as ESM-only and written for `next-auth@4`. `next-auth@3` support is removed.
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-20 20:50:25 +00:00
Balázs Orbán
9d6f54539d
chore: simplify eslint linting
2022-12-24 03:10:03 +01:00
Balázs Orbán
88ad25a16b
feat(adapters): update typeorm support ( #4844 )
...
We haven't kept up with the recent TypeORM changes, and since they are still <1, it's likely that users kept upgrading, even if there were breaking changes.
BREAKING CHANGE:
[`typeorm`](https://github.com/typeorm/typeorm ) is still in active development and has not yet published a stable release. Because of this, you can expect breaking changes in minor versions. This release of the adapter expects `typeorm@0.3.7` and is not validated against previous or future releases.
Run `npm i typeorm@latest` and make sure to read the [release notes](https://github.com/typeorm/typeorm/releases ) for breaking changes in TypeORM
2022-07-08 19:26:59 +02:00
Balázs Orbán
2469e44572
feat: allow standard Request in NextAuthHandler ( #4704 )
...
* chore: upgrade dev dependencies
* chore: use SWC for test transforms
* feat: allow standard `Request` as `NextAuthHandler` argument
* test: add initial core tests
* chore: ignore `tests` in build
* chore: fix lint
* chore: move `lib` to `utils`
* add body parsing, simplify
* fix tests
* chore: use `NPM_TOKEN_PKG` for experimental release
2022-06-14 12:25:07 +02:00
Thang Vu
4f29d39521
chore: move to pnpm ( #4420 )
...
* feat: pnpm
* Update publish script
* gitignore the pnpm debug log
* Fix workspace
* Fix dev commands
* feat: pnpm
* Update publish script
* gitignore the pnpm debug log
* Fix workspace
* Fix dev commands
* chore: fix pnpm install in GitHub Action
* fix: update tsconfig path
* pnpm run -> pnpm
* chore: remove cache-node and add back setup-node
* fix: tsconfig dependencies
* chore: fix tsconfig path
* fix: adapter-test dependencies
* fix: setup-node for release-pr
* fix: import adapter-test
* chore: update workspace dependency for next-auth
* fix: test failure
* fix: add jest for adapters
* fix: jest again
* fix: mongo in prisma
* fix: `--no-git-checks` for `release-pr`
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-05-03 15:05:55 +02:00
Balázs Orbán
9a86bd38cf
chore: disable coverage, fix dynamodb jest config
2022-02-28 00:50:42 +01:00
Nico Domino
dc3ad8c408
chore: move adapters to monorepo ( #3805 )
...
* feat: move adapters repo to new packages dir
* fix: rm docusaurus build dir
* fix: update .gitignore
* fix: reorganise package directories
* remove package lock files
* fix: folder rename
* remove package lock file
* fix: jest config paths
* update yarn.lock
* ignore dynamodb local bin
* fix: gitignore
* fix: update adapter-test
* change adapter-test package json
* rename prisma adapter package name
* fix paths
* update gitignore
* run tests with one concurrency
* fix: merge conflicts
* gitignore dist folders
* fix: add jest.config.js to tsconfig ignore
* fix: yarn.lock
* fix: ignore pouch in turbo commands
* ignore jest file
* fix: test turbo test cmd
* fix: turbo test cmd
* test: disable mongodb-adapter temporarily
* ignore all dev.db files
* simplify gitignore
* remove unused dependency
* have tsconfig in its own package
* remove unnecessary .gitignore files
* move jest config to preset
* add ts expect error comment
* chore: update .gitignore
* remove babelrc
* don't depend on build for testing in turbo
* fix: cleanup testing npm scripts
* fix: remove jest-config roots
* fix: add fauna jest preset
* fix: rm dev.db from prisma mirgation
* fix prisma
* remove nohoist
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-02-04 22:40:32 +01:00