Skip to content

Commit 45140ad

Browse files
author
Brian Chen
committed
Merge branch 'master' into bc/fix-update-data
2 parents 83fee2c + 509c18f commit 45140ad

File tree

1,912 files changed

+48069
-203969
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,912 files changed

+48069
-203969
lines changed

.changeset/config.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -15,25 +15,6 @@
1515
"firebase-messaging-integration-test",
1616
"firebase-compat-interop-test",
1717
"firebase-compat-typings-test",
18-
"@firebase/app-compat",
19-
"@firebase/app-exp",
20-
"@firebase/app-check-compat",
21-
"@firebase/app-check-exp",
22-
"@firebase/analytics-compat",
23-
"@firebase/analytics-exp",
24-
"@firebase/auth-exp",
25-
"@firebase/auth-compat",
26-
"@firebase/functions-compat",
27-
"@firebase/functions-exp",
28-
"@firebase/installations-exp",
29-
"@firebase/installations-compat",
30-
"@firebase/messaging-exp",
31-
"@firebase/messaging-compat",
32-
"@firebase/performance-exp",
33-
"@firebase/performance-compat",
34-
"@firebase/remote-config-exp",
35-
"@firebase/remote-config-compat",
36-
"firebase-exp",
3718
"@firebase/changelog-generator",
3819
"firebase-size-analysis"
3920
],

.changeset/dirty-pandas-pay.md

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

.github/CODEOWNERS

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535

3636
# Database Code
3737
packages/database @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
38+
packages/database-compat @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
3839
packages/database-types @schmidt-sebastian @jsdt @firebase/jssdk-global-approvers
3940

4041
# Firestore Code
@@ -45,56 +46,54 @@ integration/firestore @firebase/firestore-js-team @firebase/jssdk-global-approv
4546

4647
# Storage Code
4748
packages/storage @schmidt-sebastian @firebase/jssdk-global-approvers
49+
packages/storage-compat @schmidt-sebastian @firebase/jssdk-global-approvers
4850
packages/storage-types @schmidt-sebastian @firebase/jssdk-global-approvers
4951

5052
# Messaging Code
5153
packages/messaging @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
54+
packages/messaging-compat @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
5255
packages/messaging-types @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
56+
packages/messaging-interop-types @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
5357
integration/messaging @zwu52 @chliangGoogle @ciarand @firebase/jssdk-global-approvers
5458

5559
# Auth Code
5660
packages/auth @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
61+
packages/auth-compat @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
5762
packages/auth-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
63+
packages/auth-interop-types @bojeil-google @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
5864

5965
# Testing Code
60-
packages/testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
6166
packages/rules-unit-testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
6267

6368
# Installations
64-
packages/installations @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
65-
packages/installations-types @andirayo @ChaoqunCHEN @firebase/jssdk-global-approvers
69+
packages/installations @avolkovi @yoyomyo @firebase/jssdk-global-approvers
70+
packages/installations-compat @avolkovi @yoyomyo @firebase/jssdk-global-approvers
71+
packages/installations-types @avolkovi @yoyomyo @firebase/jssdk-global-approvers
6672

6773
# Performance Code
68-
packages/performance @alikn @zijianjoy @firebase/jssdk-global-approvers
69-
packages/performance-types @alikn @zijianjoy @firebase/jssdk-global-approvers
74+
packages/performance @jposuna @firebase/jssdk-global-approvers
75+
packages/performance-compat @jposuna @firebase/jssdk-global-approvers
76+
packages/performance-types @jposuna @firebase/jssdk-global-approvers
7077

7178
# Analytics Code
7279
packages/analytics @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
80+
packages/analytics-compat @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
7381
packages/analytics-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
7482

7583
# Remote Config Code
7684
packages/remote-config @erikeldridge @firebase/jssdk-global-approvers
85+
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers
7786
packages/remote-config-types @erikeldridge @firebase/jssdk-global-approvers
7887

88+
# App Check Code
89+
packages/app-check @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
90+
packages/app-check-compat @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
91+
packages/app-check-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
92+
packages/app-check-interop-types @hsubox76 @Feiyang1 @firebase/jssdk-global-approvers
93+
7994
# Documentation Changes
8095
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
8196
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers
8297

8398
# Changeset
8499
.changeset @egilmorez @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers
85-
86-
# Auth-Exp Code
87-
packages-exp/auth-exp @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
88-
packages-exp/auth-compat-exp @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
89-
90-
# Installations-Exp Code
91-
packages/installations-exp @avolkovi @yoyomyo @firebase/jssdk-global-approvers
92-
packages/installations-types-exp @avolkovi @yoyomyo @firebase/jssdk-global-approvers
93-
94-
# Perf-Exp Code
95-
packages/performance-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
96-
packages/performance-types-exp @alikn @zijianjoy @firebase/jssdk-global-approvers
97-
98-
# RC-Exp Code
99-
packages/remote-config-exp @erikeldridge @firebase/jssdk-global-approvers
100-
packages/remote-config-compat @erikeldridge @firebase/jssdk-global-approvers

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed fcm-integration --buildAppExp
31+
run: yarn build:changed fcm-integration
3232
- name: Run tests if FCM or its dependencies has changed
3333
run: xvfb-run yarn test:changed fcm-integration

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed firestore-integration --buildAppExp --buildAppCompat
31+
run: yarn build:changed firestore-integration
3232
- name: Run tests if firestore or its dependencies has changed
3333
run: yarn test:changed firestore-integration

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed firestore --buildAppExp --buildAppCompat
31+
run: yarn build:changed firestore
3232
- name: Run tests if firestore or its dependencies has changed
3333
run: yarn test:changed firestore

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed misc --buildAppExp
31+
run: yarn build:changed misc
3232
- name: Run tests
3333
run: yarn test:changed misc

.github/workflows/test-changed.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed core --buildAppExp
31+
run: yarn build:changed core
3232
- name: Run tests on changed packages
3333
run: xvfb-run yarn test:changed core

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ jobs:
2828
cp config/ci.config.json config/project.json
2929
yarn
3030
- name: build
31-
run: yarn build:changed firebase-integration --buildAppExp
31+
run: yarn build:changed firebase-integration
3232
- name: Run tests on changed packages
3333
run: yarn test:changed firebase-integration

.github/workflows/update-api-reports.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ jobs:
2121
- name: Yarn install
2222
run: yarn
2323
- name: Update API reports
24-
run: yarn ts-node-script scripts/exp/update-api-reports.ts
24+
# API reports are generated as part of the build
25+
run: yarn build
2526
id: update-api-reports
2627
- name: Commit & Push changes
2728
uses: EndBug/add-and-commit@v7

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,8 @@ package-lock.json
8484

8585
# temp folder used by api-extractor
8686
temp
87-
packages-exp/**/temp
8887

8988
# temp markdowns generated for individual SDKs
90-
packages-exp/**/docs
9189
packages/**/docs
9290

9391
# files generated by api-extractor that should not be tracked

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
<!-- BADGES -->
44
![Build Status](https://img.shields.io/github/workflow/status/firebase/firebase-js-sdk/Run%20All%20Tests.svg)
5-
[![Build Status](https://saucelabs.com/buildstatus/firebase-oss)](https://saucelabs.com/u/firebase-oss)
65
[![Version](https://img.shields.io/npm/v/firebase.svg?label=version)](https://www.npmjs.com/package/firebase)
76
[![Coverage Status](https://coveralls.io/repos/github/firebase/firebase-js-sdk/badge.svg?branch=master)](https://coveralls.io/github/firebase/firebase-js-sdk?branch=master)
87
<!-- END BADGES -->
@@ -19,6 +18,8 @@ To get started using Firebase, see
1918

2019
[![Release Notes](https://img.shields.io/npm/v/firebase.svg?style=flat-square&label=Release%20Notes%20for&labelColor=039be5&color=666)](https://firebase.google.com/support/release-notes/js)
2120

21+
## Upgrade to Version 9
22+
Version 9 has a redesigned API that supports tree-shaking. Read the [Upgrade Guide](https://firebase.google.com/docs/web/modular-upgrade) to learn more.
2223
## Supported Environments
2324
Please see [Environment Support](https://firebase.google.com/support/guides/environments_js-sdk).
2425

@@ -88,9 +89,26 @@ $ yarn build
8889
A production project is required to test the Firebase JS SDK. You can create a
8990
new project by visiting the [Firebase Console](https://console.firebase.google.com/).
9091

92+
#### Web App Setup
93+
94+
Visit the "Project Overview" and select "Add app" under your project name. Register the app with a
95+
nickname and click through the remaining steps. Without performing this step, you will encounter
96+
the error in the test setup:
97+
98+
```
99+
FirebaseError: There are no WEB apps associated with this Firebase project
100+
```
101+
91102
#### Firestore Database Setup
92103

93-
Visit the "Database" section of the console and create a Cloud Firestore
104+
Visit the "Firestore Database" section of the console and create a Cloud Firestore
105+
database. When prompted to select the set of initial security rules, select
106+
any option (e.g. "Start in Production Mode") since these permission settings
107+
will be overwritten below.
108+
109+
#### Realtime Database Setup
110+
111+
Visit the "Realtime Database" section of the console and create a realtime
94112
database. When prompted to select the set of initial security rules, select
95113
any option (e.g. "Start in Production Mode") since these permission settings
96114
will be overwritten below.

0 commit comments

Comments
 (0)