@angular/fire 16.0.0-canary.78407bc → 16.0.0-rc.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -1,9 +1,6 @@
|
|
|
1
1
|
|
|
2
2
|
# AngularFire
|
|
3
|
-
|
|
4
|
-
AngularFire smooths over the rough edges an Angular developer might encounter when implementing the framework-agnostic
|
|
5
|
-
[Firebase JS SDK](https://github.com/firebase/firebase-js-sdk) & aims to provide a more natural developer experience
|
|
6
|
-
by conforming to Angular conventions.
|
|
3
|
+
The official [Angular](https://angular.io/) library for [Firebase](https://firebase.google.com/).
|
|
7
4
|
|
|
8
5
|
<strong><pre>ng add @angular/fire</pre></strong>
|
|
9
6
|
|
|
@@ -11,6 +8,10 @@ _Note: If you want to ng add AngularFire and will be using Hosting/Cloud Functio
|
|
|
11
8
|
Firebase CLI first so that you are logged in for the schematics that are run as part of `ng add @angular/fire`.
|
|
12
9
|
Follow [this guide](docs/install-firebase-tools.md) to have the Firebase CLI walk you through the setup._
|
|
13
10
|
|
|
11
|
+
AngularFire smooths over the rough edges an Angular developer might encounter when implementing the framework-agnostic
|
|
12
|
+
[Firebase JS SDK](https://github.com/firebase/firebase-js-sdk) & aims to provide a more natural developer experience
|
|
13
|
+
by conforming to Angular conventions.
|
|
14
|
+
|
|
14
15
|
- **Dependency injection** - Provide and Inject Firebase services in your components
|
|
15
16
|
- **Zone.js wrappers** - Stable zones allow proper functionality of service workers, forms, SSR, and pre-rendering
|
|
16
17
|
- **Observable based** - Utilize RxJS rather than callbacks for realtime streams
|
|
@@ -67,6 +68,28 @@ export class AppComponent {
|
|
|
67
68
|
}
|
|
68
69
|
```
|
|
69
70
|
|
|
71
|
+
## Compatibility
|
|
72
|
+
|
|
73
|
+
### Angular and Firebase versions
|
|
74
|
+
|
|
75
|
+
AngularFire doesn't follow Angular's versioning as Firebase also has breaking changes throughout the year. Instead we try to maintain compatibility with both Firebase and Angular majors for as long as possible, only breaking when we need to support a new major of one or the other.
|
|
76
|
+
|
|
77
|
+
| Angular | Firebase | AngularFire |
|
|
78
|
+
| --------|----------|--------------|
|
|
79
|
+
| 16 | 9 | ^7.6 |
|
|
80
|
+
| 15 | 9 | ^7.5 |
|
|
81
|
+
| 14 | 9 | ^7.4 |
|
|
82
|
+
| 13 | 9 | ^7.2 |
|
|
83
|
+
| 12 | 9 | ^7.0 |
|
|
84
|
+
| 12 | 7,8 | ^6.1.5 |
|
|
85
|
+
| 11 | 7,8 | ^6.1 |
|
|
86
|
+
| 10 | 8 | ^6.0.4 |
|
|
87
|
+
| 10 | 7 | ^6.0.3 |
|
|
88
|
+
| 9 | 8 | ^6.0.4 |
|
|
89
|
+
| 9 | 7 | ^6.0 |
|
|
90
|
+
|
|
91
|
+
<sub>Version combinations not documented here __may__ work but are untested and you will see NPM peer warnings.</sub>
|
|
92
|
+
|
|
70
93
|
### Polyfills
|
|
71
94
|
|
|
72
95
|
Neither AngularFire or Firebase ship with polyfills. To have compatibility across as wide-range of environments we suggest the following polyfills be added to your application:
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "../node_modules/ng-packagr/package.schema.json",
|
|
3
3
|
"name": "@angular/fire",
|
|
4
|
-
"version": "16.0.0-
|
|
5
|
-
"description": "Angular
|
|
4
|
+
"version": "16.0.0-rc.0",
|
|
5
|
+
"description": "The official Angular library for Firebase.",
|
|
6
6
|
"schematics": "./schematics/collection.json",
|
|
7
7
|
"builders": "./schematics/builders.json",
|
|
8
8
|
"keywords": [
|