Repository navigation
Commit c843a36
committed
docs: fix the beforeAuthStateChanged import and the Imagen removal note (#3817)
The auth guide's cookie sync and the sample app imported
beforeAuthStateChanged from firebase/auth, because AngularFire's version
kept the app unstable until the first sign-in or sign-out (#3748). The
fix (#3770) shipped in 20.1.1 and 21.0.0-rc.2, so both now import it
from @angular/fire/auth, and the guide's note lists the releases that
still need the workaround.
The v21 upgrade guide covered only getImagenModel. firebase 12.18
removed every Imagen export, and the migration warns about
getImagenModel only in files that imported an old Vertex AI entry point.
Fixes #3815
Fixes #3816
(cherry picked from commit 503ce83)1 parent a06c9c5 commit c843a36
3 files changed
Lines changed: 8 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
96 | | - | |
97 | | - | |
| 96 | + | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
151 | 151 | | |
152 | 152 | | |
153 | 153 | | |
154 | | - | |
| 154 | + | |
155 | 155 | | |
156 | | - | |
| 156 | + | |
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
| 80 | + | |
| 81 | + | |
80 | 82 | | |
81 | 83 | | |
82 | 84 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
0 commit comments