Skip to content

Commit

Permalink
Merge branch 'master' into jd-getclientid-analytics-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
dwyfrequency authored Apr 14, 2023
2 parents 7149472 + ecb4454 commit 93ed844
Show file tree
Hide file tree
Showing 157 changed files with 4,585 additions and 386 deletions.
6 changes: 6 additions & 0 deletions .changeset/brave-ducks-relax.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@firebase/auth': minor
'@firebase/auth-compat': minor
---

[feature] Added Firebase App Check support to Firebase Auth.
6 changes: 0 additions & 6 deletions .changeset/brown-beers-tease.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/friendly-ads-yell.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/plenty-radios-look.md

This file was deleted.

5 changes: 5 additions & 0 deletions .changeset/shaggy-zebras-leave.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@firebase/app-check': patch
---

Catch all ReCAPTCHA errors and, if caught, prevent App Check from making a request to the exchange endpoint.
5 changes: 0 additions & 5 deletions .changeset/sixty-buckets-repeat.md

This file was deleted.

6 changes: 6 additions & 0 deletions .changeset/smart-llamas-compete.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'@firebase/auth': minor
'firebase': minor
---

[feature] Add reCAPTCHA enterprise support.
5 changes: 5 additions & 0 deletions .changeset/three-months-lie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@firebase/firestore": patch
---

Fix a bug that sometimes prevented aggregations from being run when muli-tab persistence was enabled.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ packages/app-check-interop-types @hsubox76 @firebase/jssdk-global-approvers
# Documentation Changes
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers
docs-devsite/ @egilmorez @markarndt
docs-devsite/ @egilmorez @markarndt @kevinthecheung

# Changeset
.changeset @firebase/jssdk-changeset-approvers @firebase/firestore-js-team @firebase/jssdk-global-approvers
2 changes: 1 addition & 1 deletion .github/workflows/canary-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# Canary release script requires git history and tags.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# This makes Actions fetch all Git history so check_changeset script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# get all history for the diff
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check-pkg-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- name: Checkout Repo
uses: actions/checkout@master
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@master
with:
node-version: 14.x
- name: install Chrome stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
# get all history for the diff
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/health-metrics-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ jobs:
if: github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
- uses: 'google-github-actions/auth@v0'
Expand All @@ -40,8 +40,8 @@ jobs:
if: github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 14.x
- uses: 'google-github-actions/auth@v0'
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/prerelease-manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
# Canary release script requires git history and tags.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:

steps:
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Checkout release branch (with history)
Expand Down
17 changes: 15 additions & 2 deletions .github/workflows/release-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
if: github.event.inputs.release-branch == 'release' || endsWith(github.event.inputs.release-branch, '-releasebranch')
steps:
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Merge master into release
Expand Down Expand Up @@ -132,14 +132,27 @@ jobs:
-H "Authorization:Bearer $OSS_BOT_GITHUB_TOKEN" \
-d "{\"event_type\":\"staging-tests\", \"client_payload\":{\"versionOrTag\":\"$VERSION_OR_TAG\"}}" \
https://api.github.com/repos/firebase/firebase-js-sdk/dispatches
- name: Check for changes requiring a reference doc publish
id: docs-check
run: |
LAST_PUBLISHED_VERSION=$(npm info firebase version)
git diff --exit-code firebase@$LAST_PUBLISHED_VERSION HEAD docs-devsite
- name: No diff, docs not needed
if: ${{ success() }}
run: echo "DOCS_NEEDED=false" >> $GITHUB_STATE
- name: Diff returned something, docs are needed
if: ${{ failure() }}
run: echo "DOCS_NEEDED=true" >> $GITHUB_STATE
- name: Log to release tracker
# Sends release information to cloud functions endpoint of release tracker.
if: ${{ always() }}
run: |
DATE=$(date +'%m/%d/%Y')
BASE_VERSION=${{ steps.get-version.outputs.BASE_VERSION }}
STAGING_VERSION=${{ steps.get-version.outputs.STAGING_VERSION }}
OPERATOR=${{ github.actor }}
RELEASE_TRACKER_URL=${{ secrets.RELEASE_TRACKER_URL }}
DOCS_NEEDED=${{ steps.docs-check.outputs.DOCS_NEEDED }}
curl -X POST -H "Content-Type:application/json" \
-d "{\"version\":\"$BASE_VERSION\",\"tag\":\"$STAGING_VERSION\",\"date\":\"$DATE\",\"operator\":\"$OPERATOR\"}" \
-d "{\"version\":\"$BASE_VERSION\",\"tag\":\"$STAGING_VERSION\",\"date\":\"$DATE\",\"operator\":\"$OPERATOR\",\"docs_needed\":\"$DOCS_NEEDED\"}" \
$RELEASE_TRACKER_URL/logStaging
4 changes: 2 additions & 2 deletions .github/workflows/test-all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
run: |
sudo apt-get update
sudo apt-get install google-chrome-stable
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Set up Node (16)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Bump Node memory limit
Expand Down
10 changes: 7 additions & 3 deletions .github/workflows/test-changed-auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,20 @@ jobs:
steps:
# install Chrome first, so the correct version of webdriver can be installed by chromedriver when setting up the repo
- name: install Chrome stable
# Install Chrome version 110.0.5481.177-1 as test starts to fail on version 111.
# We will retry to use the latest, once version 112 becomes stable.
run: |
sudo apt-get update
sudo apt-get install google-chrome-stable
sudo apt-get install wget
sudo wget http://dl.google.com/linux/chrome/deb/pool/main/g/google-chrome-stable/google-chrome-stable_110.0.5481.177-1_amd64.deb
sudo apt-get install -f ./google-chrome-stable_110.0.5481.177-1_amd64.deb --allow-downgrades
- name: Checkout Repo
uses: actions/checkout@master
with:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Bump Node memory limit
Expand Down Expand Up @@ -54,7 +58,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Bump Node memory limit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-fcm-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Bump Node memory limit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-firestore-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: install Chrome stable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-changed-firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: install Chrome stable
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Bump Node memory limit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-changed-misc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (16)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: install Chrome stable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-changed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: install Chrome stable
Expand Down Expand Up @@ -45,7 +45,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: install Firefox stable
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-firebase-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: install Chrome stable
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/update-api-reports.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ jobs:
uses: actions/checkout@master
with:
# checkout HEAD commit instead of merge commit
ref: ${{ github.event.pull_request.head.sha }}
ref: ${{ github.event.pull_request.head.ref }}
token: ${{ github.token }}
- name: Set up Node (14)
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 14.x
- name: Yarn install
Expand Down
Loading

0 comments on commit 93ed844

Please sign in to comment.