Releases: maxmantz/redux-oidc
Releases · maxmantz/redux-oidc
v3.0.0-beta.9
Added TypeScript definition file (#53).
v3.0.0-beta.8
Dependency changes:
co
was causing trouble, so it has been removed as a peer dependency.
API Changes:
LOAD_USER_ERROR
is now dispatched when an error occurred during login.
v3.0.0-beta.7
API changes:
- added a new helper function
loadUser
to this library. It takes the reduxstore
anduserManager
as parameters and loads the current user into the reducers when the app loads. When you are using silent renew, this helper function makes the oidc middleware redundant. See the example app for details on how to use it. - you will have to import
babel-polyfill
to your silent renew page. See the example app for details.
Peer dependencies:
- prop-types are now a peer dependency. Thanks @BrandonBoone.
v3.0.0-beta.6
- the middleware now doesn't catch any errors to prevent unclear error messages when debugging other middlewares (see issue #36).
v3.0.0-beta.5
Changes:
SILENT_RENEW_ERROR
now clears the user object from state.
v3.0.0-beta.4
Bug fixes:
- fixed an infinite loop of dispachtes of
USER_FOUND
&USER_EXPIRED
after silent renew failed or page was manually reloaded (issue #30).
v3.0.0-beta.3
- fixed issue #23 in immutable reducer
v3.0.0-beta.2
API Changes:
<CallbackComponent />
now requires a child element,route
is no longer needed in<CallbackComponent/>
.
Fixes:
- fixed bug where
USER_EXPIRED
wouldn't set the user tonull
(#23).
Other changes:
- updated dev dependencies.
v3.0.0-beta.1
API changes:
createOidcMiddleware()
now only needs theuserManager
as an argument,OidcProvider
now needs theuserManager
as a prop,- no more
childContext
inOidcProvider
, - dropped
shouldValidate
- user is now always validated, - dropped
triggerAuthFlow
- the sign in process now always needs to be started manually.
Internal changes:
- introduced
co
to handle the async nature of oidc-client and it'suserStore
. - no more reliance on
window.localStorage
orwindow.location
to support SSR & react-native. - several smaller changes
v2.2.2-beta.1
- added mapping to the
userSignedOut
event of oidc-client.