Releases: firebase/firebase-js-sdk
Releases · firebase/firebase-js-sdk
4.1.2
Fixes
- Fixed an issue where sourcemaps weren't pointing to the actual
Typescript source code. #29 - Fixed an issue where
FirebaseAppImpl.prototype
was being incorrectly
patched. #38 - Fixed an issue where loading the SDK from our CDN, while also
providing a chunked webpack build, was duplicating thewebpackJsonp
namespace. #43
4.1.1
4.1.0
4.1.0-rc.1
Open Source Release v4.0.0
Features
- Added support for phone number authentication using the following APIs:
- Augmented the IdP data (for a list of all supported fields see
firebase.auth.UserCredential
) returned by the following APIs: - Added the
firebase.auth.Auth.prototype.onIdTokenChanged
method that triggers on ID token changes.
Breaking Changes
firebase.auth.Auth.prototype.onAuthStateChanged
now triggers on sign in and sign out.firebase.User.prototype.reauthenticate
has been removed in favor offirebase.User.prototype.reauthenticateWithCredential
.firebase.User.prototype.link
has been removed in favor offirebase.User.prototype.linkWithCredential
.firebase.AuthCredential.prototype.provider
has been removed in favor offirebase.AuthCredential.prototype.providerId
.
Deprecations
- Removed support for deprecated
serviceAccount
andcredential
properties from the Node.js SDK. If you were previously using the Firebase Javascript SDK to use these properties, use the Firebase Admin Node.js SDK instead. - Deprecated
firebase.User.prototype.getToken
in favor offirebase.User.prototype.getIdToken
.
Fixes
- Fixed an issue where
firebase.User.prototype.updateProfile
was not triggering an update in password provider data.