Releases: qirolab/nuxt-sanctum-authentication
Releases · qirolab/nuxt-sanctum-authentication
v0.1.15
v0.1.14
🚀 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
- Harish Kumar [email protected]
v0.1.13
🩹 Fixes
- Remove unnecessary try/catch block (fddde74)
- Handle token extraction error silently (79ff2ab)
- Log error when fetching authenticated user (7f05734)
❤️ Contributors
- Harish Kumar [email protected]
v0.1.12
🚀 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
- Harish Kumar [email protected]
v0.1.11
🚀 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
- Harish Kumar [email protected]
v0.1.10
🚀 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
- release: V0.1.9 (8cbbcb3)
❤️ Contributors
- Harish Kumar [email protected]
v0.1.9
🚀 Enhancements
- Add object-to-formdata dependency (8709c5e)
❤️ Contributors
- Harish Kumar [email protected]
v0.1.8
🩹 Fixes
- Update object-to-formdata dependency (3daee5f)
❤️ Contributors
- Harish Kumar [email protected]
v0.1.7
🚀 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
- Laravel api fixture (039a7a7)
🎨 Styles
❤️ Contributors
- Harish Kumar [email protected]
What's Changed
New Contributors
Full Changelog: 0.1.6...v0.1.7
v0.1.6
📖 Documentation
- Add video tutorial and demo repository (93fba0f)
❤️ Contributors
- Harish Kumar [email protected]