- Upgrade
@directus/sdk
to v18 (fd94381)
- auth: Fix failed token refresh on SSR (Cookie mode) (b533837)
- lint: Fix (3638f81)
- Becem-gharbi [email protected]
- auth: Avoid params sanitization on login redirection (8ec53b0)
- directus: Upgrade to latest (4cfb731)
- Allow compatibility with
nuxt
v4 (238bb49) - playground: Run on
nuxt
4 (152685c)
- Becem-gharbi [email protected]
- Remove encoding of
redirect
query param (b22c44c)
- Assing names for built-in plugins (#86)
- Add directus
.db
to gitignore (29a3327) - playground: Fix
import.meta
not allowed (a56dd56) - Add directus .db to gitignore (3ab82f2)
- No significant change (350f9d7)
- Becem [email protected]
- Becem-gharbi [email protected]
- Solve potential infinite redirections on Vercel (c33edf3)
- Prioritize
guest
middleware over globalauth
middleware` (dda5b72)
- Set PageMeta
middleware
type forauth
andguest
(67572b6)
- Commit directus db (d653370)
- Becem-gharbi [email protected]
- Change
refreshTimeout
scope (18132b8)
- lint: Migrate to
@nuxt/eslint
(9062618) - Add directus server (1237e2d)
- playground: Rewrite with multi-pages (67732e7)
- Split test scripts (5b068cf)
- Install playwright (40e5138)
- Add basic tests (0248f73)
- Add auth session mode testing (b997d80)
- Set exact token timeout (d8c26d7)
- Becem-gharbi [email protected]
- Becem [email protected]
- useDirectusRest: Set unset
DirectusSchema
type toany
#84 (#84)
- Becem-gharbi [email protected]
- Upgrade
@directus/sdk
to v16 (2f1a01d)
- Becem-gharbi [email protected]
- Move nuxt-apollo from dev deps (9598eed)
- Becem-gharbi [email protected]
- auth: Support session mode (#81)
- Fix issues (8d38b7a)
- Becem-gharbi [email protected]
- Becem [email protected]
- Disable auto import (be260b3)
- Becem-gharbi [email protected]
- auth: Avoid auto-logout when page not found (#79)
- auth: No significant change (41fbc4c)
- auth: Remove extra token check (c9fa3c7)
- No significant change (d4fb37e)
- deps-dev: Bump undici from 5.28.2 to 5.28.3 in /playground (37d6034)
- deps-dev: Bump ip from 2.0.0 to 2.0.1 in /playground (881387a)
- Refresh lockfile (663f891)
- playground: Remove register page link (b84a9f9)
- playground: Remove unused deps (cd93cd9)
- playground: Add missing config options (dc0e172)
- Becem-gharbi [email protected]
- Becem [email protected]
- Fix failed to find "useDirectusSession" (93dcc98)
- Becem-gharbi [email protected]
- Upgrade
@directus/sdk
to v15 (05fef5f)
- Avoid auto-import of
useDirectusAuth
useDirectusSession
ifauth
disabled (416b483)
- Solve typecheck issues (b413f15)
- Becem-gharbi [email protected]
- auth: Solve failed refresh on Cloudflare workers (613f831)
- Becem-gharbi [email protected]
- Use
$fetch
instead offetch
(b4c5870)
- Becem-gharbi [email protected]
- refresh: Wait until previous refresh call is completed (27f0631)
- refresh: Only pass cookies on SSR (612c6fd)
- Becem-gharbi [email protected]
- Replace _loggedIn with _loggedInFlag (32b3014)
- No significant change (e31c039)
- auth plugin: Implement new method for initialization check (c46979e)
- middleware: Replace user with access token to check logged in status (dcd7769)
- Move memory-storage utility to useDirectusToken source file (3b89ce0)
- No significant change (56448ae)
- Becem-gharbi [email protected]
- composables: Create
useDirectusToken
(95c617b) - accessToken: Migrate from cookie storage to in-memory storage (71b9c4f)
- Minor refactoring (fd5c5aa)
- Exclude
useDirectusToken
from auto-import (6a07b0f) - Reload window when logged in from other tab (49c19d9)
- Remove
accessTokenCookieName
config option (c8eda58)
- Remove outdated design folder (e0b57cf)
- Becem-gharbi [email protected]
- Sync login on multiple tabs (d69cf01)
- Delete refresh token cookie on server-side refresh fail (12f87bf)
- refresh: Fix undefined setCookie (a7e14a5)
- Verify user state on
_login
_logout
handlers (939fee6) - useDirectusSession: Minor refactoring (8141262)
- Becem-gharbi [email protected]
- Fix bfcache failed warning (b565f58)
- Becem-gharbi [email protected]
- Avoid relying on useCookie for multi-tabs auto logout (3f8ae1b)
- Becem-gharbi [email protected]
- Remove access token cookie on logout (c0f90b4)
- Format with nuxt eslint config (6728d73)
- Becem-gharbi [email protected]
- Add missing imports (#66)
- Becem-gharbi (@becem-gharbi)
- Auto logout when loggedIn and access token cookie removed (d3dd90a)
- useDirectusAuth: Create _onLogin and _onLogout handlers for post fetch call (09d053e)
- useDirectusSession: Refactor _accessToken (ba1da9e)
- auth plugin: Replace useNuxtApp with the provided nuxtApp argument (1edd02a)
- Follow jwt-decode v4 import (2890bcc)
- Becem-gharbi (@becem-gharbi)
- ⬆️ update directus-sdk to v 13 (0b6407b)
- deps-dev: Bump @babel/traverse in /playground (a203165)
- deps-dev: Bump postcss from 8.4.28 to 8.4.31 in /playground (f66be99)
- deps-dev: Bump undici from 5.25.2 to 5.27.0 (aabb2a5)
- deps-dev: Bump undici from 5.23.0 to 5.27.0 in /playground (551ab82)
- Dominic [email protected]
- Add
aggregate
command for auto-import (#53)
- Remove version-1 warning (687ea86)
- Becem-gharbi [email protected]
- Becem Gharbi [email protected]
- Becem [email protected]
- Replace 127.0.0.1 default with localhost (882eec4)
- Becem Gharbi [email protected]
- useDirectusSession: Prefix internal apis with underscore (27dfb77)
- readme: Update REST section (104093e)
- useDirectusAuth: Mark user state as Readonly (a7953a7)
- useDirectusSession: Set getToken return type (827c62e)
- useDirectusFetch: Return dynamic type instead of object (972c9e8)
- Becem Gharbi [email protected]
- Fix access token getter on server-side (80f3f8f)
- Refactor useDirectusSession (2b11d7e)
- Becem Gharbi [email protected]
- Becem Gharbi [email protected]
- refresh: Reset auth states with useState (b453743)
- Always set loggedIn to localStorage on page load (e83a001)
- Update REadme (9d21338)
- Becem Gharbi [email protected]
- Add directus:loggedIn hook (8a6419b)
- refresh: Clear user state on refresh fail (d3c7fb1)
- Pass cookies from server-side on SSR response as suggested by docs (0fbf849)
- refresh: Some refactoring (c5b4cbc)
- Create useDirectusStorage to handle auth session (a6461c6)
- Rename useDirectusStorage to useDirectusSession (40b7b38)
- Check loggedIn status from user state on route middlewares (409738d)
- Add refresh flowchart (68b8253)
- Update design (f2407a0)
- Update design (6ef7e01)
- Update design (e081977)
- Set tag to latest (ab2bec9)
- Upgrade dependencies (962071f)
- release: V2.2.6-beta (8052cde)
- Becem Gharbi [email protected]
- Pass cookies from server-side on SSR response as suggested by docs (0fbf849)
- refresh: Some refactoring (c5b4cbc)
- Create useDirectusStorage to handle auth session (a6461c6)
- Update readme (732a8b1)
- Add refresh flowchart (68b8253)
- Update design (f2407a0)
- Update design (6ef7e01)
- Update design (e081977)
- Set tag to latest (ab2bec9)
- Upgrade dependencies (962071f)
- Becem Gharbi [email protected]
- Keep user loggedIn after browser session ends (471e66b)
- Prevent localStorage calls on SSR (97b88da)
- Prevent concurrent refresh calls (f73ada0)
- logout: Clear storage & redirect regardless of fetch result (a6d3a8b)
- Becem Gharbi [email protected]
- Store access token in long-lived cookie (7e992de)
- Add accessTokenCookieMaxAge config option (1deba60)
- Becem Gharbi [email protected]
- Becem [email protected]
- auth: Add opt input option to login (1e9bb16)
- auth: Set userFields default value on fetchUser (937dc4b)
- Update starter URL (976227b)
- Replace npm with pnpm (e1b7359)
- Add userFields to config options (e644f4c)
- Extend user type with DirectusSchema (6913adb)
- Remove demo (c910b45)
- Becem Gharbi (@becem-gharbi)
- Becem (@becem-gharbi)
- auth: Fix duplicate fetchUser calls on SSO login (793e1b2)
- Update README (937833e)
- Becem Gharbi [email protected]
- Set access token cookie to session and store max-age on another cookie (4431e71)
- Check access token expiration from payload (159def7)
- demo: Upgrade dependencies (1ed2666)
- Becem Gharbi [email protected]
- rest: Auto-import commonly used commands (de5149d)
- auth: Add requestPasswordReset & resetPassword methods (280a4e2)
- Conditional usage of extensions with enabled config option (b059945)
- auth: Redirect to logout page on refresh fail (f02d79a)
- Update plugins names and paths (3b39434)
- Move baseUrl & nuxtBaseUrl under rest config option (4325a1f)
- rest: Create rest client on plugin (a7db7ee)
- Set graphql & auth types based on enabled value (ddebc14)
- demo: Upgrade dependencies (2bfec36)
- Becem Gharbi [email protected]
- Update README (80dab34)
- demo: Upgrade dependencies (0ca9779)
- Becem Gharbi [email protected]
- Replace @nuxtjs/apollo with nuxt-apollo (df1d5eb)
- Update README (5478f8f)
- demo: Update dependencies (e78a1e4)
- Becem Gharbi [email protected]
- graphql: Add apollo authentication hook (3b6aebc)
- graphql: Add missing @vue/apollo-composable module (dd38d03)
- auth: Add getToken to get fresh access token (6bc141d)
- Add graphql endpoints config options (dff06e2)
- demo: Upgrade dependencies (77b5f09)
- demo: UI refactor (ed61bb7)
- graphql: Add @nuxtjs/apollo module (d65d1eb)
- graphql: Add codegen & graphql vscode extension config files (0844074)
- graphql: Test codegen and query auto suggestion (4b06c03)
- demo: Test graphql subscription (0df47e6)
- Becem Gharbi [email protected]
- Bump version to 2 (3be812a)
- Becem Gharbi [email protected]
- Bump version to 2 (d01be5e)
- Becem Gharbi [email protected]
- rest: Set useDirectusRest as wrapper for request method (35e9aa6)
- auth: Implement login & logout from REST (45426ad)
- auth: Implement refresh from REST (531b8e7)
- auth: Implement custom storage (0c7b6aa)
- auth: Implement client side auto refresh (a87b4f9)
- auth: Implement universal auto refresh (82f3032)
- auth: Add loginWithProvider for SSO login (51c9551)
- auth: Clear storage of refresh fail (0e88b8b)
- auth: On SSR share access token via �vent object (29d34d9)
- auth: Update conditions for fetchUser on initilization (41c489b)
- auth: Add delay between login & fetchUser to insure access token cookie is set (ceb9791)
- Insure config variable always refer to module options (5218e10)
- init plugin: Remove unnecessary useInitialized method (4fc44a9)
- Remove useDirectus as it might be misleading (90da8bb)
- auth: Update login signature to match sdk (061b43a)
- Add accessTokenCookieName config option (03fef2c)
- Add msRefreshBeforeExpires config option to account for network latency (9e63941)
- Update todos list (fef5051)
- readme: Remove new sdk beta warning (964cf20)
- readme: Update Todos & config options (88c4e85)
- readme: Update new sdk url (5e10844)
- Add $directus helper type (e8460e6)
- Rename MyDirectusTypes to DirectusSchema, check readme (176509a)
- Update AuthStorage type definition (9102f78)
- Upgrade to latest @directus/sdk (234d7dc)
- demo: Test schema type injection (9edfcd9)
- demo: Test auth (5951d57)
- Becem Gharbi [email protected]
- Create $directus helper (e497fcb)
- Create useDirectusRest composable (c398690)
- Create useDirectusAuth composable (ee8c21c)
- auth: Add login & logout methods (80f5e25)
- auth: Add page middlewares (3dfba09)
- auth: Implement storage getter/setter (52f83ff)
- auth: Update loggedIn on page reload (f1debcf)
- auth: Add user state (ec0f8ac)
- auth: Add authorization header when token available (f2bea83)
- auth: Update user state on page load (54ded9f)
- auth: Call refresh method on initialization (5f03756)
- auth: Add missing imports (c5f5b59)
- rest: Add client type (45c1c43)
- Group types under /types (f3b3fcc)
- readme: Update installation section (a8967cc)
- Add todos section (1f22144)
- Update README.md (b8b81da)
- Update todos list (1226128)
- auth: Add loggedIn type (f555760)
- demo: Install new module (dd11fcb)
- Upgrade dependencies (cb860f6)
- demo: Install new module (e7742d4)
- auth: Check mode cookie (efde604)
- Disable SSR (df3e309)
- Becem Gharbi [email protected]
- Becem [email protected]
- deps: Update dependency @bg-dev/nuxt-directus to v0.1.6 (ca6bed4)
- Update changelog (335e7d1)
- demo: Upgrade dependencies (dd96160)
- Rename package tag to ext (55fa973)
- Remove old sdk (1068da2)
- Add next suffix to version (5eba52d)
- Update changelogen versionSuffix (ba7d21c)
- Comment old sdk related code (92cc2ca)
- Test changelogen bump (49bd08e)
- Becem Gharbi [email protected]
- deps: Update dependency @bg-dev/nuxt-directus to v0.1.5 (a0d62d3)
- deps: Update all non-major dependencies (bb4551d)
- deps: Update nuxt 3 to v3.5.3 (2537e30)
- Fix middleware from.path to to.path(8586e22)
- Ling - vanling
- demo: Update arg on loginWithProvider (b7f1813)
- logout: Deleted cache of fetched data on logout (fd25afa)
- demo: Upgrade dependencies (d6faf44)
- Becem-gharbi
- Add cutom redirect path on login (adec1ae)
- Place useRoute outside route middlewares (381d41b)
- Use ufo utilities for url manipulations (1486d87)
- Becem-gharbi
- Add missing meta data (c6bf4a5)
- Upgrade demo app deps (effae84)
- Becem-gharbi
- Edit logger messages (f2c45cf)
- Update readme (7c1652c)
- Upgrade demo app deps (bd3f85d)
- Becem-gharbi
- Remove qs and use native ofetch query serialization (33c9797)
- Remove extra logging in useDirectusAuth (e7382a7)
- Add userFields module options in README (7104b72)
- Remove semantic-release & github workflow (2c88138)
- Becem-gharbi