Skip to content

v1.3.0

Latest
Compare
Choose a tag to compare
@daveycodez daveycodez released this 03 Apr 22:38
· 18 commits to main since this release

For v1.3.0 I've done a huge code review of the package and cleaned everything up quite a bit.

There are some breaking changes, mainly that mutations are no longer exported from the data hooks. updateUser is no longer exported from useSession, for example.

Now you do const { mutate: updateUser } = useUpdateUser()

I've also added generic hooks for fetching data and making mutations using your authClient to future proof the library: useAuthQuery & useAuthMutation. Usage instructions have been added to the bottom of the readme.

Let me know if you have any issues! The Readme has been updated to reflect the latest updates.

Cheers.