Skip to content

Commit 11a8b05

Browse files
committed
Merge branch 'main' into dl/vertex-integration
2 parents 7ad7833 + 799de59 commit 11a8b05

File tree

428 files changed

+10236
-3989
lines changed

Some content is hidden

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

428 files changed

+10236
-3989
lines changed

.changeset/chilly-parrots-remember.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@firebase/firestore": patch
3+
"@firebase/util": minor
4+
---
5+
6+
Fix Safari/WebKit cache issues when client-side indexing is used.

.changeset/fast-mangos-chew.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@firebase/ai': patch
3+
---
4+
5+
Pass `GenerativeModel`'s `BaseParams` to created chat sessions. This fixes an issue where `GenerationConfig` would not be inherited from `ChatSession`.

.changeset/floppy-schools-battle.md

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

.changeset/large-pants-hide.md

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

.changeset/ninety-ways-dress.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@firebase/app-compat': minor
3+
'@firebase/app-check': minor
4+
'@firebase/app': minor
5+
'firebase': minor
6+
---
7+
8+
Default `automaticDataCollectionEnabled` to true without changing App Check's default behavior.

.changeset/perfect-camels-try.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'firebase': minor
3+
'@firebase/ai': minor
4+
---
5+
6+
Add support for Gemini multimodal output

.changeset/silver-jeans-sell.md

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

.changeset/stupid-apples-shave.md

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

.changeset/tall-zoos-stare.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
'firebase': minor
3+
'@firebase/ai': minor
4+
---
5+
6+
Add support for the Gemini Developer API, enabling usage in a free tier, and add new `AI` API to accomodate new product naming.

.changeset/three-singers-wonder.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
---
2+
"@firebase/auth": patch
3+
"@firebase/firestore": patch
4+
"@firebase/util": patch
5+
"@firebase/database": patch
6+
"@firebase/storage": patch
7+
"@firebase/functions": patch
8+
---
9+
10+
Add Emulator Overlay

.changeset/tricky-actors-exercise.md

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

.github/workflows/canary-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ jobs:
7171
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
7272
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
7373
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
74+
NPM_TOKEN_AI: ${{secrets.NPM_TOKEN_AI}}
7475
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
7576
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
7677
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}

.github/workflows/check-changeset.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,22 +57,25 @@ jobs:
5757
- name: Print blocking failure status
5858
run: echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
5959
- name: Find Comment
60-
uses: peter-evans/find-comment@v3
60+
# This commit represents v3.1.0
61+
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e
6162
id: fc
6263
with:
6364
issue-number: ${{github.event.number}}
6465
body-includes: Changeset File Check
6566
- name: Create comment (missing packages)
6667
if: ${{!steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
67-
uses: peter-evans/create-or-update-comment@v4
68+
# This commit represents v4.0.0
69+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
6870
with:
6971
issue-number: ${{github.event.number}}
7072
body: |
7173
### Changeset File Check :warning:
7274
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
7375
- name: Update comment (missing packages)
7476
if: ${{steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
75-
uses: peter-evans/create-or-update-comment@v4
77+
# This commit represents v4.0.0
78+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
7679
with:
7780
comment-id: ${{steps.fc.outputs.comment-id}}
7881
edit-mode: replace
@@ -81,7 +84,8 @@ jobs:
8184
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
8285
- name: Update comment (no missing packages)
8386
if: ${{steps.fc.outputs.comment-id && !steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
84-
uses: peter-evans/create-or-update-comment@v4
87+
# This commit represents v4.0.0
88+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
8589
with:
8690
comment-id: ${{steps.fc.outputs.comment-id}}
8791
edit-mode: replace

.github/workflows/check-vertexai-responses.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ jobs:
3333
LATEST=$(git tag --sort=v:refname | tail -n1)
3434
echo "cloned_tag=$CLONED" >> $GITHUB_ENV
3535
echo "latest_tag=$LATEST" >> $GITHUB_ENV
36-
working-directory: packages/vertexai/test-utils/vertexai-sdk-test-data
36+
working-directory: packages/ai/test-utils/vertexai-sdk-test-data
3737
- name: Find comment from previous run if exists
38-
uses: peter-evans/find-comment@v3
38+
# This commit represents v3.1.0
39+
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e
3940
id: fc
4041
with:
4142
issue-number: ${{github.event.number}}
4243
body-includes: Vertex AI Mock Responses Check
4344
- name: Comment on PR if newer version is available
4445
if: ${{env.cloned_tag != env.latest_tag && !steps.fc.outputs.comment-id}}
45-
uses: peter-evans/create-or-update-comment@v4
46+
# This commit represents v4.0.0
47+
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
4648
with:
4749
issue-number: ${{github.event.number}}
4850
body: >

.github/workflows/health-metrics-pull-request.yml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,12 @@ jobs:
4242
- uses: actions/setup-node@v4
4343
with:
4444
node-version: 22.10.0
45-
- uses: 'google-github-actions/auth@v0'
45+
# This commit represents v0.8.3
46+
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
4647
with:
4748
credentials_json: '${{ secrets.GCP_SA_KEY }}'
48-
- uses: google-github-actions/setup-gcloud@v2
49+
# This commit represents v2.1.4
50+
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
4951
- run: yarn install
5052
- run: yarn build
5153
- name: Run health-metrics/binary-size test
@@ -59,10 +61,12 @@ jobs:
5961
- uses: actions/setup-node@v4
6062
with:
6163
node-version: 22.10.0
62-
- uses: 'google-github-actions/auth@v0'
64+
# This commit represents v0.8.3
65+
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
6366
with:
6467
credentials_json: '${{ secrets.GCP_SA_KEY }}'
65-
- uses: google-github-actions/setup-gcloud@v2
68+
# This commit represents v2.1.4
69+
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
6670
- run: yarn install
6771
- run: yarn build
6872
- name: Run health-metrics/modular-exports-binary-size test

.github/workflows/health-metrics-release.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,14 @@ jobs:
2323
name: Release Diffing
2424
runs-on: ubuntu-latest
2525
steps:
26-
- uses: 'google-github-actions/auth@v0'
26+
# This commit represents v0.8.3
27+
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
2728
with:
2829
credentials_json: '${{ secrets.GCP_SA_KEY }}'
29-
- uses: google-github-actions/setup-gcloud@v2
30-
- uses: FirebaseExtended/github-actions/health-metrics/release-diffing@master
30+
# This commit represents v2.1.4
31+
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
32+
# This commit represents v1.4
33+
- uses: FirebaseExtended/github-actions/health-metrics/release-diffing@41c787c37157e4c5932b951e531c041efa5bb7a4
3134
with:
3235
repo: ${{ github.repository }}
3336
ref: ${{ github.ref }}

.github/workflows/merge-release-branch.yml

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

.github/workflows/prerelease-manual-deploy.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ jobs:
7474
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
7575
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
7676
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
77+
NPM_TOKEN_AI: ${{secrets.NPM_TOKEN_AI}}
7778
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
7879
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
7980
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}

.github/workflows/release-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ jobs:
2424
release:
2525
name: Create Release PR
2626
runs-on: ubuntu-latest
27+
permissions:
28+
pull-requests: write
29+
contents: write
2730
if: ${{ !startsWith(github.event.head_commit.message, 'Version Packages (#') }}
2831
steps:
2932
- name: Checkout Repo

.github/workflows/release-prod.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ jobs:
8484
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
8585
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
8686
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
87+
NPM_TOKEN_AI: ${{secrets.NPM_TOKEN_AI}}
8788
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
8889
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
8990
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}

.github/workflows/release-staging.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ on:
3030
options:
3131
- main
3232
- v8
33+
- at-11-7-1
3334
verbose:
3435
description: 'Enable verbose logging'
3536
type: boolean
@@ -110,6 +111,7 @@ jobs:
110111
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
111112
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
112113
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
114+
NPM_TOKEN_AI: ${{secrets.NPM_TOKEN_AI}}
113115
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
114116
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
115117
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}

.github/workflows/release-tweet.yml

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

.github/workflows/test-all.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,8 +178,7 @@ jobs:
178178
run: echo "FIREBASE_CI_TEST_START_TIME=$(date +%s)" >> $GITHUB_ENV
179179
- name: Run unit tests
180180
run: |
181-
xvfb-run yarn lerna run test:ci --scope '@firebase/firestore*'
182-
node scripts/print_test_logs.js
181+
yarn lerna run test:all:ci --scope '@firebase/firestore*' --stream --concurrency 1
183182
env:
184183
FIREBASE_TOKEN: ${{ secrets.FIREBASE_CLI_TOKEN }}
185184
EXPERIMENTAL_MODE: true

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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,15 +33,17 @@ jobs:
3333
with:
3434
# This makes Actions fetch all Git history so run-changed script can diff properly.
3535
fetch-depth: 0
36-
- uses: 'google-github-actions/auth@v0'
36+
# This commit represents v0.8.3
37+
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
3738
if: ${{ fromJSON(env.run_terraform_steps) }}
3839
with:
3940
credentials_json: '${{ secrets.JSSDK_ACTIONS_SA_KEY }}'
4041

4142
# create composite indexes with Terraform
4243
- name: Setup Terraform
4344
if: ${{ fromJSON(env.run_terraform_steps) }}
44-
uses: hashicorp/setup-terraform@v2
45+
# This commit represents v3.1.2
46+
uses: hashicorp/setup-terraform@b9cd54a3c349d3f38e8881555d616ced269862dd
4547
- name: Terraform Init
4648
if: ${{ fromJSON(env.run_terraform_steps) }}
4749
run: |

0 commit comments

Comments
 (0)