Skip to content

Releases: becem-gharbi/nuxt-directus

v2.3.1-beta

13 Aug 08:09
Compare
Choose a tag to compare

compare changes

πŸ’… Refactors

  • refresh: Reset auth states with useState (b453743)
  • Always set loggedIn to localStorage on page load (e83a001)

πŸ“– Documentation

❀️ Contributors

v2.3.0-beta

12 Aug 08:30
Compare
Choose a tag to compare

compare changes

πŸš€ Enhancements

  • Add directus:loggedIn hook (8a6419b)

🩹 Fixes

  • refresh: Clear user state on refresh fail (d3c7fb1)

πŸ’… Refactors

  • 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)

πŸ“– Documentation

🏑 Chore

❀️ Contributors

v-2.2.6-beta

11 Aug 19:19
Compare
Choose a tag to compare

v2.2.6-beta

compare changes

πŸ’… Refactors

  • Pass cookies from server-side on SSR response as suggested by docs (0fbf849)
  • refresh: Some refactoring (c5b4cbc)
  • Create useDirectusStorage to handle auth session (a6461c6)

πŸ“– Documentation

🏑 Chore

❀️ Contributors

v2.2.5-beta

11 Aug 09:55
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Keep user loggedIn after browser session ends (471e66b) (#45)
  • Prevent localStorage calls on SSR (97b88da)
  • Prevent concurrent refresh calls (f73ada0)
  • logout: Clear storage & redirect regardless of fetch result (a6d3a8b)

πŸ’… Refactors

  • Name useState keys in kebab-case (04fd6a4)
  • Remove accessTokenCookieMaxAge config option (44e63f4)

❀️ Contributors

v2.2.4-beta

10 Aug 16:39
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Store access token in long-lived cookie (7e992de) (#45 )

πŸ“– Documentation

  • Add notes section (1bf7278)
  • Add accessTokenCookieMaxAge config option (1dfc4eb)

🏑 Chore

  • Add accessTokenCookieMaxAge config option (1deba60)

❀️ Contributors

v2.2.3-beta

06 Aug 07:56
Compare
Choose a tag to compare

compare changes

πŸš€ Enhancements

  • auth: Add userFields again in fetchUser (1ca8306)

🩹 Fixes

  • auth: Add opt input option to login (1e9bb16)

πŸ’… Refactors

  • auth: Set userFields default value on fetchUser (937dc4b)
  • auth: Add Userfieds to default config (4917e59)

πŸ“– Documentation

  • Update starter URL (976227b)
  • Replace npm with pnpm (e1b7359)
  • Add userFields to config options (e644f4c)

🌊 Types

  • Extend user type with DirectusSchema (6913adb)
  • Add userFields Type (3c11ba6)

🏑 Chore

❀️ Contributors

v2.2.2-beta

01 Aug 15:35
Compare
Choose a tag to compare

compare changes

About

With this release the demo application is removed and a starter is created here

🩹 Fixes

  • auth: Fix duplicate fetchUser calls on SSO login (793e1b2)

πŸ“– Documentation

❀️ Contributors

v2.2.1-beta

31 Jul 19:51
Compare
Choose a tag to compare

compare changes

πŸ’… Refactors

  • Set access token cookie to session (4431e71)
  • Check access token expiration from payload (159def7)

πŸ“– Documentation

🏑 Chore

  • demo: Upgrade dependencies (1ed2666)

❀️ Contributors

v2.2.0-beta

31 Jul 10:43
Compare
Choose a tag to compare

compare changes

About

This release is a redefinition of the new module goal. It's no longer intended to be a wrapper of the new Directus SDK, although it's based on it for REST client. As for authentication it has its own implementation mainly for SSR support. As for Graphql it's based on Apollo client, this decision has been made in order to benefit the full features of Graphql (caching, devtools, codegen, community support...). As for realtime, it is omitted in favor of Graphql subscriptions.

Please check README for changes.

πŸš€ Enhancements

  • rest: Auto-import commonly used commands (de5149d)
  • auth: Add requestPasswordReset & resetPassword methods (280a4e2)

πŸ”₯ Performance

  • Conditional usage of extensions with enabled config option (b059945)

🩹 Fixes

  • auth: Redirect to logout page on refresh fail (f02d79a)

πŸ’… Refactors

  • Update plugins names and paths (3b39434)
  • Move baseUrl & nuxtBaseUrl under rest config option (4325a1f)
  • rest: Create rest client on plugin (a7db7ee)

🌊 Types

  • Set graphql & auth types based on enabled value (ddebc14)

🏑 Chore

  • demo: Upgrade dependencies (2bfec36)

❀️ Contributors

v2.1.2-beta

29 Jul 20:24
Compare
Choose a tag to compare

compare changes

πŸ“– Documentation

🏑 Chore

  • demo: Upgrade dependencies (0ca9779)

❀️ Contributors