Releases: jerelmiller/redux-simple-auth
Releases · jerelmiller/redux-simple-auth
v0.4.2
Bug fixes
- Ensure restore failed action is run if using multiple authenticators and not currently authenticated (#34)
v0.4.1
Bug fixes
- Ensure action is returned from middleware (#32)
v0.4.0
Features
- Adds
isRestored
state. This allows you to determine if the session has been restored yet or not. (#28)
- Adds
lastError
state. This allows you to pass an error to the reject promise in your authenticate
function and persist in the redux store. (#29)
- Adds
hasFailedAuth
state. This allows you to more easily determine if the user has failed authentication at least once (#29)
v0.3.0
Features
- Add a new
sessionStorage
option to allow storing data within the browser's session store (#25)
Documentation
- Add a table of contents to navigate the documentation easier (#19)
v0.2.2
Enhancements
- Export the
actionTypes
from the main module export (#17)
Documentation
- Add section describing exported
actionTypes
(#17)
v0.2.1
Bug fixes
- Fixes an issue where restoring from the cookie store when no data has persisted resulted in an error (#16)
Documentation
- Added a TODO section to make future goals more visible
v0.2.0
New features
- Add the ability to initialize the store with state from the storage device (#14)
- Add selectors to more easily select store state (#14)
Documentation
- Add section detailing store enhancer
- Add section detailing selectors
v0.1.2
Bug Fix
- Fixes an issue importing session store creators via
redux-simple-auth/storage
(#13)
- Breaking change: Storage imports are now from the main library. Previously you'd import from
redux-imple-auth/storage
. This should now be from redux-simple-auth
.
Migrating from 0.1.1 to 0.1.2
Update any imports from redux-simple-auth/storage
to redux-simple-auth
// previous
import { createLocalStorageStore } from 'redux-simple-auth/storage'
// current
import { createLocalStorageStore } from 'redux-simple-auth'
v0.1.1
Fix issue preventing correct files from being included
v0.1.0
Documentation
- All new documentation that much more fully talks through the API (#11)
Enhancement
- Easier configuration of single authenticator using the
authenticator
option (#7)
Internal
- Update to jest 20 (#6)
- Remove eslint-config-focusvision (678e817)
- Add prettier support (#8)
- Prettier the codebase (#9)