Skip to content

Commit e50bb0d

Browse files
Merge master into release
2 parents 7b6e99d + 4b9da74 commit e50bb0d

File tree

76 files changed

+1078
-726
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+1078
-726
lines changed

.changeset/chilled-forks-accept.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@firebase/storage": patch
3+
---
4+
5+
Fixed issue where clients using Node.js v18 would use the native `Blob` object which is incompatible with `node-fetch`

.changeset/config.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@
2121
"firebase-repo-scripts-prune-dts"
2222
],
2323
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
24-
"onlyUpdatePeerDependentsWhenOutOfRange": true,
25-
"useCalculatedVersionForSnapshots": true
24+
"onlyUpdatePeerDependentsWhenOutOfRange": true
25+
},
26+
"snapshot": {
27+
"useCalculatedVersion": true
2628
}
2729
}

.changeset/fluffy-pumpkins-train.md

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
---
2+
'@firebase/rules-unit-testing': patch
3+
'@firebase/analytics': patch
4+
'@firebase/analytics-compat': patch
5+
'@firebase/analytics-interop-types': patch
6+
'@firebase/analytics-types': patch
7+
'@firebase/app': patch
8+
'@firebase/app-check': patch
9+
'@firebase/app-check-compat': patch
10+
'@firebase/app-check-interop-types': patch
11+
'@firebase/app-check-types': patch
12+
'@firebase/app-compat': patch
13+
'@firebase/app-types': patch
14+
'@firebase/auth': patch
15+
'@firebase/auth-compat': patch
16+
'@firebase/auth-interop-types': patch
17+
'@firebase/auth-types': patch
18+
'@firebase/component': patch
19+
'@firebase/database': patch
20+
'@firebase/database-compat': patch
21+
'@firebase/database-types': patch
22+
'firebase': minor
23+
'@firebase/firestore': patch
24+
'@firebase/firestore-compat': patch
25+
'@firebase/firestore-types': patch
26+
'@firebase/functions': patch
27+
'@firebase/functions-compat': patch
28+
'@firebase/functions-types': patch
29+
'@firebase/installations': patch
30+
'@firebase/installations-compat': patch
31+
'@firebase/installations-types': patch
32+
'@firebase/logger': patch
33+
'@firebase/messaging': patch
34+
'@firebase/messaging-compat': patch
35+
'@firebase/messaging-interop-types': patch
36+
'@firebase/messaging-types': patch
37+
'@firebase/performance': patch
38+
'@firebase/performance-compat': patch
39+
'@firebase/performance-types': patch
40+
'@firebase/remote-config': patch
41+
'@firebase/remote-config-compat': patch
42+
'@firebase/remote-config-types': patch
43+
'@firebase/storage': patch
44+
'@firebase/storage-compat': patch
45+
'@firebase/storage-types': patch
46+
'@firebase/util': patch
47+
'@firebase/webchannel-wrapper': patch
48+
---
49+
50+
Upgrade TypeScript to 4.7.4.

.changeset/lovely-swans-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/messaging': minor
3+
---
4+
5+
Expose 'icon' field from the Firebase Messaging SDK as part of the 'notification' payload

.github/workflows/release-tweet.yml

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
name: Send Release Tweet
2+
3+
on:
4+
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version number'
8+
type: string
9+
required: true
10+
force:
11+
description: 'Force publish'
12+
type: boolean
13+
default: false
14+
required: true
15+
16+
jobs:
17+
tweet:
18+
name: Send Release Tweet
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout Repo
22+
uses: actions/checkout@master
23+
- name: Setup Node.js 14.x
24+
uses: actions/setup-node@master
25+
with:
26+
node-version: 14.x
27+
- name: Poll release notes page on devsite
28+
run: node scripts/ci/poll_release_notes.js
29+
env:
30+
VERSION: ${{ github.event.inputs.version }}
31+
FORCE_PUBLISH: ${{ github.event.inputs.force }}
32+
- name: Post to Twitter
33+
uses: firebase/firebase-admin-node/.github/actions/send-tweet@master
34+
with:
35+
status: >
36+
v${{github.event.inputs.version}} of @Firebase JavaScript client for Web / Node.js is available.
37+
Release notes: https://firebase.google.com/support/release-notes/js#${{github.event.inputs.version}}
38+
consumer-key: ${{ secrets.TWITTER_CONSUMER_KEY }}
39+
consumer-secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
40+
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
41+
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}

.gitignore

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,6 @@ coverage
3939
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
4040
.grunt
4141

42-
# Bower dependency directory (https://bower.io/)
43-
bower_components
44-
4542
# node-waf configuration
4643
.lock-wscript
4744

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ applications using Firebase services. This SDK is distributed via:
1111

1212
- [CDN](https://firebase.google.com/docs/web/setup/#add-sdks-initialize)
1313
- [npm package](https://www.npmjs.com/package/firebase)
14-
- [Bower package](https://github.com/firebase/firebase-bower)
1514

1615
To get started using Firebase, see
1716
[Add Firebase to your JavaScript Project](https://firebase.google.com/docs/web/setup).

common/api-review/messaging-sw.api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export { NextFn }
5252
// @public
5353
export interface NotificationPayload {
5454
body?: string;
55+
icon?: string;
5556
image?: string;
5657
title?: string;
5758
}

common/api-review/messaging.api.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ export { NextFn }
5555
// @public
5656
export interface NotificationPayload {
5757
body?: string;
58+
icon?: string;
5859
image?: string;
5960
title?: string;
6061
}

config/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"dependencies": {
55
"cors": "2.8.5",
66
"firebase-admin": "11.0.0",
7-
"firebase-functions": "3.22.0"
7+
"firebase-functions": "3.24.1"
88
},
99
"private": true,
1010
"engines": {

e2e/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
"devDependencies": {
2222
"@babel/core": "7.17.10",
2323
"@babel/preset-env": "7.17.10",
24-
"@types/chai": "4.3.1",
24+
"@types/chai": "4.3.3",
2525
"@types/mocha": "9.1.1",
2626
"babel-loader": "8.2.5",
2727
"chai": "4.3.6",
28-
"karma": "6.3.19",
28+
"karma": "6.4.1",
2929
"karma-chrome-launcher": "3.1.1",
3030
"karma-mocha": "2.0.1",
3131
"karma-spec-reporter": "0.0.34",

integration/firebase/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88
},
99
"devDependencies": {
1010
"firebase": "9.12.1",
11-
"@types/chai": "4.3.1",
11+
"@types/chai": "4.3.3",
1212
"@types/mocha": "9.1.1",
1313
"chai": "4.3.6",
14-
"karma": "6.3.19",
14+
"karma": "6.4.1",
1515
"karma-babel-preprocessor": "8.0.2",
1616
"karma-chrome-launcher": "3.1.1",
1717
"karma-firefox-launcher": "2.1.2",

integration/firestore/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"gulp": "4.0.2",
2424
"gulp-filter": "7.0.0",
2525
"gulp-replace": "1.1.3",
26-
"karma": "6.3.19",
26+
"karma": "6.4.1",
2727
"karma-chrome-launcher": "3.1.1",
2828
"karma-firefox-launcher": "2.1.2",
2929
"karma-mocha": "2.0.1",

integration/messaging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@
1616
"geckodriver": "2.0.4",
1717
"mocha": "9.2.2",
1818
"node-fetch": "2.6.7",
19-
"selenium-assistant": "6.1.0"
19+
"selenium-assistant": "6.1.1"
2020
}
2121
}

package.json

Lines changed: 14 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -63,29 +63,29 @@
6363
],
6464
"devDependencies": {
6565
"@babel/core": "7.17.10",
66-
"@babel/plugin-transform-modules-commonjs": "7.17.9",
66+
"@babel/plugin-transform-modules-commonjs": "7.18.6",
6767
"@babel/preset-env": "7.17.10",
68-
"@babel/register": "7.17.7",
6968
"@babel/preset-typescript": "7.16.7",
69+
"@babel/register": "7.17.7",
7070
"@changesets/changelog-github": "0.4.7",
7171
"@changesets/cli": "2.25.0",
72-
"@types/chai": "4.3.1",
72+
"@types/chai": "4.3.3",
7373
"@types/chai-as-promised": "7.1.5",
7474
"@types/child-process-promise": "2.2.2",
7575
"@types/clone": "2.1.1",
7676
"@types/eslint": "7.29.0",
7777
"@types/inquirer": "8.2.1",
78+
"@types/js-yaml": "4.0.5",
7879
"@types/listr": "0.14.4",
7980
"@types/long": "4.0.2",
8081
"@types/mocha": "9.1.1",
8182
"@types/mz": "2.7.4",
8283
"@types/node": "12.20.50",
84+
"@types/request": "2.48.8",
8385
"@types/sinon": "9.0.11",
8486
"@types/sinon-chai": "3.2.8",
8587
"@types/tmp": "0.2.3",
86-
"@types/yargs": "17.0.10",
87-
"@types/js-yaml": "4.0.5",
88-
"@types/request": "2.48.8",
88+
"@types/yargs": "17.0.13",
8989
"@typescript-eslint/eslint-plugin": "4.33.0",
9090
"@typescript-eslint/eslint-plugin-tslint": "4.33.0",
9191
"@typescript-eslint/parser": "4.33.0",
@@ -98,22 +98,21 @@
9898
"child-process-promise": "2.2.1",
9999
"clone": "2.1.2",
100100
"coveralls": "3.1.1",
101-
"del": "6.0.0",
101+
"del": "6.1.1",
102102
"dependency-graph": "0.11.0",
103103
"eslint": "7.32.0",
104104
"eslint-plugin-import": "2.26.0",
105105
"eslint-plugin-unused-imports": "2.0.0",
106106
"express": "4.18.1",
107107
"find-free-port": "2.0.0",
108-
"firebase-functions": "3.22.0",
109108
"firebase-tools": "11.2.2",
110109
"glob": "7.2.3",
111110
"http-server": "14.1.1",
112111
"indexeddbshim": "8.0.0",
113112
"inquirer": "8.2.4",
114113
"istanbul-instrumenter-loader": "3.0.1",
115114
"js-yaml": "4.1.0",
116-
"karma": "6.3.19",
115+
"karma": "6.4.1",
117116
"karma-chrome-launcher": "3.1.1",
118117
"karma-cli": "2.0.0",
119118
"karma-coverage-istanbul-reporter": "3.0.3",
@@ -137,22 +136,22 @@
137136
"npm-run-all": "4.1.5",
138137
"nyc": "15.1.0",
139138
"ora": "5.4.1",
140-
"prettier": "2.6.2",
139+
"prettier": "2.7.1",
141140
"protractor": "5.4.2",
142141
"request": "2.88.2",
143-
"semver": "7.3.7",
142+
"semver": "7.3.8",
144143
"simple-git": "3.7.1",
145144
"sinon": "9.2.4",
146145
"sinon-chai": "3.7.0",
147146
"source-map-loader": "1.1.3",
148-
"terser": "5.14.2",
147+
"terser": "5.15.1",
149148
"ts-loader": "8.4.0",
150-
"ts-node": "10.7.0",
149+
"ts-node": "10.9.1",
151150
"tslint": "6.1.3",
152151
"typedoc": "0.16.11",
153-
"typescript": "4.2.2",
152+
"typescript": "4.7.4",
154153
"watch": "1.0.2",
155154
"webpack": "4.46.0",
156-
"yargs": "17.4.1"
155+
"yargs": "17.6.0"
157156
}
158157
}

packages/analytics-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
},
2626
"devDependencies": {
2727
"@firebase/app-compat": "0.1.37",
28-
"rollup": "2.72.1",
28+
"rollup": "2.79.1",
2929
"@rollup/plugin-json": "4.1.0",
3030
"rollup-plugin-typescript2": "0.31.2",
3131
"typescript": "4.2.2"

packages/analytics/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"license": "Apache-2.0",
5050
"devDependencies": {
5151
"@firebase/app": "0.8.2",
52-
"rollup": "2.72.1",
52+
"rollup": "2.79.1",
5353
"@rollup/plugin-commonjs": "21.1.0",
5454
"@rollup/plugin-json": "4.1.0",
5555
"@rollup/plugin-node-resolve": "13.3.0",

packages/app-check-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"license": "Apache-2.0",
4646
"devDependencies": {
4747
"@firebase/app-compat": "0.1.37",
48-
"rollup": "2.72.1",
48+
"rollup": "2.79.1",
4949
"@rollup/plugin-commonjs": "21.1.0",
5050
"@rollup/plugin-json": "4.1.0",
5151
"@rollup/plugin-node-resolve": "13.3.0",

packages/app-check/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"license": "Apache-2.0",
4747
"devDependencies": {
4848
"@firebase/app": "0.8.2",
49-
"rollup": "2.72.1",
49+
"rollup": "2.79.1",
5050
"@rollup/plugin-commonjs": "21.1.0",
5151
"@rollup/plugin-json": "4.1.0",
5252
"@rollup/plugin-node-resolve": "13.3.0",

packages/app-compat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"tslib": "^2.1.0"
4848
},
4949
"devDependencies": {
50-
"rollup": "2.72.1",
50+
"rollup": "2.79.1",
5151
"@rollup/plugin-json": "4.1.0",
5252
"rollup-plugin-replace": "2.2.0",
5353
"rollup-plugin-typescript2": "0.31.2",

packages/app/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"license": "Apache-2.0",
4848
"devDependencies": {
4949
"@rollup/plugin-json": "4.1.0",
50-
"rollup": "2.72.1",
50+
"rollup": "2.79.1",
5151
"rollup-plugin-replace": "2.2.0",
5252
"rollup-plugin-typescript2": "0.31.2",
5353
"typescript": "4.2.2"

packages/auth-compat/demo/functions/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"dependencies": {
1212
"firebase-admin": "11.0.0",
13-
"firebase-functions": "3.22.0"
13+
"firebase-functions": "3.24.1"
1414
},
1515
"private": true
1616
}

packages/auth-compat/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@rollup/plugin-commonjs": "21.1.0",
3030
"@rollup/plugin-json": "4.1.0",
3131
"@rollup/plugin-node-resolve": "13.3.0",
32-
"rollup": "2.72.1",
32+
"rollup": "2.79.1",
3333
"rollup-plugin-replace": "2.2.0",
3434
"rollup-plugin-sourcemaps": "0.6.3",
3535
"rollup-plugin-typescript2": "0.31.2",

packages/auth-compat/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,14 +51,14 @@
5151
"@firebase/component": "0.5.20",
5252
"@firebase/util": "1.7.2",
5353
"node-fetch": "2.6.7",
54-
"selenium-webdriver": "4.1.2",
54+
"selenium-webdriver": "4.5.0",
5555
"tslib": "^2.1.0"
5656
},
5757
"license": "Apache-2.0",
5858
"devDependencies": {
5959
"@firebase/app-compat": "0.1.37",
6060
"@rollup/plugin-json": "4.1.0",
61-
"rollup": "2.72.1",
61+
"rollup": "2.79.1",
6262
"rollup-plugin-replace": "2.2.0",
6363
"rollup-plugin-typescript2": "0.31.2",
6464
"typescript": "4.2.2"

packages/auth/cordova/demo/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"cordova-ios": "6.2.0",
1515
"cordova-plugin-whitelist": "1.3.5",
1616
"cordova-universal-links-plugin": "1.2.1",
17-
"rollup": "2.72.1"
17+
"rollup": "2.79.1"
1818
},
1919
"cordova": {
2020
"plugins": {

0 commit comments

Comments
 (0)