Skip to content
This repository was archived by the owner on Mar 17, 2025. It is now read-only.

Commit a26fb1b

Browse files
committed
Merge pull request #739 from firebase/jw-200-changelog
Added change log for upcoming 2.0.0 release
2 parents afa0788 + 6421443 commit a26fb1b

File tree

3 files changed

+18
-8
lines changed

3 files changed

+18
-8
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ services:
1515
Join our [Firebase + Angular Google Group](https://groups.google.com/forum/#!forum/firebase-angular)
1616
to ask questions, provide feedback, and share apps you've built with AngularFire.
1717

18+
**Looking for Angular 2 support?** Visit the AngularFire2 project [here](https://github.com/angular/angularfire2).
19+
1820

1921
## Table of Contents
2022

changelog.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
important - See the [migration guide](https://github.com/firebase/angularfire/blob/master/docs/migration/1XX-to-2XX.md) for detailed instructions on how to upgrade.
2+
feature - Upgraded the `firebase` dependency to `3.x.x`. AngularFire will no longer work with Firebase `2.x.x`.
3+
changed - `angular` and `firebase` are now listed as peer dependencies in the `package.json`.
4+
changed - Several auth methods have been renamed and have had their method signatures changed. See the [migration guide](https://github.com/firebase/angularfire/blob/master/docs/migration/1XX-to-2XX.md) for the full details.
5+
changed - The auth payload returned from the authentication methods has changed format. See the new [authentication documentation](https://firebase.google.com/docs/auth/) for details.

docs/migration/1XX-to-2XX.md

Lines changed: 11 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ change log](https://github.com/firebase/angularfire/releases/tag/v2.0.0).
88
to use Firebase with Angular 2.
99

1010

11-
## Upgrade your Firebase SDK
11+
## Upgrade to the Firebase `3.x.x` SDK
1212

1313
Ensure you're using a `3.x.x` version of the Firebase SDK in your project. Version `2.x.x` of the
1414
Firebase SDK is no longer supported with AngularFire version `2.x.x`.
@@ -18,10 +18,13 @@ Firebase SDK is no longer supported with AngularFire version `2.x.x`.
1818
| 3.x.x | 2.x.x |
1919
| 2.x.x | 1.x.x |
2020

21+
Consult the Firebase [web / Node.js migration guide](https://firebase.google.com/support/guides/firebase-web)
22+
for details on how to upgrade to the Firebase `3.x.x` SDK.
2123

22-
## `$firebaseAuth` Updates
2324

24-
Several authentication methods have been renamed and / or have different return values.
25+
## `$firebaseAuth` Method Renames / Signature Changes
26+
27+
Several authentication methods have been renamed and / or have different method signatures:
2528

2629
| Old Method | New Method | Notes |
2730
|------------|------------|------------------|
@@ -30,16 +33,16 @@ Several authentication methods have been renamed and / or have different return
3033
| `$authWithOAuthPopup(provider[, options])` | `$signInWithPopup(provider)` | `options` can be provided by passing a configured `firebase.database.AuthProvider` instead of a `provider` string |
3134
| `$authWithOAuthRedirect(provider[, options])` | `$signInWithRedirect(provider)` | `options` can be provided by passing a configured `firebase.database.AuthProvider` instead of a `provider` string |
3235
| `$createUser(credentials)` | `$createUserWithEmailAndPassword(email, password)` | |
33-
| `$removeUser(credentials)` | `$deleteUser()` | Deletes the currently logged in user |
34-
| `$changeEmail(credentials)` | `$updateEmail(newEmail)` | Changes the email of the currently logged in user |
35-
| `$changePassword(credentials)` | `$updatePassword(newPassword)` | Changes the password of the currently logged in user |
36+
| `$removeUser(credentials)` | `$deleteUser()` | Deletes the currently signed in user |
37+
| `$changeEmail(credentials)` | `$updateEmail(newEmail)` | Changes the email of the currently signed in user |
38+
| `$changePassword(credentials)` | `$updatePassword(newPassword)` | Changes the password of the currently signed in user |
3639
| `$resetPassword(credentials)` | `$sendPasswordResetEmail(email)` | |
3740
| `$unauth()` | `$signOut()` | |
3841
| `$onAuth(callback)` | `$onAuthStateChanged(callback)` |   |
3942

4043

41-
## Auth Payload Notes
44+
## Auth Payload Format Changes
4245

4346
Although all your promises and `$getAuth()` calls will continue to function, the auth payload will
4447
differ slightly. Ensure that your code is expecting the new payload that is documented in the
45-
[Firebase Authentication for Web documentation](https://firebase.google.com/docs/auth/).
48+
[Firebase Authentication guide](https://firebase.google.com/docs/auth/).

0 commit comments

Comments
 (0)