Skip to content

v6.0.0

Compare
Choose a tag to compare
@hoodiebot hoodiebot released this 09 Mar 08:38

<a name"6.0.0">

6.0.0 (2017-03-09)

Features

Breaking Changes

  • account.ready has been removed. All APIs are now asynchronous, no setup is needed any longer

    (22d8c159)

  • account.fetch() and account.profile.fetch() have been removed. Use account.get() and account.profile.get() instead

    (e5c1af20)

  • account.profile.get() returns a promise now. It also sends a request
    to the server requesting the current user’s profile properties unless
    options.local is set to true

    (188300a2)

  • account.get() returns a promise now. It also sends a request to the server requested the current user’s account properties unless one of the following conditions is true

  1. User is signed out
  2. Only id and or session properties are requested
  3. options.local is set to true

(99d080ef)

  • account.hasInvalidSession() has been removed. Use account.get('session.invalid') instead.

    (0a998f7d)

  • account.isSignedIn() has been removed. Use account.get('session') instead.

    (c2a87220)