Skip to content

v1.0.0

Compare
Choose a tag to compare
@thchia thchia released this 29 Jul 07:27
· 20 commits to master since this release

v1.0.0

  • Pass through props from the return value of makeAuthenticator. @chriskolenko
  • Fixed for vulnerabilities in
    • lodash
    • react-dom

Note that the pre-release changes in v0.4.0-alpha.0 are not present in this release.

[Breaking Changes]

  • makeAuthenticator now expects a reference to the component to be wrapped, rather than the instance itself:
// Before:

const AppWithAuth = makeAuthenticator({
... config
})(<App />)

// After:

const AppWithAuth = makeAuthenticator({
... config
})(App)

This allows for the props specified in <AppWithAuth {...props} /> to be passed down to App.