Skip to content

Commit ced4e02

Browse files
committed
Merge branch 'master' into release
2 parents e3bf958 + 007ddd1 commit ced4e02

File tree

555 files changed

+13981
-3963
lines changed

Some content is hidden

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

555 files changed

+13981
-3963
lines changed

.changeset/config.json

+2
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@
2121
"@firebase/installations-types-exp",
2222
"@firebase/performance-exp",
2323
"@firebase/performance-types-exp",
24+
"@firebase/remote-config-exp",
25+
"@firebase/remote-config-types-exp",
2426
"firebase-exp",
2527
"@firebase/app-compat",
2628
"@firebase/changelog-generator",

.changeset/fluffy-panthers-hide.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'@firebase/messaging': patch
3+
---
4+
5+
Adds a timeout for `onBackgroundMessage` hook so that silent-push warnings won't show if `showNotification` is called inside the hook within 1s.
6+
This fixes the issue where the silent-push warning is displayed along with the message shown with [ServiceWorkerRegistration.showNotification](https://developer.mozilla.org/en-US/docs/Web/API/ServiceWorkerRegistration/showNotification).

.changeset/fuzzy-impalas-brake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@firebase/util": patch
3+
---
4+
5+
Do not merge `__proto__` in `deepExtend` to prevent `__proto__` pollution.

.changeset/lazy-elephants-suffer.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/rules-unit-testing': minor
3+
---
4+
5+
Add withFunctionTriggersDisabled function which runs a user-provided setup function with emulated Cloud Functions triggers disabled. This can be used to import data into the Realtime Database or Cloud Firestore emulators without triggering locally emulated Cloud Functions. This method only works with Firebase CLI version 8.13.0 or higher.

.changeset/my-random-name.md

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
2+
---
3+
"@firebase/firestore": patch
4+
---
5+
6+
Internal changes to support upcoming modular API.

.github/CODEOWNERS

+5-1
Original file line numberDiff line numberDiff line change
@@ -99,4 +99,8 @@ packages/installations-types-exp @andirayo @ChaoqunCHEN @firebase/jssdk-global-a
9999

100100
# Perf-Exp Code
101101
packages/performance-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
102-
packages/performance-types-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
102+
packages/performance-types-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
103+
104+
# RC-Exp Code
105+
packages/remote-config-exp @erikeldridge @firebase/jssdk-global-approvers
106+
packages/remote-config-types-exp @erikeldridge @firebase/jssdk-global-approvers

.github/workflows/check-changeset.yml

+15-14
Original file line numberDiff line numberDiff line change
@@ -22,43 +22,44 @@ jobs:
2222
- name: Run changeset script
2323
run: yarn ts-node-script scripts/check_changeset.ts
2424
id: check-changeset
25-
- name: Read output
26-
run: echo "${{steps.check-changeset.outputs.MISSING_PACKAGES}}"
25+
- name: Print changeset checker output
26+
run: echo "${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}"
27+
- name: Print blocking failure status
28+
run: echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
2729
- name: Find Comment
2830
uses: peter-evans/find-comment@v1
2931
id: fc
3032
with:
3133
issue-number: ${{github.event.number}}
3234
body-includes: Changeset File Check
3335
- name: Create comment (missing packages)
34-
if: ${{!steps.fc.outputs.comment-id && steps.check-changeset.outputs.MISSING_PACKAGES}}
36+
if: ${{!steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
3537
uses: peter-evans/create-or-update-comment@v1
3638
with:
3739
issue-number: ${{github.event.number}}
3840
body: |
3941
### Changeset File Check :warning:
40-
Warning: This PR modifies files in the following packages but they have not been included in the changeset file:
41-
${{steps.check-changeset.outputs.MISSING_PACKAGES}}
42-
43-
Make sure this was intentional.
42+
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
4443
- name: Update comment (missing packages)
4544
if: ${{steps.fc.outputs.comment-id}}
4645
uses: peter-evans/create-or-update-comment@v1
4746
with:
48-
comment-id: ${{steps.fc.outputs.comment-id}} && steps.check-changeset.outputs.MISSING_PACKAGES}}
47+
comment-id: ${{steps.fc.outputs.comment-id}} && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
4948
edit-mode: replace
5049
body: |
5150
### Changeset File Check :warning:
52-
Warning: This PR modifies files in the following packages but they have not been included in the changeset file:
53-
${{steps.check-changeset.outputs.MISSING_PACKAGES}}
54-
55-
Make sure this was intentional.
51+
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
5652
- name: Update comment (no missing packages)
57-
if: ${{steps.fc.outputs.comment-id && !steps.check-changeset.outputs.MISSING_PACKAGES}}
53+
if: ${{steps.fc.outputs.comment-id && !steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
5854
uses: peter-evans/create-or-update-comment@v1
5955
with:
6056
comment-id: ${{steps.fc.outputs.comment-id}}
6157
edit-mode: replace
6258
body: |
6359
### Changeset File Check :white_check_mark:
64-
No modified packages are missing from the changeset file.
60+
- No modified packages are missing from the changeset file.
61+
- No changeset formatting errors detected.
62+
# Don't want it to throw before editing the comment.
63+
- name: Fail if checker script logged a blocking failure
64+
if: ${{steps.check-changeset.outputs.BLOCKING_FAILURE == 'true'}}
65+
run: exit 1

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,7 @@ packages-exp/**/temp
8888

8989
# temp markdowns generated for individual SDKs
9090
packages-exp/**/docs
91+
packages/**/docs
9192

9293
# files generated by api-extractor that should not be tracked
9394
tsdoc-metadata.json

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Changelog
2+
3+
You can view the changelog for the packages within this monorepo in `packages/<package name>/CHANGELOG.md`. For example, you will find the changelog for the Firestore package at [`packages/firestore/CHANGELOG.md`](./packages/firestore/CHANGELOG.md).
4+
5+
Additionally, you can view our official release notes for the entire monorepo at the [firebase support page](https://firebase.google.com/support/release-notes/js).

0 commit comments

Comments
 (0)