To use the Firebase CLI in your development environment, see Set up or update the Firebase CLI.
Version 14.20.0 - October 15, 2025
-  Added a confirmation in firebase init dataconnectbefore asking for app idea description. (#9282)
-  Added dataconnect:executecommand to run queries and mutations. (#9274)
-  Updated Data Connect emulator to v2.15.0, which changes
Dart SDKs to use Object.hashAll()in generated objects. (#9291)
Version 14.19.1 - October 09, 2025
- Fixed a bug where creation of CloudSQL instances fails. The CLI now defaults to Postgres 15 until the backend supports higher versions. (#9279)
Version 14.19.0 - October 08, 2025
- Deprecated Java versions below 21. Support will be dropped in Firebase CLI v15. Upgrade to Java v21 or higher to continue using the emulators.
- Fixed Functions MCP log tool to normalize sort order and surface Cloud Logging error details. (#9247)
-  Fixed an issue where firebase initrequired login even when no project was selected. (#9251)
-  Added remoteconfig:experiments:get,remoteconfig:experiments:list, andremoteconfig:experiments:deletecommands to manage Remote Config experiments.
-  Added remoteconfig:rollouts:get,remoteconfig:rollouts:list, andremoteconfig:rollouts:deletecommands to manage Remote Config rollouts.
Version 14.18.0 - September 30, 2025
-  Fixed an issue with deploying indexes to Cloud Firestore Enterprise
edition databases where explicit __name__fields would in some cases be handled incorrectly.
-  Graduated the MCP server from experimental and renamed the
experimental:mcpcommand tomcp. The old name is now an alias.
- Consolidated and renamed MCP tools for clarity and to reduce the total number presented to LLMs.
-  Renamed the deployMCP prompt tofirebase_deployfor consistency.
-  Added a firebase_read_resourcesMCP tool, which can be used by LLMs to fetch guides or docs viafirebase://links.
-  Added a new /firebase:initMCP prompt, which can guide you through setting up backend services or Firebase AI Logic for your app.
-  Added support to the firebase_update_environmentMCP tool for accepting Gemini in Firebase Terms of Service.
-  Fixed a bug where firebase init dataconnectfailed to create a React app when launched from the VS Code extension. (#9171)
-  Added seed_data.gqlto the initial movie template for Data Connect. (#9232)
-  Added support to firebase dataconnect:sql:migratefor CloudSQL instances with only private IPs. The command must be run in the same VPC of the instance to work. (#9200)
-  Changed CloudSQL instances created with firebase deployto default to Postgres 17.
-  Improved the clarity of the firebase apptesting:executecommand when you have zero or multiple apps.
-  Fixed an issue where firebase deploy --only firestorewould fail with 403 errors on projects that never had a database created.
- Fixed an issue where deploying multiple Hosting sites with Cloud Functions could encounter a race condition. (#9235)
-  Updated the Data Connect local dev toolkit to 2.14.0,
which includes the following changes:
- Fixed a bug where @default(value)and@default(expr)is not validated on enum fields.
- JS/Kotlin codegen: Fixed an issue where generation would crash if no response type was generated.
- Dart codegen: Fixed an issue where compilation breaks if field name doesn't match name of enum.
- Dart codegen: Overrode ==to allow for equality between data classes.
 
- Fixed a bug where 
Version 14.17.0 - September 17, 2025
-  Changed the default region for Data Connect to
us-east4. (#9126)
Version 14.16.0 - September 10, 2025
-  Added firestore:bulkdeletecommand, which initiates a Cloud Firestore managed bulk delete operation. (#8974)
-  Added firestore:operations:*commands to list, describe, and cancel long-running operations. (#8982)
-  Changed firebase emulator:startto now usedemo-no-projectas default project if no project can be found. (#9072)
-  Added support for firebase init dataconnectto bootstrap Flutter templates. (#9084)
-  Fixed a vulnerability in unziputil where files could be written outside of the expected output directory.
-  Changed firebase init dataconnectto now confirm CloudSQL provisioning. (#9095)
-  Added support for MCP firebase_inittool to download an existing Data Connect service returned fromdataconnect_list_services. (#9091)
-  Updated the Data Connect local toolkit to v2.13.0,
which adds validation that checks that _insertdata includes all non-null columns without defaults. (#9106)
-  Added firebase_loginandfirebase_logoutMCP tools.
Version 14.15.2 - September 03, 2025
-  Added support for auth token JSON in dataconnect_executeMCP tool. (#9046)
-  Fixed issue where firebase-ios-sdkcould not finalize MFA with the Authentication emulator. (#9062)
- Fixed bugs where MCP tools could not connect to emulator due to a Firebase CLI version mismatch. (#9068)
-  Fixed a bug where firebase dataconnect:sdk:generate --watchswallowed all logs. (#9055)
-  Consolidated Data Connect MCP tools into
dataconnect_infotool to surface information of local workspace and backend resources. (#9056)
Version 14.15.1 - August 28, 2025
-  Fixed an issue where core MCP tools were excluded from listTools. (#9045)
- Fixed an issue where the MCP server failed to identify active projects.
-  Added new dataconnect_compileMCP tool.
Version 14.15.0 - August 27, 2025
- Added additional Crashlytics tools for debugging and analyzing crashes. (#9020)
-  Updated Data Connect local toolkit to 2.12, which
includes the following changes:
- Added ImpersonateQuery,ImpersonateMutation, andIntrospectGraphqlAPIs to the Data Connect emulator.
- Added support for Firebase JS SDK v12.
 
- Added 
Version 14.14.0 - August 21, 2025
-  Fixed an SQL permission bug in sql:migrate. (#9018)
-  Fixed an issue where firebase init dataconnect:sdkgenerated inconsistent package names. (#9021)
-  Added a configDirconfiguration option to specify a custom directory for.envfiles in Cloud Functions. (#9000)
Version 14.13.0 - August 20, 2025
-  Updated the Data Connect emulator to v2.11.2, which
includes the following changes:
- Fixed an issue causing SQL errors when combining aggregates and full-text search.
 
- Fixed a bug where deploying Cloud Firestore indexes failed due to broken index comparison logic. (#8859)
- Added prefix support for multi-instance Cloud Functions extension parameters. (#8911)
- Made it possible to initialize a Data Connect project in non-interactive mode. (#8993)
-  Added two new MCP tools for Crashlytics:
get_sample_crash_for_issueandget_issue_details. (#8995)
-  Added support to use Gemini to generate schema.gqlandseed_data.gqlinfirebase init dataconnect. (#8988)
-  Fixed a bug where firebase deploy --only dataconnectdidn't include GQL files in nested folders. (#8981)
-  Changed firebase deployto create Cloud SQL instances asynchronously. (#9004)
-  Fixed an issue where databasedeploys did not read source code correctly. (#8985)
Version 14.12.1 - August 14, 2025
- Updated runtime config deprecation warning to no longer show for v1 functions that only use default Firebase config. (#8963)
-  Fixed an issue where dataconnect:migratewould use an invalid temporary password when connecting to enterprise plus CloudSQL instances.
-  Updated Data Connect emulator to v2.11.1, which includes the
following changes:
- Added an app watch that collects embedded GQL into the connector folder.
- Added a way to handle foreign key constraint error as FailedPrecondition.
 
-  Added support for creating Cloud Firestore Enterprise databases
using firestore:databases:create --edition enterprise. (#8952)
- Added support for Cloud Firestore Enterprise database indexes. (#8939)
-  Fixed an issue where the get_sdk_configimproperly decoded file content for Android and iOS.
-  Added support for prompts, and added the deployprompt.
Version 14.12.0 - August 06, 2025
-  Fixed issue where __name__fields with non-default order were incorrectly filtered from index listings. (#8859)
-  Fixed an issue where firebase init dataconnectdidn't enable the Data Connect API by default. (#8927)
-  Added firebase init aitoolsto help developers set up Firebase tools for AI in their projects (#8949 and #8927).
-  Updated the Data Connect local toolkit to v2.11.0,
which includes the following changes
(#8948):
- Kotlin code generation with enums.
- Deploying schemas with enums no longer report false breaking changes.
- Support for ordering results by aggregate fields (min/max/count/sum/avg).
- Support for built-in and user-defined enums to LLM Tools generation.
 
Version 14.11.1 - July 22, 2025
-  Added a deprecation warning for functions.config()to stderr ondeployand allfunctions:configcommands. (#8808) (#8808)
-  Fixed issue where __name__fields withDESCENDINGorder were incorrectly filtered from index listings, causing duplicate index issues and deployment conflicts. (#8859, #7629)
-  Add service account and service enablement to firebase init apptesting.
-  Updated the Data Connect toolkit to v2.10.1, which includes
the following changes: (#8884)
- Dart codegen: Issue where list enums weren't properly serialized and deserialized.
- Dart codegen: Issue where if a Variable class has a field that is a custom scalar type, and that field has an enum, the enum is set to the incorrect type.
- Swift codegen: For enum cases that are not known to the SDK in advance, Swift
generates a _UNKNOWNcase with a string associated value. The fix changes that case name fromUNKNOWNto_UNKNOWN. If you have existing generated enums, you may need to rebuild your project.
- Kotlin codegen: Add valueproperty to theEnumValuebase interface.
- Dart codegen: Issue where nullable enum fields weren't setting the field itself as nullable.
 
Version 14.11.0 - July 16, 2025
- Added experimental App Testing commands.
- Fixed an issue where task queue functions couldn't decode non-ASCII characters. (#8836)
-  Fixed an issue where firestore:indexeswrongly removed the__name__field. (#7629)
- Updated Data Connect Emulator to version 2.10.0, which adds support for full-text search and user-defined enums, and moves SQL/CEL errors to the GraphQL debug_details field. (#8837)
Version 14.10.1 - July 09, 2025
- Improved App Hosting compute service account flow for source deploys. (#8785)
-  Fixed an issue with ext:configurewhere params without default values couldn't be set. (#8810)
-  Updated the Data Connect emulator to v2.9.0, which
includes the following changes:
- Fixed an issue where indexes over 63 characters broke schema migration.
- Added support for string_patternfilters, which filter string fields using regex orLIKEsemantics.
 
- Fixed an issue where the Data Connect emulator wasn't provided application default credentials. (#8819)
-  Fixed an issue where firebase-toolscouldn't be used within 1st gen Cloud Functions due to trying to write to a read-only file. (#8821)
Version 14.9.0 - June 26, 2025
- Added validation to check if project ID exists during project creation. (#5233)
-  Added generate_dataconnect_schema,dataconnect_generate_operation, andfirebase_consult_assistantMCP tools.
-  Integrated firebase init dataconnectwith the Gemini in Firebase API to generate Schema based on description. (#8596)
- Added user-friendly warning for runtime errors from the Google Cloud Functions API. (#8713)
- Updated Data Connect emulator to 2.8.0, which adds a README to generated Kotlin packages and drops support for macOS 10.15 (Catalina).
Version 14.8.0 - June 18, 2025
- Updated the Data Connect emulator to use PGlite 0.3.x and Postgres 17, which fixes some crashes related to wire protocol inconsistencies. (#8679, #8658)
-  Removed container cleanup logic in functions:deletecommand. (#8771)
- Fixed an issue where the IAM enablement for Genkit monitoring would try to change an invalid service account. (#8756)
- Added a max instance default to function templates and comments to educate developers on cost controls. (#8772)
-  Added caching to API enablement checks to reduce burn of
serviceusage.googleapis.comquota.
-  Updated the Data Connect local toolkit to v2.7.1, which
includes the following changes
- Kotlin codegen: Added a default value for the block\_parameter toexecute()so that it isn't necessary to specify empty{}for operations with optional variables and none are specified.
- Changed Web SDK READMEs to link to other web framework READMEs for better discoverability.
 
- Kotlin codegen: Added a default value for the 
Version 14.7.0 - June 11, 2025
- Added emulator support to Cloud Storage MCP tools. (#8707)
-  Removed over-eager error catch in functions:listcommand.
-  Added validation during firebase initfeature selection. (#5232)
-  Fixed an issue where the extensions emulator did not work with
demo-projects. (#8720)
-  Fixed issue where --export-on-exitfails if the target directory does not exist. (#4688)
- Fixed issue where the Firebase MCP server couldn't use application default credentials (ADC). (#8671)
-  Updated the Data Connect local toolkit to v2.7.0, which
includes the following changes:
(#8743)
- Fixed an issue where unwanted link dependencies are added to package.jsonwhen multiple package managers are used in a web project.
- Added linter warnings for naming convention violations & missing join table
@table(key).
 
- Fixed an issue where unwanted link dependencies are added to 
Version 14.6.0 - June 04, 2025
-  Fixed issue where projects:createdidn't correctly parse theprojectIdanddisplayNameinput. (#8634)
- Improved Get Database API call caching for Firestore function deployments. (#8681)
- Increased timeout for linking CloudSQL instances to Data Connect.
-  Fixed issue where firebase use --adddidn't correctly set the active project. (#8694)
-  Changed to correctly support '--database' flag in
firestore:delete. (#6753)
-  Changed to always set up Data Connect SDK when
FDC_CONNECTORenv var is set.
-  Changed firebase initto useFIREBASE_PROJECTenv var as the default project ID.
- Added emulator support to Firestore MCP tools. (#8700)
- Increased npm timeout for web frameworks to 60 seconds. (#8702)
-  Added fallback to reading web framework dependencies version
directly from node_modulespackage.jsonwhen the npm timeout is reached. (#8702)
- Updated the Data Connect local toolkit to v2.6.3, which includes some cleanup and error message improvements. (#8667)
Version 14.5.1 - May 30, 2025
- Fixed an issue where 'firestore.database' was accidentally treated as a required field. (#8678)
Version 14.5.0 - May 29, 2025
- Improved log messages on skipped App Hosting source deploys. (#8674)
-  Fixed issue in firebase initwhere users were forced to specify emulator UI port. (#8626)
- Added MCP tools for App Hosting. (#8605)
- Fixed crash when starting the App Hosting emulator on applications with no dependencies. (#8624)
-  Fixed issue where, with webframeworksenabled,firebase init hostingre-prompts users for source. (#8587)
-  Updated typescript version in functions template to avoid build issue
with @google-cloud/storage dependency. (#8194)
-  Updated the Firebase Data Connect local toolkit to v2.6.2, which
includes the following changes:
(#8667)
- Improved error messages of auth.uidin CEL expressions when the caller is unauthenticated.
- Fixed a bug where ExecuteGraphqlwith vector embedding in the emulator failed due to missing context.
 
- Improved error messages of 
-  Improved firebase init firestore+firebase deployflow on a fresh new project without going to Console (#8653) (#8412)
- Added support for Angular v20 to Firebase Hosting (#8672) (#8412)
Version 14.4.0 - May 15, 2025
-  Added firebase experimental:mcpcommand, which runs an MCP server for AI assistants to interact with Firebase resources.
- Updated supported runtimes for Cloud Functions. Default python runtime is now 3.13. (#8534)
- Fixed issue where Secret Manager API was not automatically enabled for functions using secrets. (#8528)
- Changed Artifact Registry cleanup policy error to warn for CI/CD workloads. (##8513)
-  Enhance firebase init apphostingto support local source deploys. (#8479)
-  Fixed issue where firebase init hosting:githubdidn't correctly parse the repo input. (#8536)
- Add GCP API client functions to support App Hosting deploy from source feature. (#8545)
- Fixed an issue where Extensions, Cloud Functions, and App Hosting would run into issues on projects where the default compute service account was changed.
-  Changed firebase inittemplate for functions to pin runtime version on init. (#8553)
-  Fixed an issue where updating a Cloud Function that retries would add
incorrect fields to the updateMask. (#8560)
- Fixed multi tenancy support for SSO users in the auth emulator. (#8544)
- Add SDK autoinit capabilities to App Hosting emulator. (#8582)
- Provision App Hosting compute service account during init flow. (#8580)
-  Updated the Firebase Data Connect local toolkit to v2.6.1, which 
includes the following changes:
(#8598)
- Fixed a bug where @transactioncontinued to execute after errors and produces more confusing errors.
- Fixed a bug where rolled-back fields in @transactionreturned data that had been invalidated by the rollback. They now correctly return null with a corresponding error "(rolled back)".
- Disallow @checkon side-effect fields if the mutation doesn't have@transaction.
- Improved error messages when reading a field of nullin CEL expressions.
- Updated the underlying Go dependency version from v1.22.2 to v1.22.12.
- Added the responsebinding to server values and@check(expr:)CEL expressions.
 
- Fixed a bug where 
Version 14.3.0 - May 07, 2025
-  Fixed an issue where the prompt to create apphosting.emulator.yamldid not work with backends that are not at the project root. (#8412)
- Fixed an issue where Terms of Service acceptance would be checked for non-human users.
- Fixed an issue where Cloud Resource Manager was called without checking whether it is enabled on the user's project.
-  Updated the Data Connect local toolkit to v2.5.0, which
includes the following changes:
(#8514)
- Fixed an issue where some server value expression errors incorrectly abort mutation execution.
- Added README generation to Angular codegen, which explains how to use generated query and mutation injector functions.
 
- Updated Emulator Suite UI to v1.15.0, which adds support for running on Firebase Studio.
Version 14.2.2 - April 30, 2025
-  Cleaned up prompt for setting up web frameworks during
init dataconnect.
-  Fixed an issue were the Local Emulator Suite would check for
auth when using demo-projects.
-  Updated the Data Connect local toolkit to v2.4.0, which
adds support for addandremovelist update transforms and fixes an issue where updating a column tonullwas ignored. (#8484)
Version 14.2.1 - April 23, 2025
-  Fixed an issue where init genkitchecked the version ofgenkitinstead ofgenkit-cli.
-  Updated the Data Connect local toolkit to v2.3.1, which
contains the following changes:
(#8455)
- Added support for incanddecupdate transforms forDateandTimestampscalars.
- Fixed a bug where ORandANDclauses may be evaluated in the incorrect order.
- Fixed an issue where {includes: $var}or{includesAll: [$var]}clauses were not dropped if$varwas missing.
 
- Added support for 
Version 14.2.0 - April 16, 2025
- Fixed an issue in the Extensions emulator where parameter default values would not be substituted into resource definitions.
- Changed so that artifact registry dry run is kept off for policy changes. (#8419)
- Added support for creation of paid Cloud SQL instances for Data Connect when the free trial has already been used.
-  Updated the Data Connect local toolkit to v2.2.0, which
contains the following changes:
(#8434)
- Added support for aggregate functions on singular fields.
- Added the ability to get an operation name without calling the reffunction in the generated web SDK.
- Properly enforced one-of validation on inc,dec,append, andprependupdate transforms. Existing deployed connectors that violate this constraint will still work, but will need to be fixed to use list syntax before being re-deployed.
- Fixed an issue so that when using mutations with no variables, correct types are passed in.
 
Version 14.1.0 - April 03, 2025
- Fixed an issue where the Extensions emulator did not provide fallback values for v2 Cloud Firestore event triggers. (#8390)
- Fixed an issue with prompt when Data Connect prompts developer for framework generation.
-  Fixed a bug where the Admin SDK fails with ENOTFOUNDwhen automatically connecting to the Data Connect emulator when run in the Functions emulator. (#8379)
-  Updated the Data Connect local toolkit to v2.1.0 which
includes the following changes:
(#8400)
- Added support for update transforms.
- Added support for server value expressions for Int, Float, String, Date, Timestamp, and UUID data types.
- Fixed an issue where CommonJS modules don't reference ref functions properly.
 
Version 14.0.1 - March 28, 2025
- Fixed a bug where the Admin SDK would not automatically connect to the Data Connect emulator when run in the Cloud Functions emulator. (#8379)
- Fixed Cloud Functions deployment failure when service account is null. (#8378)
Version 14.0.0 - March 27, 2025
- Breaking change: Removed support for Node.js 18.
-  Changed the App Hosting flow for init emulatorsto now createapphosting.emulator.yamlwith references to live secrets rather thanapphosting.local.yamlwith saved plaintext. (#8361)
-  Breaking change: Removed the apphosting:config:exportcommand. (#8361)
-  Breaking change: Removed --locationflag fromapphostingcommands. Instead, commands now prompt for primary region as needed.
-  Breaking change: Changed the deploy dataconnectcommand to now warn about unsafe connector changes and insecure operations.
-  Breaking change: Removed the experimental:functions:shellcommand. Usefunctions:shellinstead.
-  Updated the Data Connect local toolkit to v2.0.0, which
contains the following changes:
(#8370)
- Added support for aggregate functions in queries.
- Breaking change: Added new types for Generated React SDKs.
- Improved description of various auto-generated mutation fields.
- Fixed an issue where pnpm users' SDKs weren't linked properly.
 
-  Added support for apphosting:secrets:grantAccessto now grant access to emails and grant multiple secrets at once. (#8357)
-  Added support for apphosting:secrets:setflows to help with test secrets. (#8359)
-  Updated init dataconnecttemplates tov1.
-  Fixed a bug where the emulator suite would set
FIREBASE_DATACONNECT_EMULATOR_HOSTinstead ofFIREBASE_DATA_CONNECT_EMULATOR_HOST.
-  Fixed a bug in Authentication emulator where accounts:lookupis case-sensitive for emails. (#8344)
- Fixed a bug where function deploys didn't support shorthand notation or parameterized service accounts. (#8366)
-  Fixed an issue where sql:setupwould incorrectly remove thecloudsqlsuperuserrole fromfirebasesuperuser. (#8363)
-  Fixed a bug where appdistribution:testers:listwould error out if there were no testers.
- Fixed a bug where Vertex AI API would not be automatically enabled when emulating Data Connect services that use it.
Version 13.35.0 - March 20, 2025
- Added support for generated Angular SDKs for Data Connect.
- Added support in the App Hosting emulator for loading secret env vars. (#8305)
-  Fixed web frameworks deployments when using multiple hosting sites
in firebase.json. (#8314)
- Added a new command to set up a cleanup policy for functions artifacts. (#8268)
- Added support for 3rd party builders for Angular. (#7557)
- Fixed Google Cloud Functions (2nd gen) artifact cleanup by correctly encoding artifact names to match the format for Google Cloud Functions (2nd gen). (#8318)
- Increased emulator UI body parser limit to match Cloud Storage emulator maximum. (#8329)
- Fixed Data Connect setup issues for fresh databases due to IAM user not being created. (#8335)
-  Fixed an issue where ext:installused POSIX file separators on Windows machines. (#8326)
- Updated the Data Connect local toolkit to v1.9.2, which adds support for generated Angular SDKs and updates Dart SDK fields to follow best practices. (#8347)
-  Fixed an issue where credentials from firebase loginwere not provided to the Data Connect emulator.
-  Fixed misleading comments in the connector.yamltemplate forfirebase init dataconnect.
- Improved Data Connect SQL permissions to better handle tables owned by IAM roles. (#8339)
- Fixed an issue where the Data Connect emulator would crash after some SQL errors.
Version 13.34.0 - March 11, 2025
-  Fixed web frameworks deployments when using siteinfirebase.json. (#8295)
-  Added support for getting started with existing projects using
dataconnect:sql:setup. (#8150)
-  Updated the Data Connect local toolkit to v1.8.5,
which includes the following changes:
(#8310)
- Fixed the IntandInt64scalars to correctly validate theint32andint64ranges, respectively.
- Fixed the generated web SDK so that pnpmproperly uses thelinkfunctionality.
 
- Fixed the 
Version 13.33.0 - March 06, 2025
-  Fixed issue where apps:initfailed to detect the output directory when it was run in a directory whereappwas the only module.
-  Set LOG_EXECUTION_ID=trueby default for Cloud Functions (2nd gen) to improve debugging by displaying execution IDs in logs. (#8276)
- Fixed bug where function deployment was skipped for functions in a bad state. (#8289)
-  Updated the Data Connect local toolkit to v1.8.4, which
includes the following changes:
(#8290)
- React hooks for mutations without args no longer require undefinedto be passed when callingmutate.
- Fixed import resolution when moduleResolutionis set tobundler.
- React code generation will now generate a READMEexplaining how to use generated query and mutation hook functions.
- Fixed an issue where React developers have to pass in an empty object even when all fields are optional.
- Fixed an issue where FirebaseErrorwasn't being passed intoUseMutationOptions.
 
- React hooks for mutations without args no longer require 
Version 13.32.0 - February 27, 2025
-  Replaced VSCODE_CWDcheck to address issues running in VS Code environments. (#7471)
- Added initial delay when loading Python functions. (#8239)
-  Enforced webframeworksenablement only onwebframeworkssites. (#8168)
-  Fixed issue where apps:initthrows an error on app creation.
-  Reenabled prompts for unused service deletion in deploy --only.
-  Updated Data Connect local toolkit to v1.8.3, which
includes the following changes:
(#8263)
- Adds a _metadata.distancefield to vector similarity search results
- Fixes authandrequest.authwhen the request is unauthenticated
- Fixes an issue with hanging commas in import statements in the generated Web SDK
- Fixes an issue where the additional union type { __angular?: true }breaks type inference in the generated Web SDK
 
- Adds a 
Version 13.31.2 - February 20, 2025
-  Fixed an issue where --importpath was incorrectly resolved for the Data Connect emulator. (#8219)
-  Updated the Data Connect local toolkit to v1.8.2, which
fixes an issue with a missing FirebaseErrorimport. (#8232)
Version 13.31.1 - February 13, 2025
-  Fixed issue where firebase init dataconnectwould crash on React-based web apps.
-  Updated the Data Connect local toolkit to v.1.8.1, which
fixed an issue where users who are using a version lower than 11.3.0 of
firebaseget a "missing import" error.
Version 13.31.0 - February 12, 2025
-  Switched Data Connect from v1betaAPI tov1API.
- Added code generation of React hooks for Data Connect.
- Added Angular 19 as supported version. (#8145)
-  Updated the Data Connect local toolkit to v1.8.0
(#8210),
which includes several changes:
- Added support for the v1Data Connect API in the emulator.
- Added support for generated React SDKs.
- Fixed @checkto also be evaluated for admin auth.
- Fixed CEL expressions to be able to access @redactfields.
 
- Added support for the 
-  Fixed appdistribution:testers:listraising an error when a tester is not part of any group. (#8191)
-  Improved Genkit initfor gcloud login and flow input values.
- Removed dependencies on some packages and methods that caused deprecation warnings on Node 22.
- Fixed symbol generation when uploading Unity 6 symbols to Crashlytics. (#7867)
-  Fixed SSR issues in Angular 19 by adding support for defaultandreqHandlerexports. (#8145)
Version 13.30.0 - February 04, 2025
-  Fixed an issue where Extensions deployment fails due to
*.firebasestorage.appnot being recognized as a valid bucket name. (#8152)
- Fixed issue with custom 404 pages not being returned in Next.js in the emulator. (#8035)
-  Added onCallGenkitfunction annotations. (#8135)
- Added Genkit 1.0.0 template. (#8144)
Version 13.29.3 - January 30, 2025
- Fixed a Data Connect emulator issue where prepared statements would be persisted after terminated connections. (#8133)
- Added a warning when deploying a Genkit function without a secret as this is likely not intended by the developer. (#8138)
-  Fixed .env.*files for web frameworks in Windows (#8086)
-  Updated the Data Connect local toolkit to v1.7.7
(#8153),
which includes:
- Fixed Dart code generation to use required argument typing.
- Better handling and surfacing of invalid connector or schema migration errors.
 
Version 13.29.2 - January 22, 2025
-  Updated cross-envandcross-spawndependencies to avoid vulnerable versions. (#7979)
-  Fixed an issue with the Data Connect emulator where
dataDirand--exportwere relative to the current directory instead offirebase.json.
-  Fixed init dataconnectso that it now suggests DNS compatible service IDs.
-  Updated the Data Connect local toolkit to v1.7.6, which
includes several bug fixes:
- Fixed an issue in generated Dart code when an operation name ends in a number.
- Fixed an issue with @checkand@redactdirectives on list fields.
- Fixed an issue with null literals in anytype fields.
 
Version 13.29.1 - December 13, 2024
-  Fixed an issue where clearDatawith no tables would cause the Data Connect emulator to crash.
-  Fixed an issue where the Data Connect emulator would
crash with Error: Unreachable. (#8062)
Version 13.29.0 - December 12, 2024
-  Changed default Cloud Functions runtime to nodejs22. (#8037)
-  Fixed an issue where --importwould error for the Data Connect emulator ifdataDirwas also set.
-  Fixed an issue where firebase init dataconnecterrored when importing a schema with no GQL files.
- Fixed an issue with the Data Connect emulator where Postgres would not cleanly shut down, causing data corruption. (#8044)
- Callable functions can now be annotated with the Genkit action they are serving. (#8039)
- HTTPS functions can now be upgraded to HTTPS callable functions. (#8039)
- Updated default tsconfig to support more modern defaults. (#8039)
-  Added validation for project ID and project name during
firebase init. (#2514)
-  Updated the Data Connect local toolkit to v1.7.5, which
includes a fix for Kotlin codegen that ensures that generated XxxKeys.ktfiles include the required@file:UseSerializers(UUIDSerializer::class)annotation. (#8058)
Version 13.28.0 - December 04, 2024
-  Added default value for emulators.dataconnect.dataDirtoinit dataconnect.
- Fixed issue where expired auth tokens would not refresh when running on IDX.
-  Fixed an issue where firebasewould error out instead of displaying help text.
-  Fixed an issue where firebase init genkitwould error on Windows machines.
- Fixed an issue where emulator returned error when emulating alerts functions written in python. (#8019)
- Improved error message for emulator binary architecture incompatibility on MacOS. (#7995)
-  Deprecated emulators.apphosting.startCommandOverride. Instead, useemulators.apphosting.startCommand.
-  Updated superstaticto9.1.0inpackage.json.
- Updated the Data Connect local toolkit to v1.7.4, which fixes an issue that caused duplicate installations of the Firebase JS SDK. (#8028)
Version 13.27.0 - November 21, 2024
-  Fixed an issue where emulators:execwould return a0error code when emulators failed to start. (#7974)
-  Added --importandemulators:exportsupport to the Data Connect emulator.
-  Added firebase.json#emulators.dataconnect.dataDir. When set, Data Connect data will be persisted to the configured directory between emulator runs.
- Added Firebase App Hosting emulator. To get started, see Locally test your app deployment in the App Hosting documentation.
-  Added apphosting:config:exportto export Firebase App Hosting configs (for example, secrets) intoapphosting.local.yamlto be used by the emulator.
Version 13.26.0 - November 19, 2024
-  Migrated some API calls from firebase.googleapis.comtocloudresourcemanager.googleapis.com.
-  Fixed an issue where the emulator UI would not work with builds
from https://firebase.tools. (#7897)
-  Updated superstaticto9.1.0. (#7929)
-  Added the appdistribution:group:listandappdistribution:testers:listcommands.
-  Aliased appdistribution:group:*commands toappdistribution:groups:*.
-  Updated the Data Connect toolkit to v1.7.3, which
includes:
- Added support for custom boolean claims on the auth token to be returned in expressions.
- Added support for Optionalarrays in Swift codegen.
- Fixed @authexpressions that reference theauthvariable.
- Fixed Kotlin codegen to use fully-qualified class names everywhere.
- Removed StringType_patternfrom generated docs and GQL prelude.
 
Version 13.25.0 - November 12, 2024
- Fixed Task Queue Emulator error handling. (#7916)
-  Fixed some misleading logs when using the Data Connect
emulator with FIREBASE_DATACONNECT_POSTGRESQL_STRINGset. (#7882)
-  Updated the Data Connect local toolkit to v1.7.0, which
includes support for queryin mutations,@checkfor advanced authorization, and replacesjava.util.Datewithcom.google.firebase.dataconnect.LocalDateforDatescalar fields and variables in Kotlin codegen. (#7936)
-  Fixed firebase init genkitto work with Genkit v0.9.0.
Version 13.24.2 - November 07, 2024
-  Released the Data Connect local toolkit v1.6.1, which
fixes the OrderDirectionenum withOptionaltypes in Dart codegen and adds@ExperimentalFirebaseDataConnectannotations in Kotlin codegen to avoid compiler warnings. (#7912)
Version 13.24.1 - November 05, 2024
-  Fixed an issue where the Cloud resource location wasn't set during
firebase init.
Version 13.24.0 - November 04, 2024
- Fixed an error when creating a rollout with Firebase App Hosting in the beta API. (#7896)
- Added support for Next.js 15. (#7588)
Version 13.23.1 - October 28, 2024
-  Added check that billing is enabled duringinit apphosting. (#7871)
-  Fixed rollouts:createto handle backend regionality. (#7862)
- Fixed Next.js issue where PPR routes did not render correctly. (#7625)
-  Released the Data Connect local toolkit v1.6.0, which
adds support for upsertMany, introducesvarsas a shorthand forrequest.variablesin@authexpressions, adds new methods toGeneratedConnectorandGeneratedOperationimplementations in Kotlin codegen (requires the v16.0.0-beta03 SDK), and fixes the use ofTimestampwith optional types in Dart codegen. (#7888)
Version 13.23.0 - October 22, 2024
- Added support for deploying new blocking triggers. (#6384)
-  Added firestore:deletecommand retry on bandwidth exceeded errors. (#7845)
Version 13.22.1 - October 16, 2024
-  Updated dependencies in init functionsandext:dev:inittemplates. (#7809)
-  Fixed Flutter web apps that might require the
--no-tree-shake-iconsflag in order to build. (#7724)
-  Removed outdated dependency on rimraf.
-  Fixed an issue where the extensions emulator would fail silently if
started with a fake project without the demo-prefix. (#7779)
-  Released Firebase Data Connect local toolkit v1.5.1, which adds
compatible mode schema migration support to the emulator and fixes an issue
with the Timestamptype in Swift codegen. (#7837)
-  Fixed an issue during functions discovery where
FUNCTIONS_DISCOVERY_TIMEOUTwasn't respected. (#6285)
-  Improved handling when emulators:exportcannot read the metadata file.
Version 13.22.0 - October 08, 2024
-  Added firebase init apphosting. (#7803)
- Fixed an issue where running the Firebase CLI in IDX required immediate reauthentication.
Version 13.21.0 - October 07, 2024
-  Added apphosting:rollouts:createcommand. (#7687)
- Updated emulator UI to version 1.14.0, which adds support for SDK-defined extensions.
- Added emulator support for SDK-defined extensions.
- Fixed various trigger handling issues in the functions emulator, including an issue where Eventarc functions were not emulated correctly after a reload.
- Added support for generating Dart SDKs for Firebase Data Connect connectors.
-  Commands now correctly use to the defaultalias when there is more than one alias. (#7624)
-  Updated Firebase Data Connect emulator to v1.15.0, which
includes bug fixes  for insertManyand improved error handling.
Version 13.20.2 - September 30, 2024
- Released version 1.4.4 of the Firebase Data Connect emulator, which changes the minimum node version (from v20 to v18) and updates peer dependencies for generated web SDKs.
Version 13.20.1 - September 26, 2024
- Updated the Firebase Data Connect local toolkit to v1.4.3, which includes a fix for URL redirects in the generated docsite. (#7763)
Version 13.20.0 - September 25, 2024
-  Updated Firebase Data Connect emulator to use an in memory
PGLite database instead of requiring a separate Postgres installation.
Deprecated dataconnectEmulatorin.firebaserc.
-  Released version 1.4.2 of the Firebase Data Connect emulator,
which includes SDK support for Anyscalar type andOrderDirection, support forfirstto lookup operations, and breaking changes for iOS generated SDKs. (#7744)
- Reverted the minimum functions SDK version and add logging for extensions features using v5.1.0. (#7731)
- Added compatibility mode support for Firebase Data Connect schema migrations, where application schema updates are allowed if the database schema is in a compatible state. (#7746)
-  Improved firebase init dataconnectto better support local-first onboarding. (#7733)
-  Added support for the --watchoption infirebase dataconnect:sdk:generate. (#7719)
- Minor fix in the Firebase Data Connect GraphQL query template. (#7736)
Version 13.19.0 - September 22, 2024
-  Updated Firebase Data Connect local toolkit version to v1.3.8,
which adds support for Anyscalar values in the Android SDK, strongly-typed variables in@authexpressions, and a minor internal fix for the Dart SDK code generation. (#7696)
-  Added new command firebase ext:sdk:installto allow you to configure extensions in a functions codebase. For details, see Install Extensions. (#7581)
Version 13.18.0 - September 18, 2024
-  Added firebase deploy --dry-run, which validates your changes and builds your code without making any production changes.
-  Added support for non-default Firestore databases in
firebase init. (#7655)
- Updated supported range for Angular framework. (#7418)
-  Fixed temporary change to the PORT in server.tsfor Angular 17+. (#6651)
- Switched Firebase Data Connect API from v1alpha to v1beta. (#7589)
-  Improved handling of Spark projects in firebase init dataconnect. (#7666)
-  Updated Firebase Data Connect local toolkit version to v1.3.7,
which adds support for v1beta gRPC APIs and the OrderDirectionenum in Swift, and makes transactional queries and mutations opt-in with the@transactiondirective. (#7679)
-  Added new command
firebase dataconnect:sql:grant -R <role> -E email, which grants a user access to your service's CloudSQL database. (#7656)
-  Added better handling for paths with spaces in
getGlobalEsbuildVersion. (#7571)
Version 13.17.0 - September 11, 2024
- Re-added a dialog to let users know TLS is being provisioned in Firebase App Hosting. (#7595)
- Improved Postgres security for Firebase Data Connect by granting finer grained SQL privileges. (#7578)
-  Removed dataconnect:sql:migratecommand hard dependency on'roles/cloudsql.admin'. (#7578)
- Added support for setting the encryption configuration of restored Cloud Firestore databases. (#7483)
-  Added support for VERIFY_AND_CHANGE_EMAILevents in the Authentication emulator. (#7618)
-  Updated the Firebase Data Connect toolkit to v1.3.6, which
serves a generated GraphQL docsite under /docs. (#7640)
Version 13.16.0 - August 27, 2024
- Added support for Cloud Tasks within the Functions emulator. (#7475)
-  Released Cloud Firestore emulator v1.19.8 which adds support for
FindNearest.distanceResultFieldandFindNearest.distanceThresholdparameters.
- Temporarily removed extensions from functions deploy because it was causing extensions to be deleted unexpectedly. (#7590, #7582)
Version 13.15.4 - August 21, 2024
-  Fixed an issue where Cloud Functions deployment would fail if
firebase.json#extensionswas undefined. (#7575)
Version 13.15.3 - August 20, 2024
-  Updated wsto 7.5.10 to remediate CVE-2024-37890. (#7398)
- Fixed an issue where Cloud Functions deployment required the Extensions API. (#1596)
Version 13.15.2 - August 15, 2024
-  Updated Firebase Data Connect toolkit to v1.3.5, which adds
support for pgvector indexing and order_by_ref, and fixes bugs in SDK generation. (#7561)
-  Implemented a check in the Next.js build function for web frameworks
to verify if env.PROJECT_IDfile exists and make its variables available for the build process. (#7323)
-  Fixed esbuildpath used to bundlenext.config.json Windows. (#7555)
Version 13.15.1 - August 09, 2024
-  Introduced automatic app platform detection during
firebase init dataconnect:sdk.
-  Updated Firebase Data Connect toolkit to v1.3.4, which includes
support for offset, cascading delete, and multiple generated SDKs of a single platform.
- Updated Firebase Data Connect SDK options default to avoid duplicate output path.
- Fixed secret parameter resolution in functions emulator. (#7443)
-  Fixed bug where esbuildexecution was throwing an error on Windows that said "Command line too long". (#7250 and #6193)
-  Added support for sharp^0.33.x in web frameworks. (#7517) (#7545)
Version 13.15.0 - August 01, 2024
- Added support for customer managed encryption keys (CMEK) on Firestore databases. (#7479)
-  Fixed an issue where --forcewas not respected duringfirebase deploy --only storage. (#7499)
- Improved error message thrown when missing permissions to deploy to Hosting. (#7190)
-  Improved default values for firebase init dataconnect:sdk.
-  Fixed issue where functions:secrets:setwrongly threw errors on non-interactive flows without--force. (#7467)
- Released Firebase Data Connect local toolkit v1.3.2, which includes bug fixes. (#7518)
Version 13.14.2 - July 26, 2024
-  Fixed an issue where the Firebase Data Connect emulator tried
to read dataconnect.yamlfrom the wrong location.
Version 13.14.1 - July 25, 2024
- Released Firebase Data Connect local toolkit v1.3.1, which includes fixes for Swift SDK code generation. (#7491)
Version 13.14.0 - July 23, 2024
- Modified App Hosting's GitHub integration UX so that the "Add an account" flow now goes directly to GitHub instead of using Developer Connect. (#7405)
-  firebase init dataconnectnow can pull down deployed GQL files.
- Adds support for Firebase alerts events in Eventarc emulator. (#7355)
- Released version 1.13.0 of firebase-tools-ui, which adds Emulator UI support for Firebase alerts events.
- Bumped the Data Connect local toolkit to v1.3.0, which adds Swift SDK, @index, @unique, and batch insert support. (#7486)
- Improved detection of 'dataconnect.yaml' when not in project root.
- Added GitHub Action fixes for web frameworks. (#6883)
-  Fixed issue where PubSub message publishTimeis set to1970-01-01T00:00:00. (#7441)
- Display meaningful error message when Web Frameworks cannot determine target. (#6594)
-  Improved errors when an incorrect service ID is passed to
firebase deploy --only dataconnect:serviceId.
- Fixed display of errors in Firestore commands when using JSON or noninteractive modes. (#7482)
- Fixed an issue where Firestore backup schedule commands had invalid short option names. (#7481)
Version 13.13.3 - July 15, 2024
- Fixed an issue where refresh tokens would be used before checking whether they were expired. (#7442)
Version 13.13.2 - July 11, 2024
- Fixed an issue where old access token would be used after expiry. (#7429)
Version 13.13.1 - July 10, 2024
-  Pass down functions.ignorevalues infirebase.jsonto functions emulator so that supposedly ignored directories/files will not trigger reload. (#7414)
- Fixes bug where secret values provided in env files were parsed as list. (#7422)
- Update the Data Connect emulator to v1.2.4, which includes a fix for web SDK generation on Windows and a change for the local Vertex AI client to pick up application default credentials automatically. (#74024)
Version 13.13.0 - July 01, 2024
-  Fixes framework support for Nuxt ^3.12 by correctly calling loadNuxtConfig(). (#7375)
-  Add a default for firebase init dataconnect:sdk. (#7406)
-  Bump Data Connect emulator to v1.2.3, which adds support for @indexon tables,@auth(level: USER_ANON/USER_EMAIL_VERIFIED), andkey: {uid_expr: "auth.uid"}, and fixes some issues related to SDK generation. (#7409)
Version 13.12.0 - June 27, 2024
-  Moved dataconnect.locationkey infirebase.jsontodataconnect.yaml.
- Fixes issue where files were not properly being discovered and deployed to Firebase Hosting. (#7363, #7378)
-  Added new command init dataconnect:sdk, which interactively configures a generated SDK for a Data Connect connector.
Version 13.11.4 - June 21, 2024
- Data Connect emulator now reuses existing instances if they are emulating the same service.
-  Fixes issue where deploy --only dataconnectwould error out withcannot read property undefined.
- Fixes compatibility issue when uploading native symbols to Crashlytics on Intel-based Macs.
Version 13.11.3 - June 20, 2024
-  Adds a warning to firebase dataconnect:sdk:generatewhen no generated SDKs are configured.
-  Fixes some cases where firebase init dataconnectdid not write project files correctly.
Version 13.11.2 - June 07, 2024
-  Added a warning to firebase dataconnect:sdk:generatewhen no generated SDKs are configured.
-  Fixed some cases where firebase init dataconnectdid not write project files correctly.
Version 13.11.1 - June 06, 2024
-  firebase init dataconnectno longer waits for Cloud SQL instance provisioning. (#7275)
- Fixed an issue where the Firebase Data Connect emulator would not start up correctly.
Version 13.11.0 - June 05, 2024
- Added support for Node 22 in function deployments. (#7252)
- Updated to the latest version of the Crashlytics buildtools (v3).
- Added support for deployment of an Angular app using the legacy browser builder. (#7264)
-  Released Cloud Firestore emulator v1.19.7, which adds support for
withAuthContextfunction triggers. (#7037)
-  Released Firebase Data Connect emulator v1.2.0, which adds
support for Postgres 16 and creates the Postgres database specified in
dataconnect.yamlor.firebaserc, if it doesn't already exist.
- Fixed some cases where Firebase Data Connect deployment fails to pretty-print errors. (#7230)
- Updated Pub/Sub emulator to v0.8.14. (#7197)
-  Updated default resource names and template during
init dataconnect.
-  Improved handling of newly created services during
init dataconnect.
Version 13.10.2 - May 21, 2024
- Released Firebase Data Connect emulator v1.1.19, which fixes serving IPv4 connections properly (127.0.0.1:9399 by default).
- Added a Windows build for Firebase Data Connect emulator (starting from v1.1.19).
Version 13.10.1 - May 21, 2024
-  Fixed an issue where dataconnect:sql:migratestill prompts for confirmation even with--force. (#7208)
- Released Firebase Data Connect emulator v1.1.18, which contains bug fixes for code generation and improved surfacing of schema migration errors.
-  Fixed an issue where the Firebase Data Connect emulator listens
on all addresses by default instead of just localhost. (#7211)
- Fixed Firebase Data Connect generated SDK sometimes using the wrong Google Cloud region. (#7217)
Version 13.10.0 - May 21, 2024
-  Cloud Functions discovery timeout can now be configured with the FUNCTIONS_DISCOVERY_TIMEOUTenv var. (#7176)
-  Upgrades the pubsub dependency to address a npm auditissue. (#7122)
- Fixes path issue in Windows deployments for Next.js SSR. (#7148)
- Updates Emulator Suite UI logos.
-  Fixes an issue where dataconnect:sql:migratewould sometimes act as the wrong role. (#7198)
-  Fixes an issue where dataconnect:sql:migrate --forcewould not ignore invalid connectors. (#7199)
-  Improves logging and messaging throughout dataconnectcommands.
- Improves handling for cases where a Firebase Data Connect service could not access Cloud SQL. (#7157)
Version 13.9.0 - May 14, 2024
-  Added firebase init genkit. Learn more in the Genkit documentation.
-  Added the apphosting:*commands. Learn more in the Firebase App Hosting documentation.
Version 13.8.2 - May 09, 2024
- Released Cloud Firestore Emulator v1.19.6 which fixes a few Datastore mode bugs regarding transactions. (#7132)
Version 13.8.1 - May 08, 2024
- Temporarily disabled performance improvements for deploys of 2nd gen functions to avoid a backend issue.
- Increased the timeout to 60 seconds for waiting for the emulators to start. (#7091)
- Fixed infinite loop when trying to create a Hosting site.
- Fixed copied functions dist dir files for Next.js when source config ends with slash. (#7099)
Version 13.8.0 - May 01, 2024
- Updated dependencies in functions initialization template. (#7084)
-  Added *.localto.gitignoreandfunctions ignorefor init functions. (#7018)
Version 13.7.4 - April 23, 2024
- Released Cloud Firestore emulator v1.19.5 which adds support for import and export in Datastore mode. (#7020)
- Fixed non-static check for not-found route in Next.js 14.2. (#7012)
- Fixed Next.js path issue on Windows. (#7031)
- Fixed an issue where the Pub/Sub emulator would not start on Windows due to CVE-2024-27980. (#7026)
Version 13.7.3 - April 17, 2024
- Improved internal handling of config files. (#6987)
Version 13.7.2 - April 11, 2024
-  Fixed bug where firebase deploy --only firestore:rules,firestore:indexesdid not update rules and indexes. (#6966)
- Added Firebase console link after creating or restoring a Firestore database. (#6949)
- Increased supported Astro version to 4. (#6960)
- Fixed a deployment crash when resetting min instances to 0 in 1st gen functions. (#6990)
-  Fixed bug in detecting functions runtime from firebase.json. (#6964)
Version 13.7.1 - April 05, 2024
-  Fixed an issue where the functions emulator would choose the wrong runtime if
none was listed in firebase.json. (#6965)
Version 13.7.0 - April 04, 2024
- Added new 2nd gen Cloud Firestore triggered functions with Authentication context. (#1519)
- Added (opt-out) experiment to disable cleaning up containers after a functions deploy. (#6861)
- Fixed Next.js image optimization check in app directory for Windows. (#6930)
-  Added support for next.config.mjs. (#6933)
- Removed development-only files from Next.js deployments. (#6731)
Version 13.6.1 - April 02, 2024
- Stop trying to delete cache images that Google Cloud Functions already cleans up. (#6927)
- Add support timelines for functions runtimes. (#6866)
Version 13.6.0 - March 26, 2024
-  Released Cloud Firestore emulator 1.19.4. This version fixes a
minor bug with reserve IDs and adds a resetendpoint for Datastore mode.
-  Released Pub/Sub emulator 0.8.2. This version includes support for
no_wrapperoptions.
- Fixed an issue where GitHub actions service account couldn't add preview URLs to authorized domains. (#6895)
-  Fixed an issue where GOOGLE_CLOUD_QUOTA_PROJECTbroke functions source uploads. (#6917)
Version 13.5.2 - March 19, 2024
- Fixed an issue where hosting rewrites failed when skipping functions. (#6658)
Version 13.5.1 - March 14, 2024
- Released Emulator Suite UI v1.11.8 which adds support for multiple Cloud Firestore databases in the Emulator UI by editing the URL. (#6874)
Version 13.5.0 - March 13, 2024
- Enabled dynamic debugger port for functions, in addition to support for inspecting multiple codebases. (#6854)
-  Injected an environment variable in the node functions emulator to
tell the google-gaxSDK not to look for the metadata service. (#6860)
-  Released Firestore Emulator 1.19.3 which fixes ancestor and
namespace scope queries for Datastore Mode, as well as internal errors seen
across the REST API and firebase-js-sdk.
- Fixed v2 scheduled and event functions so that if a function has an explicit service account then its Eventarc triggers will use that service account. (#6858 and #6859)
Version 13.4.1 - March 07, 2024
- Released Cloud Firestore emulator v1.19.2, which fixed some bugs affecting client SDKs when in Datastore mode. (#6827)
- Fixed an issue with using demo projects and web frameworks together in the emulator suite. (#6737)
- Fixed Next.js static routes with server actions. (#6664)
-  Fixed an issue where GOOGLE_CLOUD_QUOTA_PROJECTwas not correctly respected. (#6801)
- Fixed an issue where VPC egress settings in functions could not be parameterized. (#6843)
Version 13.4.0 - February 27, 2024
- Added new commands for managing Cloud Firestore backups and restoring databases. (#6778)
- Fixed quota attribution for Firebase Authentication API calls. (#6819)
Version 13.3.1 - February 21, 2024
- Released Cloud Firestore emulator v1.19.1, which adds preview support for Datastore Mode to the Cloud Firestore emulator.
- Fixed issue where GitHub actions would fail due to lack of permissions. (#6791)
Version 13.3.0 - February 14, 2024
- Added support for Python 3.12 functions. (#6679)
- Improved detection for when login has expired due to Google Cloud Session Control. (#1846)
- Fixed issues with internal utilities. (#6754)
-  Fixed an issue where firestore:deletedidn't target the emulator when expected. (#6537)
Version 13.2.1 - February 07, 2024
-  Fixed an issue where appdistribution:distributewould always attempt to run tests. (#6749)
Version 13.2.0 - February 06, 2024
- Added rudimentary email enumeration protection for Authentication emulator. (#6702)
-  Added support for customized automated tests to
appdistribution:distribute, with the automated tester feature (beta). To learn how to run an automated test, see Run an automated test for Android apps. (#6730)
Version 13.1.0 - January 24, 2024
- Switched v2 function target to entrypoint. (#6698)
- Fixed issue where Authentication emulator for sign in with Google only shows default tenant. (#6683)
-  Blocked the use of pinTags+minInstanceson the same function, since the features do not work together. (#6684)
- Added force flag to delete backend. (#6635)
- Use framework build target in Vite builds. (#6643)
- Use framework build target in NODE_ENV for production Vite builds. (#6644)
- Let framework handle public directory with emulator. (#6674)
- Fixed deprecated CJS build warning by dynamically importing Vite. (#6660)
- Fixed unsafe array spreads on Hosting deploys. (#6712)
Version 13.0.3 - January 07, 2024
- Fixed typo in Cloud Storage bucket metadata location type. (#6648)
-  Fixed an issue where including exportin.envfiles caused parsing errors. (#6629)
Version 13.0.2 - December 17, 2023
- Fixed Next.js dynamic and static OG images. (#6592)
- Addressed a regression introduced in 13.0.1 of the CLI when emulating Vite applications. (#6599)
- Added RSC headers of Next.js app directory pages to Hosting headers. (#6608)
Version 13.0.1 - December 07, 2023
- Fixed bug where deploying Firestore triggered functions resulted in redundant API calls to the Firestore API. (#6583)
- Fixed an issue preventing Vite applications from being emulated on Windows. (#6411)
- Fixed an issue preventing Astro applications from being deployed from Windows. (#5709)
-  Fixed an issue preventing Angular apps using ng-deploy` from being emulated or deployed. (#6584)
- Added warning if a web framework is outside the known supported range on deploy/emulate. (#6562)
-  Switched to using web framework's known supported version range in firebase init hosting. (#6562)
- Permitted use of more SSR regions in web frameworks deploys. (#6086)
- Limited web framework's generated function name to 23 characters, fixing deploys for some. (#6260)
-  Allowed Nuxt as an option during firebase init hosting. (#6309)
Version 13.0.0 - December 06, 2023
- Breaking change: Dropped support for running the CLI on Node.js v16.
-  Breaking change: Removed deprecated ext:dev:publishcommand. Useext:dev:uploadinstead.
-  Breaking change: Refactored functions:shellto remove its dependency on a deprecatedrequestmodule.- As part of this change, removed support for some rarely used features of
request.
 
- As part of this change, removed support for some rarely used features of
- Added support for running the CLI on Node.js v20.
- Added force flag call-out for bypassing prompts. (#6506)
- Added the ability to deploy Angular apps using the new application-builder. (#6480)
-  Switched Storage deployment to use GetDefaultBucketendpoint to fetch the default Storage bucket. (#6467)
- Fixed an issue with emulating blocking functions when using multiple codebases. (#6504)
-  Fixed an issue where the --non-interactiveflag was not respected in deploys of Firestore indexes. (#6539)
-  Fixed an issue where login:usewould not work outside of a Firebase project directory. (#6526)
-  Fixed to prevent app router static not-foundrequiring a Cloud Function in Next.js deployments. (#6558)
- Fixed to use only site ID from site name in list versions API. (#6565)
Version 12.9.1 - November 15, 2023
- Fixed an issue where initializing Hosting failed when selecting a project. (#6527)
Version 12.9.0 - November 14, 2023
- Added logic to create a Hosting site when one is not available in a project.
- Added checks for the default Hosting site when one is assumed to exist.
- Added force flag call-out for bypassing prompts. (#6506)
-  Reverted enabling preferRestby default to avoid performance degradations for some users. (#6520)
- Fixed blocking functions in the emulator when using multiple codebases. (#6504)
-  Fixed an issue where the functions emulator did not respect the --log-verbosityflag. (#2859)
Version 12.8.0 - October 31, 2023
-  Enabled preferRestoption by default for Firestore triggered functions. (#6147)
- Fixed a bug where redeploying a Firestore triggered function (2nd gen) failed after updating secrets. (#6456)
- Fixed a bug where similarly named Hosting channels caused issues when updating authorized domains. (#6356)
Version 12.7.0 - October 11, 2023
- Added support for point-in-time recovery (PITR) on Cloud Firestore databases, including enabling, disabling, and displaying enablement state. (#6388)
-  Added a --log-verbosityflag toemulators:*commands that limits what logs are printed. (#2859)
- Fixed type mismatch for parameterized function region. (#6205)
-  Ignore FIRESTORE_EMULATOR_HOSTenvironment variable on functions deployment. (#6442)
- Fixed an issue where params were not resolved when used to set VPC connector during functions deployment. (#6327)
Version 12.6.2 - October 04, 2023
- Fixed an issue with deploying multi-level grouped functions containing 2nd gen functions. (#6419)
- Fixed an issue where functions deployment required a new permission. (#6425)
Version 12.6.1 - September 27, 2023
- Fixed an issue where the functions service account option was not treated as a param. (#6389)
- Fixed an issue with deploying function groups containing 2nd gen functions. (#6408)
-  Changed to use the GetDefaultBucketendpoint to fetch the default Cloud Storage bucket.
Version 12.6.0 - September 26, 2023
- Improved performance and reliability when deploying multiple 2nd gen functions using single builds. (#6376)
-  Fixed an issue where emulators:exportdid not check if the target folder is empty. (#6313)
- Fixed an issue where retry could not be set for event-triggered functions. (#6391)
-  Fixed "Could not find the next executable"on Next.js deployments. (#6372)
- Fixed issues caused by breaking changes in Next >=v13.5.0. (#6382)
Version 12.5.4 - September 12, 2023
- Released Cloud Firestore emulator v1.18.2.
- Removed nano precision in timestamp used in Cloud Firestore emulator (#5893)
- Fixed a bug where Cloud Firestore emulator query behaved differently from production.
- Fixed an issue where very long command outputs would be cut off. (#3286)
Version 12.5.3 - September 08, 2023
-  Fixed an issue where builds from firebase.tools 
could not run commands that spawn npm. (#6132)
-  Fixed an issue where --non-interactiveand--forcewere not respected in some extension deploys. (#6321)
- Fixed the regex in Extensions changelog parser to lazy match the version prefix to allow matching higher versions. (#6326)
Version 12.5.2 - August 24, 2023
- Fixed an issue that caused unexpected behavior and errors when deploying functions. (#6290)
Version 12.5.1 - August 23, 2023
- Fixed issue where deploys with a mix of 1st and 2nd gen functions would fail. (#6293)
Version 12.5.0 - August 22, 2023
- Fixed issue where the Extensions emulator would error when emulating local extensions with no params. (#6271)
-  Fixed issue where next.config.jswould not be bundled correctly. (#6287)
- Improved performance and reliability when deploying multiple 2nd gen functions using single builds. (#6275)
Version 12.4.8 - August 15, 2023
- Increased Cloud Functions emulator HTTPS body size limit to 32mb to match production. (#6201)
- Fixed Astro web framework bug when loading configuration for version 2.9.7 and above. (#6213)
- Increased Next.js config bundle timeout to 60 seconds. (#6214)
Version 12.4.7 - August 02, 2023
-  Improved error message raised when firebase init hosting:githubfails due to max number of keys limit for a service account. (#6145)
-  Fixed bug where functions:secrets:\*family of commands did not work when Firebase CLI is authenticated viaGOOGLE_APPLICATION_CREDENTIALS. (#6190)
- Fixed bug where some extension instance updates would default to the wrong location. (#6202)
Version 12.4.6 - July 25, 2023
- Fixed an issue where extension instances could not be deployed when authenticated as a service account. (#6060)
-  Fixed globusage in Next.js utility function to detect images inappdirectory (#6166)
-  Allow experiments set with firebase experiments:enableto be accessed by the emulator UI. (#6169)
Version 12.4.5 - July 19, 2023
-  Fixed bug where functions:secrets:setdidn't remove stale versions of a secret. (#6080)
-  Fixed bug where firebase deploy --only firestore:named-dbdidn't update rules. (#6129)
- Fixed issue where Flutter Web wasn't detected as a web framework. (#6085)
- Added better messages for API permissions failures, which now direct the user to the URL to enable the API. (#6130)
- Fixed issue caused by adding stricter type checks. (#5906)
-  Fixed next/imagecomponent in app directory for Next.js > v13.4.9. (#6143)
- Fixed bug where Next.js Image Optimization in the app directory wasn't requiring a Cloud Function. (#6143)
-  Fixed a transitive dependency on a vulnerable version of vm2. (#6150)
Version 12.4.4 - July 12, 2023
- Disabled KeepAlive timeout when debugger is attached to the Cloud Functions emulator. (#6069)
-  Fixed an issue where database:listwould have inaccurate results. (#6063)
Version 12.4.3 - July 06, 2023
-  Fixed incorrect links in firebase open hostingandfirebase open crash. (#6073)
- Released Firebase Emulator UI v1.11.7, which includes preview support for multiple Cloud Firestore database instances. (#6079)
Version 12.4.2 - June 28, 2023
-  Fixed an issue where lifecycle hooks did not run when functions
were specified via --only functions:functionName. (#6023)
- Increased extension instance create poll timeout to 1h to match backend. (#5969)
-  Refactored ext:installto use the latest extension metadata. (#5997)
-  Added descriptive error when repo is private or not found during ext:dev:upload. (#6052)
- Fixed issue where missing trigger warnings would be wrongly displayed when emulating extensions with HTTPS triggers. (#6055)
-  Normalized extension root path before usage in ext:dev:upload. (#6054)
Version 12.4.1 - June 27, 2023
- Released Cloud Firestore emulator 1.18.1, which adds an emulator configuration to start in experimental mode. (#5942)
-  Fixed an issue where lifecycle hooks would not run when codebases
were specified via --only. (#6011)
-  Fixed an issue causing firebase emulators:startto crash on Next.js apps. (#6005)
Version 12.4.0 - June 15, 2023
- Fixed an issue where Cloud Storage Security Rules could not be deployed to projects without a billing plan. (#5955)
-  Added appdistribution:group:createandappdistribution:group:delete. (#5978)
-  Added --group-aliasoption toappdistribution:testers:addandappdistribution:testers:remove. (#5978)
Version 12.3.1 - June 06, 2023
- Delete and re-create v2 function on Cloud Run API quota exhaustion.
-  Changed firebase functions:secrets:*to ensure the Secret Manager API is enabled.
Version 12.3.0 - June 01, 2023
- Fixed a bug that prevented web framework's dev-mode from working out-of-box with Firebase Authentication.
- Addressed additional cases where the CLI was attempting to deploy a framework's development bundle.
-  Fixed an issue where Next.js rewrites were not prefixed with the
basePathdefined innext.config.js.
- Fixed an issue where web frameworks emulators were not respecting existing Cloud Functions rewrites.
-  Web frameworks rewrites/redirects/headers will only prepend those in
firebase.jsonif there's abaseUrl.
- Fixed an issue where Authentication emulator created a user if empty email and empty password was provided.
-  Improved error message raised when --importflag directory does not exist.
-  Switched ext:dev:initto defaultbillingRequiredto true inextension.yaml.
-  Removed LOCATIONparam from theextensions.yamltemplate forext:dev:init.
- Added support for Astro hybrid rendering.
Version 12.2.1 - May 24, 2023
- Fixed an issue where rules runtime would not gracefully close when the Cloud Storage emulator stopped.
-  Changed firebase deployto always assume build target of production for a web framework, unless overridden.
Version 12.2.0 - May 23, 2023
- Updated error message when function deploy fails due to quota.
- Fixed Realtime Database emulator 127.0.0.1 namespace resolution bug.
- Improved Realtime Database emulator to Cloud Functions emulator network reliability.
-  Allowed for Angular developers to both target a PWA and leverage
serveOptimizedImages.
- Fixed an issue where multi-page applications that are fully statically rendered were treated as PWAs.
-  Fixed an issue where ssr: falseandbaseURLwere not respected when using Nuxt.
- Fixed an issue where the JS SDK auto-init was not working for Vite while in dev-mode (#5610).
-  Fixed an issue where FIREBASE_FRAMEWORKS_BUILD_TARGETenvironment variable would not override the default build target.
- Improved cleanup process when reloading emulated functions in debug mode.
- Added support for Node.js v20 for web frameworks.
- Added fast dev-mode support for developers using Nuxt v2.
Version 12.1.0 - May 19, 2023
- Improved error handling while building web frameworks.
- Added support for Node.js v20 for Cloud Functions for Firebase.
-  Added Flutter for web as an option in firebase init hosting.
Version 12.0.1 - May 16, 2023
- Fixed an issue in the Eventarc emulator where events missing optional fields was causing crashes.
-  Fixed an issue when running firebase emulators:startandfirebase deployif Python Cloud Functions directory path has spaces.
Version 12.0.0 - May 9, 2023
-  Changed hosting.frameworksBackendto respectomit: true.
-  Fixed an issue where the backend requirement was not tripped for
Angular applications using ng-deploywithserveOptimizedImages.
-  Fixed an issue where the Cloud Storage emulator would not fall back to
open rules for demo-projects iffirebase.jsoncontained multiple Cloud Storage targets.
- Dropped support for running the CLI on Node.js v14.
-  Updated firebase initfunction templates for TypeScript and Javascript to 2nd gen.
- Added support for atomic deployment of Hosting content and Cloud Functions rewrites via tag pinning.
- Changed web frameworks to memoize framework builds for single builds across multiple hosting sites.
-  Added support for Angular i18n and baseHref. (#5774)
-  Added support for Next.js i18n, basePath, and more advanced rewrites/redirects/headers.
- Added - ext:dev:*commands to publish and manage Extensions. For step-by-step instructions on how to publish your own Extensions, see the publisher documentation.
Version 11.30.0 - May 3, 2023
- Added more helpful error messages for the Firebase Hosting GitHub Action.
- Upgraded the Cloud Firestore emulator to v1.17.4.
- Changed web frameworks to no longer try to deploy unsupported versions of Node.js to Cloud Functions.
- Fixed an issue where emulators would not start correctly due to corrupted ZIP files.
- Released Emulator Suite UI v1.11.6.
- Improved experience for developers using Next.js v13's app directory.
- Fixed an issue where timeout would not resolve when bundling Next.js applications for Cloud Functions.
-  Fixed an issue where the Cloud Functions emulator would attempt to
call to prod for demo-projects.
- Addressed issues starting the Hosting emulator with some versions of Next.js.
- Fixed regex page matcher for Next.js middlewares v1.
- Fixed an issue where the Cloud Functions emulator broke when client request disconnects.
- Added experimental support for deploying Flutter Web applications. to Firebase Hosting
- Added Cloud Functions emulator support for Cloud Firestore (2nd gen) triggers.
Version 11.29.1 - April 26, 2023
- Fixed an issue that prevented local extension instances from being updated to uploaded versions.
- Released Cloud Firestore emulator v1.17.3.
Version 11.29.0 - April 25, 2023
-  Released Cloud Firestore emulator v1.17.2. This change propagates page
token from ListDocumentsResponsetoGetOrListDocumentsResponsein the Cloud Firestore emulator.
- Fixed an issue where Secret Manager secrets were tagged incorrectly. (#5704)
- Fixed an issue where Custom Event channels weren't automatically created on function deploys.
- Removed Cloud Functions 2nd gen naming restrictions.
-  Fixed an issue where ext:installandext:configurewould error on extensions with no params.
-  Fixed an issue with Vite and Angular integrations using an obsolete
npmcommand.
Version 11.28.0 - April 18, 2023
-  Relaxed repo URI validation in ext:dev:publish.
-  Enabled Secret Manager API during ext:installandext:updatefor extensions that use secrets.
-  Added extensionsas an option infirebase init.
-  Added the following new commands for provisioning and managing
Cloud Firestore database instances:
- firestore:databases:list
- firestore:databases:create
- firestore:databases:get
- firestore:databases:update
- firestore:databases:delete
- firestore:locations
 
Version 11.27.0 - April 13, 2023
- Fixed broken experience for projects with incomplete 2nd Gen Cloud Functions.
-  Disabled Cloud Functions breaking change to automatically run npmbuild scripts as part of function deploy.
- Added experimental support for deploying Astro applications to Firebase Hosting.
-  Changed emulators:startto default to fast dev-mode for Nuxt3 applications.
Version 11.26.0 - April 11, 2023
- Fixed an issue where functions shell failed to invoke event-triggered functions in debug mode.
- Fixed an issue with the web frameworks proxy that could see unexpected 404 errors while emulating.
- Forced Vite to build the production bundle when deploying to Firebase Hosting.
-  Fixed an issue that prevented deploying Cloud Functions that
imported firebase-toolsas a library.
- Added experimental support for SvelteKit codebases.
-  Added support for using of Angular and Vite within an npmworkspace.
- Added ability to publish extension versions directly from GitHub.