nuxt-auth is an authentication package for Nuxt 3. It provides oauth sign-in, credential sign-in and magic-email sign-in flows. Read more: https://sidebase.io/nuxt-auth/getting-started
This is a minor release 0.4.0
because it:
- makes next-auth a peer dependency
- bumps nuxt to 3.1
- starts the switch from
NextAuthHandler
AuthHandler
In addition, this release includes a bunch of features & fixes š
šØ Breaking Changes
next-auth
is a peer-dependency now, so with package managers other than npm
you need to manually install it. So, to use the new version:
# install the new release of `nuxt-auth`
npm i -D @sidebase/nuxt-auth@0.4.0
# install `next-auth` as a peer-dependency
npm i next-auth@4.18.8
See the full docs here: https://sidebase.io/nuxt-auth/getting-started
What's Changed
š Enhancements
- feat: Make next-auth peer dep by @BracketJohn in #179
- feat: relax next auth requirements by @BracketJohn in #192
- feat: add the
defaultProvider
option by @IronicUsername in #164
𩹠Fixes & Chores
- fix: use
route.matched
to determine if 404 was hit by @BracketJohn in #201 - fix: #200 Refresh Token Rotation by @vanling @ayalon in #215
- fix: use
route.matched
to determine if 404 was hit by @BracketJohn in #201 - fix(getServerSession): avoid infinite middleware stack by @harlan-zw in #188
- fix: stub nitro plugin due to nuxt 3 upstream error by @BracketJohn in #191
- fix: all "nuxt instance is undefined" problems @BracketJohn in #190
- chore: bump next-auth to 4.18.8 by @BracketJohn in #181
- chore(deps-dev): bump eslint from 8.31.0 to 8.32.0 by @dependabot in #163
- chore: upgrade major nuxt dep to 3.1, fix related ts issues by @BracketJohn in #189
- chore: use string path to module by @danielroe in #198
- chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 by @dependabot in #196
- chore(deps): bump nitropack from 2.1.0 to 2.1.1 by @dependabot in #211
- chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 by @dependabot in #196
- release 0.4.0 by @BracketJohn in #182
š Documentation
- Fixed Docs Layout by @zoey-kaiser in #216
- Update 2.nuxt-config.md by @rannien in #208
- Fixed Discord invite link in Readme by @zoey-kaiser in #193
All Commits
- chore(deps-dev): bump eslint from 8.31.0 to 8.32.0 by @dependabot in #163
- Add
defaultProvider
by @IronicUsername in #164 - feat: use
nuxt-auth
and notnext-auth
as cookie name by @BracketJohn in #176 - Make next-auth peer dep by @BracketJohn in #179
- Revert "feat: use
nuxt-auth
and notnext-auth
as cookie name" by @BracketJohn in #180 - chore: bump next-auth to 4.18.8 by @BracketJohn in #181
- chore: upgrade major nuxt dep to 3.1, fix related ts issues by @BracketJohn in #189
- fix(getServerSession): avoid infinite middleware stack by @harlan-zw in #188
- fix: stub nitro plugin due to nuxt 3 upstream error by @BracketJohn in #191
- fix: replace all async composable calls with callWithNuxt calls by @BracketJohn in #190
- Fixed Discord invite link in Readme by @zoey-kaiser in #193
- chore: use string path to module by @danielroe in #198
- feat: relax next auth requirements by @BracketJohn in #192
- chore(deps-dev): bump eslint from 8.32.0 to 8.33.0 by @dependabot in #196
- fix: use
route.matched
to determine if 404 was hit by @BracketJohn in #201 - Fixed Docs Layout by @zoey-kaiser in #216
- Update 2.nuxt-config.md by @rannien in #208
- chore(deps): bump nitropack from 2.1.0 to 2.1.1 by @dependabot in #211
- #200 Refresh Token Rotation does not update cookie if called server s⦠by @vanling in #215
- Release 0.4.0 by @BracketJohn in #182
New Contributors
- @IronicUsername made their first contribution in #164
- @harlan-zw made their first contribution in #188
- @danielroe made their first contribution in #198
- @rannien made their first contribution in #208
- @vanling made their first contribution in #215
Full Changelog: 0.3.4...0.4.0