-Nothing yet
- Breaking Change: Fix deprecated lifecyle method for react 16.3+ support#250 (contributed by @JackHowa)
- Dependency upgrades for react 16.3 support
- Upgrade deps and relax bounds #244
- Warning fix for React 16.3+ #235 (contributed by @tpai)
- Bugfix: Prevents unnecessary re-renders on child subcomponents on state changes #187
- Bugfix: Adds empty main with index.js for webpack ddl support (Contributed by @victorouse)
BREAKING CHANGES Version 2.0 include several new changes! See https://mjrussell.github.io/redux-auth-wrapper/docs/Migrating.html for migrating from 1.x
- Feature: Support hash fragments in building the redirect location #121
- Feature: Upgrade to proptypes package after React 15.5 deprecation #147 (Contributed by @jruhland)
- Bugfix: Redirection preserves query params in the redirect path. #111
- Feature:
allowRedirectBack
can also take a selector function that returns a bool instead of a bool. #93 (Contributed by @oyeanuj)
- Bugfix: Don't pass down auth wrapper props besides authData #81
- Feature: Add propMapper function to restrict passed through props #28
- Bugfix/Breaking Change: onEnter now checks isAuthenticating for redirection #89
- Feature: onEnter selectors receive nextState as the second argument instead of null #90
- Feature: FailureComponent to not redirect and either hide or show a different component on auth failure #61. (Contributed by @mehiel)
- Feature: Pass auth data as props to Loading Component #75
- Breaking Change: When rendering an "empty" component such as the default LoadingComponent and when the user is about
to be redirect, return
null
so React will omit it instead of an emptydiv
. - Breaking Change: Don't need to import React Native compatible from lib.
- Bugfix: Don't render subroutes as children in default LoadingComponent #63
- Bugfix/Breaking Change: Change default LoadingComponent to a
div
and use the React native default empty element #63
- Feature:
failureRedirectPath
can be a function of state and props #57 - Feature: option to change the query param name with
redirectQueryParamName
#57
- BugFix: Fixes bug introduced in v0.5.1 that prevented redirection when only isAuthenticating changed #49
- BugFix: Adds safeguard to prevent infinite redirects from the wrapper #45
- Feature: Adds
isAuthenticating
selector andLoadingComponent
#35. (Contributed by @cab)
- Feature: Adds React Native support #33
- Feature: Adds
ownProps
param toauthSelector
#21 - Feature: Adds
onEnter
function for Server Side Rendering support #19 - Breaking: Removes arg style syntax that was deprecated in 0.2
- router context is only required if no redirectAction
- Feature: new redirectAction config arg, removes dependency on a redux-routing implementation #13
- Feature: New config object syntax for AuthWrapper #12
- Deprecation: Deprecates AuthWrapper args syntax #12
- Feature: Hoists wrapped component's statics up to the returned component
- Fixes the bad npm publish
- First release!
- Adds AuthWrapper with args syntax
- Examples using Redux-Simple-Router (now React-Router-Redux)
- Lots of tests