Skip to content

v2.0.3

Latest
Compare
Choose a tag to compare
@MargaretKrutikova MargaretKrutikova released this 25 Mar 21:36

What's new

  • updated react-netlify-identity to v0.2.3 and bs-platform to 7.0.1,
  • added bindings to netlify token to handle account recovery, invitation and email change, see NetlifyToken,
  • add fields to response data from useIdentityContext and `useIdentityContextSimple :
    • param of type NetlifyToken to handle tokens,
    • isConfirmedUser,
  • add example for account recovery and resetting password,
  • update docs

Breaking changes

  • changes to response data from useIdentityContext and `useIdentityContextSimple :
    • recoverAccount no longer needs a token,
    • acceptInviteExternalUrl no longer accepts a login provider,

Fixes

  • updateUser no longer needs fields wrapped in data

Internal

  • use records for modelling Js objects, remove [@bs.deriving abstract],
  • break out types into separate modules