Skip to content

Releases: qirolab/nuxt-sanctum-authentication

v0.1.15

03 Nov 12:05
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add generic login response type (1235bda)
  • Add example code for login callback (9abfa83)

❤️ Contributors

v0.1.14

02 Nov 22:09
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add provider option to ModuleOptions (ce5198e)
  • Add client options to useSanctum login (48ddc12)
  • Improve type safety in useSanctumFetch (5ca2ade)

🩹 Fixes

  • Handle MaybeArray for onRequest and onResponseError hooks (6f174a6)
  • Make submit options optional in SanctumForm (57c6066)
  • Ensure options defaults to FetchOptions type (29a4b3f)

📖 Documentation

  • Add link to nuxt-sanctum-authentication module (adfeb90)

❤️ Contributors

v0.1.13

28 Oct 20:27
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Remove unnecessary try/catch block (fddde74)
  • Handle token extraction error silently (79ff2ab)
  • Log error when fetching authenticated user (7f05734)

❤️ Contributors

v0.1.12

28 Oct 16:37
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add extractNestedValue utility (c46eb2d)
  • Add getAuthUser helper (85525f7)
  • Add configurable token response key and logging (3d650bf)
  • Add responseKey option to SanctumModule (40d6115)
  • Add userResponseWrapperKey to ModuleOptions (4821f23)
  • Add fetchService and logger to getAuthUser (ccfbceb)
  • Use getAuthUser to fetch user data (fdbf3a5)
  • Add HasApiTokens trait to user model (15afb7c)
  • Add token authentication (15e51c2)
  • Add token authentication routes (e2f55da)

🩹 Fixes

  • Allow null token value (9783aaf)
  • Use getAuthUser function to fetch user (2016d7e)
  • Update sanctum endpoints (187fd3f)

🎨 Styles

  • Set $wrap to 'data' in UserResource (1793c98)

❤️ Contributors

v0.1.11

23 Oct 12:44
1db8c35
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Update profile form to patch request (6bbd206)
  • Add onRequestError callback to useSanctumForm (ac396a6)

🩹 Fixes

  • Update profile route to PATCH (2a9ddad)

🎨 Styles

  • Ignore laravel-api fixtures in lint:fix (2e090ca)

❤️ Contributors

v0.1.10

23 Oct 10:26
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add object-to-formdata helper (1e2bcf4)
  • Add SanctumForm interface (5a963b6)
  • Add objectToFormData helper to useSanctumForm (a2b0197)

🩹 Fixes

  • Remove object-to-formdata dependency (c966a9b)
  • Make ModuleOptions properties required (72bd80d)
  • Remove unnecessary cast (27c9066)

🏡 Chore

❤️ Contributors

v0.1.9

22 Oct 22:25
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add object-to-formdata dependency (8709c5e)

❤️ Contributors

v0.1.8

22 Oct 22:06
Compare
Choose a tag to compare

compare changes

🩹 Fixes

  • Update object-to-formdata dependency (3daee5f)

❤️ Contributors

v0.1.7

22 Oct 19:15
Compare
Choose a tag to compare

compare changes

🚀 Enhancements

  • Add lodash-es and object-to-formdata dependencies (d7ff803)
  • Add custom onRequest and onResponseError hooks (7fc1cf6)
  • Replace $sanctumFetch with a custom fetch service (8f3731f)
  • Add hasFile helper (ba45fd2)
  • Add form type (0bf4cf7)
  • Create useSanctumForm composable (fad10c9)
  • Profile page form improvements (17da722)
  • Extract onRequest and onResponseError from options (bf258a5)
  • Add reset method to form (bb2b188)
  • Add reset method to useSanctumForm (330b59c)
  • Add form validation and reset button (56f8464)
  • Refactor useSanctumForm composable (264260f)
  • Add form API (213f354)
  • Add avatar to profile page (4bb00bf)
  • Add avatar to User model (600dafc)
  • Add avatar to user resource (463edca)

🩹 Fixes

  • Add empty object as first argument to createFetchService (703b7e2)
  • Change errors type to array (9c4d8fe)
  • Convert validation errors to array (342c1df)
  • Change errors type to string (19afa1b)
  • UseSanctumForm: simplify validation errors (fb71944)
  • Fix border-danger style (d91eaee)
  • Update host and apiUrl to localhost (5a65216)
  • Store avatar in public disk (86955e1)
  • Ignore test fixtures in lint command (3fd73e6)

💅 Refactors

  • Remove user preview and change label name (48a1f9b)

📖 Documentation

🏡 Chore

🎨 Styles

  • Enable prettier-vscode as default formatter (08159bb)
  • Remove arrow-parens rule (89785cf)

❤️ Contributors

What's Changed

New Contributors

  • @hkp22 made their first contribution in #1

Full Changelog: 0.1.6...v0.1.7

v0.1.6

29 Sep 11:00
Compare
Choose a tag to compare

compare changes

📖 Documentation

  • Add video tutorial and demo repository (93fba0f)

❤️ Contributors