GitHub Actions
57f75c7839
chore(release): bump package version(s) [skip ci]
2023-09-07 15:59:48 +00:00
Jonas Strassel
e20eb5b583
feat: bump mongodb to v6 ( #8492 )
...
BREAKING CHANGE:
The required minimum version of `mongodb` has been bumped to v6, make sure to upgrade it in your project via `npm i mongodb@latest` or the equivalent
2023-09-07 17:54:16 +02:00
dependabot[bot]
2b6ad02bba
chore(deps-dev): bump mongodb from 4.7.0 to 4.17.0 ( #8461 )
...
Bumps [mongodb](https://github.com/mongodb/node-mongodb-native ) from 4.7.0 to 4.17.0.
- [Release notes](https://github.com/mongodb/node-mongodb-native/releases )
- [Changelog](https://github.com/mongodb/node-mongodb-native/blob/v4.17.0/HISTORY.md )
- [Commits](https://github.com/mongodb/node-mongodb-native/compare/v4.7.0...v4.17.0 )
---
updated-dependencies:
- dependency-name: mongodb
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-01 13:14:49 +01: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
c6b98a8f08
chore: gitignore generated .npmrc files
2023-08-09 00:03:10 +02:00
GitHub Actions
43deda5bfb
chore(release): bump package version(s) [skip ci]
2023-06-13 12:49:24 +00:00
Balázs Orbán
ab051162a7
chore: reset @auth/mongodb-adapter version
2023-06-13 13:02:19 +01:00
Balázs Orbán
87298a0150
feat: introduce @auth/mongodb-adapter ( #7790 )
...
Database adapters are not dependent on Next.js features, so it makes sense to republish them under the `@auth/*` scope.
This PR is part of a series to convert adapters, using `@auth/core` for types.
BREAKING CHANGE:
If you are coming from the previous adapter, change your `package.json`:
```diff
- "@next-auth/mongodb-adapter": "0.0.0",
+ "@auth/mongodb-adapter": "0.0.0",
```
And run `npm install`, `yarn install` or `pnpm install` respectively.
**Note:** This packages is published as ESM-only
2023-06-13 13:41:12 +02:00
GitHub Actions
0a57fea430
chore(release): bump package version(s) [skip ci]
2023-04-20 08:41:41 +00:00
Tim Schneider
51750e1a06
fix(adapters): correct peer dependency ( #7310 )
...
Typo in package.json
Missing | in package.json causing ETARGET and peer dependency errors
2023-04-20 09:23:30 +01:00
GitHub Actions
25388de027
chore(release): bump package version(s) [skip ci]
2023-04-18 17:45:29 +00:00
Lluis Agusti
1d9b9ba47c
docs(adapters): source content + overview ( #7023 )
...
* docs(adapters): source content + overview
* Apply suggestions from code review
* add adapter packages as docs dependencies
* clean up docusaurus config
* clean up database overview
* fix some links
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-21 18:26:52 +00:00
Balázs Orbán
b03378be7f
fix: correct links
2023-03-20 22:37:27 +01:00
Balázs Orbán
af415e9438
fix: correct link
2023-03-20 22:31:12 +01:00
Balázs Orbán
90eeeeab2f
docs: unify adapters ( #7013 )
...
* remove unmaintained changelogs
* move logos to docs
* unify readmes
* fix logo urls
2023-03-20 21:28:23 +00:00
Balázs Orbán
6bdb8af78d
fix(test): export _id function for tests
2023-03-20 21:39:44 +01:00
Balázs Orbán
874624dfbe
fix(ts): fix type
2023-03-16 02:58:17 +01:00
Lluis Agusti
1c104afef9
docs(fauna): move content to source ( #6919 )
...
* docs(fauna): move content to source
* chore: fix spelling
* Apply suggestions from code review
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-16 01:50:21 +00:00
Jonas Strassel
42d5899efd
fix(adapters): allow mongodb@5 as peer dependency ( #6938 )
2023-03-14 13:31:01 +01:00
Lluis Agusti
b24b02fe71
docs(mongodb): move content to source ( #6901 )
...
* docs(mongodb): move content to source
* chore: document options
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-09 11:22:54 +00:00
1337cookie
2e52a89c52
docs: fix links to moved docs ( #6196 )
2022-12-27 16:10:31 +01:00
Balázs Orbán
f9b75e0a39
chore: remove extra tsconfigs
2022-12-24 03:16:50 +01:00
Balázs Orbán
fdd5e2390d
chore: format
2022-12-23 14:42:37 +01:00
Nico Domino
0ea9ada3a9
chore(docs): remaining authjs.dev and repo clean up ( #6097 )
2022-12-22 18:04:52 +01:00
Thang Vu
777b7b2f23
chore(release): bump package version(s) [skip ci]
2022-10-09 22:52:53 +07:00
Balázs Orbán
6132c3fa75
fix(ts): match TS types better with implementation ( #4953 )
...
* refactor(ts): export `AdapterAccount` from `next-auth/adapters`
* chore: run linter, remove prisma warning
* fix(ts): match TS with implementation closer
* remove unused import
* rename error
* add missing dev dependency
* fix type
* fix type
* fix more types and tests
* remove unused `id`
* skip upstash tests in CI
* revert some changes
* fix type
* revert some change
* revert some change
* revert some change
* revert some changes
* update lock file
* revert line change
* revert some change
* improve adapter & oauth typing
* fix test, revert
* apply review suggestion
* Add test for new rejection logics
* Update assert.test.ts
* fix: Hubspot config
* restore some ts-expect-error
* fix: tests in mirko-orm
* fix: remove redundant id: string
* fix: use ts-expect-errors
* fix: simplify provider type
* fix: normalize user options
* restore ts-expect-errors
Co-authored-by: Thang Vu <hi@thvu.dev >
2022-10-09 21:54:01 +07:00
Balázs Orbán
ff3a52895b
chore(release): bump package version(s) [skip ci]
2022-09-25 09:42:51 +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
Anton Starikovich
14b4ed1d8a
feat(adapters): let user configure MongoDB database name ( #5290 )
...
* feat: added providing database name in options
* fix: added database name providing in readme
* Apply suggestions from code review
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-09-07 17:56:00 +02:00
Balázs Orbán
6590993fdc
chore(release): bump package version(s) [skip ci]
2022-07-21 16:35:03 +02:00
Balázs Orbán
c57d8c997e
fix(adapters): set correct peer dependency version of next-auth ( #4950 )
...
* fix(adapters): set correct peer dependency version of `next-auth`
* fix fauna peer dependency
2022-07-19 23:46:45 +02:00
Matthew Francis Brunetti
172813f987
docs(adapters): fix references to deprecated adapters repo ( #4737 )
2022-06-22 18:12: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
Thang Vu
6e28ccf84f
chore(adapters): Add next-autth as devDependencies for adapters ( #4226 )
...
* Upgrade turborepo, add next-auth as dev deps
* Fix TS error
* Update adapters.json
* ignore linting
2022-03-21 21:26:37 +01:00
Balázs Orbán
bf4916dd70
chore: manually bump versions
2022-03-17 19:24:08 +01:00
Balázs Orbán
4c0cc9e614
chore: manually bump package versions
...
since the last automatic release failed to do so
2022-03-17 18:38:20 +01:00
Thang Vu
68bab17914
fix: set module to commonjs for adapters ( #4205 )
...
* fix: set module to commonjs for adapters
* Update tsconfig.json
* Update tsconfig.json
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2022-03-17 13:36:25 +01:00
Balázs Orbán
05803ba36c
fix: deduplicate id, return correct updated data ( #4082 )
...
* chore: remove `:wip` suffix from scripts
* fix: deduplicate id, return updated data
* chore: revert change
* refactor: deduplicate `id` in `updateSession`
* chore(deps): upgrade to `mongo@4.4.0`
2022-03-01 01:40:27 +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