Skip to content

Commit 7273df7

Browse files
committed
Merge remote-tracking branch 'origin/main' into dataconnect
2 parents 57ffcf6 + 2561b63 commit 7273df7

File tree

81 files changed

+687
-262
lines changed

Some content is hidden

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

81 files changed

+687
-262
lines changed

.changeset/sharp-dingos-admire.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+
Re-enable useFetchStreams with the latest WebChannel implementation. This reduces the memory usage of WebChannel.

.github/workflows/test-all.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ jobs:
9292
- name: Run unit tests
9393
# Ignore auth and firestore since they're handled in their own separate jobs.
9494
run: |
95-
xvfb-run yarn lerna run --ignore '{firebase-messaging-integration-test,@firebase/auth*,@firebase/firestore*,firebase-firestore-integration-test}' --concurrency 4 test:ci
95+
xvfb-run yarn lerna run --ignore '{firebase-messaging-integration-test,@firebase/auth*,@firebase/firestore*,firebase-firestore-integration-test}' test:ci
9696
node scripts/print_test_logs.js
9797
env:
9898
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
@@ -142,7 +142,7 @@ jobs:
142142
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
143143
- name: Run unit tests
144144
run: |
145-
xvfb-run yarn lerna run --concurrency 4 test:ci --scope '@firebase/auth*'
145+
xvfb-run yarn lerna run test:ci --scope '@firebase/auth*'
146146
node scripts/print_test_logs.js
147147
env:
148148
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
@@ -182,7 +182,7 @@ jobs:
182182
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
183183
- name: Run unit tests
184184
run: |
185-
xvfb-run yarn lerna run --concurrency 4 test:ci --scope '@firebase/firestore*'
185+
xvfb-run yarn lerna run test:ci --scope '@firebase/firestore*'
186186
node scripts/print_test_logs.js
187187
env:
188188
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}

common/api-review/util.api.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,11 @@ export function isBrowser(): boolean;
264264
// @public (undocumented)
265265
export function isBrowserExtension(): boolean;
266266

267+
// Warning: (ae-missing-release-tag) "isCloudflareWorker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
268+
//
269+
// @public
270+
export function isCloudflareWorker(): boolean;
271+
267272
// Warning: (ae-missing-release-tag) "isElectron" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
268273
//
269274
// @public

config/karma.base.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ const config = {
6666

6767
webpackMiddleware: { quiet: true, stats: { colors: true } },
6868

69-
singleRun: false,
69+
// Exit with an exit code of 0 if any of the tests fail.
70+
singleRun: true,
7071

7172
client: {
7273
mocha: {

integration/compat-interop/package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
"private": true,
44
"version": "0.1.0",
55
"scripts": {
6-
"test": "karma start --single-run",
6+
"test": "karma start",
77
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test",
88
"test:debug": "karma start --browsers Chrome --auto-watch"
99
},
1010
"dependencies": {
11-
"@firebase/app": "0.10.10",
12-
"@firebase/app-compat": "0.2.40",
13-
"@firebase/analytics": "0.10.7",
14-
"@firebase/analytics-compat": "0.2.13",
15-
"@firebase/auth": "1.7.8",
16-
"@firebase/auth-compat": "0.5.13",
17-
"@firebase/functions": "0.11.7",
18-
"@firebase/functions-compat": "0.3.13",
19-
"@firebase/messaging": "0.12.10",
20-
"@firebase/messaging-compat": "0.2.10",
21-
"@firebase/performance": "0.6.8",
22-
"@firebase/performance-compat": "0.2.8",
23-
"@firebase/remote-config": "0.4.8",
24-
"@firebase/remote-config-compat": "0.2.8"
11+
"@firebase/app": "0.10.11",
12+
"@firebase/app-compat": "0.2.41",
13+
"@firebase/analytics": "0.10.8",
14+
"@firebase/analytics-compat": "0.2.14",
15+
"@firebase/auth": "1.7.9",
16+
"@firebase/auth-compat": "0.5.14",
17+
"@firebase/functions": "0.11.8",
18+
"@firebase/functions-compat": "0.3.14",
19+
"@firebase/messaging": "0.12.11",
20+
"@firebase/messaging-compat": "0.2.11",
21+
"@firebase/performance": "0.6.9",
22+
"@firebase/performance-compat": "0.2.9",
23+
"@firebase/remote-config": "0.4.9",
24+
"@firebase/remote-config-compat": "0.2.9"
2525
},
2626
"devDependencies": {
2727
"typescript": "4.7.4"

integration/firebase/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"private": true,
44
"version": "0.2.1",
55
"scripts": {
6-
"test": "karma start --single-run",
6+
"test": "karma start",
77
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test"
88
},
99
"devDependencies": {
10-
"firebase": "10.13.1",
10+
"firebase": "10.13.2",
1111
"@types/chai": "4.3.14",
1212
"@types/mocha": "9.1.1",
1313
"chai": "4.4.1",

integration/firestore/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,16 @@
66
"build:deps": "lerna run --scope @firebase/'{app,firestore}' --include-dependencies build",
77
"build:persistence": "INCLUDE_FIRESTORE_PERSISTENCE=true gulp compile-tests",
88
"build:memory": "INCLUDE_FIRESTORE_PERSISTENCE=false gulp compile-tests",
9-
"karma:singlerun": "karma start --single-run",
9+
"karma:singlerun": "karma start",
1010
"prettier": "prettier --write '*.js' '*.ts'",
11-
"test:persistence": " yarn build:persistence; karma start --single-run",
11+
"test:persistence": " yarn build:persistence; karma start",
1212
"test:persistence:debug": "yarn build:persistence; karma start --auto-watch --browsers Chrome",
13-
"test:memory": "yarn build:memory; karma start --single-run",
13+
"test:memory": "yarn build:memory; karma start",
1414
"test:memory:debug": "yarn build:memory; karma start --auto-watch --browsers Chrome"
1515
},
1616
"dependencies": {
17-
"@firebase/app": "0.10.10",
18-
"@firebase/firestore": "4.7.1"
17+
"@firebase/app": "0.10.11",
18+
"@firebase/firestore": "4.7.2"
1919
},
2020
"devDependencies": {
2121
"@types/mocha": "9.1.1",

integration/messaging/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"test:manual": "mocha --exit"
1010
},
1111
"devDependencies": {
12-
"firebase": "10.13.1",
12+
"firebase": "10.13.2",
1313
"chai": "4.4.1",
1414
"chromedriver": "119.0.1",
1515
"express": "4.19.2",

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
"repl": "node tools/repl.js",
3131
"release": "ts-node-script scripts/release/cli.ts",
3232
"pretest": "node tools/pretest.js",
33-
"test": "lerna run --ignore firebase-messaging-integration-test --concurrency 4 --stream test",
34-
"test:ci": "lerna run --ignore firebase-messaging-integration-test --concurrency 4 test:ci",
33+
"test": "lerna run --ignore firebase-messaging-integration-test --stream test",
34+
"test:ci": "lerna run --ignore firebase-messaging-integration-test test:ci",
3535
"pretest:coverage": "mkdirp coverage",
3636
"ci:coverage": "lcov-result-merger 'packages/**/lcov.info' 'lcov-all.info'",
3737
"test:coverage": "lcov-result-merger 'packages/**/lcov.info' | coveralls",

packages/analytics-compat/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @firebase/analytics-compat
22

3+
## 0.2.14
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
8+
- @firebase/util@1.10.0
9+
- @firebase/analytics@0.10.8
10+
- @firebase/component@0.6.9
11+
312
## 0.2.13
413

514
### Patch Changes

packages/analytics-compat/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firebase/analytics-compat",
3-
"version": "0.2.13",
3+
"version": "0.2.14",
44
"description": "",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"main": "dist/index.cjs.js",
@@ -24,7 +24,7 @@
2424
"@firebase/app-compat": "0.x"
2525
},
2626
"devDependencies": {
27-
"@firebase/app-compat": "0.2.40",
27+
"@firebase/app-compat": "0.2.41",
2828
"rollup": "2.79.1",
2929
"@rollup/plugin-json": "4.1.0",
3030
"rollup-plugin-typescript2": "0.31.2",
@@ -47,17 +47,17 @@
4747
"dev": "rollup -c -w",
4848
"test": "run-p --npm-path npm lint test:browser",
4949
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
50-
"test:browser": "karma start --single-run",
50+
"test:browser": "karma start",
5151
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
5252
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
5353
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../analytics/dist/analytics-public.d.ts -o dist/src/index.d.ts -a -r Analytics:FirebaseAnalytics -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/analytics"
5454
},
5555
"typings": "dist/src/index.d.ts",
5656
"dependencies": {
57-
"@firebase/component": "0.6.8",
58-
"@firebase/analytics": "0.10.7",
57+
"@firebase/component": "0.6.9",
58+
"@firebase/analytics": "0.10.8",
5959
"@firebase/analytics-types": "0.8.2",
60-
"@firebase/util": "1.9.7",
60+
"@firebase/util": "1.10.0",
6161
"tslib": "^2.1.0"
6262
},
6363
"nyc": {

packages/analytics/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @firebase/analytics
22

3+
## 0.10.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
8+
- @firebase/util@1.10.0
9+
- @firebase/component@0.6.9
10+
- @firebase/installations@0.6.9
11+
312
## 0.10.7
413

514
### Patch Changes

packages/analytics/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firebase/analytics",
3-
"version": "0.10.7",
3+
"version": "0.10.8",
44
"description": "A analytics package for new firebase packages",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"main": "dist/index.cjs.js",
@@ -29,8 +29,8 @@
2929
"test": "run-p --npm-path npm lint test:all",
3030
"test:all": "run-p --npm-path npm test:browser test:integration",
3131
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
32-
"test:browser": "karma start --single-run --nocache",
33-
"test:integration": "karma start ./karma.integration.conf.js --single-run --nocache",
32+
"test:browser": "karma start --nocache",
33+
"test:integration": "karma start ./karma.integration.conf.js --nocache",
3434
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
3535
"api-report": "api-extractor run --local --verbose",
3636
"doc": "api-documenter markdown --input temp --output docs",
@@ -41,15 +41,15 @@
4141
"@firebase/app": "0.x"
4242
},
4343
"dependencies": {
44-
"@firebase/installations": "0.6.8",
44+
"@firebase/installations": "0.6.9",
4545
"@firebase/logger": "0.4.2",
46-
"@firebase/util": "1.9.7",
47-
"@firebase/component": "0.6.8",
46+
"@firebase/util": "1.10.0",
47+
"@firebase/component": "0.6.9",
4848
"tslib": "^2.1.0"
4949
},
5050
"license": "Apache-2.0",
5151
"devDependencies": {
52-
"@firebase/app": "0.10.10",
52+
"@firebase/app": "0.10.11",
5353
"rollup": "2.79.1",
5454
"@rollup/plugin-commonjs": "21.1.0",
5555
"@rollup/plugin-json": "4.1.0",

packages/app-check-compat/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @firebase/app-check-compat
22

3+
## 0.3.15
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
8+
- @firebase/util@1.10.0
9+
- @firebase/app-check@0.8.8
10+
- @firebase/component@0.6.9
11+
312
## 0.3.14
413

514
### Patch Changes

packages/app-check-compat/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firebase/app-check-compat",
3-
"version": "0.3.14",
3+
"version": "0.3.15",
44
"description": "A compat App Check package for new firebase packages",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"main": "dist/index.cjs.js",
@@ -28,24 +28,24 @@
2828
"dev": "rollup -c -w",
2929
"test": "run-p --npm-path npm lint test:browser",
3030
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
31-
"test:browser": "karma start --single-run --nocache",
31+
"test:browser": "karma start --nocache",
3232
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
3333
"add-compat-overloads": "ts-node-script ../../scripts/build/create-overloads.ts -i ../app-check/dist/app-check-public.d.ts -o dist/src/index.d.ts -a -r AppCheck:FirebaseAppCheck -r FirebaseApp:FirebaseAppCompat --moduleToEnhance @firebase/app-check"
3434
},
3535
"peerDependencies": {
3636
"@firebase/app-compat": "0.x"
3737
},
3838
"dependencies": {
39-
"@firebase/app-check": "0.8.7",
39+
"@firebase/app-check": "0.8.8",
4040
"@firebase/app-check-types": "0.5.2",
4141
"@firebase/logger": "0.4.2",
42-
"@firebase/util": "1.9.7",
43-
"@firebase/component": "0.6.8",
42+
"@firebase/util": "1.10.0",
43+
"@firebase/component": "0.6.9",
4444
"tslib": "^2.1.0"
4545
},
4646
"license": "Apache-2.0",
4747
"devDependencies": {
48-
"@firebase/app-compat": "0.2.40",
48+
"@firebase/app-compat": "0.2.41",
4949
"rollup": "2.79.1",
5050
"@rollup/plugin-commonjs": "21.1.0",
5151
"@rollup/plugin-json": "4.1.0",

packages/app-check/CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# @firebase/app-check
22

3+
## 0.8.8
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
8+
- @firebase/util@1.10.0
9+
- @firebase/component@0.6.9
10+
311
## 0.8.7
412

513
### Patch Changes

packages/app-check/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@firebase/app-check",
3-
"version": "0.8.7",
3+
"version": "0.8.8",
44
"description": "The App Check component of the Firebase JS SDK",
55
"author": "Firebase <[email protected]> (https://firebase.google.com/)",
66
"main": "dist/index.cjs.js",
@@ -28,7 +28,7 @@
2828
"dev": "rollup -c -w",
2929
"test": "run-p --npm-path npm lint test:browser",
3030
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
31-
"test:browser": "karma start --single-run --nocache",
31+
"test:browser": "karma start --nocache",
3232
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
3333
"api-report": "api-extractor run --local --verbose",
3434
"doc": "api-documenter markdown --input temp --output docs",
@@ -39,14 +39,14 @@
3939
"@firebase/app": "0.x"
4040
},
4141
"dependencies": {
42-
"@firebase/util": "1.9.7",
43-
"@firebase/component": "0.6.8",
42+
"@firebase/util": "1.10.0",
43+
"@firebase/component": "0.6.9",
4444
"@firebase/logger": "0.4.2",
4545
"tslib": "^2.1.0"
4646
},
4747
"license": "Apache-2.0",
4848
"devDependencies": {
49-
"@firebase/app": "0.10.10",
49+
"@firebase/app": "0.10.11",
5050
"rollup": "2.79.1",
5151
"@rollup/plugin-commonjs": "21.1.0",
5252
"@rollup/plugin-json": "4.1.0",

packages/app-compat/CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# @firebase/app-compat
22

3+
## 0.2.41
4+
5+
### Patch Changes
6+
7+
- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
8+
- @firebase/util@1.10.0
9+
- @firebase/app@0.10.11
10+
- @firebase/component@0.6.9
11+
312
## 0.2.40
413

514
### Patch Changes

0 commit comments

Comments
 (0)