Skip to content

v0.6.0

Compare
Choose a tag to compare
@katowulf katowulf released this 15 Jan 06:40
· 759 commits to master since this release
  • $on() now accepts regular Firebase events as an argument. In addition to "loaded" and "change", you may also subscribe for events like "value" and "child_added". (Full list of events available here).
  • $set(), $save(), $add() and $remove() now all return promises. The promises will be resolved when the corresponding changes have been made on the server, or will be rejected with an appropriate error object.
  • $auth() was added to objects returned by $firebase. This method is intended to be used for custom authentication. If you have custom generated tokens, pass them in to this function (it behaves identical to the Firebase.auth() method).
  • The $firebaseAuth service was renamed to $firebaseSimpleLogin.
  • $firebaseSimpleLogin no longer accepts a custom authentication token.
  • The "anonymous" authentication provider has been added to $firebaseSimpleLogin.
  • $changePassword(), $createUser(), and $removeUser() were added to the $firebaseSimpleLogin service. These behave identical to the corresponding Simple Login methods.
  • Added $getCurrentUser() to the $firebaseSimpleLogin service. It returns a promise that will resolve to the user object when they log in.