All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Store Refresh Token for refreshing JWT
Thank you @shackra for guiding and helping me.
- Added Refresh Token feature
- Support for React 17
- AuthProvider children type changed to
React.ReactNode
- Types added in npm release for better code completion.
- Code base documentation. (Hardik0307)
- Guideline for Contribution added on project website (dotslash21)
- Eslint Linting issue
- Contributing.md typo fix. (dotslash21)
- DOCS SEO
TS Function declararation
useAuth
function added. Now use all hooks in 1 function.
- Docs: Deprecated AuthProvider params names
AuthProvider
pushing error for cookieSecure set as falseuseSignIn
function parameterwithSignIn
function param
useIsAuthenticated
andwithIsAuthenticated
added. Now check if your user is logged in or not.
- ⚠
useAuth
is changed touseAuthUser
- ⚠
withAuth
is changed towithAuthUser
- Linting the Codes
- Docs Override dir to
docs
dir
- Docs Meta Tags Fixed
- Docs Site Map Fixed
- SEO added in docs
- Type Definition
- Size decreased from 2.12 KB to 1.81 KB
- AuthContext is merged with AuthProvider
- Documentation https://authkit.arkadip.co
- Default props for
AuthProvider
- Local Storage Added (Cookie and LocalStorage can be chosen by AuthProvider Prop
authStorageType
) - Documentation https://authkit.arkadip.co
- PrivateRoute now supports render and component props
- Auth Token Type added on Sign In. Default
Bearer
Sign In
function Arguments is now an object
- UMD module
- Testing Added
- JS Map files
- Code Base Added
- Bundling with Rollup
- Package Established