Thomas Large
715aad9474
chore: Add Next to peerDeps & bump to 12.2.5 in devDeps ( #5384 )
2022-09-24 13:39:07 +07:00
Jonas Strassel
902bf92a85
fix(mikro-orm): re-enable tests ( #5316 )
2022-09-21 23:36:23 +07:00
Dulmandakh
ba55f06585
chore(deps): bump cookie to 0.5.0 ( #5339 )
2022-09-14 18:31:00 +02:00
Balázs Orbán
8104cb1287
chore: fix builds/tests/eslint ( #4780 )
...
* chore(deps): upgrade `typescript`
* chore(ts): don't exclude test files in tsconfig
* test: expect error when overriding `NODE_ENV`
* chore: remove unused import
* format
* chore: use pnpm@7 in action
* chore: fix eslint
* chore: remove pnpm from engines
* chore: fix configs/builds
* fix: make eslint works
* Update pnpm-lock.yaml
* fix: build failure
* fix: add react to paths
* ignore upstash for now
* add eslintignore, add a bunch of tsconfig.eslint.json
* ignore mikro orm for now
* Delete tsconfig.eslint.json
* Update package.json
* Update pnpm-lock.yaml
* move eslint back to package.json
* move eslintrc.js out
Co-authored-by: Thang Vu <thvu@hey.com >
Co-authored-by: Thang Vu <thang.vu@binance.com >
2022-09-09 13:51:40 +02:00
Balázs Orbán
44aaa6f1c3
chore: turbo cleanup ( #4951 )
...
* clean up `package.json` files
* chore(ts): make sure `next-auth/next` does not conflict with `next`
* simplify `turbo.json`
* fix: apply suggestion
* simplify doc dev command
* ignore upstash redis again
* ignore mikro orm for now
* chore: dev command
* update lock file
* update css path for dev only
* Update apps/dev/package.json
Co-authored-by: Thang Vu <thvu@hey.com >
2022-09-08 16:43:16 +02:00
Balázs Orbán
e3bcdf83f1
chore: update lock file
2022-07-20 03:18:02 +02:00
Balázs Orbán
4084297334
chore(release): extract release script to its own package
2022-07-20 03:08:03 +02:00
Balázs Orbán
4ff836a8cf
test(providers): add fetch polyfill to redis test runs
2022-07-16 17:39:32 +02:00
Balázs Orbán
d9534d807d
chore: tweak release script
2022-07-13 13:59:45 +02:00
Balázs Orbán
2baa0c30c1
chore: bump turbo
2022-07-13 13:08:58 +02:00
Nico Domino
8f54b8f729
docs: upgrade docusaurus-plugin-npm2yarn2pnpm ( #4909 )
2022-07-12 16:52:21 +02:00
Chancellor Clark
5bd00f6ff1
feat(adapters): update Firebase adapter to use new API ( #3873 )
...
Ports and refactors `@next-auth/firebase-adapter` to use the new Adapter API. Ported from this PR: nextauthjs/adapters#183
BREAKING CHANGE:
- Renames `FirebaseAdapter` export to `FirestoreAdpater`
- This adapter now requires firebase v9+
2022-07-12 01:45:06 +02:00
Balázs Orbán
10bb32c479
chore(adapters): fix MikroORM adapter dependencies
2022-07-08 19:36:24 +02: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
9457593038
chore: update Next.js example, bump dependencies
2022-07-07 11:31:17 +02:00
Nico Domino
4d4c276627
docs: replace npm2yarn with npm2yarn2pnpm docusaurus plugin ( #4805 )
...
* feat: rm npm2yarn add npm2yarn2pnpm plugin
* fix: pnpm-lock.yaml
* chore: test change
* fix: update npm2yarn2pnpm usage
* fix: package.json mistake packages added
* fix: pnpm-lock.yaml
* fix: test debug output
* fix: named import npm2yarn2pnpm
* chore: rm debug:true
* fix: change require statement
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Update pnpm-lock.yaml
* Delete pnpm-lock.yaml
* add pnpm-lock.yaml
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-07-05 11:56:44 +02:00
Balázs Orbán
80a4f50be2
chore: upgrade Docusaurus ( #4782 )
2022-06-28 12:55:43 +02:00
Balázs Orbán
a911b4a40b
chore(deps): upgrade dependencies
2022-06-28 12:22:11 +02:00
Balázs Orbán
c194261617
fix(core): respect NEXTAUTH_SECRET in unstable_getServerSession ( #4774 )
...
* fix(core): respect `NEXTAUTH_SECRET` in `unstable_getServerSession`
* add `secret` tests
* add `@types/jest`
* fix tests
2022-06-27 17:00:08 +02:00
Balázs Orbán
99f5b9616f
fix: update Middleware ( #4757 )
...
* merge `main`, fix workspace dependencies
* chore(dev): use `matcher` in Middleware
* fix(middleware): support `cookies` as `Map`
* simplify
* chore(example): use new Middleware API
* chore(example): use `next-auth@latest`
* docs(middleware): document new Middleware API
* docs(ts): update inline example
* fix(ts): make cookies optional
* remove non-null assertion
2022-06-24 14:11:39 +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
Nico Domino
641d917175
chore: update test script and turborepo dependency ( #4490 )
...
Co-authored-by: Thang Vu <31528554+ThangHuuVu@users.noreply.github.com >
2022-05-07 13:35:46 +02:00
Nico Domino
0c86d5a370
chore(docs): rm sandpack - unused ( #4521 )
2022-05-07 00:18:00 +02:00
Nico Domino
714579e8d6
chore: update docs dependencies ( #4522 )
2022-05-07 00:01:02 +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