Skip to content

Commit 236b658

Browse files
authored
chore(release): 9.1.0 (#3002)
1 parent 3ae6ce5 commit 236b658

File tree

4 files changed

+33
-3
lines changed

4 files changed

+33
-3
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,32 @@
1+
<a name="7.1.0"></a>
2+
# [7.1.0](https://github.com/angular/angularfire/compare/7.0.4...7.1.0) (2021-10-08)
3+
4+
### Features
5+
6+
* **auth-guard:** modular auth guards now available ([#3001](https://github.com/angular/angularfire/issues/3001)) ([3ae6ce5](https://github.com/angular/angularfire/commit/3ae6ce5))
7+
* **schematics:** setup wizard on `ng add`, allow deployment to Cloud Run, and add more configuration options to `ng deploy` ([#2836](https://github.com/angular/angularfire/issues/2836)) ([72d3c2e](https://github.com/angular/angularfire/commit/72d3c2e))
8+
* **compat/storage**: Adding list function ([#2960](https://github.com/angular/angularfire/issues/2960)) ([ea544b](https://github.com/angular/angularfire/commit/8ea544b))
9+
* **app-check**: Add AppCheck ([#2940](https://github.com/angular/angularfire/issues/2940)) ([337116f](https://github.com/angular/angularfire/commit/337116f))
10+
* **compat/storage**: Transfer state support for the `getDownloadURL` pipe ([#2921](https://github.com/angular/angularfire/issues/2921)) ([d6cfe16](https://github.com/angular/angularfire/commit/d6cfe16))
11+
* **analytics**: modular versions of `ScreenTrackingService` and `UserTrackingService` now available ([#2963](https://github.com/angular/angularfire/issues/2963)) ([d724d81](https://github.com/angular/angularfire/commit/d724d81))
12+
* **core**: `provide*` methods can pass dependencies & the factory can use the injector for more advanced configuration ([#2963](https://github.com/angular/angularfire/issues/2963)) ([d724d81](https://github.com/angular/angularfire/commit/d724d81))
13+
14+
### Bug Fixes
15+
16+
* **compat/storage**: Type fixes for `.child` ([#2921](https://github.com/angular/angularfire/issues/2921)) ([d6cfe16](https://github.com/angular/angularfire/commit/d6cfe16))
17+
18+
### Misc.
19+
20+
* `Analytics`, `RemoteConfig`, and `Messaging` can be `null` if `isSupported()` returns false, this guards against runtime failures in unsupported environments at the cost of null checking
21+
* Require Firebase 7.1 peer
22+
* `ng add` installs firebase-tools globally, this also addressed the race condition
23+
* Requires firebase-tools 9.9+ peer (optional)
24+
* Moved peer dependencies for the schematics to proper dependencies
25+
* Mark compatability with rxjs 7
26+
* Increase the accuracy of performance marks
27+
* `ng deploy` echos out the firebase-tools version and the user
28+
* Error message improvements
29+
130
<a name="7.0.4"></a>
231
# [7.0.4](https://github.com/angular/angularfire/compare/7.0.3...7.0.4) (2021-09-07)
332

src/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"@angular-devkit/schematics": "^12.0.0",
3131
"@angular-devkit/architect": "> 0.1200.0 < 0.1300.0",
3232
"@schematics/angular": "^12.0.0",
33-
"firebase": "^9.0.0",
33+
"firebase": "^9.1.0",
3434
"rxfire": "^6.0.0",
3535
"rxjs": "~6.6.0 || ^7.0.0",
3636
"firebase-tools": "^9.9.0"

src/schematics/deploy/actions.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,8 @@ export const deployToFunction = async (
226226
// tslint:disable-next-line:no-non-null-assertion
227227
const siteTarget = options.target ?? context.target!.project;
228228

229+
execSync(`npm --prefix ${functionsOut} i`);
230+
229231
if (options.preview) {
230232

231233
await firebaseTools.serve({

src/schematics/utils.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,8 +220,7 @@ export function addToNgModule(host: Tree, options: { sourcePath: string, feature
220220
changes.push(
221221
insertImport(source, modulePath, ['provideAnalytics', 'getAnalytics', 'ScreenTrackingService', 'UserTrackingService'] as any, '@angular/fire/analytics'),
222222
...addImportToModule(source, modulePath, `provideAnalytics(() => getAnalytics())`, null as any),
223-
...addProviderToModule(source, modulePath, `ScreenTrackingService`, null as any),
224-
...addProviderToModule(source, modulePath, `UserTrackingService`, null as any),
223+
...addProviderToModule(source, modulePath, ['ScreenTrackingService', 'UserTrackingService'] as any, null as any),
225224
);
226225
}
227226

0 commit comments

Comments
 (0)