Balázs Orbán
35a72d2273
chore: update typedoc dependencies
2023-04-17 11:32:09 +02:00
Thang Vu
fa58065951
chore: move next-auth from v4 to main ( #7265 )
2023-04-15 17:02:46 +01:00
Balázs Orbán
6c07331cc5
chore: upgrade turbo
2023-04-06 12:58:10 +02:00
Balázs Orbán
93f3fcd1b7
chore: update TypeDoc
2023-03-21 19:38:50 +01:00
Balázs Orbán
8f6108f230
docs: fix Mermaid rendering, lock gatsby playground versions
2023-03-21 18:54:10 +01: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
Jonas Strassel
42d5899efd
fix(adapters): allow mongodb@5 as peer dependency ( #6938 )
2023-03-14 13:31:01 +01:00
Balázs Orbán
7f3b35593f
chore: tweak turbo config
2023-03-10 10:37:47 +01:00
Lluis Agusti
bce6b00c43
docs(dynamodb): move content to source ( #6903 )
...
* chore: wip
* chore: done
* chore: fix
* update lock file
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-03-09 11:33:53 +00:00
Balázs Orbán
1bbd5d51d1
chore: add adapters as docs dependencies
2023-03-09 12:24:00 +01:00
Balázs Orbán
e3f9b398f0
chore: add adapters to docs as dependencies
2023-03-09 12:00:19 +01:00
Balázs Orbán
ab13930020
chore: tweak turbo cache
2023-03-09 11:48:45 +01:00
OrJDev
3d7985fd6d
fix: multiple set-cookie headers ( #6749 )
...
* fix: multiple set-cookie headers
* fx
2023-02-17 19:08:41 +01:00
Jakob Norlin
fed0a67917
fix: compatibility with edge runtimes ( #6739 )
...
* Bump @panva/hkdf to v1.0.3
Fixes #6736
* Update to v1.0.4
v.1.0.3 failed to publish it seems
* update lockfile
---------
Co-authored-by: Balázs Orbán <info@balazsorban.com >
2023-02-17 11:24:17 +00:00
Thang Vu
28583b8ab0
feat: drop crypto dependency, convert to ESM ( #6603 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
BREAKING CHANGE:
- This package now only ships ESM, as all maintained Node.js versions have native support
- Dropped the `crypto` Node.js import in favor of `uuid`. When `globalThis.crypto` is the default in the future, we can remove `uuid` again
2023-02-05 14:44:33 +01:00
Wyatt Ades
4258857e52
feat(adapters): move to firebase-admin in Firebase Adapter ( #6225 )
...
Co-authored-by: Balázs Orbán <info@balazsorban.com >
fixes https://github.com/nextauthjs/next-auth/issues/5049
closes https://github.com/nextauthjs/next-auth/pull/6230
closes https://github.com/nextauthjs/next-auth/pull/5449
closes https://github.com/nextauthjs/next-auth/pull/5055
fixes https://github.com/nextauthjs/next-auth/issues/4927
BREAKING CHANGE:
The adapter now expects `firebase-admin` instead of the `firebase` package and also supports either passing a config object or a firestore instance.
2023-02-05 14:41:20 +01:00
Balázs Orbán
e9d8805609
docs: api reference restructure ( #6608 )
2023-02-04 15:39:12 +01:00
Balázs Orbán
3f89e668ec
fix(ts): mark options provider config option internal ( #6564 )
...
* chore(dev): use workspace modules in Svelte app
* fix(ts): mark `options` provider config option internal
2023-01-30 12:34:54 +00:00
Thang Vu
06e891c0ea
chore: cache output for @auth/sveltekit
2023-01-24 15:22:42 +07:00
Balázs Orbán
b21709db40
chore: update lock file
2023-01-24 02:26:49 +01:00
Thang Vu
87d9cc4244
feat: e2e tests ( #6380 )
...
* feat: e2e test init
* run e2e test on CI
* Add credentials to ci
* Update pnpm-lock.yaml
* move test to dev
* add dotenv
* remove in examples
* add e2e command
* revert
* add output cache for turbo e2e
* correct path for upload artifact
* Update release.yml
2023-01-18 19:43:50 +07:00
Thang Vu
866e42b343
chore: revert to latest dependencies for examples
2023-01-10 21:05:06 +07:00
Thang Vu
c441f681af
chore: don't use latest for examples dependencies
2023-01-10 13:37:51 +07:00
Balázs Orbán
d142252499
chore: update lock file, prettier config
2023-01-09 13:29:28 +01:00
Thang Vu
5a6f76bf2c
fix: docs build ( #6253 )
...
* fix: docs build
* chore: move next-auth output to dist
* chore: add next-auth as deps for doc
* Revert "chore: move next-auth output to dist"
This reverts commit 9596a9134e6de4f4bd8dcfaa6d3002e98863d8f8.
* remove dist prefix
2023-01-02 16:57:14 +07:00
Balázs Orbán
3120d28299
chore: update lockfile
2023-01-01 16:03:09 +01:00
Balázs Orbán
09a075cc7e
fix(core): loosen dependency version requirements
2022-12-31 12:05:23 +01:00
Balázs Orbán
f1475955ea
chore: solidstart -> solid-start
2022-12-31 11:53:29 +01:00
Balázs Orbán
ba87e86d47
chore: update lock file
2022-12-31 11:42:08 +01:00
Balázs Orbán
054288316b
chore(examples): rename solid-start to solidstart
2022-12-31 11:31:47 +01:00
OrJDev
287c8f0f91
feat(solid-start): introduce @auth/solid-start package/example ( #6158 )
...
* feat: add solid framework package and example
* solidstart docs
* Update 02-oauth-tutorial.mdx
* minor docs fixes
* Fix sidebar typo
* Update sync.yml
* Update sidebars.js
* minor fixes
* fix deps
* upgrade auth example
* Update root.tsx
* Update NavBar.tsx
* Update Protected.tsx
* protected
* move example
* Update sidebars.js
Co-authored-by: Balázs Orbán <info@balazsorban.com >
Co-authored-by: Nico Domino <yo@ndo.dev >
2022-12-31 10:15:31 +00:00
Balázs Orbán
b0ecf4e861
chore: update lockfile
2022-12-31 08:41:32 +01:00
Thang Vu
4aec142525
chore: split apps to dev, examples, playgrounds ( #6228 )
...
* chore: dev -> dev/nextjs
* chore: move to /examples
* chore: move to playgrounds, add dev/sveltekit
* Update sync.yml
* chore: dev scripts
2022-12-31 07:17:42 +00:00
Balázs Orbán
7be4461253
chore: don't minify output CSS
2022-12-25 05:58:43 +01:00
Balázs Orbán
c2e06dc445
chore: upgrade oauth4webapi
2022-12-25 05:58:08 +01:00
Balázs Orbán
4dd70a5f6f
fix(ts): enable strict type checking
2022-12-25 05:55:25 +01:00
Balázs Orbán
137d993a13
chore(dev): upgrade next
2022-12-24 17:15:35 +01:00
Balázs Orbán
7116248e87
chore: mark @auth/* as prereleases
2022-12-24 03:30:53 +01:00
Balázs Orbán
9d6f54539d
chore: simplify eslint linting
2022-12-24 03:10:03 +01:00
Balázs Orbán
e5c0e3513b
chore: upgrade monorepo-release package
2022-12-24 01:33:50 +01:00
Balázs Orbán
7fd799a9ac
chore: only lint with prettier
2022-12-23 15:00:13 +01:00
Balázs Orbán
d7fbd05eba
chore: update monorepo-release package
2022-12-23 06:52:57 +01:00
Balázs Orbán
39c78f27b5
fix(sveltekit): update to latest @auth/core, autogenerate API reference ( #6153 )
...
* docs(sveltekit): autogenerate API reference
* feat(sveltekit): update to use latest `@auth/core`
* chore: format
* chore: add auth packages as docs dependency
* chore: format
* chore: more formatting
* chore: don't run build before tests
2022-12-23 02:17:24 +00:00
Balázs Orbán
b179f15cf3
chore: tweak release config
2022-12-23 01:49:04 +01:00
Nico Domino
0ea9ada3a9
chore(docs): remaining authjs.dev and repo clean up ( #6097 )
2022-12-22 18:04:52 +01:00
Balázs Orbán
6c45abf383
feat(core): improved logging / renames / new exports ( #6085 )
...
- Cleans up logging. Logs are now color-coded, added more debug logs, and errors can include some simple metadata (like provider id) to know which provider caused an issue.
- All errors are exposed via `@auth/core/errors`. Each error has a URL like: https://errors.authjs.dev#errorcode in the terminal, which points to the documentation explaining the problem in detail, suggesting a fix.
- Added a bunch of documentation that autogenerates the pages under https://authjs.dev/reference/core/modules/main
- Renames `AuthHandler` to `Auth` and `AuthOptions` to `AuthConfig`
- Throwing an error in `signIn` callback will now be caught as a general error and will redirect to `/error?error=Configuration`. If the callback returns `false`, it will redirect to `/error?error=AccessDenied`.
2022-12-22 02:36:54 +00:00
Balázs Orbán
f7275c7527
chore: type updates
...
fix import
chore: more docs update
2022-12-19 04:03:03 +01:00
Balázs Orbán
e699ff14b8
docs: /reference sidebar improvements ( #6115 )
...
* wip
* 🤖 lazy commit
* 🤖 lazy commit
* revert some changes, remove prettier jsdoc plugin for now
* sidebar tweaks
* add adapter module docs
* remove provider docs
* embed all reflections under modules
Based on: https://github.com/TypeStrong/typedoc/issues/2006
Related: https://github.com/tgreyuk/typedoc-plugin-markdown/issues/338
* no trailing slash, update theme
* updates
* update snapshot
* update sidebar and overview
2022-12-19 01:00:06 +00:00
ndom91
43c8f663c6
Revert "fix: pnpm-lock.yaml"
...
This reverts commit b16b048991 .
2022-12-18 04:06:37 +01:00
ndom91
b16b048991
fix: pnpm-lock.yaml
2022-12-18 04:05:16 +01:00