Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into dataconnect
Browse files Browse the repository at this point in the history
  • Loading branch information
maneesht committed Sep 19, 2024
2 parents 57ffcf6 + 2561b63 commit 7273df7
Show file tree
Hide file tree
Showing 81 changed files with 687 additions and 262 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-dingos-admire.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@firebase/firestore": patch
---

Re-enable useFetchStreams with the latest WebChannel implementation. This reduces the memory usage of WebChannel.
6 changes: 3 additions & 3 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Run unit tests
# Ignore auth and firestore since they're handled in their own separate jobs.
run: |
xvfb-run yarn lerna run --ignore '{firebase-messaging-integration-test,@firebase/auth*,@firebase/firestore*,firebase-firestore-integration-test}' --concurrency 4 test:ci
xvfb-run yarn lerna run --ignore '{firebase-messaging-integration-test,@firebase/auth*,@firebase/firestore*,firebase-firestore-integration-test}' test:ci
node scripts/print_test_logs.js
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
Expand Down Expand Up @@ -142,7 +142,7 @@ jobs:
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
- name: Run unit tests
run: |
xvfb-run yarn lerna run --concurrency 4 test:ci --scope '@firebase/auth*'
xvfb-run yarn lerna run test:ci --scope '@firebase/auth*'
node scripts/print_test_logs.js
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
Expand Down Expand Up @@ -182,7 +182,7 @@ jobs:
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
- name: Run unit tests
run: |
xvfb-run yarn lerna run --concurrency 4 test:ci --scope '@firebase/firestore*'
xvfb-run yarn lerna run test:ci --scope '@firebase/firestore*'
node scripts/print_test_logs.js
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
Expand Down
5 changes: 5 additions & 0 deletions common/api-review/util.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -264,6 +264,11 @@ export function isBrowser(): boolean;
// @public (undocumented)
export function isBrowserExtension(): boolean;

// Warning: (ae-missing-release-tag) "isCloudflareWorker" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
export function isCloudflareWorker(): boolean;

// Warning: (ae-missing-release-tag) "isElectron" is exported by the package, but it is missing a release tag (@alpha, @beta, @public, or @internal)
//
// @public
Expand Down
3 changes: 2 additions & 1 deletion config/karma.base.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ const config = {

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

singleRun: false,
// Exit with an exit code of 0 if any of the tests fail.
singleRun: true,

client: {
mocha: {
Expand Down
30 changes: 15 additions & 15 deletions integration/compat-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
"private": true,
"version": "0.1.0",
"scripts": {
"test": "karma start --single-run",
"test": "karma start",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test",
"test:debug": "karma start --browsers Chrome --auto-watch"
},
"dependencies": {
"@firebase/app": "0.10.10",
"@firebase/app-compat": "0.2.40",
"@firebase/analytics": "0.10.7",
"@firebase/analytics-compat": "0.2.13",
"@firebase/auth": "1.7.8",
"@firebase/auth-compat": "0.5.13",
"@firebase/functions": "0.11.7",
"@firebase/functions-compat": "0.3.13",
"@firebase/messaging": "0.12.10",
"@firebase/messaging-compat": "0.2.10",
"@firebase/performance": "0.6.8",
"@firebase/performance-compat": "0.2.8",
"@firebase/remote-config": "0.4.8",
"@firebase/remote-config-compat": "0.2.8"
"@firebase/app": "0.10.11",
"@firebase/app-compat": "0.2.41",
"@firebase/analytics": "0.10.8",
"@firebase/analytics-compat": "0.2.14",
"@firebase/auth": "1.7.9",
"@firebase/auth-compat": "0.5.14",
"@firebase/functions": "0.11.8",
"@firebase/functions-compat": "0.3.14",
"@firebase/messaging": "0.12.11",
"@firebase/messaging-compat": "0.2.11",
"@firebase/performance": "0.6.9",
"@firebase/performance-compat": "0.2.9",
"@firebase/remote-config": "0.4.9",
"@firebase/remote-config-compat": "0.2.9"
},
"devDependencies": {
"typescript": "4.7.4"
Expand Down
4 changes: 2 additions & 2 deletions integration/firebase/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"private": true,
"version": "0.2.1",
"scripts": {
"test": "karma start --single-run",
"test": "karma start",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test"
},
"devDependencies": {
"firebase": "10.13.1",
"firebase": "10.13.2",
"@types/chai": "4.3.14",
"@types/mocha": "9.1.1",
"chai": "4.4.1",
Expand Down
10 changes: 5 additions & 5 deletions integration/firestore/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,16 @@
"build:deps": "lerna run --scope @firebase/'{app,firestore}' --include-dependencies build",
"build:persistence": "INCLUDE_FIRESTORE_PERSISTENCE=true gulp compile-tests",
"build:memory": "INCLUDE_FIRESTORE_PERSISTENCE=false gulp compile-tests",
"karma:singlerun": "karma start --single-run",
"karma:singlerun": "karma start",
"prettier": "prettier --write '*.js' '*.ts'",
"test:persistence": " yarn build:persistence; karma start --single-run",
"test:persistence": " yarn build:persistence; karma start",
"test:persistence:debug": "yarn build:persistence; karma start --auto-watch --browsers Chrome",
"test:memory": "yarn build:memory; karma start --single-run",
"test:memory": "yarn build:memory; karma start",
"test:memory:debug": "yarn build:memory; karma start --auto-watch --browsers Chrome"
},
"dependencies": {
"@firebase/app": "0.10.10",
"@firebase/firestore": "4.7.1"
"@firebase/app": "0.10.11",
"@firebase/firestore": "4.7.2"
},
"devDependencies": {
"@types/mocha": "9.1.1",
Expand Down
2 changes: 1 addition & 1 deletion integration/messaging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"test:manual": "mocha --exit"
},
"devDependencies": {
"firebase": "10.13.1",
"firebase": "10.13.2",
"chai": "4.4.1",
"chromedriver": "119.0.1",
"express": "4.19.2",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
"repl": "node tools/repl.js",
"release": "ts-node-script scripts/release/cli.ts",
"pretest": "node tools/pretest.js",
"test": "lerna run --ignore firebase-messaging-integration-test --concurrency 4 --stream test",
"test:ci": "lerna run --ignore firebase-messaging-integration-test --concurrency 4 test:ci",
"test": "lerna run --ignore firebase-messaging-integration-test --stream test",
"test:ci": "lerna run --ignore firebase-messaging-integration-test test:ci",
"pretest:coverage": "mkdirp coverage",
"ci:coverage": "lcov-result-merger 'packages/**/lcov.info' 'lcov-all.info'",
"test:coverage": "lcov-result-merger 'packages/**/lcov.info' | coveralls",
Expand Down
9 changes: 9 additions & 0 deletions packages/analytics-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @firebase/analytics-compat

## 0.2.14

### Patch Changes

- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
- @firebase/util@1.10.0
- @firebase/analytics@0.10.8
- @firebase/component@0.6.9

## 0.2.13

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/analytics-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/analytics-compat",
"version": "0.2.13",
"version": "0.2.14",
"description": "",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
Expand All @@ -24,7 +24,7 @@
"@firebase/app-compat": "0.x"
},
"devDependencies": {
"@firebase/app-compat": "0.2.40",
"@firebase/app-compat": "0.2.41",
"rollup": "2.79.1",
"@rollup/plugin-json": "4.1.0",
"rollup-plugin-typescript2": "0.31.2",
Expand All @@ -47,17 +47,17 @@
"dev": "rollup -c -w",
"test": "run-p --npm-path npm lint test:browser",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run",
"test:browser": "karma start",
"test:browser:debug": "karma start --browsers=Chrome --auto-watch",
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
"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"
},
"typings": "dist/src/index.d.ts",
"dependencies": {
"@firebase/component": "0.6.8",
"@firebase/analytics": "0.10.7",
"@firebase/component": "0.6.9",
"@firebase/analytics": "0.10.8",
"@firebase/analytics-types": "0.8.2",
"@firebase/util": "1.9.7",
"@firebase/util": "1.10.0",
"tslib": "^2.1.0"
},
"nyc": {
Expand Down
9 changes: 9 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @firebase/analytics

## 0.10.8

### Patch Changes

- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
- @firebase/util@1.10.0
- @firebase/component@0.6.9
- @firebase/installations@0.6.9

## 0.10.7

### Patch Changes
Expand Down
14 changes: 7 additions & 7 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/analytics",
"version": "0.10.7",
"version": "0.10.8",
"description": "A analytics package for new firebase packages",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
Expand Down Expand Up @@ -29,8 +29,8 @@
"test": "run-p --npm-path npm lint test:all",
"test:all": "run-p --npm-path npm test:browser test:integration",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:all",
"test:browser": "karma start --single-run --nocache",
"test:integration": "karma start ./karma.integration.conf.js --single-run --nocache",
"test:browser": "karma start --nocache",
"test:integration": "karma start ./karma.integration.conf.js --nocache",
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
"api-report": "api-extractor run --local --verbose",
"doc": "api-documenter markdown --input temp --output docs",
Expand All @@ -41,15 +41,15 @@
"@firebase/app": "0.x"
},
"dependencies": {
"@firebase/installations": "0.6.8",
"@firebase/installations": "0.6.9",
"@firebase/logger": "0.4.2",
"@firebase/util": "1.9.7",
"@firebase/component": "0.6.8",
"@firebase/util": "1.10.0",
"@firebase/component": "0.6.9",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.10.10",
"@firebase/app": "0.10.11",
"rollup": "2.79.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/app-check-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @firebase/app-check-compat

## 0.3.15

### Patch Changes

- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
- @firebase/util@1.10.0
- @firebase/app-check@0.8.8
- @firebase/component@0.6.9

## 0.3.14

### Patch Changes
Expand Down
12 changes: 6 additions & 6 deletions packages/app-check-compat/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/app-check-compat",
"version": "0.3.14",
"version": "0.3.15",
"description": "A compat App Check package for new firebase packages",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
Expand Down Expand Up @@ -28,24 +28,24 @@
"dev": "rollup -c -w",
"test": "run-p --npm-path npm lint test:browser",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run --nocache",
"test:browser": "karma start --nocache",
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
"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"
},
"peerDependencies": {
"@firebase/app-compat": "0.x"
},
"dependencies": {
"@firebase/app-check": "0.8.7",
"@firebase/app-check": "0.8.8",
"@firebase/app-check-types": "0.5.2",
"@firebase/logger": "0.4.2",
"@firebase/util": "1.9.7",
"@firebase/component": "0.6.8",
"@firebase/util": "1.10.0",
"@firebase/component": "0.6.9",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app-compat": "0.2.40",
"@firebase/app-compat": "0.2.41",
"rollup": "2.79.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
Expand Down
8 changes: 8 additions & 0 deletions packages/app-check/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @firebase/app-check

## 0.8.8

### Patch Changes

- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
- @firebase/util@1.10.0
- @firebase/component@0.6.9

## 0.8.7

### Patch Changes
Expand Down
10 changes: 5 additions & 5 deletions packages/app-check/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@firebase/app-check",
"version": "0.8.7",
"version": "0.8.8",
"description": "The App Check component of the Firebase JS SDK",
"author": "Firebase <firebase-support@google.com> (https://firebase.google.com/)",
"main": "dist/index.cjs.js",
Expand Down Expand Up @@ -28,7 +28,7 @@
"dev": "rollup -c -w",
"test": "run-p --npm-path npm lint test:browser",
"test:ci": "node ../../scripts/run_tests_in_ci.js -s test:browser",
"test:browser": "karma start --single-run --nocache",
"test:browser": "karma start --nocache",
"trusted-type-check": "tsec -p tsconfig.json --noEmit",
"api-report": "api-extractor run --local --verbose",
"doc": "api-documenter markdown --input temp --output docs",
Expand All @@ -39,14 +39,14 @@
"@firebase/app": "0.x"
},
"dependencies": {
"@firebase/util": "1.9.7",
"@firebase/component": "0.6.8",
"@firebase/util": "1.10.0",
"@firebase/component": "0.6.9",
"@firebase/logger": "0.4.2",
"tslib": "^2.1.0"
},
"license": "Apache-2.0",
"devDependencies": {
"@firebase/app": "0.10.10",
"@firebase/app": "0.10.11",
"rollup": "2.79.1",
"@rollup/plugin-commonjs": "21.1.0",
"@rollup/plugin-json": "4.1.0",
Expand Down
9 changes: 9 additions & 0 deletions packages/app-compat/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @firebase/app-compat

## 0.2.41

### Patch Changes

- Updated dependencies [[`16d62d4fa`](https://github.com/firebase/firebase-js-sdk/commit/16d62d4fa16faddb8cb676c0af3f29b8a5824741)]:
- @firebase/util@1.10.0
- @firebase/app@0.10.11
- @firebase/component@0.6.9

## 0.2.40

### Patch Changes
Expand Down
Loading

0 comments on commit 7273df7

Please sign in to comment.