You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Brought a fix in from `5.4.2` ([#2315](#2315))
* Fixed `@angular/fire/analytics` attempting to use `global` ([#2303](#2303))
* Fix the error message on storage ([#2313](#2313))
* Starting on documentation for 6.0
Version 6 of AngularFire drops support for Angular version 8 and below, older versions of typescript, Firebase, drops `firebase-node`, `database-deprecated`, and more.
5
15
@@ -11,9 +21,6 @@ Version 6 of AngularFire drops support for Angular version 8 and below, older ve
11
21
* Using `ng-packagr` to build the library, bringing us back up to speed on APF
12
22
* All of our `@NgModules` are now `providedIn: 'any'` rather than singletons
13
23
* We make use of Proxy in more modules, you'll need to polyfill if you want to support IE 11
14
-
* Fixed the `ng add` and `ng deploy` commands
15
-
*`ng deploy` now supports a `buildTarget` option
16
-
* We've addressed a number of memory leaks and Zone.js issues in SSR applications
17
24
18
25
#### `@angular/fire`
19
26
@@ -26,7 +33,8 @@ Version 6 of AngularFire drops support for Angular version 8 and below, older ve
26
33
27
34
#### `@angular/fire/auth`
28
35
29
-
*`AngularFireAuthModule` no longer imports `firebase/auth` on it's own to remain side-effect free, you'll need to `import 'firebase/auth'` on your own
36
+
*`AngularFireAuthModule` is now side-effect free and `AngularFireAuth` will dynamically import `firebase/auth` when a request is made
37
+
*`AngularFireAuth` has dropped the `auth` property and instead Promise Proxies the underlying Firebase `auth.Auth` instance
30
38
31
39
#### `@angular/fire/auth-guard`
32
40
@@ -48,27 +56,56 @@ Version 6 of AngularFire drops support for Angular version 8 and below, older ve
48
56
49
57
* Dropped the `FunctionsRegionToken` and `FUNCTIONS_REGION` DI tokens in favor of `REGION`
50
58
* Dropped the `FUNCTIONS_ORIGIN` DI token in favor of `ORIGIN`
51
-
*`AngularFireFunctions` is now side-effect free and now lazy loads`firebase/functions` when a request is made
52
-
*`AngularFireFunctions` has dropped the `functions` property and instead Proxies the underlying Firebase `functions.Functions` instance
59
+
*`AngularFireFunctionsModule` is now side-effect free and `AngularFireFunctions` will dynamically import`firebase/functions` when a request is made
60
+
*`AngularFireFunctions` has dropped the `functions` property and instead Promise Proxies the underlying Firebase `functions.Functions` instance
53
61
54
62
#### `@angular/fire/messaging`
55
63
56
64
*`AngularFireMessaging`'s dynamic import of `firebase/messaging` is now lazy, if you don't call any methods the SDK will not be loaded
57
-
*`AngularFireMessaging` has dropped the `messaging` property and instead Proxies the underlying Firebase `messaging.Messaging` instance
65
+
*`AngularFireMessaging` has dropped the `messaging` property and instead Promise Proxies the underlying Firebase `messaging.Messaging` instance
58
66
59
67
#### `@angular/fire/performance`
60
68
61
-
*`AngularFirePerformance` now Proxies the underlying Firebase `messaging.Messaging` instance
62
-
63
-
#### `@angular/fire/remote-config`
64
-
65
-
*`AngularFireRemoteConfig` now uses `ensureInitialized()` in it's observables, protecting their value emissions better against race conditions
69
+
*`AngularFirePerformance` has dropped the `performance` property and instead Promise Proxies the underlying Firebase `performance.Performance` instance
66
70
67
71
#### `@angular/fire/storage`
68
72
69
73
*`AngularFireStorageModule` no longer imports `firebase/storage` on it's own to remain side-effect free, you'll need to `import 'firebase/storage'` on your own
70
74
* Dropped `StorageBucket` DI token in favor of `BUCKET`
***core:** fixing a problem with hot/cold observables resulting in missed events ([#2315](https://github.com/angular/angularfire2/issues/2315)) ([f24df35](https://github.com/angular/angularfire2/commit/f24df35))
***auth:**`authState` should be using `onAuthStateChanged` ([#2308](https://github.com/angular/angularfire2/issues/2308)) ([9506f85](https://github.com/angular/angularfire2/commit/9506f85))
***core:** Register AngularFire and Angular versions with the JS SDK ([6096c95](https://github.com/angular/angularfire2/commit/6096c95))
97
+
***ng-deploy:** add option for buildTarget ([#2281](https://github.com/angular/angularfire2/issues/2281)) ([28a4e54](https://github.com/angular/angularfire2/commit/28a4e54))
98
+
***core:** Major changes to the Zone.js wrapping to address SSR memory leaks and more ([#2294](https://github.com/angular/angularfire2/issues/2294)) ([56df941](https://github.com/angular/angularfire2/commit/56df941))
***schematics**: The schematics should be functional again. The version of `firebase-tools` we were installing when you called `ng add @angular/fire` was using deprecated API. ([#2285](https://github.com/angular/angularfire2/issues/2285)) ([5867eeb](https://github.com/angular/angularfire2/commit/5867eebbd2ec7eaad0bbc8da94e38aca1fe7580b))
106
+
***schematics**: fix issues with FS and Devkit Paths ([#2279](https://github.com/angular/angularfire2/issues/2279)) ([5ccf5db](https://github.com/angular/angularfire2/commit/5ccf5db3302be4a77529c33eda9ce39e5503b3c4))
107
+
***rc**: Need to `ensureInitialized()` ([#2290](https://github.com/angular/angularfire2/issues/2290)) ([0d95523](https://github.com/angular/angularfire2/commit/0d955231a0c91d8abd4effe0e02044f40451a891))
Copy file name to clipboardExpand all lines: README.md
+20-24
Original file line number
Diff line number
Diff line change
@@ -1,9 +1,9 @@
1
-
<palign="center">
2
-
<h1align="center">AngularFire</h1>
3
-
<palign="center">The official library for Firebase and Angular</p>
4
-
</p>
1
+
# AngularFire
2
+
The official Angular library for Firebase
5
3
6
-
[](https://travis-ci.org/angular/angularfire)[](https://gitter.im/angular/angularfire2?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
4
+
```bash
5
+
ng add @angular/fire@next
6
+
```
7
7
8
8
---
9
9
@@ -22,29 +22,19 @@
22
22
-**Manage binary data** - Upload, download, and delete binary files like images, videos, and other blobs.
23
23
-**Call server code** - Directly call serverless Cloud Functions with user context automatically passed.
24
24
-**Push notifications** - Register and listen for push notifications
25
-
-**Modular** - Include only what's needed. No AngularFire package is above 3kb with most under 2kb (gzipped).
26
-
27
-
#### Quick links
28
-
[Contributing](CONTRIBUTING.md)
29
-
30
-
[Stackblitz Template](https://stackblitz.com/edit/angular-1iment) - Remember to set your Firebase configuration in `app/app.module.ts`.
31
-
32
-
[Upgrading to v5.0? Check out our guide.](docs/version-5-upgrade.md)
25
+
-**Modular** - Include only what's needed. No AngularFire package is above 4kb with most under 2kb (gzipped).
33
26
34
-
**Having troubles?** Get help on the [Firebase Mailing List](https://groups.google.com/forum/#!forum/firebase-talk) (officially supported), the [Firebase Community Slack](https://firebase.community/) (look for the `#angularfire2` room), [Gitter](https://gitter.im/angular/angularfire2), or [Stack Overflow](https://stackoverflow.com/questions/tagged/angularfire2).
27
+
## Quickstart
35
28
36
-
## Install
37
-
38
-
```bash
39
-
npm install firebase @angular/fire --save
40
-
```
29
+
Get your first application up and running by following [our quickstart guide](docs/install-and-setup.md).
[Upgrading to v6.0? Check out our guide.](docs/version-6-upgrade.md)
64
+
65
+
**Having troubles?** Get help on the [Firebase Mailing List](https://groups.google.com/forum/#!forum/firebase-talk) (officially supported), the [Firebase Community Slack](https://firebase.community/) (look for the `#angularfire2` room), [Gitter](https://gitter.im/angular/angularfire2), or [Stack Overflow](https://stackoverflow.com/questions/tagged/angularfire2).
66
+
67
+
## Developer Guide
72
68
73
69
### **NEW:** Monitor usage of your application in production
0 commit comments