Skip to content

Commit

Permalink
Merge master into release
Browse files Browse the repository at this point in the history
  • Loading branch information
google-oss-bot committed Oct 25, 2022
2 parents 7b6e99d + 4b9da74 commit e50bb0d
Show file tree
Hide file tree
Showing 76 changed files with 1,078 additions and 726 deletions.
5 changes: 5 additions & 0 deletions .changeset/chilled-forks-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@firebase/storage": patch
---

Fixed issue where clients using Node.js v18 would use the native `Blob` object which is incompatible with `node-fetch`
6 changes: 4 additions & 2 deletions .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
"firebase-repo-scripts-prune-dts"
],
"___experimentalUnsafeOptions_WILL_CHANGE_IN_PATCH": {
"onlyUpdatePeerDependentsWhenOutOfRange": true,
"useCalculatedVersionForSnapshots": true
"onlyUpdatePeerDependentsWhenOutOfRange": true
},
"snapshot": {
"useCalculatedVersion": true
}
}
50 changes: 50 additions & 0 deletions .changeset/fluffy-pumpkins-train.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
---
'@firebase/rules-unit-testing': patch
'@firebase/analytics': patch
'@firebase/analytics-compat': patch
'@firebase/analytics-interop-types': patch
'@firebase/analytics-types': patch
'@firebase/app': patch
'@firebase/app-check': patch
'@firebase/app-check-compat': patch
'@firebase/app-check-interop-types': patch
'@firebase/app-check-types': patch
'@firebase/app-compat': patch
'@firebase/app-types': patch
'@firebase/auth': patch
'@firebase/auth-compat': patch
'@firebase/auth-interop-types': patch
'@firebase/auth-types': patch
'@firebase/component': patch
'@firebase/database': patch
'@firebase/database-compat': patch
'@firebase/database-types': patch
'firebase': minor
'@firebase/firestore': patch
'@firebase/firestore-compat': patch
'@firebase/firestore-types': patch
'@firebase/functions': patch
'@firebase/functions-compat': patch
'@firebase/functions-types': patch
'@firebase/installations': patch
'@firebase/installations-compat': patch
'@firebase/installations-types': patch
'@firebase/logger': patch
'@firebase/messaging': patch
'@firebase/messaging-compat': patch
'@firebase/messaging-interop-types': patch
'@firebase/messaging-types': patch
'@firebase/performance': patch
'@firebase/performance-compat': patch
'@firebase/performance-types': patch
'@firebase/remote-config': patch
'@firebase/remote-config-compat': patch
'@firebase/remote-config-types': patch
'@firebase/storage': patch
'@firebase/storage-compat': patch
'@firebase/storage-types': patch
'@firebase/util': patch
'@firebase/webchannel-wrapper': patch
---

Upgrade TypeScript to 4.7.4.
5 changes: 5 additions & 0 deletions .changeset/lovely-swans-shake.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@firebase/messaging': minor
---

Expose 'icon' field from the Firebase Messaging SDK as part of the 'notification' payload
41 changes: 41 additions & 0 deletions .github/workflows/release-tweet.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: Send Release Tweet

on:
workflow_dispatch:
inputs:
version:
description: 'Version number'
type: string
required: true
force:
description: 'Force publish'
type: boolean
default: false
required: true

jobs:
tweet:
name: Send Release Tweet
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@master
- name: Setup Node.js 14.x
uses: actions/setup-node@master
with:
node-version: 14.x
- name: Poll release notes page on devsite
run: node scripts/ci/poll_release_notes.js
env:
VERSION: ${{ github.event.inputs.version }}
FORCE_PUBLISH: ${{ github.event.inputs.force }}
- name: Post to Twitter
uses: firebase/firebase-admin-node/.github/actions/send-tweet@master
with:
status: >
v${{github.event.inputs.version}} of @Firebase JavaScript client for Web / Node.js is available.
Release notes: https://firebase.google.com/support/release-notes/js#${{github.event.inputs.version}}
consumer-key: ${{ secrets.TWITTER_CONSUMER_KEY }}
consumer-secret: ${{ secrets.TWITTER_CONSUMER_SECRET }}
access-token: ${{ secrets.TWITTER_ACCESS_TOKEN }}
access-token-secret: ${{ secrets.TWITTER_ACCESS_TOKEN_SECRET }}
3 changes: 0 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ coverage
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ applications using Firebase services. This SDK is distributed via:

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

To get started using Firebase, see
[Add Firebase to your JavaScript Project](https://firebase.google.com/docs/web/setup).
Expand Down
1 change: 1 addition & 0 deletions common/api-review/messaging-sw.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ export { NextFn }
// @public
export interface NotificationPayload {
body?: string;
icon?: string;
image?: string;
title?: string;
}
Expand Down
1 change: 1 addition & 0 deletions common/api-review/messaging.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export { NextFn }
// @public
export interface NotificationPayload {
body?: string;
icon?: string;
image?: string;
title?: string;
}
Expand Down
2 changes: 1 addition & 1 deletion config/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"dependencies": {
"cors": "2.8.5",
"firebase-admin": "11.0.0",
"firebase-functions": "3.22.0"
"firebase-functions": "3.24.1"
},
"private": true,
"engines": {
Expand Down
4 changes: 2 additions & 2 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"devDependencies": {
"@babel/core": "7.17.10",
"@babel/preset-env": "7.17.10",
"@types/chai": "4.3.1",
"@types/chai": "4.3.3",
"@types/mocha": "9.1.1",
"babel-loader": "8.2.5",
"chai": "4.3.6",
"karma": "6.3.19",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-mocha": "2.0.1",
"karma-spec-reporter": "0.0.34",
Expand Down
4 changes: 2 additions & 2 deletions integration/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
"devDependencies": {
"firebase": "9.12.1",
"@types/chai": "4.3.1",
"@types/chai": "4.3.3",
"@types/mocha": "9.1.1",
"chai": "4.3.6",
"karma": "6.3.19",
"karma": "6.4.1",
"karma-babel-preprocessor": "8.0.2",
"karma-chrome-launcher": "3.1.1",
"karma-firefox-launcher": "2.1.2",
Expand Down
2 changes: 1 addition & 1 deletion integration/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"gulp": "4.0.2",
"gulp-filter": "7.0.0",
"gulp-replace": "1.1.3",
"karma": "6.3.19",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-firefox-launcher": "2.1.2",
"karma-mocha": "2.0.1",
Expand Down
2 changes: 1 addition & 1 deletion integration/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@
"geckodriver": "2.0.4",
"mocha": "9.2.2",
"node-fetch": "2.6.7",
"selenium-assistant": "6.1.0"
"selenium-assistant": "6.1.1"
}
}
29 changes: 14 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,29 +63,29 @@
],
"devDependencies": {
"@babel/core": "7.17.10",
"@babel/plugin-transform-modules-commonjs": "7.17.9",
"@babel/plugin-transform-modules-commonjs": "7.18.6",
"@babel/preset-env": "7.17.10",
"@babel/register": "7.17.7",
"@babel/preset-typescript": "7.16.7",
"@babel/register": "7.17.7",
"@changesets/changelog-github": "0.4.7",
"@changesets/cli": "2.25.0",
"@types/chai": "4.3.1",
"@types/chai": "4.3.3",
"@types/chai-as-promised": "7.1.5",
"@types/child-process-promise": "2.2.2",
"@types/clone": "2.1.1",
"@types/eslint": "7.29.0",
"@types/inquirer": "8.2.1",
"@types/js-yaml": "4.0.5",
"@types/listr": "0.14.4",
"@types/long": "4.0.2",
"@types/mocha": "9.1.1",
"@types/mz": "2.7.4",
"@types/node": "12.20.50",
"@types/request": "2.48.8",
"@types/sinon": "9.0.11",
"@types/sinon-chai": "3.2.8",
"@types/tmp": "0.2.3",
"@types/yargs": "17.0.10",
"@types/js-yaml": "4.0.5",
"@types/request": "2.48.8",
"@types/yargs": "17.0.13",
"@typescript-eslint/eslint-plugin": "4.33.0",
"@typescript-eslint/eslint-plugin-tslint": "4.33.0",
"@typescript-eslint/parser": "4.33.0",
Expand All @@ -98,22 +98,21 @@
"child-process-promise": "2.2.1",
"clone": "2.1.2",
"coveralls": "3.1.1",
"del": "6.0.0",
"del": "6.1.1",
"dependency-graph": "0.11.0",
"eslint": "7.32.0",
"eslint-plugin-import": "2.26.0",
"eslint-plugin-unused-imports": "2.0.0",
"express": "4.18.1",
"find-free-port": "2.0.0",
"firebase-functions": "3.22.0",
"firebase-tools": "11.2.2",
"glob": "7.2.3",
"http-server": "14.1.1",
"indexeddbshim": "8.0.0",
"inquirer": "8.2.4",
"istanbul-instrumenter-loader": "3.0.1",
"js-yaml": "4.1.0",
"karma": "6.3.19",
"karma": "6.4.1",
"karma-chrome-launcher": "3.1.1",
"karma-cli": "2.0.0",
"karma-coverage-istanbul-reporter": "3.0.3",
Expand All @@ -137,22 +136,22 @@
"npm-run-all": "4.1.5",
"nyc": "15.1.0",
"ora": "5.4.1",
"prettier": "2.6.2",
"prettier": "2.7.1",
"protractor": "5.4.2",
"request": "2.88.2",
"semver": "7.3.7",
"semver": "7.3.8",
"simple-git": "3.7.1",
"sinon": "9.2.4",
"sinon-chai": "3.7.0",
"source-map-loader": "1.1.3",
"terser": "5.14.2",
"terser": "5.15.1",
"ts-loader": "8.4.0",
"ts-node": "10.7.0",
"ts-node": "10.9.1",
"tslint": "6.1.3",
"typedoc": "0.16.11",
"typescript": "4.2.2",
"typescript": "4.7.4",
"watch": "1.0.2",
"webpack": "4.46.0",
"yargs": "17.4.1"
"yargs": "17.6.0"
}
}
2 changes: 1 addition & 1 deletion packages/analytics-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"devDependencies": {
"@firebase/app-compat": "0.1.37",
"rollup": "2.72.1",
"rollup": "2.79.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.31.2",
"typescript": "4.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/analytics/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.8.2",
"rollup": "2.72.1",
"rollup": "2.79.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.1.37",
"rollup": "2.72.1",
"rollup": "2.79.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-check/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.8.2",
"rollup": "2.72.1",
"rollup": "2.79.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/app-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"tslib": "^2.1.0"
},
"devDependencies": {
"rollup": "2.72.1",
"rollup": "2.79.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.31.2",
Expand Down
2 changes: 1 addition & 1 deletion packages/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"license": "Apache-2.0",
"devDependencies": {
"@rollup/plugin-json": "4.1.0",
"rollup": "2.72.1",
"rollup": "2.79.1",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.31.2",
"typescript": "4.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/auth-compat/demo/functions/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
},
"dependencies": {
"firebase-admin": "11.0.0",
"firebase-functions": "3.22.0"
"firebase-functions": "3.24.1"
},
"private": true
}
2 changes: 1 addition & 1 deletion packages/auth-compat/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"rollup": "2.72.1",
"rollup": "2.79.1",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-sourcemaps": "0.6.3",
"rollup-plugin-typescript2": "0.31.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/auth-compat/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,14 @@
"@firebase/component": "0.5.20",
"@firebase/util": "1.7.2",
"node-fetch": "2.6.7",
"selenium-webdriver": "4.1.2",
"selenium-webdriver": "4.5.0",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.1.37",
"@rollup/plugin-json": "4.1.0",
"rollup": "2.72.1",
"rollup": "2.79.1",
"rollup-plugin-replace": "2.2.0",
"rollup-plugin-typescript2": "0.31.2",
"typescript": "4.2.2"
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/cordova/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"cordova-ios": "6.2.0",
"cordova-plugin-whitelist": "1.3.5",
"cordova-universal-links-plugin": "1.2.1",
"rollup": "2.72.1"
"rollup": "2.79.1"
},
"cordova": {
"plugins": {
Expand Down
Loading

0 comments on commit e50bb0d

Please sign in to comment.