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
}
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
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": {

0 commit comments

Comments
 (0)