Skip to content

Releases: MargaretKrutikova/bs-react-netlify-identity

v2.0.3

25 Mar 21:36
Compare
Choose a tag to compare

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

v1.0.4

29 Sep 17:34
Compare
Choose a tag to compare

What's new

  • bindings for app_metadata with roles and provider on the user object,
  • material ui ppx is removed in favour of bs-css with a custom jss provider, since the ppx uses bsb-native in the postinstall script which makes all builds on netlify fail.