Skip to content

main to console #9064

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 185 commits into from
May 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
185 commits
Select commit Hold shift + click to select a range
2c27206
Merge main into release
google-oss-bot Nov 12, 2024
ffbf5a6
Version Packages (#8635)
google-oss-bot Nov 14, 2024
1294e64
Wait for service worker registration to become active before any oper…
hsubox76 Dec 4, 2024
c540ba9
Clear fetch abort timeout (#8663)
dlarocque Dec 4, 2024
f05509e
Support streaming streaming responses for callable functions. (#8609)
taeold Dec 4, 2024
cb4309f
Fixed issue where multiple calls to connectDataConnectEmulator causes…
maneesht Dec 4, 2024
1e8edb7
Convert e2e unit tests to use Jest (#8666)
hsubox76 Dec 6, 2024
4eaddd9
Merge main into release
google-oss-bot Dec 10, 2024
cbec4b9
Add ts-node dep - needed to read jest.config.ts (#8670)
hsubox76 Dec 10, 2024
d5614ea
Merge main into release
google-oss-bot Dec 10, 2024
76c3641
Use ubuntu-latest for Firefox CI tests (#8671)
hsubox76 Dec 11, 2024
e43d924
Version Packages (#8672)
google-oss-bot Dec 12, 2024
8a83d28
Merge branch 'release'
DellaBitta Dec 12, 2024
46c91bc
Disable TOC array indentation (#8637)
dlarocque Dec 12, 2024
32bf021
Fix: sort document reference by long type id (#8673)
milaGGL Dec 17, 2024
ddc3192
Set e2e test workflow to poll npm to check the version is available (…
hsubox76 Jan 7, 2025
f3a8df7
fix regex to include non-numeric (#8692)
hsubox76 Jan 7, 2025
7bf2aec
feat(rc): Add custom signals support (#8602)
ashish-kothari Jan 8, 2025
25a6204
Replace uuidv4 generator with `crypto.randomUUID()` (#8600)
dlarocque Jan 8, 2025
645487b
Update CODEOWNERS for Auth (#8694)
NhienLam Jan 8, 2025
a133053
Update GitHub Artifact Actions to v4 (#8128)
renovate[bot] Jan 9, 2025
c19a051
Updated FDC to include promise instead of promiselike (#8667)
maneesht Jan 9, 2025
a0e0a1c
Update actions/setup-node action to v4 (#8186)
renovate[bot] Jan 9, 2025
d16a487
chore(deps): update actions/github-script action to v7 (#8154)
renovate[bot] Jan 10, 2025
0755a72
chore(deps): update actions/checkout action to v4 (#8153)
renovate[bot] Jan 10, 2025
247627f
Merge main into release
google-oss-bot Jan 14, 2025
6a82634
Use versions instead of commits in vertexai responses actions scripts…
hsubox76 Jan 14, 2025
21164c2
Add FDC Integration Tests (#8703)
maneesht Jan 14, 2025
0b318a9
Upgrade two more `download-artifact` v3 actions to v4 in Firestore w…
DellaBitta Jan 14, 2025
d094e60
Version Packages (#8705) v11.2.0
google-oss-bot Jan 16, 2025
144bc37
Merge branch 'release'
DellaBitta Jan 16, 2025
3aefcc3
chore(deps): replace dependency npm-run-all with npm-run-all2 5.0.0 (…
renovate[bot] Jan 16, 2025
97d48c7
Add App Check token to FirebaseServerApp (#8651)
DellaBitta Jan 21, 2025
2af68a5
Update rollup-plugin-terser dep (#8709)
hsubox76 Jan 21, 2025
3c1559b
chore(deps): update actions/github-script action to v7 (#8711)
renovate[bot] Jan 21, 2025
2ec1c76
Fireperf web vitals (#8644)
bryanatkinson Jan 22, 2025
d8aabaf
Update a lot of dependencies (#8716)
hsubox76 Jan 23, 2025
24a90ee
chore(config): migrate config renovate.json (#8723)
renovate[bot] Jan 23, 2025
190cd62
chore(deps): update actions/setup-node action to v4 (#8712)
renovate[bot] Jan 23, 2025
d75102f
chore(deps): update dependency firebase-tools to v13 [security] (#8607)
renovate[bot] Jan 23, 2025
105d248
Have renovate ignore karma-webpack (#8725)
hsubox76 Jan 23, 2025
178ad99
Workflow CI: Update CHROME_VALIDATED_VERSION for Auth tests (#8722)
DellaBitta Jan 24, 2025
59ae45e
chore(deps): update dependency @rollup/plugin-json to v6 (#8727)
renovate[bot] Jan 24, 2025
99766e0
Update dev dependency firebase-tools
DellaBitta Jan 27, 2025
dafae52
Discard earliest heartbeat once there are 30 heartbeats (#8724)
dlarocque Jan 27, 2025
01f36ea
Fix negative offset of reconnect delay (#8718) (#8719)
alexander-at-t Jan 29, 2025
28eaaf4
Swap Performance's owner from jposuna to visumickey (#8737)
jposuna Jan 30, 2025
82373b3
Give `check-version` job pull request write permissions (#8743)
dlarocque Jan 30, 2025
d1c6e31
Skip flaky auth recaptcha test (#8753)
NhienLam Feb 3, 2025
2f92a74
Update dependencies in packages and repo-scripts (#8729)
hsubox76 Feb 4, 2025
9d88e3a
Add ActionCodeSettings.linkDomain and deprecate ActionCodeSettings.dy…
NhienLam Feb 4, 2025
721e5a7
FIX: sort strings in UTF-8 encoded byte order (#8691)
milaGGL Feb 5, 2025
313faf6
Added more granular tracking for web frameworks
stephenarosaj Feb 5, 2025
8a0fef2
Merge main into release
google-oss-bot Feb 5, 2025
5250e80
fix "TextEncoder undefined" issue in some platforms (#8765)
milaGGL Feb 5, 2025
8daf47f
Merge main into release
google-oss-bot Feb 5, 2025
4e6a5c6
Version Packages (#8766)
google-oss-bot Feb 6, 2025
deb917b
Adds a "firebase" changeset to release PR as needed (#8770)
hsubox76 Feb 10, 2025
45d4274
Use Node's `TextEncoder` in E2E JSDOM Environment (#8783)
dlarocque Feb 10, 2025
4d2fc6e
Update Firebase index.d.ts type definition file reference (#8543)
emmanuel-ferdman Feb 11, 2025
3418ef8
Revert the UTF-8 encoding in string sorting (#8782)
milaGGL Feb 11, 2025
909ae8f
Merge main into release
google-oss-bot Feb 11, 2025
8b3bcfc
Version Packages (#8786)
google-oss-bot Feb 11, 2025
69c3326
Emulator Idempotency: Firestore (#8780)
DellaBitta Feb 11, 2025
b3e68ca
Emulator Idempotency: Database (#8769)
DellaBitta Feb 11, 2025
70e08cf
SSR related improvements for RC client SDK. (#8699)
kjelko Feb 11, 2025
c791ecf
Emulator Idempotency: Auth (#8750)
DellaBitta Feb 11, 2025
6a28a72
Upgrade dependencies (#8781)
dlarocque Feb 12, 2025
c8e5b3e
Publish VertexAI API's tagged with `@beta` (#8788)
dlarocque Feb 12, 2025
554c7bd
Filter empty text parts when streaming (#8736)
dlarocque Feb 12, 2025
b92592d
Change API Documenter (BETA) annotation to (Public Preview) (#8789)
dlarocque Feb 13, 2025
fa5f8da
Merge main into release
google-oss-bot Feb 14, 2025
884cbd7
Create VertexAI Node CJS and ESM bundles (#8728)
dlarocque Feb 18, 2025
f681482
Catch errors in debug token exchange logic (#8792)
hsubox76 Feb 19, 2025
84dfeca
Throw error if mock response file not found (#8739)
dlarocque Feb 19, 2025
604133f
Fix vectorvalue docs (#8453)
dlarocque Feb 19, 2025
c3266f8
Re-enable auth redirect tests (#8803)
NhienLam Feb 20, 2025
ce2c775
Add Image Generation support using Imagen (#8683)
dlarocque Feb 21, 2025
9d82665
Add support for token-based usage metrics. (#8757)
rlazo Feb 24, 2025
1daf8b4
Add Vertex and DataConnect E2E smoke tests (#8805)
hsubox76 Feb 24, 2025
dcfb3da
Update dev script dependency @changesets/types to v6 (#8806)
renovate[bot] Feb 24, 2025
6670d9c
Merge main into release
google-oss-bot Feb 26, 2025
117279e
Bump cross-spawn from 7.0.3 to 7.0.6 in /e2e (#8645)
dependabot[bot] Feb 26, 2025
2d74e5b
Revert "Bump cross-spawn from 7.0.3 to 7.0.6 in /e2e (#8645)" (#8811)
DellaBitta Feb 26, 2025
777f465
App Hosting JS SDK autoinit (#8483)
jamesdaniels Feb 26, 2025
eb8e4aa
Merge main into release
google-oss-bot Feb 26, 2025
113c965
Added non-null properties to database.ThenableReference (#8800)
rhodgkins Feb 27, 2025
2eee61a
Version Packages (#8794)
google-oss-bot Feb 27, 2025
a24a76a
Merge branch 'release'
hsubox76 Feb 27, 2025
43d6b67
DataConnect: Update requests to point to v1 backend endpoints instead…
stephenarosaj Mar 3, 2025
7ae4824
Remove auto-commit API report workflow (#8808)
hsubox76 Mar 3, 2025
058afa2
Add missing `BlockReason` and `FinishReason` enum values (#8741)
dlarocque Mar 4, 2025
42cea48
Convert enum comments to JSDoc comments (#8742)
dlarocque Mar 5, 2025
25985ac
Add `systemInstruction`, `tools`, and `generationConfig` to `CountTok…
dlarocque Mar 6, 2025
33acc6e
Update yarn.lock in e2e (#8831)
dlarocque Mar 6, 2025
5611175
Fix transport service retry logic condition (Fixes #8813) (#8814)
khaaleoo Mar 6, 2025
51465ce
Give `check-changeset` job pull request write permissions (#8833)
dlarocque Mar 6, 2025
feb2c9d
Fix: sort strings in UTF-8 encoded byte order with lazy encoding (#8787)
milaGGL Mar 10, 2025
a512bc6
fix golden files test (#8843)
davidmotson Mar 17, 2025
95b4fc6
Surface all App Check errors in public getToken() method (#8842)
hsubox76 Mar 17, 2025
8ec9376
Merge main into release
google-oss-bot Mar 18, 2025
cf3c8fb
Grant Create PR workflow pull-request write perms. (#8846)
DellaBitta Mar 18, 2025
4f6439f
Merge main into release
google-oss-bot Mar 18, 2025
e8865f2
Grant Create PR content write permissions. (#8848)
DellaBitta Mar 18, 2025
5887660
Merge main into release
google-oss-bot Mar 18, 2025
202c732
Version Packages (#8849) - v11.5.0
google-oss-bot Mar 20, 2025
faaeb48
Deprecate `GroundingAttribution` (#8832)
dlarocque Mar 20, 2025
14d9721
Stream full logs of test-all firestore job (#8851)
hsubox76 Mar 20, 2025
5718838
Set github actions to use commit hashes (#8852)
hsubox76 Mar 20, 2025
edb4001
Implement Partial Errors for FDC (#8821)
maneesht Mar 21, 2025
648de84
Add `X-Firebase-AppId` header to VertexAI requests (#8809)
dlarocque Mar 25, 2025
ab8eb26
Update dependency webpack to v5.94.0 [SECURITY] (#8734)
renovate[bot] Mar 25, 2025
dcc62c0
Update dependency express to v4.20.0 [SECURITY] (#8759)
renovate[bot] Mar 25, 2025
670eba6
karma.base.js: replace "BROWSER" with "BROWSERS" in log messages, to …
dconeybe Mar 27, 2025
fb5d422
Auth cookie persistence (#8839)
jamesdaniels Mar 27, 2025
dd19924
Merge main into release
google-oss-bot Mar 27, 2025
195d943
firestore: fix `undefined` document snapshot data after "clear site d…
dconeybe Mar 28, 2025
61f0102
Use base browsers variable in Firestore karma config (#8876)
dlarocque Mar 28, 2025
c8cbfff
[chore] Update some dependencies (#8868)
hsubox76 Mar 29, 2025
4b34983
Version Packages (#8878)
google-oss-bot Mar 31, 2025
933ba9d
Merge branch 'release'
hsubox76 Mar 31, 2025
88a8055
Fix 'window is not defined' error when calling clearIndexedDbPersistence
milaGGL Apr 1, 2025
1df3d26
Fix Data Connect Types (#8898)
maneesht Apr 4, 2025
66a09f2
test(vertexai): update mock responses to v8 (#8904)
dlarocque Apr 8, 2025
b332825
Fix: display WebChannel error message (#8907)
milaGGL Apr 9, 2025
4e0f630
test(vertexai): add `backendName` param to mock response getters (#8906)
dlarocque Apr 9, 2025
ed0803a
fix: remove `null` value inclusion from `!=` and `not-in` filter resu…
milaGGL Apr 11, 2025
e055e90
Add assertion IDs that will be included in production log statements …
MarkDuckworth Apr 14, 2025
8bb66c2
docs(vertexai): remove HTML `<code>` tags (#8900)
dlarocque Apr 15, 2025
0cbff6b
test(vertexai): update developerapi mock response dir to googleai (#8…
dlarocque Apr 15, 2025
1363ecc
Fix languageCode parameter in action_code_url (#8912)
pashanka Apr 16, 2025
a0bcc9a
Merge main into release
google-oss-bot Apr 22, 2025
20b45d3
test(vertexai): update mock responses to v10 (#8959)
dlarocque Apr 23, 2025
b204e71
Version Packages (#8956)
google-oss-bot Apr 24, 2025
9952dbc
Merge branch 'release'
dlarocque Apr 24, 2025
0e2558a
Improve the integration test coverage for online vs offline compariso…
ehsannas Apr 28, 2025
dd6a8f0
fix(vertexai): add missing quote to chat role error message (#8979)
dlarocque Apr 29, 2025
ea1f913
Auto Enable SSL for Firebase Studio (#8980)
maneesht Apr 29, 2025
0e12766
Add support for running the emulators in Cloud Workstation (#8968)
maneesht Apr 30, 2025
080a90d
Add Cookie Support For Firebase Studio (#8986)
maneesht May 1, 2025
136bb73
Merge main into release
google-oss-bot May 5, 2025
6a02778
Fix Auth Port for Firebase Studio (#8998)
maneesht May 5, 2025
3789b5a
Change automaticDataCollectionEnabled to default to true. (#8999)
hsubox76 May 7, 2025
f7ec278
Merge main into release
google-oss-bot May 7, 2025
d5428f3
Version Packages (#8997)
google-oss-bot May 7, 2025
51e7b48
Roll back #8999 (#9007)
hsubox76 May 7, 2025
9900a6a
Merge main into release
google-oss-bot May 7, 2025
f8334ea
Version Packages (#9008)
google-oss-bot May 7, 2025
050c1b6
fix(vertexai): pass `GenerativeModel`'s `BaseParams` to `ChatSession`…
dlarocque May 8, 2025
e99683b
feat(vertexai): Gemini multimodal output (#8922)
dlarocque May 8, 2025
88584fd
test: Clean up vscode launch file and add vertexai debug config (#9000)
dlarocque May 8, 2025
8a03143
Fix encoding of CSI keys in Safari (#8993)
MarkDuckworth May 9, 2025
6be75f7
Restore #8999 (#9010)
hsubox76 May 12, 2025
d5082f9
feat(ai): Migrate to `AI` and add GoogleAI support (#8931)
dlarocque May 12, 2025
72852e1
Add Emulator Overlay (#8977)
maneesht May 12, 2025
39505cc
Rename `@firebase/vertexai` package to `@firebase/ai` (#9011)
dlarocque May 12, 2025
8593fa0
Add Emulator Overlay (#8977) (#9031)
hsubox76 May 13, 2025
bf8c3d1
add temporary release branch (#9032)
hsubox76 May 13, 2025
f92069a
Allow custom branch for release (#9033)
hsubox76 May 13, 2025
3a203e6
Merge at-11-7-1 into release
google-oss-bot May 13, 2025
799de59
restore Vertex token for temp publish (#9036)
hsubox76 May 13, 2025
9338d9d
Version Packages (manual PR) (#9034)
hsubox76 May 14, 2025
9bcd1ea
Fixed scroll behavior (#9043)
maneesht May 14, 2025
1e91c24
Merge at-11-7-1 into release
google-oss-bot May 14, 2025
8601ecb
Version Packages (manual PR) (#9044)
hsubox76 May 14, 2025
a5bacaf
Merge branch 'release' into ch-release-merge
hsubox76 May 15, 2025
5b53905
Remove redundant changeset
hsubox76 May 15, 2025
3d9291f
Merge pull request #9049 from firebase/ch-release-merge
hsubox76 May 15, 2025
880110b
Update e2e tests to reflect AI package and new API (#9017)
hsubox76 May 15, 2025
e4297f7
Merge main into release
google-oss-bot May 15, 2025
2fe7547
Version Packages (#9016)
google-oss-bot May 20, 2025
35ad526
Revert "Fixed scroll behavior (#8977)" (#9053)
maneesht May 20, 2025
e96410a
Merge main into release
google-oss-bot May 20, 2025
b5df4ae
Updated to only show banner when calling connect*Emulator (#9055)
maneesht May 21, 2025
4ead831
Merge main into release
google-oss-bot May 21, 2025
770e455
Version Packages (#9054)
google-oss-bot May 22, 2025
9964849
Close webchannel instances on terminate (#9041)
MarkDuckworth May 22, 2025
d5e5795
Reorder reporters to prevent log message duplication in CI (#9040)
MarkDuckworth May 22, 2025
ec91a86
docs(ai): Fix 'occured' typo in error codes (#9021)
dlarocque May 27, 2025
8cb21ff
feat(ai): Add `HarmBlockThreshold.OFF` (#9050)
dlarocque May 27, 2025
40be2db
feat(ai): Schema `title`, `maximum`, `minimum`, and `propertyOrdering…
dlarocque May 27, 2025
d9dad0a
Merge branch 'main' of github.com:firebase/firebase-js-sdk into console
MarkDuckworth May 27, 2025
4c3368f
updated yarn.lock
MarkDuckworth May 27, 2025
045da08
Fix firestore build issue
MarkDuckworth May 29, 2025
2faa840
docgen for firestore
MarkDuckworth May 29, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 0 additions & 1 deletion .changeset/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"baseBranch": "main",
"updateInternalDependencies": "patch",
"ignore": [
"firebase-namespace-integration-test",
"firebase-firestore-integration-test",
"firebase-messaging-integration-test",
"firebase-compat-interop-test",
Expand Down
5 changes: 5 additions & 0 deletions .changeset/spotty-ghosts-kneel.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@firebase/firestore": patch
---

Clean up leaked WebChannel instances when the Firestore instance is terminated.
6 changes: 6 additions & 0 deletions .changeset/tricky-years-pump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
'firebase': minor
'@firebase/ai': minor
---

Add `title`, `maximum`, `minimum`, `propertyOrdering` to Schema builder
16 changes: 8 additions & 8 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ packages/messaging-interop-types @zwu52 @firebase/jssdk-global-approvers
integration/messaging @zwu52 @firebase/jssdk-global-approvers

# Auth Code
packages/auth @lisajian @Xiaoshouzi-gh @sam-gc @firebase/jssdk-global-approvers
packages/auth-compat @lisajian @Xiaoshouzi-gh @sam-gc @firebase/jssdk-global-approvers
packages/auth-types @lisajian @Xiaoshouzi-gh @sam-gc @firebase/jssdk-global-approvers
packages/auth-interop-types @lisajian @Xiaoshouzi-gh @sam-gc @firebase/jssdk-global-approvers
packages/auth @lisajian @Xiaoshouzi-gh @sam-gc @pashanka @mansisampat @nhienlam @firebase/jssdk-global-approvers
packages/auth-compat @lisajian @Xiaoshouzi-gh @sam-gc @pashanka @mansisampat @nhienlam @firebase/jssdk-global-approvers
packages/auth-types @lisajian @Xiaoshouzi-gh @sam-gc @pashanka @mansisampat @nhienlam @firebase/jssdk-global-approvers
packages/auth-interop-types @lisajian @Xiaoshouzi-gh @sam-gc @pashanka @mansisampat @nhienlam @firebase/jssdk-global-approvers

# Testing Code
packages/rules-unit-testing @avolkovi @sam-gc @yuchenshi @firebase/jssdk-global-approvers
Expand All @@ -51,9 +51,9 @@ packages/installations-compat @avolkovi @yoyomyo @firebase/jssdk-global-approver
packages/installations-types @avolkovi @yoyomyo @firebase/jssdk-global-approvers

# Performance Code
packages/performance @jposuna @firebase/jssdk-global-approvers
packages/performance-compat @jposuna @firebase/jssdk-global-approvers
packages/performance-types @jposuna @firebase/jssdk-global-approvers
packages/performance @visumickey @firebase/jssdk-global-approvers
packages/performance-compat @visumickey @firebase/jssdk-global-approvers
packages/performance-types @visumickey @firebase/jssdk-global-approvers

# Analytics Code
packages/analytics @hsubox76 @firebase/jssdk-global-approvers
Expand All @@ -72,7 +72,7 @@ packages/app-check-types @hsubox76 @firebase/jssdk-global-approvers
packages/app-check-interop-types @hsubox76 @firebase/jssdk-global-approvers

# Documentation Changes
packages/firebase/index.d.ts @egilmorez @firebase/jssdk-global-approvers
packages/firebase/compat/index.d.ts @egilmorez @firebase/jssdk-global-approvers
scripts/docgen/content-sources/ @egilmorez @firebase/jssdk-global-approvers
docs-devsite/ @firebase/firebase-techwriters

Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/canary-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# Canary release script requires git history and tags.
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: Yarn install
Expand Down Expand Up @@ -71,6 +71,7 @@ jobs:
NPM_TOKEN_STORAGE: ${{secrets.NPM_TOKEN_STORAGE}}
NPM_TOKEN_STORAGE_TYPES: ${{secrets.NPM_TOKEN_STORAGE_TYPES}}
NPM_TOKEN_UTIL: ${{secrets.NPM_TOKEN_UTIL}}
NPM_TOKEN_AI: ${{secrets.NPM_TOKEN_AI}}
NPM_TOKEN_VERTEXAI: ${{secrets.NPM_TOKEN_VERTEXAI}}
NPM_TOKEN_WEBCHANNEL_WRAPPER: ${{secrets.NPM_TOKEN_WEBCHANNEL_WRAPPER}}
NPM_TOKEN_FIREBASE: ${{secrets.NPM_TOKEN_FIREBASE}}
Expand Down
19 changes: 13 additions & 6 deletions .github/workflows/check-changeset.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,17 @@ jobs:
name: Check changeset vs changed files
runs-on: ubuntu-latest

permissions:
pull-requests: write

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# This makes Actions fetch all Git history so check_changeset script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: Yarn install
Expand All @@ -54,22 +57,25 @@ jobs:
- name: Print blocking failure status
run: echo "${{steps.check-changeset.outputs.BLOCKING_FAILURE}}"
- name: Find Comment
uses: peter-evans/find-comment@v3
# This commit represents v3.1.0
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e
id: fc
with:
issue-number: ${{github.event.number}}
body-includes: Changeset File Check
- name: Create comment (missing packages)
if: ${{!steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
uses: peter-evans/create-or-update-comment@v4
# This commit represents v4.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
issue-number: ${{github.event.number}}
body: |
### Changeset File Check :warning:
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
- name: Update comment (missing packages)
if: ${{steps.fc.outputs.comment-id && steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
uses: peter-evans/create-or-update-comment@v4
# This commit represents v4.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
comment-id: ${{steps.fc.outputs.comment-id}}
edit-mode: replace
Expand All @@ -78,7 +84,8 @@ jobs:
${{steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
- name: Update comment (no missing packages)
if: ${{steps.fc.outputs.comment-id && !steps.check-changeset.outputs.CHANGESET_ERROR_MESSAGE}}
uses: peter-evans/create-or-update-comment@v4
# This commit represents v4.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
comment-id: ${{steps.fc.outputs.comment-id}}
edit-mode: replace
Expand All @@ -89,4 +96,4 @@ jobs:
# Don't want it to throw before editing the comment.
- name: Fail if checker script logged a blocking failure
if: ${{steps.check-changeset.outputs.BLOCKING_FAILURE == 'true'}}
run: exit 1
run: exit 1
54 changes: 31 additions & 23 deletions .github/workflows/check-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,26 +22,34 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout Repo
uses: actions/checkout@v4
with:
# get all history for the diff
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v3
with:
node-version: 22.10.0
- name: Yarn install
run: yarn
- name: Run doc generation
run: yarn docgen:all
- name: Check for changes in docs-devsite dir (fail if so)
run: |
if [[ -n "$(git status docs-devsite --porcelain)" ]]; then
echo "Unstaged changes detected:"
git status -s
exit 1
fi
- name: Reference documentation needs to be updated. See message below.
if: ${{ failure() }}
run: echo "Changes in this PR affect the reference docs. Run \`yarn docgen:all\` locally to regenerate docs and add them to this PR."
- name: Checkout Repo
uses: actions/checkout@v4
with:
# get all history for the diff
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: Yarn install
run: yarn
- name: Run doc generation
run: yarn docgen:all
# Fail first if there are docs-devsite changes since running yarn docgen:all
# will also regenerate any API report changes.
- name: Check for changes in docs-devsite dir (fail if so)
run: |
if [[ -n "$(git status docs-devsite --porcelain)" ]]; then
echo "Unstaged changes detected in docs-devsite/:"
git status -s
echo "Changes in this PR affect the reference docs or API reports. Run \`yarn docgen:all\` locally to regenerate the changed files and add them to this PR."
exit 1
fi
- name: Check for changes in common/api-review dir (fail if so)
run: |
if [[ -n "$(git status common/api-review --porcelain)" ]]; then
echo "Unstaged changes detected in api-report(s):"
git status -s
echo "Changes in this PR affect the API reports. Run \`yarn build\` locally to regenerate the API reports and add them to this PR."
exit 1
fi
2 changes: 1 addition & 1 deletion .github/workflows/check-pkg-paths.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up Node (20)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: Yarn install
Expand Down
75 changes: 43 additions & 32 deletions .github/workflows/check-vertexai-responses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,36 +19,47 @@ on: pull_request
jobs:
check-version:
runs-on: ubuntu-latest
# Allow GITHUB_TOKEN to have write permissions
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: Clone mock responses
run: scripts/update_vertexai_responses.sh
- name: Find cloned and latest versions
run: |
CLONED=$(git describe --tags)
LATEST=$(git tag --sort=v:refname | tail -n1)
echo "cloned_tag=$CLONED" >> $GITHUB_ENV
echo "latest_tag=$LATEST" >> $GITHUB_ENV
working-directory: packages/vertexai/test-utils/vertexai-sdk-test-data
- name: Find comment from previous run if exists
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e
id: fc
with:
issue-number: ${{github.event.number}}
body-includes: Vertex AI Mock Responses Check
- name: Comment on PR if newer version is available
if: ${{env.cloned_tag != env.latest_tag && !steps.fc.outputs.comment-id}}
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
issue-number: ${{github.event.number}}
body: >
### Vertex AI Mock Responses Check :warning:

A newer major version of the mock responses for Vertex AI unit tests is available.
[update_vertexai_responses.sh](https://github.com/firebase/firebase-js-sdk/blob/main/scripts/update_vertexai_responses.sh)
should be updated to clone the latest version of the responses: `${{env.latest_tag}}`
- name: Delete comment when version gets updated
if: ${{env.cloned_tag == env.latest_tag && steps.fc.outputs.comment-id}}
uses: detomarco/delete-comment@850734dd44d8b15fef55b45252613b903ceb06f0
with:
comment-id: ${{ steps.fc.outputs.comment-id }}
- uses: actions/checkout@v4
- name: Clone mock responses
run: scripts/update_vertexai_responses.sh
- name: Find cloned and latest versions
run: |
CLONED=$(git describe --tags)
LATEST=$(git tag --sort=v:refname | tail -n1)
echo "cloned_tag=$CLONED" >> $GITHUB_ENV
echo "latest_tag=$LATEST" >> $GITHUB_ENV
working-directory: packages/ai/test-utils/vertexai-sdk-test-data
- name: Find comment from previous run if exists
# This commit represents v3.1.0
uses: peter-evans/find-comment@3eae4d37986fb5a8592848f6a574fdf654e61f9e
id: fc
with:
issue-number: ${{github.event.number}}
body-includes: Vertex AI Mock Responses Check
- name: Comment on PR if newer version is available
if: ${{env.cloned_tag != env.latest_tag && !steps.fc.outputs.comment-id}}
# This commit represents v4.0.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043
with:
issue-number: ${{github.event.number}}
body: >
### Vertex AI Mock Responses Check :warning:

A newer major version of the mock responses for Vertex AI unit tests is available.
[update_vertexai_responses.sh](https://github.com/firebase/firebase-js-sdk/blob/main/scripts/update_vertexai_responses.sh)
should be updated to clone the latest version of the responses: `${{env.latest_tag}}`
- name: Delete comment when version gets updated
if: ${{env.cloned_tag == env.latest_tag && steps.fc.outputs.comment-id}}
uses: actions/github-script@v7
with:
script: |
github.rest.issues.deleteComment({
owner: context.repo.owner,
repo: context.repo.repo,
comment_id: ${{ steps.fc.outputs.comment-id }},
})
2 changes: 1 addition & 1 deletion .github/workflows/deploy-config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
# This makes Actions fetch all Git history so run-changed script can diff properly.
fetch-depth: 0
- name: Set up node (20)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: Yarn install
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/e2e-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,12 @@ jobs:
TEST_ACCOUNT: ${{ secrets.TEST_ACCOUNT }}
run: |
echo "export const config = $PROJECT_CONFIG; export const testAccount = $TEST_ACCOUNT" > firebase-config.js
- name: Poll npm until version to test is available for install
run: |
echo "Polling npm for firebase@${{ github.event.client_payload.versionOrTag }}"
node ../scripts/release/poll-npm-publish.js
env:
VERSION: ${{ github.event.client_payload.versionOrTag }}
- name: Yarn install
run: |
echo "Installing firebase@${{ github.event.client_payload.versionOrTag }}"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
# get all history for the diff
fetch-depth: 0
- name: Set up node (20)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: Yarn install
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/health-metrics-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,16 @@ jobs:
if: (github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)) && (github.actor != 'dependabot[bot]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.10.0
- uses: 'google-github-actions/auth@v0'
# This commit represents v0.8.3
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
# This commit represents v2.1.4
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
- run: yarn install
- run: yarn build
- name: Run health-metrics/binary-size test
Expand All @@ -55,14 +57,16 @@ jobs:
if: (github.event_name == 'push' || !(github.event.pull_request.head.repo.fork)) && (github.actor != 'dependabot[bot]')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22.10.0
- uses: 'google-github-actions/auth@v0'
# This commit represents v0.8.3
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
# This commit represents v2.1.4
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
- run: yarn install
- run: yarn build
- name: Run health-metrics/modular-exports-binary-size test
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/health-metrics-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,14 @@ jobs:
name: Release Diffing
runs-on: ubuntu-latest
steps:
- uses: 'google-github-actions/auth@v0'
# This commit represents v0.8.3
- uses: 'google-github-actions/auth@c4799db9111fba4461e9f9da8732e5057b394f72'
with:
credentials_json: '${{ secrets.GCP_SA_KEY }}'
- uses: google-github-actions/setup-gcloud@v2
- uses: FirebaseExtended/github-actions/health-metrics/release-diffing@master
# This commit represents v2.1.4
- uses: google-github-actions/setup-gcloud@77e7a554d41e2ee56fc945c52dfd3f33d12def9a
# This commit represents v1.4
- uses: FirebaseExtended/github-actions/health-metrics/release-diffing@41c787c37157e4c5932b951e531c041efa5bb7a4
with:
repo: ${{ github.repository }}
ref: ${{ github.ref }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up node (20)
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 22.10.0
- name: yarn install
Expand Down
Loading
Loading