Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
332 commits
Select commit Hold shift + click to select a range
da23bb6
Revert "Hide Dart (for now) (#7743)" (#7783)
joehan Oct 4, 2024
48f08ce
Update emulator UI to 1.14.0 (#7786)
joehan Oct 4, 2024
5dec061
make logs default to .firebase/logs/ (#7784)
hlshen Oct 7, 2024
4bcbdff
Use quota metric to check CSQL free trial eligibility (#7788)
joehan Oct 7, 2024
c57490b
Skip Gen sdk prompt during `init dataconnect` if no platform is detec…
fredzqm Oct 7, 2024
6a3521e
Updated changelog to include dart generation (#7797)
maneesht Oct 7, 2024
b4689a0
update readme with gif (#7799)
hlshen Oct 7, 2024
8a411a6
Skip confirming if the file to write is unchanged (#7791)
fredzqm Oct 7, 2024
495cb72
Apphosting emulator - environment variable support (#7781)
mathu97 Oct 7, 2024
c43d72b
Maintenance (#7789)
ifielker Oct 7, 2024
cbc44c0
Update text for SDK Configuration button (#7798)
hlshen Oct 7, 2024
36ce505
[FDC] Remove confusing prompts (#7801)
fredzqm Oct 7, 2024
158c2b5
FDC SDK init use the same outputDir pattern for both CLI and VS Code …
fredzqm Oct 7, 2024
f350d60
Create rollout from branch or git commit (#7687)
blidd-google Oct 7, 2024
1085394
Print instructions to assist FDC Onboard Flow (#7802)
fredzqm Oct 7, 2024
bfc3fd4
Use 'default' alias if there are multiple aliases (#7804)
joehan Oct 7, 2024
a2201fb
Updated to Data connect emulator 1.5.0 (#7805)
joehan Oct 7, 2024
7dd671b
13.21.0
google-oss-bot Oct 8, 2024
b776cc1
[firebase-release] Removed change log and reset repo after 13.21.0 re…
google-oss-bot Oct 8, 2024
c3de090
Add App Hosting as an option for firebase init (#7803)
blidd-google Oct 8, 2024
17aa98c
update to 0.10.3 (#7807)
hlshen Oct 8, 2024
60daa4d
Updated requireAuth to include getting the access token (#7806)
maneesht Oct 8, 2024
82bfe47
Always include the default template the data connect (#7810)
fredzqm Oct 8, 2024
80060cf
Centralize logs when not in a firebase directory (#7811)
joehan Oct 8, 2024
6ea6b3d
13.22.0
google-oss-bot Oct 8, 2024
44306c4
[firebase-release] Removed change log and reset repo after 13.22.0 re…
google-oss-bot Oct 8, 2024
2420cc4
update to 0.10.4 (#7815)
hlshen Oct 8, 2024
cfec667
fix: identify dependencies that might require the --no-tree-shake-ico…
emwp Oct 11, 2024
833bd6d
Apphosting emulator: Custom Start Command Support (#7800)
mathu97 Oct 11, 2024
affd930
Fix sidebar sometimes not picking up CSS changes when built (#7705)
rrousselGit Oct 13, 2024
85dff3a
Refresh auth when we have no refresh_token (#7825)
joehan Oct 14, 2024
65f30e4
Better error when incorrect project ID is used. (#7827)
joehan Oct 14, 2024
e727357
Replace rimraf dependencies by built-in Node APIs (#7826)
echedaleux Oct 14, 2024
6fc0edb
This is to change the VScode command to focus the sidebar from `sideb…
rrousselGit Oct 15, 2024
e4861d2
Update findOpenPort to check ipv4 (#7824)
hlshen Oct 15, 2024
04c2296
Bump FDC local toolkit to v1.5.1. (#7837)
rosalyntan Oct 15, 2024
3e84ee8
Improved handling when `emulators:export` cannot read the metadata fi…
joehan Oct 16, 2024
1863f91
Focus terminal for shell tasks. (#7832)
yuchenshi Oct 16, 2024
372d0b1
chore: update dependencies for firebase functions template (#7809)
emwp Oct 16, 2024
9eed361
Use FUNCTIONS_DISCOVERY_TIMEOUT when waiting for sockets (#7838)
joehan Oct 16, 2024
0d8e546
13.22.1
google-oss-bot Oct 16, 2024
368f161
[firebase-release] Removed change log and reset repo after 13.22.1 re…
google-oss-bot Oct 16, 2024
8ced408
Update vscode to 0.10.5 (#7843)
hlshen Oct 16, 2024
2518670
Add a test-only GitRepoLinks create command (#7735)
kmcnellis Oct 17, 2024
4d87465
MVP working dataconnect:sql:shell (#7778)
tammam-g Oct 17, 2024
4a2819d
Report errors in configs, and load configs from anywhere (#7650)
rrousselGit Oct 21, 2024
310c7a6
Start of CLI version checking (#7848)
joehan Oct 21, 2024
5649862
Add support for deploying new blocking triggers (#6384)
blidd-google Oct 21, 2024
39a5f63
Cleaning up remnants of old vsce publish script (#7856)
joehan Oct 21, 2024
2559645
Set FIREBASE_BINARY as "firebasePath" user setting (#7857)
hlshen Oct 22, 2024
5c53ccd
Have 'firebase firestore:delete' retry on bandwidth RESOURCE_EXHAUSTE…
NickChittle Oct 22, 2024
995fab1
Removed console logs (#7858)
aalej Oct 22, 2024
9384645
13.23.0
google-oss-bot Oct 22, 2024
25e0d26
[firebase-release] Removed change log and reset repo after 13.23.0 re…
google-oss-bot Oct 22, 2024
4df32be
repairing missing binaries
joehan Oct 23, 2024
a1f4f09
lock to clean-publish@5.0.0
joehan Oct 23, 2024
babf8f2
Restoring publish script
joehan Oct 23, 2024
631da23
Pin clean-publish to 5.0.0 (#7870)
joehan Oct 24, 2024
2248973
Skipping partial html files generated due to enabling ppr in Nextjs (…
chalosalvador Oct 25, 2024
71f2f2e
Clarify Java compatibility requirements (#7866)
mltsy Oct 25, 2024
e3b60df
replace strip-ansi with stripVTControlCharacters from node:util (#7860)
jsaguet Oct 25, 2024
ddfefd8
Fix the extension overwriting the .firebase RC file when manually cha…
rrousselGit Oct 28, 2024
1374342
New e2e tests (#7738)
pr-Mais Oct 28, 2024
ec55947
Fix rollouts:create to handle backend regionality & other fixes (#7862)
blidd-google Oct 29, 2024
df2f682
Improve detection for outdated standalone CLI versions. (#7885)
yuchenshi Oct 30, 2024
20ddd15
Check billing during App Hosting init and move App Hosting option nex…
blidd-google Oct 30, 2024
cb89363
Bump FDC local toolkit to v1.6.0. (#7888)
rosalyntan Oct 30, 2024
6cf8b0f
feat: track autocomplete events (#7859)
pr-Mais Oct 30, 2024
03be6d4
13.23.1
google-oss-bot Oct 30, 2024
3150262
[firebase-release] Removed change log and reset repo after 13.23.1 re…
google-oss-bot Oct 30, 2024
906a37a
Upgrade Nextjs 15 (#7588)
chalosalvador Oct 31, 2024
54d6aa7
Apphosting emulator - local secrets support via `apphosting:config:ex…
mathu97 Oct 31, 2024
a932932
Fix analytics not tracked and track IDX separately (#7893)
hlshen Oct 31, 2024
45991d4
Update version and changelog for VSCode to 0.10.6 (#7891)
hlshen Oct 31, 2024
ab05bb7
Fix breakage with app hosting beta API switch (#7896)
inlined Nov 4, 2024
76e01ef
13.24.0
google-oss-bot Nov 4, 2024
4c9c06e
[firebase-release] Removed change log and reset repo after 13.24.0 re…
google-oss-bot Nov 4, 2024
53976c9
fix order of apphosting emulator at init (#7906)
mathu97 Nov 5, 2024
3f399fa
Remove resource location requirement during storage init (#7905)
tonyjhuang Nov 5, 2024
4097bfe
changelog for storage (#7908)
hlshen Nov 5, 2024
07509e3
13.24.1
google-oss-bot Nov 5, 2024
836335a
[firebase-release] Removed change log and reset repo after 13.24.1 re…
google-oss-bot Nov 5, 2024
96f8e50
Bump FDC local toolkit to v1.6.1. (#7912)
rosalyntan Nov 7, 2024
da6056b
Use config to determine path for generated operations (#7890)
hlshen Nov 7, 2024
0446616
Fix issue where the VS Code extension outputs a false positive warnin…
aalej Nov 7, 2024
d335243
13.24.2
google-oss-bot Nov 7, 2024
1d76f66
[firebase-release] Removed change log and reset repo after 13.24.2 re…
google-oss-bot Nov 7, 2024
b356e55
Update vscode to 0.10.7 (#7919)
hlshen Nov 8, 2024
2082c0f
analytics update (#7921)
hlshen Nov 8, 2024
a177fe0
fix telemtry (#7923)
hlshen Nov 8, 2024
eb438ad
Preparing for genkit 0.9.0 (#7907)
ifielker Nov 12, 2024
81dca8f
Clean up logs when using FIREBASE_DATACONNECT_POSTGRESQL_STRING (#7882)
joehan Nov 12, 2024
a02e52f
Fix toolkit crashing when config doesn't parse (#7889)
hlshen Nov 12, 2024
d3a522b
Fix firebase RC not being read before project init (#7935)
hlshen Nov 12, 2024
07c7cd8
Always log reauth error messages (#7875)
joehan Nov 12, 2024
602f57a
Fix Task Queue Emulator error handling to display error message prope…
blidd-google Nov 12, 2024
c92c59b
Bump FDC local toolkit to v1.7.0. (#7936)
rosalyntan Nov 12, 2024
da61b46
update langauge server files to be buildable (#7922)
hlshen Nov 12, 2024
2fd5eb8
13.25.0
google-oss-bot Nov 12, 2024
7a500af
[firebase-release] Removed change log and reset repo after 13.25.0 re…
google-oss-bot Nov 12, 2024
6566127
update vscode to 0.10.8 (#7942)
hlshen Nov 13, 2024
6153607
upgrade superstatic to 9.1.0 (#7941)
bkendall Nov 13, 2024
01ad9e5
Moving the emulator UI server to firebase-tools. (#7897)
christhompsongoogle Nov 13, 2024
fca62c7
Add appdist group and tester list commands (#7617)
duncan-google Nov 14, 2024
03639dc
Migrate some API calls to resourcemanager.googleapis.com (#7948)
joehan Nov 14, 2024
e7d679d
Move isVSCodeExtension func to avoid circular dependency (#7938)
Valzon Nov 15, 2024
5f77070
Revert "Move isVSCodeExtension func to avoid circular dependency (#79…
joehan Nov 15, 2024
36a951a
add data bundle to extension_used analytic (#7956)
hlshen Nov 15, 2024
72cdad4
Revert "Revert "Move isVSCodeExtension func to avoid circular depende…
joehan Nov 15, 2024
bf24af6
Make jsonHandler return a promise (#7961)
aalej Nov 18, 2024
9742d71
App Hosting Emulator: Monorepo support (#7917)
mathu97 Nov 19, 2024
8e9af08
Bump FDC local toolkit to v1.7.2. (#7968)
rosalyntan Nov 19, 2024
1304112
Added alias support and alias appdistribution:groups:* (#7962)
joehan Nov 19, 2024
27d9f1c
maintenance - lint (#7930)
ifielker Nov 19, 2024
01a2625
Update to Data Connect emulator 1.7.3 (#7971)
joehan Nov 19, 2024
8313a15
13.26.0
google-oss-bot Nov 19, 2024
877a889
[firebase-release] Removed change log and reset repo after 13.26.0 re…
google-oss-bot Nov 19, 2024
d19be77
App Hosting Emulator: Init (#7937)
mathu97 Nov 20, 2024
47d4d1f
Import + export support for the data connect emulator (#7836)
joehan Nov 20, 2024
597a589
Apphosting emulator: Add apphositng.local.yaml to `.gitignore` (#7963)
mathu97 Nov 20, 2024
2690983
Print cloudfunctions.net URL instead of run.app URL for 2nd Gen funct…
taeold Nov 20, 2024
c920e3e
Add analytics about firebasePath and FIREBASE_BINARY.
yuchenshi Nov 20, 2024
0f45706
support custom port for apphosting emulator (#7977)
mathu97 Nov 21, 2024
c130377
Emulators:exec should rethrow errors from emulator startup (#7976)
joehan Nov 21, 2024
04b288c
Apphosting emulator: Clean up secrets when writing to apphosting.loca…
mathu97 Nov 21, 2024
c8c86dd
enable emulator (#7983)
mathu97 Nov 21, 2024
08aa6e2
fix start command logging bug (#7984)
mathu97 Nov 21, 2024
4059bdb
Cleaning up some leftovers from #7836 (#7982)
joehan Nov 21, 2024
c014dc5
Update CHANGELOG to include App Hosting emulator (#7985)
mathu97 Nov 21, 2024
8019e2e
Minor text update (#7986)
hlshen Nov 21, 2024
f10767d
13.27.0
google-oss-bot Nov 21, 2024
7674651
[firebase-release] Removed change log and reset repo after 13.27.0 re…
google-oss-bot Nov 21, 2024
49c5ac5
Add default value for `dataDir` in `init dataconnect` (#7989)
joehan Nov 22, 2024
6366115
fix broken default command (#7996)
joehan Nov 26, 2024
1f12a83
Resolve js-yaml not available bug (#8009)
mathu97 Dec 2, 2024
7948c8c
chagne startCommandOverride to startCommand (#7990)
mathu97 Dec 2, 2024
81d9c72
Fix load when datasource is undefined (#8016)
joehan Dec 2, 2024
e6593ed
instead of removing startCommandOverride, mark it as deprecated (#8018)
mathu97 Dec 2, 2024
0a7808d
Added check to see if projectId is valid (#8005)
aalej Dec 3, 2024
eb5c922
Fix issue where content-type headers were not sent to event functions…
taeold Dec 3, 2024
4e13814
Fixing issue with firebase init genkit on Windows (#8011)
ifielker Dec 3, 2024
8f7682a
Add AutoAuth call when no token exists (#8000)
hlshen Dec 3, 2024
3846b9c
Update superstatic in package.json (#8026)
bkendall Dec 4, 2024
f395d08
Update FDC local toolkit to v1.7.4. (#8028)
rosalyntan Dec 4, 2024
75b311b
Add changelog entry for apphosting firebase config update (#8027)
mathu97 Dec 4, 2024
9ad8df3
Add no-undeclared-imports eslint rule (#8017)
joehan Dec 4, 2024
7f1c599
Better error message when Rosetta is missing (#8030)
joehan Dec 4, 2024
f11c7c9
Clean up the `fdccompatiblemode` experiment. (#8022)
rosalyntan Dec 4, 2024
a9bc138
Support for AI Testing Agent (#8001)
kaibolay Dec 4, 2024
9ea466f
make adhoc files saved by default (#8025)
hlshen Dec 4, 2024
42f5358
Enable apphosting:rollouts:create command (#8031)
blidd-google Dec 4, 2024
e895fd2
Good catch Ros! (#8033)
joehan Dec 4, 2024
6b107c9
Updated to fix issues-4170 (#7980)
mohankumarelec Dec 4, 2024
9a855a7
Update CHANGELOG.md
joehan Dec 4, 2024
bcb0315
13.28.0
google-oss-bot Dec 4, 2024
99ff49e
[firebase-release] Removed change log and reset repo after 13.28.0 re…
google-oss-bot Dec 4, 2024
7f060a7
update vscode to 0.11.0 (#8034)
hlshen Dec 5, 2024
a9e8e52
Support nodejs22 for CF3.
taeold Dec 6, 2024
9fa6cf8
Revert a9e8e521147080cf5f9ea405d6fef3a7c6b4172e
taeold Dec 6, 2024
01d3413
Support nodejs22 in CF3 (#8037)
taeold Dec 6, 2024
b911744
Adding a smoke test for the data connect emulator (#8036)
joehan Dec 7, 2024
1b421a7
Setup analytics system for IDX (#7999)
hlshen Dec 9, 2024
efd31c4
update to 0.11.1 (#8043)
hlshen Dec 9, 2024
89f1c8a
Fixing an issue with --import and dataDir at the same time (#8048)
joehan Dec 9, 2024
bc1a390
Fixing init dataconnect on some empty schema cases (#8051)
joehan Dec 11, 2024
f98ffe4
Allow a Callable to include a Genkit Action annotation (#8039)
inlined Dec 11, 2024
c3896ad
Fix extension crash when there is no root folder. (#8055)
yuchenshi Dec 12, 2024
5039643
Bump FDC local toolkit to v1.7.5. (#8058)
rosalyntan Dec 12, 2024
4f50803
Cleanly shut down PGlite when shutting down Data Connect (#8056)
joehan Dec 12, 2024
9805e5a
added validation for project id and project name (#8057)
aalej Dec 12, 2024
c28c1e2
13.29.0
google-oss-bot Dec 12, 2024
55a70ab
[firebase-release] Removed change log and reset repo after 13.29.0 re…
google-oss-bot Dec 12, 2024
a90eee0
ensureServiceIsConnectedToCloudSql only need to call backend when sch…
fredzqm Dec 13, 2024
0265a79
Multiple fixes for the Data connect emulator (#8063)
joehan Dec 13, 2024
d5801dd
13.29.1
google-oss-bot Dec 13, 2024
14fa93a
[firebase-release] Removed change log and reset repo after 13.29.1 re…
google-oss-bot Dec 13, 2024
48d818e
Fix firebase binary analytics; upgrade vscode to 0.12.0 (#8066)
hlshen Dec 16, 2024
4e7b492
AITA → ATA (#8068)
kaibolay Dec 16, 2024
ce14fa6
Fix storage-integeration-test (#8083)
joehan Dec 27, 2024
774d3f0
Change how FDC determines whether creating a CSQL free trial is allow…
rosalyntan Dec 27, 2024
c26a364
Update to cross-env and cross-spawn to address vulnerabilities (#8080)
joehan Jan 2, 2025
b684155
ajv 6.2.6 -> 8.1.1 (#8091)
sarahec Jan 3, 2025
ba3fa99
Implement FDC connector evolution warnings. (#8023)
rosalyntan Jan 3, 2025
bc7a167
Added debug setting (#8095)
joehan Jan 6, 2025
9e0666c
App Hosting Emulator: Auto-Init Support - Inject hostnames of other e…
mathu97 Jan 6, 2025
625ae73
Override `nan` to support node 22 and earlier (#8097)
sarahec Jan 6, 2025
a1d61ec
Fix relative dataDir issue (#8103)
joehan Jan 6, 2025
2b3c729
Fixing VSCE build by removing uneeded steps (#8107)
joehan Jan 9, 2025
5bdc6b3
Update to upload-artifact@v4 (#8108)
joehan Jan 9, 2025
be02559
Fixing some warnings due to union types (#8106)
joehan Jan 9, 2025
a16eb2e
Suggest DNS friendly service ids (#8118)
joehan Jan 15, 2025
6d0d75a
Add support for emulator import/export in VSCode (#8053)
joehan Jan 21, 2025
341a6e0
Remove label annotations for genkit functions; they break (#8127)
inlined Jan 22, 2025
4ed6fd7
Bump FDC local toolkit to v1.7.6. (#8129)
rosalyntan Jan 22, 2025
4cd0645
13.29.2
google-oss-bot Jan 22, 2025
e145360
[firebase-release] Removed change log and reset repo after 13.29.2 re…
google-oss-bot Jan 22, 2025
61cb79a
update to 0.12.1 (#8134)
hlshen Jan 23, 2025
0b8e6ad
Add prompt if user deploys a genkit function without a secret (#8138)
inlined Jan 27, 2025
3a4f1fc
Throw away prepared statements on terminate (#8137)
joehan Jan 27, 2025
801ed1d
rename extname for idx (#8126)
hlshen Jan 27, 2025
753f032
fix .env. files for web frameworks in windows (#8086)
leoortizz Jan 27, 2025
fda4d14
Add a CMEK warning, and only suggest lowercase csql ids (#8148)
joehan Jan 27, 2025
82d152a
Use CLI started emulator for emulator stream endpoint (#8124)
hlshen Jan 28, 2025
58c383c
Fix React lifecycle issue in results panel (#8147)
hlshen Jan 28, 2025
c0226eb
Bump FDC local toolkit to v1.7.7. (#8153)
rosalyntan Jan 30, 2025
e307740
Add `schemaValidation` to `dataconnect-yaml.json` (#8143)
nickofthyme Jan 30, 2025
eb4282d
13.29.3
google-oss-bot Jan 30, 2025
3ee01a3
[firebase-release] Removed change log and reset repo after 13.29.3 re…
google-oss-bot Jan 30, 2025
a6e48c0
Stop using deprecated nodejs16 runtime. (#8159)
taeold Jan 30, 2025
468000f
0.12.2 (#8155)
hlshen Jan 30, 2025
60f3cd7
Handle 404 status code in the proxyResponse. (#8119)
chalosalvador Jan 31, 2025
6e69655
Restore the "genkit-action" label as a booelan (#8135)
inlined Jan 31, 2025
e0d4a43
Add Genkit 1.0 templates (#8144)
inlined Jan 31, 2025
f32769b
Fix regex pattern used to verify Cloud Storage bucket name (#8157)
aalej Feb 4, 2025
f4a982f
improve FDC initial Schema template (#8160)
fredzqm Feb 4, 2025
6058b83
13.30.0
google-oss-bot Feb 4, 2025
bfeeae0
[firebase-release] Removed change log and reset repo after 13.30.0 re…
google-oss-bot Feb 4, 2025
f1b48d0
Log toolkit version in VSCE (#8172)
joehan Feb 5, 2025
d439384
fix(genkit): Better messages around running the Genkit sample. (#8174)
ifielker Feb 5, 2025
c308c00
Add extraEnv setting to vscode (#8173)
joehan Feb 5, 2025
8383fbb
Move cli-table dep to cli-table3. (#8176)
rosalyntan Feb 6, 2025
36b6677
Added Generated React Bindings for FDC (#8158)
maneesht Feb 6, 2025
075be29
Make run local always present (#8024)
hlshen Feb 6, 2025
4f70036
Update VSCode 0.13.0 (#8181)
hlshen Feb 6, 2025
ca32a5d
Use v3.0.3 of the Crashlytics buildtools jar (#8183)
mrober Feb 7, 2025
4670380
Fix outdated command/index.js => commands/index.ts. (#8175)
annajowang Feb 7, 2025
c0dcbd3
fix: support `default` and `reqHandler` exports in Angular (#8145)
alan-agius4 Feb 8, 2025
6742456
Support node 22 (#8136)
joehan Feb 10, 2025
6ba30b9
Fix issue where tester.groups can be undefined (#8195)
aalej Feb 10, 2025
ab42564
Swapping data connect to v1 API (#8166)
joehan Feb 10, 2025
2bfb61b
Add handling for `REQUIRE_FORCE` issues. (#8151)
rosalyntan Feb 10, 2025
c4603eb
Bump FDC local toolkit to v1.8.0. (#8210)
rosalyntan Feb 12, 2025
8cc734b
First pass at auto generating sdk configs (#7833)
maneesht Feb 12, 2025
cdc8874
13.31.0
google-oss-bot Feb 12, 2025
e8fc1ed
[firebase-release] Removed change log and reset repo after 13.31.0 re…
google-oss-bot Feb 12, 2025
b132984
FDC Emulator Update v1.8.1(#8216)
maneesht Feb 13, 2025
af559b3
13.31.1
google-oss-bot Feb 13, 2025
c48903d
[firebase-release] Removed change log and reset repo after 13.31.1 re…
google-oss-bot Feb 13, 2025
ed3bde4
Update formatting of connector evolution and insecure operation issue…
rosalyntan Feb 14, 2025
324c680
Use correct import path for data connect emulator (#8220)
joehan Feb 18, 2025
3ac1fbf
Don't surface insecure operations errors in VSCode. (#8215)
rosalyntan Feb 18, 2025
5b04f7d
Add path information to formatted GraphqlError. (#8228)
rosalyntan Feb 18, 2025
3968093
App Hosting Emulator bug - apphosting emulator info is not complete w…
mathu97 Feb 19, 2025
1bbb5a8
Bump FDC local toolkit to v1.8.2. (#8232)
rosalyntan Feb 19, 2025
f427a86
13.31.2
google-oss-bot Feb 19, 2025
6b90921
[firebase-release] Removed change log and reset repo after 13.31.2 re…
google-oss-bot Feb 19, 2025
4621328
fix: #8168 - enforce webframeworks only when needed (#8169)
fivecar Feb 20, 2025
dad1b1a
Added env var to magically import data connect service from console (…
joehan Feb 20, 2025
caaf1af
Add initial delay when loading python functions (#8239)
taeold Feb 21, 2025
73fc074
Added handling for different angular builders
bboysokol Feb 23, 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
  •  
  •  
  •  
14 changes: 12 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,16 @@ module.exports = {
"require-atomic-updates": "off", // This rule is so noisy and isn't useful: https://github.com/eslint/eslint/issues/11899
"require-jsdoc": "off", // This rule is deprecated and superseded by jsdoc/require-jsdoc.
"valid-jsdoc": "off", // This is deprecated but included in recommended configs.

"brikke/no-undeclared-imports": [
"error",
{
excludedFilePatterns: ["**/scripts/**/*", `update-notifier-cjs.d.ts`],
excludedModules: [
/node:/,
"express-serve-static-core", // We rely on just the types, and the package breaks our build.
],
},
],
"no-prototype-builtins": "warn", // TODO(bkendall): remove, allow to error.
"no-useless-escape": "warn", // TODO(bkendall): remove, allow to error.
"prefer-promise-reject-errors": "warn", // TODO(bkendall): remove, allow to error.
Expand Down Expand Up @@ -107,7 +116,7 @@ module.exports = {
sourceType: "module",
warnOnUnsupportedTypeScriptVersion: false,
},
plugins: ["prettier", "@typescript-eslint", "jsdoc"],
plugins: ["prettier", "@typescript-eslint", "jsdoc", "brikke"],
settings: {
jsdoc: {
tagNamePreference: {
Expand All @@ -122,6 +131,7 @@ module.exports = {
// TODO(jamesdaniels): add this to overrides instead
ignorePatterns: [
"src/dynamicImport.js",
"src/emulator/dataconnect/pg-gateway",
"scripts/webframeworks-deploy-tests/nextjs/**",
"scripts/webframeworks-deploy-tests/angular/**",
"scripts/frameworks-tests/vite-project/**",
Expand Down
80 changes: 75 additions & 5 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,14 +42,13 @@ jobs:
working-directory: firebase-vscode

vscode_unit:
# Using windows to bypass an error thrown by VScode
# when run in an environment that does not have a screen.
runs-on: windows-latest
runs-on: macos-latest
strategy:
matrix:
node-version:
- "18"
- "20"
- "22"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand All @@ -62,8 +61,68 @@ jobs:
- run: npm ci
- run: npm install
working-directory: firebase-vscode
- run: npm run build
working-directory: firebase-vscode
- run: npm run test:unit
working-directory: firebase-vscode
- uses: codecov/codecov-action@v3
if: matrix.node-version == '20'

vscode_integration:
runs-on: macos-latest
strategy:
matrix:
node-version:
- "18"
- "20"

env:
FIREBASE_EMULATORS_PATH: ${{ github.workspace }}/emulator-cache
# This overrides the binary which runs firebase commands in the extension tasks such as emulator start.
# Currently, CI fails to start with npx so we change it to the global firebase binary.
FIREBASE_BINARY: firebase

steps:
- name: Setup Java JDK
uses: actions/setup-java@v3.3.0
with:
java-version: 17
distribution: temurin

- uses: actions/checkout@v4
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1.7.2
with:
install-dependencies: true
install-chromedriver: true
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: firebase-vscode/package-lock.json

# TODO temporary workaround for GitHub Actions CI issue:
# npm ERR! Your cache folder contains root-owned files, due to a bug in
# npm ERR! previous versions of npm which has since been addressed.
- run: sudo chown -R 501:20 "/Users/runner/.npm" || exit 1
- run: npm ci
- run: npm install
working-directory: firebase-vscode
- run: npm run build
working-directory: firebase-vscode

- run: npm i -g firebase-tools@latest

- uses: GabrielBB/xvfb-action@v1
with:
run: npm run test:e2e
working-directory: firebase-vscode

- uses: actions/upload-artifact@v4
if: failure()
with:
name: screenshots
path: firebase-vscode/src/test/screenshots

- uses: codecov/codecov-action@v3
if: matrix.node-version == '20'
Expand All @@ -75,6 +134,7 @@ jobs:
node-version:
- "18"
- "20"
- "22"
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
Expand All @@ -93,7 +153,7 @@ jobs:
integration:
needs: unit
if: contains(fromJSON('["push", "merge_group"]'), github.event_name)
runs-on: ubuntu-latest
runs-on: ubuntu-22.04

env:
FIREBASE_EMULATORS_PATH: ${{ github.workspace }}/emulator-cache
Expand Down Expand Up @@ -123,13 +183,19 @@ jobs:
- npm run test:triggers-end-to-end
- npm run test:triggers-end-to-end:inspect
- npm run test:dataconnect-deploy
- npm run test:dataconnect-emulator
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: npm-shrinkwrap.json
- name: Setup Chrome
uses: browser-actions/setup-chrome@v1.7.2
with:
install-dependencies: true
install-chromedriver: true
- name: Cache firebase emulators
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -178,6 +244,7 @@ jobs:
- npm run test:storage-deploy
# - npm run test:storage-emulator-integration
# - npm run test:dataconnect-deploy # TODO (joehanley): Reenable this - it should be safe to run in parallel
# - npm run test:dataconnect-emulator # TODO (joehanley): Figure out why this is failing
- npm run test:frameworks
steps:
- name: Setup Java JDK
Expand Down Expand Up @@ -207,7 +274,7 @@ jobs:
- run: ${{ matrix.script }}
- name: Print debug logs
if: failure()
run: type *debug.log
run: dir "*.log" /s/b | type

check-package-lock:
runs-on: ubuntu-latest
Expand All @@ -216,6 +283,7 @@ jobs:
matrix:
node-version:
- "20"
- "22"

steps:
- uses: actions/checkout@v4
Expand All @@ -235,6 +303,7 @@ jobs:
matrix:
node-version:
- "20"
- "22"

steps:
- uses: actions/checkout@v4
Expand All @@ -254,6 +323,7 @@ jobs:
matrix:
node-version:
- "20"
- "22"

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
src/test/emulators/extensions/firebase/storage-resize-images@0.1.18/functions/node_modules/*
src/test/emulators/extensions/firebase/storage-resize-images@0.1.18/functions/package.json
src/test/emulators/extensions/firebase/storage-resize-images@0.1.18/functions/package-lock.json
scripts/functions-deploy-tests/**/package-lock.json
scripts/functions-discover-tests/**/**/package-lock.json
.dataconnect
*-debug.log

/.vscode
node_modules
Expand Down
7 changes: 3 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
- Re-add a dialog to let users know TLS is being provisioned in App Hosting (#7595)
- Improve Firebase Data Connect postgres security by granting fine grained SQL privileges to the users the need it. (#7578)
- Remove `dataconnect:sql:migrate` command hard dependency on 'roles/cloudsql.admin'. (#7578)
- Add support for setting the encryption configuration of restored firestore databases (#7483)
- Add initial delay when loading python functions (#8239)
- Enforce webframeworks enablement only on webframeworks sites (#8168)
- Support 3rd party builders for Angular (#6779) (#6602)
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ provide, the `Command.help` method accepts a long-form string to display for the

#### Load the command

Next, go to `command/index.js`, then add a line to load the command, for
Next, go to `commands/index.ts`, then add a line to load the command, for
example:

```javascript
Expand Down
19 changes: 10 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,16 @@ Detailed doc is [here](https://firebase.google.com/docs/cli/auth).

### Extensions Commands

| Command | Description |
| ----------------- | ------------------------------------------------------------------------------------------- |
| **ext** | Display information on how to use ext commands and extensions installed to your project. |
| **ext:configure** | Configure an existing extension instance. |
| **ext:info** | Display information about an extension by name (extensionName@x.y.z for a specific version) |
| **ext:install** | Install an extension. |
| **ext:list** | List all the extensions that are installed in your Firebase project. |
| **ext:uninstall** | Uninstall an extension that is installed in your Firebase project by Instance ID. |
| **ext:update** | Update an existing extension instance to the latest version. |
| Command | Description |
| ------------------- | ------------------------------------------------------------------------------------------- |
| **ext** | Display information on how to use ext commands and extensions installed to your project. |
| **ext:configure** | Configure an existing extension instance. |
| **ext:info** | Display information about an extension by name (extensionName@x.y.z for a specific version) |
| **ext:install** | Install an extension. |
| **ext:sdk:install** | Install and SDK for an extension so you can define the extension in a functions codebase. |
| **ext:list** | List all the extensions that are installed in your Firebase project. |
| **ext:uninstall** | Uninstall an extension that is installed in your Firebase project by Instance ID. |
| **ext:update** | Update an existing extension instance to the latest version. |

### Cloud Firestore Commands

Expand Down
98 changes: 98 additions & 0 deletions firebase-vscode/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,103 @@
## NEXT

## 0.13.0

- Updated internal `firebase-tools` dependency to 13.30.0
- [Added] Added `extraEnv` setting to help extension development.
- [Added] Make Run Local button always present

## 0.12.2

- Updated internal `firebase-tools` dependency to 13.29.3
- [Fixed] Fixed a bug where results panel would break on API error

## 0.12.1

- Updated internal `firebase-tools` dependency to 13.29.2
- [Added] Added support for emulator import/export.
- [Added] Added `debug` setting to run commands with `--debug`
- [Fixed] Fixed a bug where emulator issues weren't being surfaced

## 0.12.0

- Updated internal firebase-tools dependency to 13.29.1
- [Fixed] Fixed firebase binary detection for analytics

## 0.11.1

- [Fixed] Fixed IDX analytics issue

## 0.11.0

- Updated internal firebase-tools dependency to 13.28.0
- [Fixed] Fixed an issue where generating an ad-hoc file would break codelenses

## 0.10.8

- Updated internal firebase-tools dependency to 13.25.0
- [Fixed] Fixed an issue where the toolkit wouldn't start with misconfigured configs
- [Fixed] Fixed a visual bug when selecting a Firebase project in an empty folder

## 0.10.7

- Updated internal firebase-tools dependency to 13.24.2
- [Fixed] Fixed an issue where Add data and Read data would generate operations in the wrong folder
- [Fixed] Fixed an issue where firebase version check produced false positives on Windows (#7910)

## 0.10.6

- Updated internal firebase-tools dependency to 13.23.1
- [Added] Persist FIREBASE_BINARY env variable to settings.
- [Fixed] Fixed an issue where .firebaserc was being overwritten by the extension (#7861)

## 0.10.5

- [Fixed] Fixed an issue where multiple instances of the extension would break the toolkit.

## 0.10.4

- [Fixed] Fixed an issue where log files would be written to non-Firebase directories.

## 0.10.3

- Updated internal firebase-tools dependency to 13.21.0
- Updated default debug-log output to .firebase/logs directory
- [Fixed] Fixed an issue where emulator startup would hang
- Updated text for SDK configuration button

## 0.10.2

- Updated internal firebase-tools dependency to 13.20.2

## 0.10.1

- [Fixed] Fixed an issue where commands would be executed against directory default project instead of the currently selected project.
- [Fixed] Fixed an issue where expired auth tokens would be used.
- [Fixed] Fixed an issue where Add Data wouldn't generate UUID types
- Updated README with feature descriptions

## 0.10.0

- [Added] UI overhaul.
- [Added] Added View Docs button to see generated documentation for your schema and connectors.
- [Fixed] Improved detection for emulator start up and shut down.
- [Fixed] Improved error handling for variables pane.
- [Added] Added Firebase path setting, to control which Firebase dbinary is used when executing commands.

## 0.9.1

- Updated internal firebase-tools dependency to 13.19.0

## 0.9.0

- Updated internal firebase-tools dependency to 13.18.0

## 0.8.0

- Updated internal firebase-tools dependency to 13.17.0

- [Fixed] Extension properly picks up firebase.json changes during Firebase Init flow

## 0.7.0

- Updated internal firebase-tools dependency to 13.16.0
Expand Down
Loading