Skip to content

Latest commit

 

History

History
1605 lines (936 loc) · 63.5 KB

CHANGELOG.md

File metadata and controls

1605 lines (936 loc) · 63.5 KB

Changelog

v3.0.3

compare changes

📖 Documentation

  • Correct link of the used bcrypt pkg (48b76a3)

🌊 Types

  • Import NitroApp from nitropack/types (77d7020)

🏡 Chore

❤️ Contributors

v3.0.2

compare changes

🔥 Performance

  • Migrate from bcryptjs to bcrypt-edge (8e12b80)

🩹 Fixes

  • Avoid params sanitization on login redirection (72113e7)
  • Automatically revoke expired sessions (6be46b1)

🏡 Chore

  • release: V3.0.1 (5e510e7)
  • package.json: Update packageManager (c1d164c)
  • playground: Use memory storage with unstorage (f8458e3)

❤️ Contributors

v3.0.1

compare changes

🩹 Fixes

  • Avoid params sanitization on login redirection (72113e7)
  • Automatically revoke expired sessions (6be46b1)

❤️ Contributors

v3.0.0

compare changes

🚀 Enhancements

  • oauth: Allow adding custom query params on authorization request (#60)
  • Allow compatibility with nuxt v4 (8a73aa1)

🩹 Fixes

  • Correctly import from nitropack (eb8965d)

💅 Refactors

🏡 Chore

❤️ Contributors

v3.0.4-rc

compare changes

🏡 Chore

❤️ Contributors

v3.0.3-rc

compare changes

💅 Refactors

  • useAuthSession: Avoid access to private runtimeConfig (1b8a318)
  • No significant change (a27d601)

📖 Documentation

  • Migrate to vitepress (#56)
  • Fix typo (2180eec)
  • Fix selection of feature item (06dbe3e)

❤️ Contributors

v3.0.2-rc

compare changes

🩹 Fixes

  • Solve potential infinite redirections on Vercel (#54)
  • Prioritize guest middleware over global auth middleware (bde3091)

💅 Refactors

  • unstorage: Rename token to session (9d8f649)
  • config: Make registration.defaultRole optional (fb9013d)

📖 Documentation

❤️ Contributors

v3.0.1-rc

compare changes

🏡 Chore

❤️ Contributors

v3.0.0-rc

compare changes

vv3.0.0-beta.5

compare changes

🩹 Fixes

  • Allow overwriting adapter Source (#47)

💅 Refactors

  • Rename adapter Options to Source (5780b45)
  • ⚠️ Change event.context definition (#45)
  • ⚠️ Rename #auth to #auth_utils (d9d1bcc)
  • ⚠️ Change path of session endpoints (#48)
  • Add max length validation for email & name (ff5b4ad)

🌊 Types

  • Fix utils types & refactor (b8412df)
  • Rename #build/types/auth_adapter to #auth_adapter (#46)

⚠️ Breaking Changes

  • ⚠️ Change event.context definition (#45)
  • ⚠️ Rename #auth to #auth_utils (d9d1bcc)
  • ⚠️ Change path of session endpoints (#48)

❤️ Contributors

v3.0.0-beta.4

compare changes

🚀 Enhancements

  • Add Email action timeout (#43)

🔥 Performance

  • Skip refresh token verification when undefined (5bf7521)

🩹 Fixes

  • Reset requestedPasswordReset to false on login (1deca27)
  • Allow overwriting ID type (#44)

💅 Refactors

  • Code review (b5739ad)
  • Rename filename of #auth type definition (8b636a3)

📖 Documentation

  • Update JSDOC of composables (#42)

🏡 Chore

  • Change setup files location (a3c2514)

✅ Tests

❤️ Contributors

v3.0.0-beta.3

compare changes

🚀 Enhancements

  • Add auth:fetchError hook (ab89ac9)
  • Feat: add emailValidationRegex for email validation on registration (#37)
  • Add prisma adapter (#38)
  • Add unstorage adapter (#39)
  • Allow augmenting adapter types e.g User (916ab82)

🩹 Fixes

  • Disallow token refresh when account not verified (5672407)

💅 Refactors

  • Ensure auth refresh flow runs at the end (#36)

🌊 Types

  • Define types of route middlewares auth and guest (#35)
  • Add known oauth options for google and github (06b9f82)
  • Resolve provider from User (68a357f)

🏡 Chore

  • ⚠️ Do not convert createdAt updatedAt to Date on user state (82fc63c)
  • playground: Add adapter selection (580b821)
  • playground: Avoid editing runtime config (b48e24c)

⚠️ Breaking Changes

  • ⚠️ Do not convert createdAt updatedAt to Date on user state (82fc63c)

❤️ Contributors

v3.0.0-beta.2

compare changes

🚀 Enhancements

  • Add provider to access token payload (#34)

🔥 Performance

  • ⚠️ Avoid registration of server handlers when respective configuration missing (#33)

🩹 Fixes

  • Convert param id to number if possible (9a88165)
  • Assign role default on registration with credentials (65a9813)

💅 Refactors

  • ⚠️ Change server error messages (#32)

🌊 Types

  • Set accessToken.customClaims values to unknown (242be21)

🏡 Chore

  • playground: Pass prisma client to event context (56e8604)
  • Sync changelog (e474411)

✅ Tests

  • Add render user avatar test (ad503b1)
  • Add request password reset test (454ec0e)

⚠️ Breaking Changes

  • ⚠️ Avoid registration of server handlers when respective configuration missing (#33)
  • ⚠️ Change server error messages (#32)

❤️ Contributors

v3.0.0-beta.1

compare changes

🚀 Enhancements

  • ⚠️ Allow usage of custom data layer (#30)

🩹 Fixes

  • Avoid delete of non-existant refresh token (#31)

💅 Refactors

  • Change findUser to findUserById and findUserByEmail (7ce97d6)

🏡 Chore

  • Resolve import of nitro utils (8f98519)
  • playground: Change email provider to hook (028697f)

⚠️ Breaking Changes

  • ⚠️ Allow usage of custom data layer (#30)

❤️ Contributors

v3.0.0-beta

compare changes

📖 Documentation

🏡 Chore

  • lint: Migrate to @nuxt/eslint-config (67a2dcb)
  • lint: Fix issues (687a7b4)
  • Hide node deprecation warnings on build (3c7d27a)
  • ⚠️ Remove useAuthFetch (#24)
  • ⚠️ Remove internal prisma instantiation (#25)
  • ⚠️ Remove Custom email provider (#26)
  • playground: Remove deprecated config options (38c59b3)
  • ⚠️ Remove purge of expired sessions (#27)
  • ⚠️ Rename registration.enable to registration.enabled (#28)
  • ⚠️ Only except .html custom email templates (#29)
  • Change password reset and email verification token's secrets (9125a3f)
  • Resolve @typescript-eslint/ban-ts-comment overrides (bf0ab12)

✅ Tests

⚠️ Breaking Changes

  • ⚠️ Remove useAuthFetch (#24)
  • ⚠️ Remove internal prisma instantiation (#25)
  • ⚠️ Remove Custom email provider (#26)
  • ⚠️ Remove purge of expired sessions (#27)
  • ⚠️ Rename registration.enable to registration.enabled (#28)
  • ⚠️ Only except .html custom email templates (#29)

❤️ Contributors

v2.6.0

compare changes

🚀 Enhancements

  • Support adding custom email templates via relative path (#20)

🔥 Performance

  • Replace uuid with crypto.randomUUID (b045232)

🩹 Fixes

  • registration: Inform user when account not verified (#21)

💅 Refactors

📖 Documentation

  • Mention new starter (a8a4a47)
  • Remove Nuxt version specification (96fbae0)

❤️ Contributors

v2.5.1

compare changes

🔥 Performance

  • Replace mustache with lightweight internal utility (50041c3)
  • Minify default email templates (6f3f7e2)

🏡 Chore

  • playground: Use sqlite instead of mongo db (79b72c0)

❤️ Contributors

v2.5.0

compare changes

🚀 Enhancements

  • Support custom prisma client instantiation (#17)
  • Add Hook email provider (#18)

🏡 Chore

❤️ Contributors

v2.4.8

compare changes

💅 Refactors

  • No significant change (d802de6)
  • Better concurrent refresh handling (184a62e)
  • Replace process with import.meta (2070c8f)
  • Remove try...catch of flow plugin (92ab51e)
  • Better code readibility (ade5fd4)
  • Format import statements (ffb4428)
  • More refactoring (bef2094)

🌊 Types

🏡 Chore

  • playground: Remove user image (9ef9134)
  • Transpile mustache (a7738b2)

❤️ Contributors

v2.4.7

compare changes

🔥 Performance

  • Avoid extra refresh on oauth login fail (271bc9b)

🌊 Types

🏡 Chore

❤️ Contributors

v2.4.6

compare changes

🩹 Fixes

  • Auto-revoke active session if refresh fails (67cd505)

💅 Refactors

  • Only avoid auto-logout when page not found (390de02)
  • No significant change (57f20a9)

📖 Documentation

❤️ Contributors

v2.4.5

compare changes

🩹 Fixes

  • Avoid auto-logout on SSR error (921662e)

💅 Refactors

📖 Documentation

🏡 Chore

  • package.json: Set homepage property (1f98370)

❤️ Contributors

v2.4.3

compare changes

🔥 Performance

  • Generate default user avatar internally (984fa4d)

🩹 Fixes

  • Avoid useFetch call outside of script setup (22466e5)

📖 Documentation

  • Add more details and improve phrasing (#16)
  • Ensure style concistency (49db800)
  • No significant change (d300746)

🌊 Types

  • Fix undefined configKey auth (2ea4d74)

🏡 Chore

  • playground: No significant change (a919215)
  • Remove demo app (ebfdfc3)

❤️ Contributors

v2.4.2

compare changes

🏡 Chore

❤️ Contributors

v2.3.8

compare changes

💅 Refactors

  • Add backendEnabled and backendBaseUrl config options (da41425)
  • Always overwrite baseURL with backendBaseUrl (90285ad)
  • Set credentials to include for cross-site requests (adbe673)
  • Always provide refreshToken.cookieName config option (b8d02ef)

📖 Documentation

🌊 Types

  • Remove extra assertions (03723f0)
  • Exclude backendBaseUrl option if backend is enabled (88eed61)
  • Solve typecheck issues (d3d0eac)
  • Minor refactoring (6ce190a)

🏡 Chore

  • demo: Upgrade nuxt-auth to v2.3.7 (e9a776e)
  • playground: Allow cross site requests (d87d08e)
  • demo: Upgrade deps (c17e8ed)
  • docs: Upgrade non-major dependencies (3f80d07)

❤️ Contributors

v2.3.7

compare changes

🩹 Fixes

  • refresh: Wait until previous refresh call is completed (07afcf6)

💅 Refactors

  • refresh: Only pass cookies on SSR (a73b9df)

❤️ Contributors

v2.3.6

compare changes

🩹 Fixes

  • _onLogout: Clear user state after redirection (30d544d)

💅 Refactors

  • plugin: Implement new method for initialization check (cfe6ebb)
  • middleware: Replace user with access token to check logged in status (a1b8432)
  • No significant change (c1d1c52)
  • _loggedIn: Use computed value instead of get/set methods (d8dc8a2)
  • useAuthSession: Rename _loggedIn to _loggedInFlag (387c097)
  • _refresh: Remove extra _loggedInFlag set (96addfb)
  • Reload the page on logout (97acee8)
  • Use navigateTo instead of location.replace (a61db44)

🏡 Chore

  • demo: Upgrade nuxt-auth to v2.3.5 (12fe4d6)

❤️ Contributors

v2.3.5

compare changes

💅 Refactors

  • Specify auto-imported composables (00847bd)
  • Add expires_in to login & refresh response (7f5a57e)
  • No significant change (4f1f565)
  • Create useAuthToken to handle access token storage (cbd4508)
  • Change access token storage from cookie to memory (13c2b2b)
  • No significant change (9632308)
  • Remove unused accessTokenCookieName config option (e99fc73)

📖 Documentation

  • tokens: Remove accessTokenCookieName config option (9a29219)

🏡 Chore

  • playground: Remove accessTokenCookieName (b41732c)

❤️ Contributors

v2.3.4

compare changes

🌊 Types

  • getAllSessions: Fix return type (1fa06ed)

🏡 Chore

❤️ Contributors

v2.3.3

compare changes

🩹 Fixes

  • getAllSessions: Fix undefined ua property (d04aa37)

🏡 Chore

❤️ Contributors

v2.3.2

compare changes

🩹 Fixes

  • Sync login on multiple tabs (28c7c32)
  • Delete refresh token cookie on server-side refresh fail (7ae64bc)

💅 Refactors

  • Verify user state on _login _logout handlers (fa1b37f)
  • getAllSessions: Move formatting on server-side (017c830)
  • getAllSessions: Remove userId (d94e1fa)
  • getAllSessions: Move current session on top (809486e)

🏡 Chore

❤️ Contributors

v2.3.1

compare changes

🩹 Fixes

  • revoke session: Fix id parser (4529197)

🏡 Chore

❤️ Contributors

v2.3.0

compare changes

🚀 Enhancements

  • Add support for prisma accelerate on edge runtimes (15acf8b)

🔥 Performance

  • Limit selection on DB queries (eb8164d)
  • Fix bfcache failed (d588217)

🩹 Fixes

  • session revoke: Parse id to int when needed (ba7b3ef)

💅 Refactors

  • Add loggedInFlagName config option (011cf5f)

📖 Documentation

  • Update edge deployment section (4a77bb8)

🏡 Chore

  • demo: Upgrade deps (cc19286)
  • playground: Update sql schema (bf1a170)
  • demo: Upgrade deps (114068d)
  • demo: Update prisma generate command in prod (43491fd)
  • Set tag to latest (d4d55ed)

❤️ Contributors

v2.2.1

compare changes

🩹 Fixes

  • Make sure provider plugin is registered first (ba73ecf)

💅 Refactors

  • useAuthFetch: Minor refactoring (c40fcfb)
  • Remove path check on auth server middleware (45e9633)
  • composables: Use named export (095f689)
  • Create custom $fetch instance as alternative to useAuthFetch (38507b5)

📖 Documentation

  • Add useAuthFetch deprecation alert (1a8fa89)
  • Upgrade dependencies (503cbe3)

🌊 Types

  • useAuthFetch: Set return type the same as $fetch (b71bd79)
  • useAuth: Refactor and add missing return types (28de251)
  • useAuthSession: Refactor and add missing types (80b278d)
  • Ignore specific typechecks (123e30c)
  • accessToken: Set fingerprint as null instead of empty string (271c9f8)
  • refreshToken: Set userAgent as null instead of undefined (caf5f65)
  • Set $auth.fetch type the same as $fetch (d4cd4f1)
  • composables: Explicitly set return types (3dceb53)

🏡 Chore

  • lint: Ignore #imports not found (64f64b6)
  • lint: Check on release script (44a6b69)
  • Rename nuxt plugins (440e1db)
  • useAuthFetch: Mark as deprecated (5e131f5)

❤️ Contributors

v2.2.0

compare changes

🚀 Enhancements

  • Add fingerprint check on access token verification (6a9c604)

🔥 Performance

  • Avoid relying on useCookie for multi-tabs auto logout (7865639)
  • Avoid access token check on non API requests (e9b98e3)

💅 Refactors

  • useAuthSession: Replace useCookie with js-cookie (cc2ea24)
  • useAuth: Remove delay on login (ed7e39b)
  • Create client-only plugin for Broadcast channel (4d5050a)
  • Verify userAgent on token refresh (5495a8f)
  • refresh: Pass user-agent to API (cfe9bb6)
  • fetch: Pass user-agent to API (827cdf7)
  • Add event argument to verifyAccessToken and createAccessToken (1a2f6fc)
  • Create fingerprint server utility (6438610)
  • Always return json on API response (or redirect) (feeed74)
  • fingerprint: Use h3 built-in hash option (7dc51c6)
  • Minor refactoring (7fceab1)

🌊 Types

🏡 Chore

  • demo: Upgrade dependencies (42b4825)
  • demo: Sync lock (0c0f473)
  • demo: Upgrade nuxt to 3.8.2 (7b6fb55)
  • Set nuxt compatibility to 3.8.2 (50ff905)
  • demo: Set access token max age to 20 sec (cb174c9)
  • demo: Upgrade deps (4535cd7)
  • Set tag to latest (5712684)

❤️ Contributors

v2.1.0

compare changes

🚀 Enhancements

  • deps: Upgrade jose to v5 (0ff01d1)

🔥 Performance

  • Move default email templates to module setup (bbf875c)
  • login: Reduce timeout to zero (e775eb6)

🩹 Fixes

  • Auto logout when multiple tabs opened (eae8f4f)

💅 Refactors

  • Remove nuxt logo from default email templates (990ef5e)
  • Minor refactoring (7acadc5)
  • useAuth: Create _onlogin and _onLogout handlers (cefe150)
  • Avoid fetch on auto logout (c81edda)
  • configOptions: Add accessToken cookieName option (b1c267b)
  • login: Resolve after redirection (a7e7dec)
  • Watch access token cookie on mounted (1c853d8)

📖 Documentation

  • Change social card (24b2929)
  • Add cookieName to accessToken default config (c9d097f)

🏡 Chore

❤️ Contributors

v2.0.2

compare changes

📖 Documentation

🌊 Types

  • Add types for bcrypt and jwt server utilities (7f158c8)

🏡 Chore

❤️ Contributors

v2.0.1

compare changes

📖 Documentation

  • readme: Remove V2 from title (c974f0c)

🏡 Chore

❤️ Contributors

v2.1.1-rc

compare changes

🔥 Performance

  • Remove baseURL on internal $fetch (3ef64c9)

📖 Documentation

  • Update 4.email.md (fb7b2cb)
  • Remove domain should be 127.0.0.1 warning (b0e9e3e)

🏡 Chore

❤️ Contributors

v2.1.0-rc

compare changes

🚀 Enhancements

  • Add Resend email provider (b881cbc)

🩹 Fixes

  • handleError: Avoid returning server errors instead log them to console (560dffe)
  • handleError: Return all errors except for Prisma errors (8c48120)

💅 Refactors

  • Use �vent.context.auth to check authorization on internal protected endpoints (5adf8be)
  • Pass id as param on revoke single session endpoint (e441c46)

📖 Documentation

  • Add development domain should be 127.0.0.1 warning (eda21a9)
  • Add Resend configuration to email section (ae55731)

🏡 Chore

  • demo: Upgrade dependencies (dd722e9)
  • Fix ESlint issues (ea9a546)
  • playground: Set access token max age to 10 sec (d7915d7)
  • Upgrade dependencies (dd9d9ce)
  • playground: Add forms (560826a)
  • playground: Update config (b2d991e)
  • playground: Change baseUrl host to 127.0.0.1 (bc16f65)
  • Fix ESLint issues (df9b281)
  • playground: Switch email provider to Resend (68d72a6)
  • Set tag to latest (a253093)

❤️ Contributors

v2.0.5-rc

compare changes

🩹 Fixes

  • passwordReset: Allow only one password reset per password request (0309a64)

💅 Refactors

  • Remove unused server-side user utilities (4fbdbf0)

📖 Documentation

🏡 Chore

  • demo: Upgrade dependencies (47ba2b0)

❤️ Contributors

v2.0.4-rc

compare changes

💅 Refactors

  • generateAvatar: Select background color from predefined colors (70cacfc)
  • Remove extra �vent argument (6f54dc2)
  • useAuthSession: Prefix internal apis with underscore (c15013d)
  • defaults: Set access token default maxAge to 15 min (21d402a)

📖 Documentation

🌊 Types

  • Mark user state as read-only (402db04)

🏡 Chore

  • demo: Upgrade dependencies (3933115)

❤️ Contributors

v2.0.3-rc

compare changes

🩹 Fixes

  • Remove method from email custom config (ef99be2)

📖 Documentation

❤️ Contributors

v2.0.2-rc

compare changes

💅 Refactors

📖 Documentation

  • readme: Add installation section (aa713b7)

❤️ Contributors

v2.0.1-rc

compare changes

🔥 Performance

  • Register server handlers conditionally (dd789ab)
  • Use named imports (cb1ef03)

🩹 Fixes

  • Import prisma edge client on edge environments (support for cloudflare) (dbf14e5)
  • Detect edge env from nitro preset (bd2d48a)
  • Disable environment detection only on dev (b8f48a8)
  • handleError: Check if error exists (cbea95d)
  • Use default import from nodemailer (759cde1)
  • Assign default value to passwordValidationRegex (eca323e)
  • refresh: Remove request body (5af0fd4)
  • Exclude current session on delete all sessions (a3715f2)
  • Fix get accessToken on server side (eba964f)

💅 Refactors

  • Pass prisma instance via event context (support cloudflare) (9b3a612)
  • Retreive config object on event lifecycle (support for cloudflare) (508462c)
  • Move email default templates to event handlers (2bb43d9)
  • Always import getConfig from #auth (2be2471)
  • Replace logger with console on error handler (66b8e18)
  • Create #auth on setup scope (bcc4360)
  • Start setup with setting runtime config (5b4cee8)
  • Use relative import between server utils (13efb59)
  • handleError: Remove Prisma & JWT instance check (7907466)
  • sendEmail: Replace nodemailer with HTTP client (9e68078)
  • Change default password reset email template (87fd699)
  • Change default email verification template (2ef7b16)
  • Remove extra credentials include from fetch calls (21f46ab)
  • Refactor useAuthSession (55c5191)
  • Change fallback avatar properties (4f8cd31)
  • Replace useUser method with user reactive state (9d2d34d)
  • Expose auth session on event context (05df8ea)
  • Remove unused event arg from getConfig utility (623fb5d)

📖 Documentation

🌊 Types

  • Add prisma type to event context (426ef45)
  • Change auth type on event context (6aa738b)

🏡 Chore

  • Upgrade dependencies (d0ee118)
  • Upgrade prisma to latest (1209bd3)
  • Add edge tag (b34e444)
  • Add environment detection log (521b1a3)
  • Migrate from jsonwebtoken to jwt-simple (f544c81)
  • Set prisma as peer-dependency (a89fbc8)
  • Add cloudflare to edge supported presets (bd8b3a5)
  • Fix signRefreshToken call (24b5cf4)
  • Create demo app (175f8d4)
  • demo: Prepare first deployment (39acdfd)
  • demo: Add auth pages (1fa57b6)
  • demo: Trigger new deployment (31160b2)
  • Migrate from jwt-simple to jose (0758e11)
  • demo: Add login form (d31cf6e)
  • demo: Upgrade dependencies (e21ea5b)
  • demo: Add register form (47a6534)
  • demo: Add reset password form (7802e4d)
  • demo: Upgrade dependencies (80214c0)
  • demo: Upgrade dependencies (14bc652)
  • demo: Set prisma datasourceUrl (d66a4de)
  • demo: Upgrade to nuxt v3.7 (87f6cba)
  • demo: Disable SSR (97bdec1)
  • demo: Enable ssr (81d4196)
  • demo: Upgrade dependencies (29b3d27)
  • Remove logs (dd15758)
  • demo: Upgrade dependencies (254f326)
  • THE MODULE IS EDGE COMPATIBLE (4206c5c)
  • Strict nuxt compatibility to >=3.7 (498e176)
  • Remove test api route (c9f412e)
  • Set tag to latest (68049b9)

❤️ Contributors

v1.4.4

compare changes

🩹 Fixes

  • useAuthFetch: Remove logout when access token not found (a96e471)
  • Reset user state on fetchUser fail (83f3130)
  • Fix nuxt instance not available on SSR (fa336cb)

💅 Refactors

  • Implement same session handling from nuxt-directus (961670c)

📖 Documentation

🏡 Chore

  • Remove client-side session handling code (93e69b8)
  • Disable admin API by default (fab901a)
  • Rename middleware common.global to common (8732ff1)
  • release: V1.4.3 (a398950)
  • Use console.error to log errors (8bfd0ef)

❤️ Contributors

v1.4.3

compare changes

🩹 Fixes

  • useAuthFetch: Remove logout when access token not found (a96e471)

💅 Refactors

  • Implement same session handling from nuxt-directus (961670c)

📖 Documentation

🏡 Chore

  • Remove client-side session handling code (93e69b8)
  • Disable admin API by default (fab901a)
  • Rename middleware common.global to common (8732ff1)

❤️ Contributors

v1.4.2

compare changes

💅 Refactors

  • Return instead of <{}> on REST success (d40e227)
  • Use default import from @prisma/client (28fd331)

📖 Documentation

  • Replace serverless with edge (738c1d1)

🏡 Chore

❤️ Contributors

v1.4.1

compare changes

🩹 Fixes

  • oauth: Check name on oauth user fetch (ed65013)

💅 Refactors

  • Remove prisma validation errors from response (6c197ec)

🏡 Chore

❤️ Contributors

v1.4.0

compare changes

🚀 Enhancements

  • Add �uth:loggedIn hook (0903edf)

🔥 Performance

  • Disable SSR on callback page (2cfe78c)

🩹 Fixes

  • middleware: Replace redirect from.path to to.path in auth middleware (cbac1dd)
  • useAuth: Import useNuxtApp (2256a65)

📖 Documentation

  • readme: Add hooks section (4a63983)

🏡 Chore

❤️ Contributors

v1.3.5

compare changes

🏡 Chore

❤️ Contributors

v1.3.6

compare changes

v1.3.6

compare changes

🩹 Fixes

  • Fix useRoute not defined (d3263de)

🏡 Chore

❤️ Contributors

v1.3.4

compare changes

🩹 Fixes

  • Fix useRoute not defined (d3263de)

❤️ Contributors

v1.3.3

compare changes

🩹 Fixes

  • Remove DATABASE_URL env check (717c4b0)

📖 Documentation

  • readme: Add oauth redirect URI note (31e3681)

🏡 Chore

❤️ Contributors

v1.3.2

compare changes

💅 Refactors

  • Allow id fields to be string (cebe94b)

📖 Documentation

🌊 Types

  • Resolve id fields from Prisma schema (24a7bca)

🏡 Chore

  • Upgrade dependencies (de45f86)
  • Define prisma schema for Mongo DB (8a65f05)

❤️ Contributors

v1.3.1

compare changes

🩹 Fixes

  • logout: Deleted cache of fetched data on logout (e548110)

❤️ Contributors

  • Becem-gharbi

v1.3.0

compare changes

🚀 Enhancements

  • admin: Add admin API enable option (81a61e4)
  • redirect: On login required, return to previous page instead of home (25324ae)

💅 Refactors

  • Remove unused condition check (34b0715)
  • session: Remove accessToken cookieName config (84aee80)

📖 Documentation

  • Add JSDoc to composables (3637b34)
  • readme: Add serverless deployment feature (cb1c079)
  • readme: Add all module options to setup section (8e73c2c)
  • readme: Add notes (9be490b)
  • readme: Add explicit support to SQL db only (5871419)

🏡 Chore

❤️ Contributors

  • Becem-gharbi

v0.1.6

compare changes

🚀 Enhancements

  • session: Store access token in localStorage (166a58c)

🩹 Fixes

  • refresh: Set refresh token cookie after user check (162bb66)

💅 Refactors

  • Replace bcrypt with bcryptjs, fix Cloudflare build (ac355ba)

🏡 Chore

❤️ Contributors

  • Becem-gharbi

v0.1.5

compare changes

🩹 Fixes

  • Fix runtimeConfig related warnings (b308c73)

❤️ Contributors

  • Becem-gharbi

v0.1.4

compare changes

🩹 Fixes

  • Check if account suspended on refresh handler (3d1bd58)
  • Check if account suspended on oauth callback handler (9b35972)

📖 Documentation

  • Add Graphql client authorization section to README (e940c0d)
  • Display total downloads (a18128f)

❤️ Contributors

  • Becem-gharbi

v0.1.3

compare changes

💅 Refactors

  • Refactor logger messages (884a959)

📖 Documentation

❤️ Contributors

  • Becem-gharbi

v0.1.2

compare changes

🩹 Fixes

  • Check error before redirect on login (a57e56d)

💅 Refactors

  • Redirect to logout page before fetch, on logout (3075717)

❤️ Contributors

  • Becem-gharbi

v0.1.1

compare changes

🏡 Chore

  • Remove semantic-release & github workflow (eefbc9f)
  • Install changelogen (5293fac)

❤️ Contributors

  • Becem-gharbi