Skip to content

Commit 508c86a

Browse files
Merge
2 parents 50dd379 + 0c4f794 commit 508c86a

File tree

1,099 files changed

+41803
-14082
lines changed

Some content is hidden

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

1,099 files changed

+41803
-14082
lines changed

.changeset/blue-geese-approve.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@firebase/firestore": patch
3+
---
4+
5+
Internal changes for the upcoming modular API.

.changeset/config.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,19 @@
1212
"firebase-messaging-integration-test",
1313
"@firebase/app-exp",
1414
"@firebase/app-types-exp",
15+
"@firebase/auth-exp",
16+
"@firebase/auth-compat",
17+
"@firebase/auth-types-exp",
18+
"@firebase/functions-compat",
1519
"@firebase/functions-exp",
1620
"@firebase/functions-types-exp",
1721
"@firebase/installations-exp",
1822
"@firebase/installations-types-exp",
1923
"@firebase/performance-exp",
2024
"@firebase/performance-types-exp",
21-
"@firebase/testing",
25+
"@firebase/remote-config-exp",
26+
"@firebase/remote-config-types-exp",
27+
"@firebase/remote-config-compat",
2228
"firebase-exp",
2329
"@firebase/app-compat",
2430
"@firebase/changelog-generator",

.changeset/curvy-planets-sneeze.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@firebase/firestore": patch
3+
---
4+
5+
Fixes a regression introduced in v8.0.2 that returned invalid values for `DocumentChange.newIndex`.

.changeset/dirty-rings-cry.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fifty-snakes-shout.md

Lines changed: 0 additions & 6 deletions
This file was deleted.

.changeset/gentle-doors-play.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/lucky-squids-explode.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/many-snails-kneel.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@firebase/database": minor
3+
"firebase": minor
4+
---
5+
6+
Add a `get` method for database queries that returns server result when connected

.github/CODEOWNERS

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,3 +92,16 @@ scripts/docgen/content-sources/ @firebase/firebase-techwriters @firebase/jssdk-g
9292
packages-exp/auth-exp @avolkovi @samhorlbeck @firebase/jssdk-global-approvers
9393
packages-exp/auth-types-exp @avolkovi @samhorlbeck @firebase/jssdk-global-approvers
9494
packages-exp/auth-compat-exp @avolkovi @samhorlbeck @firebase/jssdk-global-approvers
95+
96+
# Installations-Exp Code
97+
packages/installations-exp @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
98+
packages/installations-types-exp @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
99+
100+
# Perf-Exp Code
101+
packages/performance-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
107+
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers

.github/workflows/check-changeset.yml

Lines changed: 15 additions & 14 deletions
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

.github/workflows/test-all.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
run: |
1818
sudo apt-get update
1919
sudo apt-get install google-chrome-stable
20+
- name: Bump Node memory limit
21+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2022
- name: Test setup and yarn install
2123
run: |
2224
cp config/ci.config.json config/project.json

.github/workflows/test-changed-auth.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json

.github/workflows/test-changed-fcm-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json

.github/workflows/test-changed-firestore-integration.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json
2729
yarn
2830
- name: build
29-
run: yarn build:changed firestore-integration --buildAppExp
31+
run: yarn build:changed firestore-integration --buildAppExp --buildAppCompat
3032
- name: Run tests if firestore or its dependencies has changed
3133
run: yarn test:changed firestore-integration

.github/workflows/test-changed-firestore.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,13 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json
2729
yarn
2830
- name: build
29-
run: yarn build:changed firestore --buildAppExp
31+
run: yarn build:changed firestore --buildAppExp --buildAppCompat
3032
- name: Run tests if firestore or its dependencies has changed
3133
run: yarn test:changed firestore

.github/workflows/test-changed-misc.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Test rxFire, @firebase/testing and @firebase/rules-unit-testing
1+
name: Test rxFire and @firebase/rules-unit-testing
22

33
on: pull_request
44

@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json

.github/workflows/test-changed.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json

.github/workflows/test-firebase-integration.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,8 @@ jobs:
2121
run: |
2222
sudo apt-get update
2323
sudo apt-get install google-chrome-stable
24+
- name: Bump Node memory limit
25+
run: echo "NODE_OPTIONS=--max_old_space_size=4096" >> $GITHUB_ENV
2426
- name: Test setup and yarn install
2527
run: |
2628
cp config/ci.config.json config/project.json

.gitignore

Lines changed: 1 addition & 0 deletions
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

Lines changed: 5 additions & 0 deletions
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)