> Documentation index: https://firebase.google.com/support/llms.txt

To use the Firebase CLI in your development environment, see
[Set up or update the Firebase CLI](https://firebase.google.com/docs/cli.md.txt#setup_update_cli).

## Version 15.36.0 - November 11, 2026

- Fixed an issue where Hosting commands failed when unable to ensure the Firebase Hosting API was enabled. A warning is now logged instead ([#11335](https://github.com/firebase/firebase-tools/issues/11335)).
- Updated `firebase init hosting` and `firebase init hosting:github` to ensure the Firebase Hosting API is enabled during setup.
- Added an optional `filterExpression` parameter to the Crashlytics MCP `list_events` tool to filter events by custom keys.
- Fixed an issue where Crashlytics filter validation rejected web app version names without a build number.
- Improved Authentication emulator startup time by compiling validation schemas lazily ([#11176](https://github.com/firebase/firebase-tools/pull/11176)).
- Updated the Firebase SQL Connect local toolkit to v3.4.26, which includes internal improvements and bug fixes.
- Fixed an issue where the emulators startup message showed `127.0.0.1` for the Emulator Suite UI when listening on `0.0.0.0`. It now also prints the address they listen on ([#6222](https://github.com/firebase/firebase-tools/issues/6222)).
- Fixed a race condition across a second boundary during `accounts:signUp` in the Authentication emulator where `validSince` could exceed `auth_time` ([#11413](https://github.com/firebase/firebase-tools/issues/11413)).
- Added local machine configuration persistence to `appcheck:debugtokens:create`, `--local` support to `appcheck:debugtokens:list`, and `appcheck:debugtokens:prune` to clean up stale local App Check debug tokens.
- Fixed an issue where `database:import` failed with an unhandled promise rejection when a batch write failed in Realtime Database.
- Fixed an issue where emulators crashed when a Cloud Firestore rules reload or emulator HTTP handler threw an error.

## Version 15.35.0 - November 04, 2026

- Fixed high query latency on Linux in the SQL Connect PGlite emulator by enabling `TCP_NODELAY` on sockets ([#11402](https://github.com/firebase/firebase-tools/issues/11402)).
- Fixed an issue where the emulators startup message showed `127.0.0.1` for the Emulator Suite UI when listening on `0.0.0.0`. It now also prints the address they listen on ([#6222](https://github.com/firebase/firebase-tools/issues/6222)).
- Fixed an issue on Windows where starting Java-based emulators (Cloud Firestore, Realtime Database, Pub/Sub, Cloud Storage) could open extra console windows or leave orphaned `java.exe` processes running after exit ([#3871](https://github.com/firebase/firebase-tools/issues/3871), [#11261](https://github.com/firebase/firebase-tools/issues/11261)).
- Updated the Crashlytics MCP `get_report` tool to dynamically validate report names via `listReports` and support optional time `granularity`.

## Version 15.34.2 - October 28, 2026

- Updated the `chokidar` dependency to `^4.0.3` to remove the vulnerable `braces` dependency ([#11308](https://github.com/firebase/firebase-tools/issues/11308)).
- Fixed an issue where the Firebase MCP server referred to `update_firebase_environment` instead of `firebase_update_environment`.
- Updated the Firebase SQL Connect local toolkit to v3.4.25, which includes internal improvements and bug fixes.
- Fixed CVE-2026-111181 by updating the `body-parser` dependency.
- Fixed an issue where the Cloud Firestore emulator exited when it could not watch the rules file for changes. It now logs a warning instead ([#4298](https://github.com/firebase/firebase-tools/issues/4298)).

## Version 15.34.1 - October 22, 2026

- Ensured the Firebase Hosting API is enabled before deploying and running other Hosting commands ([#11296](https://github.com/firebase/firebase-tools/pull/11296)).
- Fixed an issue where empty inputs were accepted for `Secret` parameter values in Cloud Functions ([#11310](https://github.com/firebase/firebase-tools/pull/11310)).
- Fixed an issue where the Firebase MCP server always suggested `npx firebase-tools@latest` even when the Firebase CLI was installed ([#11309](https://github.com/firebase/firebase-tools/pull/11309)).
- Fixed a Node.js `url.parse()` deprecation warning during `firebase login` ([#11317](https://github.com/firebase/firebase-tools/pull/11317)).
- Updated the Firebase SQL Connect local toolkit to v3.4.24, which includes some internal bug fixes ([#11327](https://github.com/firebase/firebase-tools/pull/11327)).
- Fixed 2nd gen Authentication emulator CloudEvent payloads to conform to the Eventarc `google.events.firebase.auth.v2.AuthEventData` wire format (`metadata.createTime`, `providerData[].uid`, and removing `tenantId` from nested user data) ([#11323](https://github.com/firebase/firebase-tools/pull/11323)).

## Version 15.34.0 - October 15, 2026

- Fixed an issue where `hosting:clone` failed to locate source sites in other projects ([#11247](https://github.com/firebase/firebase-tools/pull/11247)).
- Updated Pub/Sub emulator to version 0.8.37.
- Fixed an issue where analytics timeouts could mask command errors or cause successful commands to exit with an error ([#6989](https://github.com/firebase/firebase-tools/issues/6989)).
- Fixed an issue where unhandled exceptions during Cloud Functions deployment could be silently ignored and exit with code 0 ([#6989](https://github.com/firebase/firebase-tools/issues/6989)).
- Added `crashlytics:heapdumps:{enable,disable,status}` commands to manage Crashlytics Android heap dump collection ([#11225](https://github.com/firebase/firebase-tools/pull/11225)).
- Removed unused dependencies `proxy-agent`, `universal-analytics`, and `@apphosting/common`.
- Fixed an issue where throttled task queues stopped processing remaining tasks when a task exhausted its retries or timed out ([#6989](https://github.com/firebase/firebase-tools/issues/6989), [#11040](https://github.com/firebase/firebase-tools/issues/11040)).
- Fixed a race condition in `SourceTokenScraper` that could cause concurrent function deployments to stop responding when refreshing an expired source token ([#6989](https://github.com/firebase/firebase-tools/issues/6989)).
- Fixed an issue where a function kit and a functions codebase sharing the same source directory failed `firebase.json` validation ([#11253](https://github.com/firebase/firebase-tools/pull/11253)).
- Fixed an issue where Cloud Functions creation did not retry on HTTP 403 service account propagation errors ([#11251](https://github.com/firebase/firebase-tools/pull/11251)).
- Updated Firebase Authentication deployment to use existing apps from any platform before creating a default web app ([#11250](https://github.com/firebase/firebase-tools/pull/11250)).
- Removed unnecessary `TRUNCATE` privileges from writer roles in `dataconnect:sql:migrate` ([#11276](https://github.com/firebase/firebase-tools/pull/11276)).
- Updated the Firebase SQL Connect local toolkit to v3.4.23, which includes the following changes:
  - Updated the Golang dependency version to 1.26.9.
  - Improved Native SQL query validation, wrapper aliasing, and line-comment handling to support the SQL editor in Firebase SQL Connect.

## Version 15.33.0 - October 07, 2026

- Updated Firebase Hosting API requests to be project-scoped, eliminating site-scoped requests and the use of `-` as a project identifier.
- Added a check for a default Hosting site and an offer to create one during `firebase apps:create web`.
- Added a check for a default Hosting site and an offer to create one during Authentication initialization (`firebase init auth`).
- Started reporting the GCFv2-to-GCFv1 downgrade error during validation instead of a misleading CPU error ([#5461](https://github.com/firebase/firebase-tools/issues/5461)).
- Fixed `functions:delete` recreating an already-deleted Cloud Tasks queue for task queue functions ([#9305](https://github.com/firebase/firebase-tools/issues/9305)).
- Batched function deletions across instances when uninstalling a function kit ([#11189](https://github.com/firebase/firebase-tools/pull/11189)).
- Fixed an issue where 2nd-gen functions with parameterized trigger event filters failed default region resolution ([#11020](https://github.com/firebase/firebase-tools/issues/11020)).
- Fixed `functions:lifecycle:list` and `functions:lifecycle:run` failing to detect function kit instances ([#11240](https://github.com/firebase/firebase-tools/pull/11240)).
- Fixed nested ternary Common Expression Language (CEL) expressions in function parameters, which previously failed to load or selected the wrong branch ([#7755](https://github.com/firebase/firebase-tools/issues/7755)).

## Version 15.32.1 - September 30, 2026

- Improved the error message when Cloud Billing is not enabled.
- Fixed a crash in `setEnqueuer` when deploying Cloud Tasks functions whose IAM policy has no bindings ([#11184](https://github.com/firebase/firebase-tools/issues/11184)).
- Updated dependencies to address security vulnerabilities, including `protobufjs`, `tar`, `@grpc/grpc-js`, `express`, `undici`, `hono`, `tmp`, and `form-data`.
- Updated the Firebase SQL Connect local toolkit to v3.4.22, which includes the following changes:
  - Disallowed using the GraphQL root operation type names (`Query`, `Mutation`, `Subscription`) as `@table` or `@view` types.
- Fixed `404` errors during `crashlytics:sourcemap:upload` when re-uploading a source map with the same obfuscated path across different app versions.

## Version 15.32.0 - September 28, 2026

- Introduced function kits (`functions:kits:install`, `functions:kits:uninstall`, `functions:kits:list`) to configure and run multiple instances of functions from the CLI.
- Added support for overriding the Secret Manager secret ID and version used to resolve a named secret parameter via `FIREBASE_SECRET_REF_<SECRET_NAME>` in Cloud Functions `.env` files.
- Added `ext:migrate` and updated `ext:export` and `ext:list` to assist with migrating Firebase Extensions to function kits.
- Preselected the default values of list function params in multi-select prompts.
- Honored boolean and integer defaults in `select` prompts for function params instead of preselecting the first option.
- Increased retries for IAM policy updates to further reduce deployment flakiness from service account propagation delays.
- Fixed `ERR_REQUIRE_ESM` crash (e.g. on `emulators:start`) in the standalone binary and on Node.js versions earlier than 20.19 / 22.12 ([#11168](https://github.com/firebase/firebase-tools/pull/11168) {: .external}).
- Updated the Firebase console link in the Terms of Service error to include `?forceCheckTos=true`.

## Version 15.31.0 - September 23, 2026

- Improved error message with a link to the Firebase console when `projects:addfirebase` fails due to unaccepted Firebase Terms of Service.
- Fixed `firebase deploy` leaving the Python discovery admin server (`serving.py`) running after a killed or wedged deploy, which caused later deploys to stop responding indefinitely on `connect ETIMEDOUT` ([#10847](https://github.com/firebase/firebase-tools/issues/10847)).
- Added `firebase-admin` v14 support to SQL Connect generated Admin Node SDKs.
- Allowed pre-existing Crashlytics source maps to be overwritten instead of returning an error.
- Fixed Crashlytics source map uploads for Angular builds to strip out leading directory paths (e.g., `/dist/angular/browser/`).

## Version 15.30.2 - September 17, 2026

- Improved formatting and user experience for Cloud Functions parameter and secret prompts.
- Updated the Firebase SQL Connect local toolkit to v3.4.20.
- Fixed an issue where 2nd gen Firebase Authentication triggers (`onUserCreated` and `onUserDeleted`) did not work in the local Cloud Functions and Authentication emulators.

## Version 15.30.1 - September 14, 2026

- Fixed declarative security checks to fail fast with an actionable error and remediation instructions when declarative security APIs (IAM and Cloud Resource Manager) are disabled on the project.
- Updated Pub/Sub emulator to version 0.8.36.
- Cleaned up managed service accounts when opting out of declarative security alongside a filtered codebase deploy.
- Added a warning to `ext:uninstall --immediate` when secrets bound to the extension will be deleted, along with a migration path.
- Generated deterministic unsalted ETags for declarative security roles.

## Version 15.30.0 - September 9, 2026

- Updated the Firebase SQL Connect local toolkit to v3.4.19, which includes the following changes:
  - Bug fixes and performance improvements for the PostgreSQL emulator.
- Clean up managed service accounts when all functions in a codebase are deleted.
- Corrected Cloud Tasks emulator Queue ID validation error message to match Cloud Tasks naming rules.
- Repurposed the local `dataconnect_execute` tool as `dataconnect_execute_in_emulator` to run GraphQL queries and mutations on the local SQL Connect emulator.
- Added SQL Connect OneMCP tools to the MCP server, including:
  - `list/get/update/delete_service(s)`
  - `list_locations`
  - `get_operation`
  - `execute_graphql/_graphql_read`
  - `generate_query/_schema/_query_from_schema`
- Configured the `Mcp-Param-Region` HTTP header workaround in `OneMcpServer` for MCP routing support.
- Retry IAM policy updates on replication lag and concurrency conflicts.
- Prevent deadlock and stale source tokens during Cloud Functions deployment retries.
- Retry Cloud Functions creation on HTTP 400 service account propagation errors.

## Version 15.29.0 - September 2, 2026

- Added support for the `FIREBASE_DEBUG_PATH` environment variable to customize the debug log output location.
- Added `humanReadableDescription` field to MCP tools and used it in `--generate-tool-list` output.
- Fixed an issue where the Cloud Functions emulator replaced an IPC failure with an unrelated `TypeError`, hiding the reason for the failure [#10876](https://github.com/firebase/firebase-tools/issues/10876)
- Added `-f, --force` option to `firebase ext:migrate`.
- Fixed parameter type preservation and optional system parameter handling during extension updates in `firebase ext:migrate`.

## Version 15.28.1 - August 19, 2026

- Fixed an issue where Dart functions incorrectly required Dart 3.13.0 or later.

## Version 15.28.0 - August 19, 2026

- Fixed an issue where the `deploy` MCP tool failed with authentication errors during SQL Connect deployment.
- Refined the `login` MCP tool description and security verification instructions to enforce Session ID output for agents and prevent phishing attacks [#10942](https://github.com/firebase/firebase-tools/pull/10942)
- Added `reauth` option to `login` MCP tool and aligned behavior to skip login and display account email if already authenticated.
- Updated Pub/Sub emulator to version 0.8.35.
- Added Extensions replacement registry and scraper tool to track migrations for deprecated extensions ahead of the March 2027 decommission date.
- Loads existing `.env` files and passes environment variables to functions discovery in `runtimeDelegate`.
- Added `--immediate` flag to `ext:uninstall` [#10921](https://github.com/firebase/firebase-tools/pull/10921)
- Updated SQL Connect emulator version to v3.4.18.
- Fixed a bug where deploying Dart functions with dependencies that use native build hooks (e.g. `sqlite3`) failed to compile. Note: Dart functions now require Dart SDK 3.13.0 or later.

## Version 15.27.0 - August 13, 2026

- Fixed an issue where managed service accounts for declarative security were not deleted when all functions in a codebase were deleted, or caused IAM permission errors on empty codebase deploys.
- Configured OneMCP server tools to require a Firebase project by default, with options to opt-out specific tools (such as Developer Knowledge document search).
- Fixed a bug where deploying functions with the `dartfunctions` experiment enabled could incorrectly prompt to delete existing 2nd gen functions.
- Added `outputSchema` support for local MCP tools.
- Skip functions lifecycle hooks during partial (filtered) deployments, and print instructions for running them manually.
- Added web app support for Crashlytics MCP tools and prompts.
- Added support for forwarding custom HTTP headers (`Mcp-Param-*`) to remote MCP tools when defined in tool parameter input schemas (`x-mcp-header`), per [SEP-2243](https://modelcontextprotocol.io/seps/2243-http-standardization).
- Improved function parameter prompting clarity for multi-codebase deploys [#10897](https://github.com/firebase/firebase-tools/pull/10897)

## Version 15.26.0 - August 5, 2026

- Automatically enable non-interactive mode when an AI agent is detected in the environment to prevent the CLI from hanging on interactive prompts.
- Added support for a two-phase non-interactive login flow. Initiate this by running `firebase login --non-interactive`, navigate to the printed link to get an authorization code, and complete the login by running `firebase login <auth_code>`.
- Fixed `apps:init` writing `google-services.json` to an `app/app` path when the Android module has no `src` directory, by detecting the module from the directory basename instead of the first path segment ([#10863](https://github.com/firebase/firebase-tools/issues/10863)).
- Fixed `firestore:locations` failing with a `null` project error when run without an active project ([#10881](https://github.com/firebase/firebase-tools/pull/10881)).
- Fixed authentication refresh issue under Application Default Credentials (ADC) when no project is active ([#10880](https://github.com/firebase/firebase-tools/pull/10880)).
- Added `hidden` source map support to `crashlytics:sourcemap:upload`.
- Fixed a typo in `loginPrototyper` URL which caused issues during Firebase MCP server `firebase_login`.
- Fixed unenforced read-only isolation for Native SQL queries for SQL Connect.

## Version 15.25.1 - July 30, 2026

- Fixed a typo that was breaking the emulator's handling of secret params. [#10866](http://github.com/firebase/firebase-tools/issues/10866)
- Fixed service account propagation delays during Cloud Functions deploys and cleaned up newly created service accounts on 100% deployment failure. [#10871](https://github.com/firebase/firebase-tools/pull/10871)
- Fixed `appcheck:debugtokens:list` and `appcheck:debugtokens:delete` to use correct prompts when asking to select an app, instead of prompting to "register" a token.

## Version 15.25.0 - July 30, 2026

- Updated the Cloud Firestore emulator to v1.22.0, adding support for DML.
- Added `appcheck:debugtokens:create`, `appcheck:debugtokens:list`, and `appcheck:debugtokens:delete` CLI commands for managing App Check debug tokens. [#10801](https://github.com/firebase/firebase-tools/pull/10801)
- Added `MCP-Protocol-Version`, `Mcp-Method`, and `Mcp-Name` HTTP headers to `OneMcpServer` requests per the MCP 0728 standard release candidate ([release candidate blog post](https://blog.modelcontextprotocol.io/posts/2026-07-28-release-candidate/) and [HTTP standardization SEP](https://modelcontextprotocol.io/seps/2243-http-standardization)).
- Fixed the Cloud Storage emulator to support JSON uploads larger than 100KB without hanging or throwing a 413 error. [#8355](https://github.com/firebase/firebase-tools/issues/8355)
- Added the `extdeprecationwarnings` experiment to display phased deprecation notices and guidance across `ext:*` CLI commands.
- Fixed a Firebase SQL Connect emulator crash when in-flight GraphQL requests are cancelled. [#10821](https://github.com/firebase/firebase-tools/issues/10821)
- Fixed a Cloud Storage emulator hang under concurrent requests, caused by the rules runtime's `stdout` being parsed per-chunk instead of per-line, which caused batched responses to be dropped. [#6194](https://github.com/firebase/firebase-tools/issues/6194), [#6865](https://github.com/firebase/firebase-tools/issues/6865)
- Added the 1st gen environment variable `FUNCTION_REGION` to 2nd gen functions. [#10862](https://github.com/firebase/firebase-tools/pull/10862)

## Version 15.24.0 - July 15, 2026

- Added support for specifying that the input for a `string` or `string[]` param in Cloud Functions must be non-empty. [#10678](https://github.com/firebase/firebase-tools/pull/10678)
- Updated the Firebase SQL Connect local toolkit to v3.4.16. Changes include:
  - Updated the Golang dependency version to 1.25.12.
- Removed the warning that Dart functions may not yet be visible in the Firebase console.
- Fixed the `dataconnect:execute` command help text to use the correct env var `FIREBASE_DATA_CONNECT_EMULATOR_HOST`.
- Fixed a Firebase Hosting emulator timeout when a web frameworks request with a body falls through to a function rewrite. [#10760](https://github.com/firebase/firebase-tools/pull/10760)

## Version 15.23.0 - July 10, 2026

- Added declarative security support and automated rolling IAM role grants/revocations for 2nd gen Cloud Functions.
- Fixed an issue in `apps:create` where App Store ID was always prompted for even when unnecessary.
- Added `functions:lifecycle:list` and `functions:lifecycle:run` commands to view and run lifecycle hooks in isolation.
- Updated the SQL Connect local toolkit to v3.4.15, supporting 1:1 nested mutations. ([#10773](https://github.com/firebase/firebase-tools/pull/10773))

## Version 15.22.4 - June 30, 2026

- Fixed `auth:export` and `auth:import`, which were dropping `mfaInfo` data for users with multi-factor authentication (MFA) enabled.
- Updated Pub/Sub emulator to version 0.8.34.

## Version 15.22.3 - June 25, 2026

- Disabled 'keep-alive' in `google-auth-library` calls to avoid `Premature close` errors on some Node versions. ([#10716](https://github.com/firebase/firebase-tools/pull/10716)).

## Version 15.22.2 - June 24, 2026

- Upgraded `zod` to v4 and dropped the deprecated `zod-to-json-schema` dependency in favor of zod v4's built-in `z.toJSONSchema()`.
- Updated the Firebase SQL Connect local toolkit to v3.4.14. Changes include:
  - Fixed linter warnings in generated Kotlin SDK files.
- Changed calls to `cloudbilling.googleapis.com` to use user project quota to avoid shared quota exhaustion issues.
- Fixed an intermittent `Premature close` error during login and API requests by retrying once without keep-alive. ([#10692](https://github.com/firebase/firebase-tools/pull/10692)).

## Version 15.22.1 - June 22, 2026

- Fixed various issues with the SQL Connect emulator and deployment by updating the binary to version 3.4.13.
- Temporarily pinned the `firebase-tools` Docker image to Node 24.16.0 to mitigate a Node.js issue. ([#63989](https://github.com/nodejs/node/issues/63989))

## Version 15.22.0 - June 18, 2026

- Added the `apphosting:secrets:revokeaccess` command. ([#10669](https://github.com/firebase/firebase-tools/pull/10669))
- Updated Pub/Sub emulator to version 0.8.33.
- Updated the SQL Connect emulator to v3.4.12. Changes include:
  - Fixed non-deterministic output order of generated SDK files when compiled from multiple GraphQL source files.
  - Optimized singular relation filters on primary keys to avoid `EXISTS` subqueries.

## Version 15.21.0 - June 17, 2026

- Added support for declaring additional API dependencies in Cloud Functions. ([#10621](https://github.com/firebase/firebase-tools/pull/10621))
- Added mock Passkey (WebAuthn) support to the Authentication emulator. ([#10636](https://github.com/firebase/firebase-tools/pull/10636))
- Fixed a `spawn activate.bat ENOENT` error on Windows when initializing Python functions. ([#10608](https://github.com/firebase/firebase-tools/pull/10608))
- Fixed an issue where Cloud Run rewrites in the Hosting emulator would always hit the live Cloud Run API instead of routing to the local functions emulator. ([#10588](https://github.com/firebase/firebase-tools/pull/10588))
- Removed a temporary warning directing Dart functions users to the Google Cloud console, as the Firebase console now supports Dart functions. ([#10584](https://github.com/firebase/firebase-tools/pull/10584))
- Updated the SQL Connect local toolkit to v3.4.11. Changes include:
  - Updated the Go dependency version to 1.25.11.
- Fixed an issue where the `apptesting:execute` command rejected documented `--test-username`, `--test-password`, and `--test-password-file` options.
- Updated web frameworks to warn about missing SSRF protection configuration in Angular 22 deployments. ([#10523](https://github.com/firebase/firebase-tools/pull/10523))
- Fixed an issue where Astro 6 SSR deployments returned HTTP 500 by preserving the `server/` directory in the generated Cloud Function. ([#10537](https://github.com/firebase/firebase-tools/pull/10537))
- Fixed an issue where `login:*`, `target:*`, and `ext:*` subcommands were missing from `firebase --help`.

## Version 15.20.0 - June 11, 2026

- Removed the prompt and backend deletion of SQL Connect services during `firebase deploy`. ([#10619](https://github.com/firebase/firebase-tools/pull/10619))
- Fixed an issue where `firebase init dataconnect` failed with `ENOEXEC` when creating a new template app on some operating systems. ([#10616](https://github.com/firebase/firebase-tools/pull/10616))
- Added support for setting the Google Cloud Storage (GCS) test results bucket in `apptesting:execute` and `appdistribution:distribute`.

## Version 15.19.1 - June 03, 2026

- Updated Firebase SQL Connect genAI features to use new Agent Service API.
- Updated the Firebase SQL Connect local toolkit to v3.4.10, which includes the following change:
  - Extended client cache consistency validation to include conflicts with schema field names.

## Version 15.19.0 - May 27, 2026

- Updated Pub/Sub emulator to version 0.8.32.
- Added support for 6 more ID providers in `auth:import` and `auth:export` commands.
- Fixed issue where `auth:export` didn't escape double quotes for CSV format. ([#3484](https://github.com/firebase/firebase-tools/issues/3484)).
- Fixed an unhandled `CloudSQLConnectorError: The connector was closed` exception during Data Connect deployments. ([#10555](https://github.com/firebase/firebase-tools/pull/10555)).
- Updated the Firebase SQL Connect local toolkit to v3.4.9, which includes the following changes: ([#10567](https://github.com/firebase/firebase-tools/pull/10567)).
  - Added support for nested mutations for literals and variables that define an incomplete set of fields.
  - Fixed an issue in the JS Generated SDK where `QueryFetchPolicy` wasn't being respected.

## Version 15.18.0 - May 13, 2026

- Updated Pub/Sub emulator to version 0.8.31.
- Changed when undefined regions resolve, which now happens during the build to backend resolution phase. ([#10471](https://github.com/firebase/firebase-tools/pull/10471))
- Updated the SQL Connect local toolkit to v3.4.8. Changes include:
  - Fixed an issue in Dart code generation where nullable BigInt was not handled correctly.
  - Added support for nested 1:Many relational batch inserts.
  - Updated the Golang dependency version to 1.25.10.
- Changed the default timeout for Dart functions to be 60 seconds when not explicitly set. ([#10501](https://github.com/firebase/firebase-tools/pull/10501))
- Added support for secret environment variables for Cloud Run functions. ([#10489](https://github.com/firebase/firebase-tools/pull/10489))
- Set requiredProjectBindings in AI Logic services. ([#10503](https://github.com/firebase/firebase-tools/pull/10503))

## Version 15.17.0 - May 07, 2026

- Added support for creating search indexes for Cloud Firestore. ([#10431](https://github.com/firebase/firebase-tools/pull/10431))
- Fixed an issue where some MCP tools would error with `Invalid input: expected record, received array`. ([#10437](https://github.com/firebase/firebase-tools/issues/10437))
- Fixed an issue causing errors when multiple Cloud Firestore databases were configured in `firebase.json`. ([#8114](https://github.com/firebase/firebase-tools/issues/8114))
- Updated the SQL Connect local toolkit to v3.4.7. Changes include:
  - Fixed emulator crash when using `uuidv4()` on operations.
  - Added support for `_Data` input types as variables with `@allow(fields, maxCount)` to constraint the input JSON, enabling batch mutations in the Firebase Admin SDK. ([#10461](https://github.com/firebase/firebase-tools/pull/10461))
- Increased supported range for Next.js to version 16.0. ([#9463](https://github.com/firebase/firebase-tools/pull/9463))
- Updated Cloud Functions default resource locations. This does not affect existing functions. ([#10414](https://github.com/firebase/firebase-tools/pull/10414))
- Added warning for cross-region event triggers. ([#10408](https://github.com/firebase/firebase-tools/pull/10408))

## Version 15.16.0 - April 30, 2026

- Updated Cloud Firestore Emulator to v1.21.0, which adds support for subqueries and new stages like let(...), as well as allowing setting database-edition per-database.
- Suppressed the 'punycode' deprecation warning during `firebase deploy` on Node 22. ([#10385](https://github.com/firebase/firebase-tools/issues/10385))
- Fixed an issue where hosting deploy allowed publishing to a site in a different project. ([#10376](https://github.com/firebase/firebase-tools/issues/10376))
- Added SSE mode support to `firebase mcp`. To use it, run `firebase mcp --mode=sse --port=3000`, and connect your client on `http://localhost:3000`.
- Updated the valid Python runtimes for functions. Default Python runtime is now Python 3.14.
- Fixed CLI non-interactive mode for `dataconnect init`. ([#10401](https://github.com/firebase/firebase-tools/pull/10401))
- Fixed issue where rules for non-default Cloud Firestore databases were not being deployed correctly.
- Suppressed SSR warning for non-SSR Angular projects on `init hosting`. ([#10364](https://github.com/firebase/firebase-tools/pull/10364))
- Updated the SQL Connect emulator to v3.4.6, including internal bug fixes. ([#10434](https://github.com/firebase/firebase-tools/pull/10434))
- Fixed an issue where deploying multi-codebase functions failed due to a shared source token scraper. ([#10428](https://github.com/firebase/firebase-tools/issues/10428))

## Version 15.15.0 - April 16, 2026

- Added foundation for being smarter about where to place functions when the region is not specified. ([#10293](https://github.com/firebase/firebase-tools/pull/10293))
- Updated Pub/Sub emulator to version 0.8.30.
- Renamed Data Connect displayed text to SQL Connect. ([#10270](https://github.com/firebase/firebase-tools/pull/10270))
- Added support for the experimental Cloud Functions for Firebase Dart SDK behind the `dartfunctions` flag.
- Updated the SQL Connect emulator to v3.4.5, including internal bug fixes. ([#10336](https://github.com/firebase/firebase-tools/issues/10336))

## Version 15.14.0 - April 09, 2026

- Added Enterprise Edition support to the Cloud Firestore emulator. Configure it by setting `firebase.json#firestore.edition` or `firebase.json#emulators.firestore.edition`.
- Fixed an issue where functions deployments would silently fail. ([#6989](https://github.com/firebase/firebase-tools/issues/6989))
- Fixed issue where the CLI isn't able to correctly parse command arguments on PowerShell. ([#7506](https://github.com/firebase/firebase-tools/issues/7506))
- Added support for Next.js 16 middleware (`proxy.ts`/`proxy.js`). ([#9631](https://github.com/firebase/firebase-tools/pull/9631))
- Updated the default region for new App Hosting backends to `us-east4`. ([#10271](https://github.com/firebase/firebase-tools/pull/10271))
- Fixed Next.js image optimization detection in client components. ([#10228](https://github.com/firebase/firebase-tools/pull/10228))
- Updated SQL Connect emulator to v3.4.1. ([#10290](https://github.com/firebase/firebase-tools/pull/10290))
- Upgraded Go runtime to 1.25.9.
- Fixed an issue that caused Angular SDK generation to fail.

## Version 15.13.0 - April 02, 2026

- Added validation to check if `backendId` exists in `firebase.json` when `--only` flag is used. ([#10161](https://github.com/firebase/firebase-tools/issues/10161))
- Updated default Postgres version for SQL Connect to 18. ([#10234](https://github.com/firebase/firebase-tools/issues/10234))
- Updated TypeScript version to v6 in templates for functions and extensions. ([#10232](https://github.com/firebase/firebase-tools/issues/10232))

## Version 15.12.0 - March 27, 2026

- Moved MCP server `firebase-debug.log` to `~/.cache/firebase/firebase-debug.log`. ([#9982](https://github.com/firebase/firebase-tools/issues/9982))
- Added a prompt to `firebase init` to install Agent Skills for Firebase.
- Updated the SQL Connect local toolkit to v3.3.1. Changes include:
  - Added support for configuring client-side caching in `connector.yaml` / `generate` section. ([#10190](https://github.com/firebase/firebase-tools/issues/10190))

## Version 15.11.0 - March 18, 2026

- Added support for `dataAccessMode` in Cloud Firestore database creation. This allows choosing between `FIRESTORE_NATIVE` and `MONGODB_COMPATIBLE` for Enterprise edition databases.
- Updated Cloud Firestore Emulator to v1.20.4, which includes minor bug fixes for Cloud Firestore Native Mode.
- Added `apptesting:execute` command to run App Testing agent tests from YAML files.
- Updated SQL Connect emulator to v3.3.0. Changes include:
  - `firebase dataconnect:sdk:generate` now performs compilation check first before generating SDKs.
  - Updated the Golang dependency version from 1.24.13 to 1.25.8, which removes support for macOS versions prior to Monterey.
  - Prevent concurrent execution of operations.
  - Support for skip and include directives.
  - Vector similarity search now supports `offset` as well as `limit`.

## Version 15.10.1 - March 16, 2026

- Updated Pub/Sub emulator to version 0.8.29.

## Version 15.10.0 - March 12, 2026

- Added support for VPC direct connect in Cloud Functions (2nd gen). ([#10033](https://github.com/firebase/firebase-tools/issues/10033))
- Added `--only` flag for `emulators:export`. ([#4033](https://github.com/firebase/firebase-tools/issues/4033))
- Added support for custom PostgreSQL schema names in SQL Connect. ([#9271](https://github.com/firebase/firebase-tools/issues/9271))
- Added improved support for SSR web apps. With this release, when SSR web app features are detected in the `firebase init hosting` flow, the CLI now offers to switch to App Hosting. ([#9887](https://github.com/firebase/firebase-tools/issues/9887))
- Removed the experimental web frameworks prompt from `firebase init hosting`. ([#9843](https://github.com/firebase/firebase-tools/issues/9843))
- Added `studio:export` command to export Firebase Studio projects to Antigravity.

## Version 15.9.1 - March 09, 2026

- Added support for `next.config.ts` and `next.config.mts` in Next.js deployments. ([#9871](https://github.com/firebase/firebase-tools/issues/9871))
- Enabled free trials without a payment method for SQL Connect. ([#10042](https://github.com/firebase/firebase-tools/issues/10042))

## Version 15.9.0 - March 06, 2026

- Added `*_EMULATOR_VERSION` env variables to allow overriding specific versions of downloadable emulators.
- Updated the `functions.config` deprecation notice from March 2026 to March 2027. ([#9941](https://github.com/firebase/firebase-tools/issues/9941))
- Improved App Hosting deploys. The CLI now detects when App Hosting fails to deploy, and returns an error. ([#8866](https://github.com/firebase/firebase-tools/issues/8866))
- Added `firestore_query_collection` tool back to the MCP server.
- Added support for custom resolvers in SQL Connect. ([#9967](https://github.com/firebase/firebase-tools/issues/9967))
- Updated the SQL Connect local toolkit to v3.2.1. Changes include:
  - Resolved metadata pathing issue for `@redact` and `@check` directives. ([#10022](https://github.com/firebase/firebase-tools/issues/10022))

## Version 15.8.0 - February 26, 2026

- Corrects issue with `updateService` in `runv2.ts`. ([#9918](https://github.com/firebase/firebase-tools/issues/9918))
- Updated suite of MCP tools for Cloud Firestore to include many new tools. Cloud Firestore tools no longer support emulator mode.
- Updated the SQL Connect local toolkit to v3.2.0. Changes include:
  - Added support for `uuidV7()`.
  - Added support for custom PostgreSQL schema names. ([#9975](https://github.com/firebase/firebase-tools/issues/9975))

## Version 15.7.0 - February 20, 2026

- Updated Python Functions template to use `firebase_functions` v0.5.x.
- Updated the SQL Connect local toolkit to v3.1.4. Changes include:
  - Added support for `@searchable` on `varchar` fields.
  - Fixed a runtime error when using aggregations with nested reference fields.
  - Updated the Golang dependency version from v1.24.12 to v1.24.13. ([#9944](https://github.com/firebase/firebase-tools/issues/9944))
- Added Developer Knowledge MCP tools which can search Google documentation to help AI agents answer questions, perform tasks, and write code.

## Version 15.6.0 - February 11, 2026

- Added support for enabling Firebase Authentication providers
  using `firebase deploy`. You can configure providers in `firebase.json` like
  so:

  ```json
  {
    "auth": {
      "providers": {
        "anonymous": true,
        "emailPassword": true,
        "googleSignIn": {
          "oAuthBrandDisplayName": "My App",
          "supportEmail": "support@myapp.com"
        }
      }
    }
  }
  ```
- Added initial zip deploy support for HTTP functions in
  `firebase deploy functions`.
  ([#9707](https://github.com/firebase/firebase-tools/issues/9707))

- Fixed an issue where Python was missing from the `firebase-tools`
  Docker image.
  ([#9855](https://github.com/firebase/firebase-tools/issues/9855))

- Fixed billing information check to use user's project quota.
  ([#9879](https://github.com/firebase/firebase-tools/issues/9879))

- Fixed issue where Authentication emulator multi-tenant mode only
  exported or imported users tied to the default tenant.
  ([#5623](https://github.com/firebase/firebase-tools/issues/5623))

- Updated SQL Connect emulator to v3.1.3. Changes include:

  - Enabled native SQL feature.
  - Improved insecure operation warning messages and reduced severity of existing insecure operation warnings to `LOG_ONLY`. ([#9882](https://github.com/firebase/firebase-tools/issues/9882))
  - Updated Golang dependency to v1.24.12 ([#9882](https://github.com/firebase/firebase-tools/issues/9882))
- Updated Pub/Sub emulator to version 0.8.27.

## Version 15.5.1 - January 29, 2026

- Fixed issue causing errors on calls to `serviceusage`. ([#9844](https://github.com/firebase/firebase-tools/issues/9844))

## Version 15.5.0 - January 29, 2026

- Added `firebase dataconnect:compile` command to compile SQL Connect schemas and connectors.
- Added support for `firestoreDataAccessMode`, `mongodbCompatibleDataAccessMode`, and `realtimeUpdatesMode` flags for Cloud Firestore Database creation. ([#9817](https://github.com/firebase/firebase-tools/issues/9817))
- Updated the SQL Connect emulator to v3.1.1 which includes fixes and internal improvements. ([#9835](https://github.com/firebase/firebase-tools/issues/9835))
- Fixed issue where Cloud Storage Security Rules would be overwritten when running `firebase init storage`. ([#8170](https://github.com/firebase/firebase-tools/issues/8170))
- Fixed issue where `AuthBlockingEvent` had invalid format for `metadata.creationTime` and `metadata.lastSignInTime` in Authentication emulator. ([#8109](https://github.com/firebase/firebase-tools/issues/8109))
- Improved access by now loading experiments earlier in CLI startup to allow for earlier access. ([#9797](https://github.com/firebase/firebase-tools/issues/9797))

## Version 15.4.0 - January 22, 2026

- Fixed an issue where the SQL Connect emulator would stop responding when using PGlite. ([#9756](https://github.com/firebase/firebase-tools/issues/9756), [#9771](https://github.com/firebase/firebase-tools/issues/9771))
- Updated to v3.1.0 of the SQL Connect emulator, which adds support for using `distinct: true` in combination with `orderBy`, and other internal improvements. ([#9778](https://github.com/firebase/firebase-tools/issues/9778))

## Version 15.3.1 - January 15, 2026

- Renamed MCP prompts `/firestore:generate_rules` to `/firestore:generate_security_rules` and `/storage:generate_rules` to `/storage:generate_security_rules`.

## Version 15.3.0 - January 14, 2026

- Fixed pricing calculation for Cloud Functions deployed to newer regions (`africa-south1`, `europe-west8`, `me-west1`, and others) when using `minInstances`. ([#9696](https://github.com/firebase/firebase-tools/issues/9696))
- Removed MCP tools and prompts that required Gemini in Firebase Terms of Service.
- Fixed an issue where the `--only` flag was not always respected for `firebase mcp`.
- Removed timeout when connecting to Cloud SQL to mitigate connection issues. ([#9725](https://github.com/firebase/firebase-tools/issues/9725))
- Added `/firestore:generate_rules` and `/storage:generate_rules` MCP prompts.
- Updated SQL Connect Emulator to v3.0.2, which addresses some internal errors. ([#9738](https://github.com/firebase/firebase-tools/issues/9738))

## Version 15.1.0 - December 18, 2025

- Updated default Postgres version for SQL Connect to 17.
- Updated SQL Connect Emulator to v3.0.1, which addresses some internal errors. ([#9627](https://github.com/firebase/firebase-tools/issues/9627))

## Version 15.0.0 - December 10, 2025

- **Breaking change:** Changed `firestore:backups:list --json` to return a `listBackupsResponse` object instead of a raw array of backups.
- **Breaking change:** Removed support for `.bolt` rules files.
- **Breaking change:** Removed support for running emulators with Java versions prior to 21.
- **Breaking change:** Removed deprecated `firebase --open-sesame` and `firebase --close-sesame` commands. Use `firebase experiments:enable` and `firebase experiments:disable` instead.
- **Breaking change:** Enforced strict timeout validation for functions. ([#9540](https://github.com/firebase/firebase-tools/issues/9540))
- **Breaking change:** Updated `dataconnect:*` commands to use flags instead of positional arguments for `--service` \& `--location`, and changed output type of `dataconnect:sql:migrate --json`. ([#9312](https://github.com/firebase/firebase-tools/issues/9312))
- **Breaking change:** When using 'firebase-tools' as a Node module, `cli.auth.upload` has been renamed to `cli.auth.import` and `cli.appdistribution.testers.delete` has been renamed to `cli.appdistribution.testers.remove`.
- **Breaking change:** Updated SQL Connect emulator to v3.0.0:
  - **Breaking change:** Fixed generated code character case when letters follow numbers ([#9567](https://github.com/firebase/firebase-tools/issues/9567)).
  - **Breaking change:** Dart codegen: Int64 types are now serialized and deserialized using BigInt.
  - **Breaking change:** Kotlin codegen: Removed magic "convenience renames" of keys and counts in selection sets ([#9571](https://github.com/firebase/firebase-tools/issues/9571)).
  - Eagerly load config upon any requests from VS Code Extensions or Firebase CLI. This ensures the emulator always serves the latest local configs.
  - Kotlin codegen: Removed vestigial FIREBASE_DATA_CONNECT_GENERATED_FILE section at the bottom of each generated file.
- Updated Firestore Emulator to v1.20.2, which includes minor bug fixes for Datastore Mode.
- Improved command loading performance by implementing lazy loading.
- Added a confirmation in `firebase init dataconnect` before asking for app idea description. ([#9282](https://github.com/firebase/firebase-tools/issues/9282))

## Version 14.27.0 - December 03, 2025

- Fixed issue where MCP server didn't detect if iOS app uses Crashlytics in projects that use project.pbxproj. ([#9515](https://github.com/firebase/firebase-tools/issues/9515))
- Added logic to synchronize scheduled function timeout in Cloud Functions (2nd gen) with Cloud Scheduler's attempt deadline. ([#9544](https://github.com/firebase/firebase-tools/issues/9544))
- Prevented deployments of Next.js apps vulnerable to CVE-2025-66478. ([#9572](https://github.com/firebase/firebase-tools/issues/9572))
- Updated SQL Connect emulator to v2.17.3:
  - Fixed Swift codegen: Include FirebaseCore import in the connector keys file.
  - Fixed a bug where debug details of Internal errors were not shown. ([#9508](https://github.com/firebase/firebase-tools/issues/9508))

## Version 14.26.0 - November 24, 2025

- Added support for nodejs24 runtime for Cloud Functions. ([#9475](https://github.com/firebase/firebase-tools/issues/9475))
- Updated the `firebase init functions` template to use `firebase-functions` 7.0.0. ([#9496](https://github.com/firebase/firebase-tools/issues/9496))
- Updated to v2.17.2 of the SQL Connect emulator, which fixes a bug with handling of optional enum lists in generated Flutter SDKs. ([#9391](https://github.com/firebase/firebase-tools/issues/9391))

## Version 14.25.1 - November 18, 2025

- Fixed an issue that was causing the MCP server to fail to start when run from directories with deeply nested children.

## Version 14.25.0 - November 15, 2025

- Added support for running `firebase-tools` on Node 24.
- Updated superstatic to v10.
- Fixed a crash during parallel deployments when `buildConfig` is empty. ([#9455](https://github.com/firebase/firebase-tools/issues/9455))
- Added support for new google-genai plugin during `init genkit`. ([#8957](https://github.com/firebase/firebase-tools/issues/8957))
- Updated to v2.17.1 of the SQL Connect emulator, which fixes an admin SDK bug for operation without argument [#9449](https://github.com/firebase/firebase-tools/issues/9449). ([#9454](https://github.com/firebase/firebase-tools/issues/9454))
- Fixed "Precondition failed" error when updating Cloud Functions functions in a FAILED state without code changes.

## Version 14.24.2 - November 08, 2025

- Fixed issue where MCP server would crash with `'googleapis' is not available`. ([#9443](https://github.com/firebase/firebase-tools/issues/9443))

## Version 14.24.1 - November 07, 2025

- Fixed issue where MCP server was blocked by `console.log`.

## Version 14.24.0 - November 05, 2025

- Added 2nd gen SQL Connect triggers to `firebase deploy`. ([#9394](https://github.com/firebase/firebase-tools/issues/9394))
- Upgraded `@google-cloud/pubsub` to v5. ([#9428](https://github.com/firebase/firebase-tools/issues/9428))
- Updated to v2.17.0 of the SQL Connect emulator, which includes internal improvements and now supports Generated Admin SDKs. ([#9430](https://github.com/firebase/firebase-tools/issues/9430))

## Version 14.23.0 - October 30, 2025

- Fixed the `__name__` normalization of vector indexes for Cloud Firestore standard edition databases.
- Fixed an issue where the emulator would fail to start when using `firebase-functions` v7+. ([#9401](https://github.com/firebase/firebase-tools/issues/9401))
- Added `functions.list_functions` as an MCP tool. ([#9369](https://github.com/firebase/firebase-tools/issues/9369))
- Added Firebase AI Logic to `firebase init` CLI command and `firebase_init` MCP tool. ([#9185](https://github.com/firebase/firebase-tools/issues/9185))
- Improved error messages for Firebase AI Logic provisioning during `firebase init`. ([#9377](https://github.com/firebase/firebase-tools/issues/9377))
- Fixed issue where `init hosting` failed to prompt for the public directory and set up Hosting files. ([#9403](https://github.com/firebase/firebase-tools/issues/9403))
- Added `appdistribution:testcases:export` and `appdistribution:testcases:import`. ([#9397](https://github.com/firebase/firebase-tools/issues/9397))
- Updated to v2.16.0 of the SQL Connect emulator, which includes internal improvements.
  - SQL Connect now allows executing a valid query / operation even if the other operations are invalid. (This toleration provides convenience on a best-effort basis. Some errors like invalid syntax can still cause the whole request to be rejected.)
  - Fixed enum list deserialization in SQL Connect generated Dart SDKs.
  - Added GraphQL `__typename` support in SQL Connect.
  - Support enum values in SQL Connect CEL expressions.
  - Support `_id`, a global ID field in SQL Connect.
- Updated to v0.8.17 of the Pub/Sub emulator, which includes vulnerability fixes.

## Version 14.22.0 - October 23, 2025

- Added `hosting` to the `firebase_init` MCP tool. ([#9375](https://github.com/firebase/firebase-tools/issues/9375))
- Reverted logic to abort function deploys in non-interactive mode when secrets are missing. ([#9378](https://github.com/firebase/firebase-tools/issues/9378))

## Version 14.21.0 - October 22, 2025

- Added a command `firebase firestore:databases:clone` to clone a Cloud Firestore database. ([#9262](https://github.com/firebase/firebase-tools/issues/9262))
- Added JSON format support for Cloud Functions secrets with `--format json` flag and auto-detection from file extensions. ([#1745](https://github.com/firebase/firebase-tools/issues/1745))
- `firebase dataconnect:sdk:generate` will run `init dataconnect:sdk` automatically if no SDKs are configured. ([#9325](https://github.com/firebase/firebase-tools/issues/9325))
- Tightened `--only` filter resolution for functions deployment to prefer codebase names. ([#9353](https://github.com/firebase/firebase-tools/issues/9353))
- Fixed an issue where the SQL Connect emulator would attempt to export data when `FIREBASE_DATACONNECT_POSTGRESQL_STRING` is set. ([#9330](https://github.com/firebase/firebase-tools/issues/9330))
- Added `functions.disallowLegacyRuntimeConfig` option to `firebase.json` to optionally skip fetching legacy Runtime Config during function deploys. ([#9354](https://github.com/firebase/firebase-tools/issues/9354))
- Updated to v2.15.1 of the SQL Connect emulator, which includes internal improvements. ([#9366](https://github.com/firebase/firebase-tools/issues/9366))
- Updated SQL Connect Dart SDK's default import path to import 'dataconnect_generated/generated.dart'. ([#9365](https://github.com/firebase/firebase-tools/issues/9365))

## Version 14.20.0 - October 15, 2025

- Added a confirmation in `firebase init dataconnect` before asking for app idea description. ([#9282](https://github.com/firebase/firebase-tools/issues/9282))
- Added `dataconnect:execute` command to run queries and mutations. ([#9274](https://github.com/firebase/firebase-tools/issues/9274))
- Updated SQL Connect emulator to v2.15.0, which changes Dart SDKs to use `Object.hashAll()` in generated objects. ([#9291](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/9247))
- Fixed an issue where `firebase init` required login even when no project was selected. ([#9251](https://github.com/firebase/firebase-tools/issues/9251))
- Added `remoteconfig:experiments:get`, `remoteconfig:experiments:list`, and `remoteconfig:experiments:delete` commands to manage Remote Config experiments.
- Added `remoteconfig:rollouts:get`, `remoteconfig:rollouts:list`, and `remoteconfig:rollouts:delete` commands 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:mcp` command to `mcp`. 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 `deploy` MCP prompt to `firebase_deploy` for consistency.
- Added a `firebase_read_resources` MCP tool, which can be used by LLMs to fetch guides or docs via `firebase://` links.
- Added a new `/firebase:init` MCP prompt, which can guide you through setting up backend services or Firebase AI Logic for your app.
- Added support to the `firebase_update_environment` MCP tool for accepting Gemini in Firebase Terms of Service.
- Fixed a bug where `firebase init dataconnect` failed to create a React app when launched from the VS Code extension. ([#9171](https://github.com/firebase/firebase-tools/issues/9171))
- Added `seed_data.gql` to the initial movie template for SQL Connect. ([#9232](https://github.com/firebase/firebase-tools/issues/9232))
- Added support to `firebase dataconnect:sql:migrate` for CloudSQL instances with only private IPs. The command must be run in the same VPC of the instance to work. ([#9200](https://github.com/firebase/firebase-tools/issues/9200))
- Changed CloudSQL instances created with `firebase deploy` to default to Postgres 17.
- Improved the clarity of the `firebase apptesting:execute` command when you have zero or multiple apps.
- Fixed an issue where `firebase deploy --only firestore` would 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](https://github.com/firebase/firebase-tools/issues/9235))
- Updated the SQL 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.

## Version 14.17.0 - September 17, 2025

- Changed the default region for SQL Connect to `us-east4`. ([#9126](https://github.com/firebase/firebase-tools/issues/9126))

## Version 14.16.0 - September 10, 2025

- Added `firestore:bulkdelete` command, which initiates a Cloud Firestore managed bulk delete operation. ([#8974](https://github.com/firebase/firebase-tools/issues/8974))
- Added `firestore:operations:*` commands to list, describe, and cancel long-running operations. ([#8982](https://github.com/firebase/firebase-tools/issues/8982))
- Changed `firebase emulator:start` to now use `demo-no-project` as default project if no project can be found. ([#9072](https://github.com/firebase/firebase-tools/issues/9072))
- Added support for `firebase init dataconnect` to bootstrap Flutter templates. ([#9084](https://github.com/firebase/firebase-tools/issues/9084))
- Fixed a vulnerability in `unzip` util where files could be written outside of the expected output directory.
- Changed `firebase init dataconnect` to now confirm CloudSQL provisioning. ([#9095](https://github.com/firebase/firebase-tools/issues/9095))
- Added support for MCP `firebase_init` tool to download an existing SQL Connect service returned from `dataconnect_list_services`. ([#9091](https://github.com/firebase/firebase-tools/issues/9091))
- Updated the SQL Connect local toolkit to v2.13.0, which adds validation that checks that `_insert` data includes all non-null columns without defaults. ([#9106](https://github.com/firebase/firebase-tools/issues/9106))
- Added `firebase_login` and `firebase_logout` MCP tools.

## Version 14.15.2 - September 03, 2025

- Added support for auth token JSON in `dataconnect_execute` MCP tool. ([#9046](https://github.com/firebase/firebase-tools/issues/9046))
- Fixed issue where `firebase-ios-sdk` could not finalize MFA with the Authentication emulator. ([#9062](https://github.com/firebase/firebase-tools/issues/9062))
- Fixed bugs where MCP tools could not connect to emulator due to a Firebase CLI version mismatch. ([#9068](https://github.com/firebase/firebase-tools/issues/9068))
- Fixed a bug where `firebase dataconnect:sdk:generate --watch` swallowed all logs. ([#9055](https://github.com/firebase/firebase-tools/issues/9055))
- Consolidated SQL Connect MCP tools into `dataconnect_info` tool to surface information of local workspace and backend resources. ([#9056](https://github.com/firebase/firebase-tools/issues/9056))

## Version 14.15.1 - August 28, 2025

- Fixed an issue where core MCP tools were excluded from `listTools`. ([#9045](https://github.com/firebase/firebase-tools/issues/9045))
- Fixed an issue where the MCP server failed to identify active projects.
- Added new `dataconnect_compile` MCP tool.

## Version 14.15.0 - August 27, 2025

- Added additional Crashlytics tools for debugging and analyzing crashes. ([#9020](https://github.com/firebase/firebase-tools/issues/9020))
- Updated SQL Connect local toolkit to 2.12, which includes the following changes:
  - Added `ImpersonateQuery`, `ImpersonateMutation`, and `IntrospectGraphql` APIs to the SQL Connect emulator.
  - Added support for Firebase JS SDK v12.

## Version 14.14.0 - August 21, 2025

- Fixed an SQL permission bug in `sql:migrate`. ([#9018](https://github.com/firebase/firebase-tools/issues/9018))
- Fixed an issue where `firebase init dataconnect:sdk` generated inconsistent package names. ([#9021](https://github.com/firebase/firebase-tools/issues/9021))
- Added a `configDir` configuration option to specify a custom directory for `.env` files in Cloud Functions. ([#9000](https://github.com/firebase/firebase-tools/issues/9000))

## Version 14.13.0 - August 20, 2025

- Updated the SQL 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](https://github.com/firebase/firebase-tools/issues/8859))
- Added prefix support for multi-instance Cloud Functions extension parameters. ([#8911](https://github.com/firebase/firebase-tools/issues/8911))
- Made it possible to initialize a SQL Connect project in non-interactive mode. ([#8993](https://github.com/firebase/firebase-tools/issues/8993))
- Added two new MCP tools for Crashlytics: `get_sample_crash_for_issue` and `get_issue_details`. ([#8995](https://github.com/firebase/firebase-tools/issues/8995))
- Added support to use Gemini to generate `schema.gql` and `seed_data.gql` in `firebase init dataconnect`. ([#8988](https://github.com/firebase/firebase-tools/issues/8988))
- Fixed a bug where `firebase deploy --only dataconnect` didn't include GQL files in nested folders. ([#8981](https://github.com/firebase/firebase-tools/issues/8981))
- Changed `firebase deploy` to create Cloud SQL instances asynchronously. ([#9004](https://github.com/firebase/firebase-tools/issues/9004))
- Fixed an issue where `database` deploys did not read source code correctly. ([#8985](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/8963))
- Fixed an issue where `dataconnect:migrate` would use an invalid temporary password when connecting to enterprise plus CloudSQL instances.
- Updated SQL 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](https://github.com/firebase/firebase-tools/issues/8952))
- Added support for Cloud Firestore Enterprise database indexes. ([#8939](https://github.com/firebase/firebase-tools/issues/8939))
- Fixed an issue where the `get_sdk_config` improperly decoded file content for Android and iOS.
- Added support for prompts, and added the `deploy` prompt.

## Version 14.12.0 - August 06, 2025

- Fixed issue where `__name__` fields with non-default order were incorrectly filtered from index listings. ([#8859](https://github.com/firebase/firebase-tools/issues/8859))
- Fixed an issue where `firebase init dataconnect` didn't enable the SQL Connect API by default. ([#8927](https://github.com/firebase/firebase-tools/issues/8927))
- Added `firebase init aitools` to help developers set up Firebase tools for AI in their projects ([#8949](https://github.com/firebase/firebase-tools/issues/8949) and [#8927](https://github.com/firebase/firebase-tools/issues/8927)).
- Updated the SQL Connect local toolkit to v2.11.0, which includes the following changes ([#8948](https://github.com/firebase/firebase-tools/issues/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 on `deploy` and all `functions:config` commands. (#8808) ([#8808](https://github.com/firebase/firebase-tools/issues/8808))
- Fixed issue where `__name__` fields with `DESCENDING` order were incorrectly filtered from index listings, causing duplicate index issues and deployment conflicts. ([#8859](https://github.com/firebase/firebase-tools/issues/8859), [#7629](https://github.com/firebase/firebase-tools/issues/7629))
- Add service account and service enablement to `firebase init apptesting`.
- Updated the SQL Connect toolkit to v2.10.1, which includes the following changes: ([#8884](https://github.com/firebase/firebase-tools/issues/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 `_UNKNOWN` case with a string associated value. The fix changes that case name from `UNKNOWN` to `_UNKNOWN`. If you have existing generated enums, you may need to rebuild your project.
  - Kotlin codegen: Add `value` property to the `EnumValue` base 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](https://github.com/firebase/firebase-tools/issues/8836))
- Fixed an issue where `firestore:indexes` wrongly removed the `__name__` field. ([#7629](https://github.com/firebase/firebase-tools/issues/7629))
- Updated SQL 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](https://github.com/firebase/firebase-tools/issues/8837))

## Version 14.10.1 - July 09, 2025

- Improved App Hosting compute service account flow for source deploys. ([#8785](https://github.com/firebase/firebase-tools/issues/8785))
- Fixed an issue with `ext:configure` where params without default values couldn't be set. ([#8810](https://github.com/firebase/firebase-tools/issues/8810))
- Updated the SQL 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_pattern` filters, which filter string fields using regex or `LIKE` semantics.
- Fixed an issue where the SQL Connect emulator wasn't provided application default credentials. ([#8819](https://github.com/firebase/firebase-tools/issues/8819))
- Fixed an issue where `firebase-tools` couldn't be used within 1st gen Cloud Functions due to trying to write to a read-only file. ([#8821](https://github.com/firebase/firebase-tools/issues/8821))

## Version 14.9.0 - June 26, 2025

- Added validation to check if project ID exists during project creation. ([#5233](https://github.com/firebase/firebase-tools/issues/5233))
- Added `generate_dataconnect_schema`, `dataconnect_generate_operation`, and `firebase_consult_assistant` MCP tools.
- Integrated `firebase init dataconnect` with the Gemini in Firebase API to generate Schema based on description. ([#8596](https://github.com/firebase/firebase-tools/issues/8596))
- Added user-friendly warning for runtime errors from the Google Cloud Functions API. ([#8713](https://github.com/firebase/firebase-tools/issues/8713))
- Updated SQL 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 SQL Connect emulator to use PGlite 0.3.x and Postgres 17, which fixes some crashes related to wire protocol inconsistencies. ([#8679](https://github.com/firebase/firebase-tools/issues/8679), [#8658](https://github.com/firebase/firebase-tools/issues/8658))
- Removed container cleanup logic in `functions:delete` command. ([#8771](https://github.com/firebase/firebase-tools/issues/8771))
- Fixed an issue where the IAM enablement for Genkit monitoring would try to change an invalid service account. ([#8756](https://github.com/firebase/firebase-tools/issues/8756))
- Added a max instance default to function templates and comments to educate developers on cost controls. ([#8772](https://github.com/firebase/firebase-tools/issues/8772))
- Added caching to API enablement checks to reduce burn of `serviceusage.googleapis.com` quota.
- Updated the SQL Connect local toolkit to v2.7.1, which includes the following changes
  - Kotlin codegen: Added a default value for the `block\_` parameter to `execute()` 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.

## Version 14.7.0 - June 11, 2025

- Added emulator support to Cloud Storage MCP tools. ([#8707](https://github.com/firebase/firebase-tools/issues/8707))
- Removed over-eager error catch in `functions:list` command.
- Added validation during `firebase init` feature selection. ([#5232](https://github.com/firebase/firebase-tools/issues/5232))
- Fixed an issue where the extensions emulator did not work with `demo-` projects. ([#8720](https://github.com/firebase/firebase-tools/issues/8720))
- Fixed issue where `--export-on-exit` fails if the target directory does not exist. ([#4688](https://github.com/firebase/firebase-tools/issues/4688))
- Fixed issue where the Firebase MCP server couldn't use application default credentials (ADC). ([#8671](https://github.com/firebase/firebase-tools/issues/8671))
- Updated the SQL Connect local toolkit to v2.7.0, which includes the following changes: ([#8743](https://github.com/firebase/firebase-tools/issues/8743))
  - Fixed an issue where unwanted link dependencies are added to `package.json` when multiple package managers are used in a web project.
  - Added linter warnings for naming convention violations \& missing join table `@table(key)`.

## Version 14.6.0 - June 04, 2025

- Fixed issue where `projects:create` didn't correctly parse the `projectId` and `displayName` input. ([#8634](https://github.com/firebase/firebase-tools/issues/8634))
- Improved Get Database API call caching for Firestore function deployments. ([#8681](https://github.com/firebase/firebase-tools/issues/8681))
- Increased timeout for linking CloudSQL instances to SQL Connect.
- Fixed issue where `firebase use --add` didn't correctly set the active project. ([#8694](https://github.com/firebase/firebase-tools/issues/8694))
- Changed to correctly support '--database' flag in `firestore:delete`. ([#6753](https://github.com/firebase/firebase-tools/issues/6753))
- Changed to always set up SQL Connect SDK when `FDC_CONNECTOR` env var is set.
- Changed `firebase init` to use `FIREBASE_PROJECT` env var as the default project ID.
- Added emulator support to Firestore MCP tools. ([#8700](https://github.com/firebase/firebase-tools/issues/8700))
- Increased npm timeout for web frameworks to 60 seconds. ([#8702](https://github.com/firebase/firebase-tools/issues/8702))
- Added fallback to reading web framework dependencies version directly from `node_modules` `package.json` when the npm timeout is reached. ([#8702](https://github.com/firebase/firebase-tools/issues/8702))
- Updated the SQL Connect local toolkit to v2.6.3, which includes some cleanup and error message improvements. ([#8667](https://github.com/firebase/firebase-tools/issues/8667))

## Version 14.5.1 - May 30, 2025

- Fixed an issue where 'firestore.database' was accidentally treated as a required field. ([#8678](https://github.com/firebase/firebase-tools/issues/8678))

## Version 14.5.0 - May 29, 2025

- Improved log messages on skipped App Hosting source deploys. ([#8674](https://github.com/firebase/firebase-tools/issues/8674))
- Fixed issue in `firebase init` where users were forced to specify emulator UI port. ([#8626](https://github.com/firebase/firebase-tools/issues/8626))
- Added MCP tools for App Hosting. ([#8605](https://github.com/firebase/firebase-tools/issues/8605))
- Fixed crash when starting the App Hosting emulator on applications with no dependencies. ([#8624](https://github.com/firebase/firebase-tools/issues/8624))
- Fixed issue where, with `webframeworks` enabled, `firebase init hosting` re-prompts users for source. ([#8587](https://github.com/firebase/firebase-tools/issues/8587))
- Updated typescript version in functions template to avoid build issue with `@google-cloud/storage dependency`. ([#8194](https://github.com/firebase/firebase-tools/issues/8194))
- Updated the Firebase Data Connect local toolkit to v2.6.2, which includes the following changes: ([#8667](https://github.com/firebase/firebase-tools/issues/8667))
  - Improved error messages of `auth.uid` in CEL expressions when the caller is unauthenticated.
  - Fixed a bug where `ExecuteGraphql` with vector embedding in the emulator failed due to missing context.
- Improved `firebase init firestore` + `firebase deploy` flow on a fresh new project without going to Console (#8653) ([#8412](https://github.com/firebase/firebase-tools/issues/8412))
- Added support for Angular v20 to Firebase Hosting (#8672) ([#8412](https://github.com/firebase/firebase-tools/issues/8412))

## Version 14.4.0 - May 15, 2025

- Added `firebase experimental:mcp` command, 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](https://github.com/firebase/firebase-tools/issues/8534))
- Fixed issue where Secret Manager API was not automatically enabled for functions using secrets. ([#8528](https://github.com/firebase/firebase-tools/issues/8528))
- Changed Artifact Registry cleanup policy error to warn for CI/CD workloads. ([##8513](https://github.com/firebase/firebase-tools/issues/#8513))
- Enhance `firebase init apphosting` to support local source deploys. ([#8479](https://github.com/firebase/firebase-tools/issues/8479))
- Fixed issue where `firebase init hosting:github` didn't correctly parse the repo input. ([#8536](https://github.com/firebase/firebase-tools/issues/8536))
- Add GCP API client functions to support App Hosting deploy from source feature. ([#8545](https://github.com/firebase/firebase-tools/issues/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 init` template for functions to pin runtime version on init. ([#8553](https://github.com/firebase/firebase-tools/issues/8553))
- Fixed an issue where updating a Cloud Function that retries would add incorrect fields to the `updateMask`. ([#8560](https://github.com/firebase/firebase-tools/issues/8560))
- Fixed multi tenancy support for SSO users in the auth emulator. ([#8544](https://github.com/firebase/firebase-tools/issues/8544))
- Add SDK autoinit capabilities to App Hosting emulator. ([#8582](https://github.com/firebase/firebase-tools/issues/8582))
- Provision App Hosting compute service account during init flow. ([#8580](https://github.com/firebase/firebase-tools/issues/8580))
- Updated the Firebase Data Connect local toolkit to v2.6.1, which includes the following changes: ([#8598](https://github.com/firebase/firebase-tools/issues/8598))
  - Fixed a bug where `@transaction` continued to execute after errors and produces more confusing errors.
  - Fixed a bug where rolled-back fields in `@transaction` returned data that had been invalidated by the rollback. They now correctly return null with a corresponding error "(rolled back)".
  - Disallow `@check` on side-effect fields if the mutation doesn't have `@transaction`.
  - Improved error messages when reading a field of `null` in CEL expressions.
  - Updated the underlying Go dependency version from v1.22.2 to v1.22.12.
  - Added the `response` binding to server values and `@check(expr:)` CEL expressions.

## Version 14.3.0 - May 07, 2025

- Fixed an issue where the prompt to create `apphosting.emulator.yaml` did not work with backends that are not at the project root. ([#8412](https://github.com/firebase/firebase-tools/issues/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 SQL Connect local toolkit to v2.5.0, which includes the following changes: ([#8514](https://github.com/firebase/firebase-tools/issues/8419))
  - 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 SQL Connect local toolkit to v2.4.0, which adds support for `add` and `remove` list update transforms and fixes an issue where updating a column to `null` was ignored. ([#8484](https://github.com/firebase/firebase-tools/issues/8484))

## Version 14.2.1 - April 23, 2025

- Fixed an issue where `init genkit` checked the version of `genkit` instead of `genkit-cli`.
- Updated the SQL Connect local toolkit to v2.3.1, which contains the following changes: ([#8455](https://github.com/firebase/firebase-tools/issues/8455))
  - Added support for `inc` and `dec` update transforms for `Date` and `Timestamp` scalars.
  - Fixed a bug where `OR` and `AND` clauses may be evaluated in the incorrect order.
  - Fixed an issue where `{includes: $var}` or `{includesAll: [$var]}` clauses were not dropped if `$var` was missing.

## 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](https://github.com/firebase/firebase-tools/issues/8419))
- Added support for creation of paid Cloud SQL instances for SQL Connect when the free trial has already been used.
- Updated the SQL Connect local toolkit to v2.2.0, which contains the following changes: ([#8434](https://github.com/firebase/firebase-tools/issues/8434))
  - Added support for aggregate functions on singular fields.
  - Added the ability to get an operation name without calling the `ref` function in the generated web SDK.
  - Properly enforced one-of validation on `inc`, `dec`, `append`, and `prepend` update 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](https://github.com/firebase/firebase-tools/issues/8390))
- Fixed an issue with prompt when SQL Connect prompts developer for framework generation.
- Fixed a bug where the Admin SDK fails with `ENOTFOUND` when automatically connecting to the SQL Connect emulator when run in the Functions emulator. ([#8379](https://github.com/firebase/firebase-tools/issues/8379))
- Updated the SQL Connect local toolkit to v2.1.0 which includes the following changes: ([#8400](https://github.com/firebase/firebase-tools/issues/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 SQL Connect emulator when run in the Cloud Functions emulator. ([#8379](https://github.com/firebase/firebase-tools/issues/8379))
- Fixed Cloud Functions deployment failure when service account is null. ([#8378](https://github.com/firebase/firebase-tools/issues/8378))

## Version 14.0.0 - March 27, 2025

- **Breaking change:** Removed support for Node.js 18.
- Changed the App Hosting flow for `init emulators` to now create `apphosting.emulator.yaml` with references to live secrets rather than `apphosting.local.yaml` with saved plaintext. ([#8361](https://github.com/firebase/firebase-tools/issues/8361))
- **Breaking change:** Removed the `apphosting:config:export` command. ([#8361](https://github.com/firebase/firebase-tools/issues/8361))
- **Breaking change:** Removed `--location` flag from `apphosting` commands. Instead, commands now prompt for primary region as needed.
- **Breaking change:** Changed the `deploy dataconnect` command to now warn about unsafe connector changes and insecure operations.
- **Breaking change:** Removed the `experimental:functions:shell` command. Use `functions:shell` instead.
- Updated the SQL Connect local toolkit to v2.0.0, which contains the following changes: ([#8370](https://github.com/firebase/firebase-tools/issues/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:grantAccess` to now grant access to emails and grant multiple secrets at once. ([#8357](https://github.com/firebase/firebase-tools/issues/8357))
- Added support for `apphosting:secrets:set` flows to help with test secrets. ([#8359](https://github.com/firebase/firebase-tools/issues/8359))
- Updated `init dataconnect` templates to `v1`.
- Fixed a bug where the emulator suite would set `FIREBASE_DATACONNECT_EMULATOR_HOST` instead of `FIREBASE_DATA_CONNECT_EMULATOR_HOST`.
- Fixed a bug in Authentication emulator where `accounts:lookup` is case-sensitive for emails. ([#8344](https://github.com/firebase/firebase-tools/issues/8344))
- Fixed a bug where function deploys didn't support shorthand notation or parameterized service accounts. ([#8366](https://github.com/firebase/firebase-tools/issues/8366))
- Fixed an issue where `sql:setup` would incorrectly remove the `cloudsqlsuperuser` role from `firebasesuperuser`. ([#8363](https://github.com/firebase/firebase-tools/issues/8363))
- Fixed a bug where `appdistribution:testers:list` would error out if there were no testers.
- Fixed a bug where Vertex AI API would not be automatically enabled when emulating SQL Connect services that use it.

## Version 13.35.0 - March 20, 2025

- Added support for generated Angular SDKs for SQL Connect.
- Added support in the App Hosting emulator for loading secret env vars. ([#8305](https://github.com/firebase/firebase-tools/issues/8305))
- Fixed web frameworks deployments when using multiple hosting sites in `firebase.json`. ([#8314](https://github.com/firebase/firebase-tools/issues/8314))
- Added a new command to set up a cleanup policy for functions artifacts. ([#8268](https://github.com/firebase/firebase-tools/issues/8268))
- Added support for 3rd party builders for Angular. ([#7557](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/8318))
- Increased emulator UI body parser limit to match Cloud Storage emulator maximum. ([#8329](https://github.com/firebase/firebase-tools/issues/8329))
- Fixed SQL Connect setup issues for fresh databases due to IAM user not being created. ([#8335](https://github.com/firebase/firebase-tools/issues/8335))
- Fixed an issue where `ext:install` used POSIX file separators on Windows machines. ([#8326](https://github.com/firebase/firebase-tools/issues/8326))
- Updated the SQL Connect local toolkit to v1.9.2, which adds support for generated Angular SDKs and updates Dart SDK fields to follow best practices. ([#8347](https://github.com/firebase/firebase-tools/issues/8347))
- Fixed an issue where credentials from `firebase login` were not provided to the SQL Connect emulator.
- Fixed misleading comments in the `connector.yaml` template for `firebase init dataconnect`.
- Improved SQL Connect SQL permissions to better handle tables owned by IAM roles. ([#8339](https://github.com/firebase/firebase-tools/issues/8339))
- Fixed an issue where the SQL Connect emulator would crash after some SQL errors.

## Version 13.34.0 - March 11, 2025

- Fixed web frameworks deployments when using `site` in `firebase.json`. ([#8295](https://github.com/firebase/firebase-tools/issues/8295))
- Added support for getting started with existing projects using `dataconnect:sql:setup`. ([#8150](https://github.com/firebase/firebase-tools/issues/8150))
- Updated the SQL Connect local toolkit to v1.8.5, which includes the following changes: ([#8310](https://github.com/firebase/firebase-tools/issues/8310))
  - Fixed the `Int` and `Int64` scalars to correctly validate the `int32` and `int64` ranges, respectively.
  - Fixed the generated web SDK so that `pnpm` properly uses the `link` functionality.

## Version 13.33.0 - March 06, 2025

- Fixed issue where `apps:init` failed to detect the output directory when it was run in a directory where `app` was the only module.
- Set `LOG_EXECUTION_ID=true` by default for Cloud Functions (2nd gen) to improve debugging by displaying execution IDs in logs. ([#8276](https://github.com/firebase/firebase-tools/issues/8276))
- Fixed bug where function deployment was skipped for functions in a bad state. ([#8289](https://github.com/firebase/firebase-tools/issues/8289))
- Updated the SQL Connect local toolkit to v1.8.4, which includes the following changes: ([#8290](https://github.com/firebase/firebase-tools/issues/8290))
  - React hooks for mutations without args no longer require `undefined` to be passed when calling `mutate`.
  - Fixed import resolution when `moduleResolution` is set to `bundler`.
  - React code generation will now generate a `README` explaining 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 `FirebaseError` wasn't being passed into `UseMutationOptions`.

## Version 13.32.0 - February 27, 2025

- Replaced `VSCODE_CWD` check to address issues running in VS Code environments. ([#7471](https://github.com/firebase/firebase-tools/issues/7471))
- Added initial delay when loading Python functions. ([#8239](https://github.com/firebase/firebase-tools/issues/8239))
- Enforced `webframeworks` enablement only on `webframeworks` sites. ([#8168](https://github.com/firebase/firebase-tools/issues/8168))
- Fixed issue where `apps:init` throws an error on app creation.
- Reenabled prompts for unused service deletion in `deploy --only`.
- Updated SQL Connect local toolkit to v1.8.3, which includes the following changes: ([#8263](https://github.com/firebase/firebase-tools/issues/8263))
  - Adds a `_metadata.distance` field to vector similarity search results
  - Fixes `auth` and `request.auth` when 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

## Version 13.31.2 - February 20, 2025

- Fixed an issue where `--import` path was incorrectly resolved for the SQL Connect emulator. ([#8219](https://github.com/firebase/firebase-tools/issues/8219))
- Updated the SQL Connect local toolkit to v1.8.2, which fixes an issue with a missing `FirebaseError` import. ([#8232](https://github.com/firebase/firebase-tools/issues/8232))

## Version 13.31.1 - February 13, 2025

- Fixed issue where `firebase init dataconnect` would crash on React-based web apps.
- Updated the SQL 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 `firebase` get a "missing import" error.

## Version 13.31.0 - February 12, 2025

- Switched SQL Connect from `v1beta` API to `v1` API.
- Added code generation of React hooks for SQL Connect.
- Added Angular 19 as supported version. ([#8145](https://github.com/firebase/firebase-tools/issues/8145))
- Updated the SQL Connect local toolkit to v1.8.0 ([#8210](https://github.com/firebase/firebase-tools/issues/8210)), which includes several changes:
  - Added support for the `v1` SQL Connect API in the emulator.
  - Added support for generated React SDKs.
  - Fixed `@check` to also be evaluated for admin auth.
  - Fixed CEL expressions to be able to access `@redact` fields.
- Fixed `appdistribution:testers:list` raising an error when a tester is not part of any group. ([#8191](https://github.com/firebase/firebase-tools/issues/8191))
- Improved Genkit `init` for 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](https://github.com/firebase/firebase-tools/issues/7867))
- Fixed SSR issues in Angular 19 by adding support for `default` and `reqHandler` exports. ([#8145](https://github.com/firebase/firebase-tools/issues/8145))

## Version 13.30.0 - February 04, 2025

- Fixed an issue where Extensions deployment fails due to `*.firebasestorage.app` not being recognized as a valid bucket name. ([#8152](https://github.com/firebase/firebase-tools/issues/8152))
- Fixed issue with custom 404 pages not being returned in Next.js in the emulator. ([#8035](https://github.com/firebase/firebase-tools/issues/8035))
- Added `onCallGenkit` function annotations. ([#8135](https://github.com/firebase/firebase-tools/issues/8135))
- Added Genkit 1.0.0 template. ([#8144](https://github.com/firebase/firebase-tools/issues/8144))

## Version 13.29.3 - January 30, 2025

- Fixed a SQL Connect emulator issue where prepared statements would be persisted after terminated connections. ([#8133](https://github.com/firebase/firebase-tools/issues/8133))
- Added a warning when deploying a Genkit function without a secret as this is likely not intended by the developer. ([#8138](https://github.com/firebase/firebase-tools/issues/8138))
- Fixed `.env.*` files for web frameworks in Windows ([#8086](https://github.com/firebase/firebase-tools/issues/8086))
- Updated the SQL Connect local toolkit to v1.7.7 ([#8153](https://github.com/firebase/firebase-tools/issues/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-env` and `cross-spawn` dependencies to avoid vulnerable versions. ([#7979](https://github.com/firebase/firebase-tools/issues/7979))
- Fixed an issue with the SQL Connect emulator where `dataDir` and `--export` were relative to the current directory instead of `firebase.json`.
- Fixed `init dataconnect` so that it now suggests DNS compatible service IDs.
- Updated the SQL 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 `@check` and `@redact` directives on list fields.
  - Fixed an issue with null literals in `any` type fields.

## Version 13.29.1 - December 13, 2024

- Fixed an issue where `clearData` with no tables would cause the SQL Connect emulator to crash.
- Fixed an issue where the SQL Connect emulator would crash with `Error: Unreachable`. ([#8062](https://github.com/firebase/firebase-tools/issues/8062))

## Version 13.29.0 - December 12, 2024

- Changed default Cloud Functions runtime to `nodejs22`. ([#8037](https://github.com/firebase/firebase-tools/issues/8037))
- Fixed an issue where `--import` would error for the SQL Connect emulator if `dataDir` was also set.
- Fixed an issue where `firebase init dataconnect` errored when importing a schema with no GQL files.
- Fixed an issue with the SQL Connect emulator where Postgres would not cleanly shut down, causing data corruption. ([#8044](https://github.com/firebase/firebase-tools/issues/8044))
- Callable functions can now be annotated with the Genkit action they are serving. ([#8039](https://github.com/firebase/firebase-tools/issues/8039))
- HTTPS functions can now be upgraded to HTTPS callable functions. ([#8039](https://github.com/firebase/firebase-tools/issues/8039))
- Updated default tsconfig to support more modern defaults. ([#8039](https://github.com/firebase/firebase-tools/issues/8039))
- Added validation for project ID and project name during `firebase init`. ([#2514](https://github.com/firebase/firebase-tools/issues/2514))
- Updated the SQL Connect local toolkit to v1.7.5, which includes a fix for Kotlin codegen that ensures that generated `XxxKeys.kt` files include the required `@file:UseSerializers(UUIDSerializer::class)` annotation. ([#8058](https://github.com/firebase/firebase-tools/issues/8058))

## Version 13.28.0 - December 04, 2024

- Added default value for `emulators.dataconnect.dataDir` to `init dataconnect`.
- Fixed issue where expired auth tokens would not refresh when running on IDX.
- Fixed an issue where `firebase` would error out instead of displaying help text.
- Fixed an issue where `firebase init genkit` would error on Windows machines.
- Fixed an issue where emulator returned error when emulating alerts functions written in python. ([#8019](https://github.com/firebase/firebase-tools/issues/8019))
- Improved error message for emulator binary architecture incompatibility on MacOS. ([#7995](https://github.com/firebase/firebase-tools/issues/7995))
- Deprecated `emulators.apphosting.startCommandOverride`. Instead, use `emulators.apphosting.startCommand`.
- Updated `superstatic` to `9.1.0` in `package.json`.
- Updated the SQL Connect local toolkit to v1.7.4, which fixes an issue that caused duplicate installations of the Firebase JS SDK. ([#8028](https://github.com/firebase/firebase-tools/issues/8028))

## Version 13.27.0 - November 21, 2024

- Fixed an issue where `emulators:exec` would return a `0` error code when emulators failed to start. ([#7974](https://github.com/firebase/firebase-tools/issues/7974))
- Added `--import` and `emulators:export` support to the SQL Connect emulator.
- Added `firebase.json#emulators.dataconnect.dataDir`. When set, SQL 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](https://firebase.google.com/docs/app-hosting/emulate.md.txt) in the App Hosting documentation.
- Added `apphosting:config:export` to export Firebase App Hosting configs (for example, secrets) into `apphosting.local.yaml` to be used by the emulator.

## Version 13.26.0 - November 19, 2024

- Migrated some API calls from `firebase.googleapis.com` to `cloudresourcemanager.googleapis.com`.
- Fixed an issue where the emulator UI would not work with builds from `https://firebase.tools`. ([#7897](https://github.com/firebase/firebase-tools/issues/7897))
- Updated `superstatic` to `9.1.0`. ([#7929](https://github.com/firebase/firebase-tools/issues/7929))
- Added the `appdistribution:group:list` and `appdistribution:testers:list` commands.
- Aliased `appdistribution:group:*` commands to `appdistribution:groups:*`.
- Updated the SQL 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 `Optional` arrays in Swift codegen.
  - Fixed `@auth` expressions that reference the `auth` variable.
  - Fixed Kotlin codegen to use fully-qualified class names everywhere.
  - Removed `StringType_pattern` from generated docs and GQL prelude.

## Version 13.25.0 - November 12, 2024

- Fixed Task Queue Emulator error handling. ([#7916](https://github.com/firebase/firebase-tools/issues/7916))
- Fixed some misleading logs when using the SQL Connect emulator with `FIREBASE_DATACONNECT_POSTGRESQL_STRING` set. ([#7882](https://github.com/firebase/firebase-tools/issues/7882))
- Updated the SQL Connect local toolkit to v1.7.0, which includes support for `query` in mutations, `@check` for advanced authorization, and replaces `java.util.Date` with `com.google.firebase.dataconnect.LocalDate` for `Date` scalar fields and variables in Kotlin codegen. ([#7936](https://github.com/firebase/firebase-tools/issues/7936))
- Fixed `firebase init genkit` to work with Genkit v0.9.0.

## Version 13.24.2 - November 07, 2024

- Released the SQL Connect local toolkit v1.6.1, which fixes the `OrderDirection` enum with `Optional` types in Dart codegen and adds `@ExperimentalFirebaseDataConnect` annotations in Kotlin codegen to avoid compiler warnings. ([#7912](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7896))
- Added support for Next.js 15. ([#7588](https://github.com/firebase/firebase-tools/issues/7588))

## Version 13.23.1 - October 28, 2024

- Added check that billing is enabled during`init apphosting`. ([#7871](https://github.com/firebase/firebase-tools/issues/7871))
- Fixed `rollouts:create` to handle backend regionality. ([#7862](https://github.com/firebase/firebase-tools/issues/7862))
- Fixed Next.js issue where PPR routes did not render correctly. ([#7625](https://github.com/firebase/firebase-tools/issues/7625))
- Released the SQL Connect local toolkit v1.6.0, which adds support for `upsertMany`, introduces `vars` as a shorthand for `request.variables` in `@auth` expressions, adds new methods to `GeneratedConnector` and `GeneratedOperation` implementations in Kotlin codegen (requires the v16.0.0-beta03 SDK), and fixes the use of `Timestamp` with optional types in Dart codegen. ([#7888](https://github.com/firebase/firebase-tools/issues/7888))

## Version 13.23.0 - October 22, 2024

- Added support for deploying new blocking triggers. ([#6384](https://github.com/firebase/firebase-tools/issues/6384))
- Added `firestore:delete` command retry on bandwidth exceeded errors. ([#7845](https://github.com/firebase/firebase-tools/issues/7845))

## Version 13.22.1 - October 16, 2024

- Updated dependencies in `init functions` and `ext:dev:init` templates. ([#7809](https://github.com/firebase/firebase-tools/issues/7809))
- Fixed Flutter web apps that might require the `--no-tree-shake-icons` flag in order to build. ([#7724](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7779))
- Released Firebase SQL Connect local toolkit v1.5.1, which adds compatible mode schema migration support to the emulator and fixes an issue with the `Timestamp` type in Swift codegen. ([#7837](https://github.com/firebase/firebase-tools/issues/7837))
- Fixed an issue during functions discovery where `FUNCTIONS_DISCOVERY_TIMEOUT` wasn't respected. ([#6285](https://github.com/firebase/firebase-tools/issues/6285))
- Improved handling when `emulators:export` cannot read the metadata file.

## Version 13.22.0 - October 08, 2024

- Added `firebase init apphosting`. ([#7803](https://github.com/firebase/firebase-tools/issues/7803))
- Fixed an issue where running the Firebase CLI in IDX required immediate reauthentication.

## Version 13.21.0 - October 07, 2024

- Added `apphosting:rollouts:create` command. ([#7687](https://github.com/firebase/firebase-tools/issues/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 SQL Connect connectors.
- Commands now correctly use to the `default` alias when there is more than one alias. ([#7624](https://github.com/firebase/firebase-tools/issues/7624))
- Updated Firebase SQL Connect emulator to v1.15.0, which includes bug fixes for `insertMany` and improved error handling.

## Version 13.20.2 - September 30, 2024

- Released version 1.4.4 of the Firebase SQL 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 SQL Connect local toolkit to v1.4.3, which includes a fix for URL redirects in the generated docsite. ([#7763](https://github.com/firebase/firebase-tools/issues/7763))

## Version 13.20.0 - September 25, 2024

- Updated Firebase SQL Connect emulator to use an in memory PGLite database instead of requiring a separate Postgres installation. Deprecated `dataconnectEmulator` in `.firebaserc`.
- Released version 1.4.2 of the Firebase SQL Connect emulator, which includes SDK support for `Any` scalar type and `OrderDirection`, support for `first` to lookup operations, and breaking changes for iOS generated SDKs. ([#7744](https://github.com/firebase/firebase-tools/issues/7744))
- Reverted the minimum functions SDK version and add logging for extensions features using v5.1.0. ([#7731](https://github.com/firebase/firebase-tools/issues/7731))
- Added compatibility mode support for Firebase SQL Connect schema migrations, where application schema updates are allowed if the database schema is in a compatible state. ([#7746](https://github.com/firebase/firebase-tools/issues/7746))
- Improved `firebase init dataconnect` to better support local-first onboarding. ([#7733](https://github.com/firebase/firebase-tools/issues/7733))
- Added support for the `--watch` option in `firebase dataconnect:sdk:generate`. ([#7719](https://github.com/firebase/firebase-tools/issues/7719))
- Minor fix in the Firebase SQL Connect GraphQL query template. ([#7736](https://github.com/firebase/firebase-tools/issues/7736))

## Version 13.19.0 - September 22, 2024

- Updated Firebase SQL Connect local toolkit version to v1.3.8, which adds support for `Any` scalar values in the Android SDK, strongly-typed variables in `@auth` expressions, and a minor internal fix for the Dart SDK code generation. ([#7696](https://github.com/firebase/firebase-tools/issues/7696))
- Added new command `firebase ext:sdk:install` to allow you to configure extensions in a functions codebase. For details, see [Install Extensions](https://firebase.google.com/docs/extensions/install-extensions.md.txt?interface=sdk). ([#7581](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7655))
- Updated supported range for Angular framework. ([#7418](https://github.com/firebase/firebase-tools/issues/7418))
- Fixed temporary change to the PORT in `server.ts` for Angular 17+. ([#6651](https://github.com/firebase/firebase-tools/issues/6651))
- Switched Firebase SQL Connect API from v1alpha to v1beta. ([#7589](https://github.com/firebase/firebase-tools/issues/7589))
- Improved handling of Spark projects in `firebase init dataconnect`. ([#7666](https://github.com/firebase/firebase-tools/issues/7666))
- Updated Firebase SQL Connect local toolkit version to v1.3.7, which adds support for v1beta gRPC APIs and the `OrderDirection` enum in Swift, and makes transactional queries and mutations opt-in with the `@transaction` directive. ([#7679](https://github.com/firebase/firebase-tools/issues/7679))
- Added new command `firebase dataconnect:sql:grant -R <role> -E email`, which grants a user access to your service's CloudSQL database. ([#7656](https://github.com/firebase/firebase-tools/issues/7656))
- Added better handling for paths with spaces in `getGlobalEsbuildVersion`. ([#7571](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7595))
- Improved Postgres security for Firebase SQL Connect by granting finer grained SQL privileges. ([#7578](https://github.com/firebase/firebase-tools/issues/7578))
- Removed `dataconnect:sql:migrate` command hard dependency on `'roles/cloudsql.admin'`. ([#7578](https://github.com/firebase/firebase-tools/issues/7578))
- Added support for setting the encryption configuration of restored Cloud Firestore databases. ([#7483](https://github.com/firebase/firebase-tools/issues/7483))
- Added support for `VERIFY_AND_CHANGE_EMAIL` events in the Authentication emulator. ([#7618](https://github.com/firebase/firebase-tools/issues/7618))
- Updated the Firebase SQL Connect toolkit to v1.3.6, which serves a generated GraphQL docsite under `/docs`. ([#7640](https://github.com/firebase/firebase-tools/issues/7640))

## Version 13.16.0 - August 27, 2024

- Added support for Cloud Tasks within the Functions emulator. ([#7475](https://github.com/firebase/firebase-tools/issues/7475))
- Released Cloud Firestore emulator v1.19.8 which adds support for `FindNearest.distanceResultField` and `FindNearest.distanceThreshold` parameters.
- Temporarily removed extensions from functions deploy because it was causing extensions to be deleted unexpectedly. ([#7590](https://github.com/firebase/firebase-tools/issues/7590), [#7582](https://github.com/firebase/firebase-tools/issues/7582))

## Version 13.15.4 - August 21, 2024

- Fixed an issue where Cloud Functions deployment would fail if `firebase.json#extensions` was undefined. ([#7575](https://github.com/firebase/firebase-tools/issues/7575))

## Version 13.15.3 - August 20, 2024

- Updated `ws` to 7.5.10 to remediate CVE-2024-37890. ([#7398](https://github.com/firebase/firebase-tools/issues/7398))
- Fixed an issue where Cloud Functions deployment required the Extensions API. ([#1596](https://github.com/firebase/firebase-functions/issues/1596))

## Version 13.15.2 - August 15, 2024

- Updated Firebase SQL Connect toolkit to v1.3.5, which adds support for pgvector indexing and `order_by_ref`, and fixes bugs in SDK generation. ([#7561](https://github.com/firebase/firebase-tools/issues/7561))
- Implemented a check in the Next.js build function for web frameworks to verify if `env.PROJECT_ID` file exists and make its variables available for the build process. ([#7323](https://github.com/firebase/firebase-tools/issues/7323))
- Fixed `esbuild` path used to bundle `next.config.js` on Windows. ([#7555](https://github.com/firebase/firebase-tools/issues/7555))

## Version 13.15.1 - August 09, 2024

- Introduced automatic app platform detection during `firebase init dataconnect:sdk`.
- Updated Firebase SQL Connect toolkit to v1.3.4, which includes support for `offset`, cascading delete, and multiple generated SDKs of a single platform.
- Updated Firebase SQL Connect SDK options default to avoid duplicate output path.
- Fixed secret parameter resolution in functions emulator. ([#7443](https://github.com/firebase/firebase-tools/issues/7443))
- Fixed bug where `esbuild` execution was throwing an error on Windows that said "Command line too long". ([#7250](https://github.com/firebase/firebase-tools/issues/7250) and [#6193](https://github.com/firebase/firebase-tools/issues/6193))
- Added support for `sharp` \^0.33.x in web frameworks. ([#7517](https://github.com/firebase/firebase-tools/issues/7517)) ([#7545](https://github.com/firebase/firebase-tools/issues/7545))

## Version 13.15.0 - August 01, 2024

- Added support for customer managed encryption keys (CMEK) on Firestore databases. ([#7479](https://github.com/firebase/firebase-tools/issues/7479))
- Fixed an issue where `--force` was not respected during `firebase deploy --only storage`. ([#7499](https://github.com/firebase/firebase-tools/issues/7499))
- Improved error message thrown when missing permissions to deploy to Hosting. ([#7190](https://github.com/firebase/firebase-tools/issues/7190))
- Improved default values for `firebase init dataconnect:sdk`.
- Fixed issue where `functions:secrets:set` wrongly threw errors on non-interactive flows without `--force`. ([#7467](https://github.com/firebase/firebase-tools/issues/7467))
- Released Firebase SQL Connect local toolkit v1.3.2, which includes bug fixes. ([#7518](https://github.com/firebase/firebase-tools/issues/7518))

## Version 13.14.2 - July 26, 2024

- Fixed an issue where the Firebase SQL Connect emulator tried to read `dataconnect.yaml` from the wrong location.

## Version 13.14.1 - July 25, 2024

- Released Firebase SQL Connect local toolkit v1.3.1, which includes fixes for Swift SDK code generation. ([#7491](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7405))
- `firebase init dataconnect` now can pull down deployed GQL files.
- Adds support for Firebase alerts events in Eventarc emulator. ([#7355](https://github.com/firebase/firebase-tools/issues/7355))
- Released version 1.13.0 of firebase-tools-ui, which adds Emulator UI support for Firebase alerts events.
- Bumped the SQL Connect local toolkit to v1.3.0, which adds Swift SDK, @index, @unique, and batch insert support. ([#7486](https://github.com/firebase/firebase-tools/issues/7486))
- Improved detection of 'dataconnect.yaml' when not in project root.
- Added GitHub Action fixes for web frameworks. ([#6883](https://github.com/firebase/firebase-tools/issues/6883))
- Fixed issue where PubSub message `publishTime` is set to `1970-01-01T00:00:00`. ([#7441](https://github.com/firebase/firebase-tools/issues/7441))
- Display meaningful error message when Web Frameworks cannot determine target. ([#6594](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7482))
- Fixed an issue where Firestore backup schedule commands had invalid short option names. ([#7481](https://github.com/firebase/firebase-tools/issues/7481))

## Version 13.13.3 - July 15, 2024

- Fixed an issue where refresh tokens would be used before checking whether they were expired. ([#7442](https://github.com/firebase/firebase-tools/issues/7442))

## Version 13.13.2 - July 11, 2024

- Fixed an issue where old access token would be used after expiry. ([#7429](https://github.com/firebase/firebase-tools/issues/7429))

## Version 13.13.1 - July 10, 2024

- Pass down `functions.ignore` values in `firebase.json` to functions emulator so that supposedly ignored directories/files will not trigger reload. ([#7414](https://github.com/firebase/firebase-tools/issues/7414))
- Fixes bug where secret values provided in env files were parsed as list. ([#7422](https://github.com/firebase/firebase-tools/issues/7422))
- Update the SQL 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](https://github.com/firebase/firebase-tools/issues/74024))

## Version 13.13.0 - July 01, 2024

- Fixes framework support for Nuxt \^3.12 by correctly calling `loadNuxtConfig()`. ([#7375](https://github.com/firebase/firebase-tools/issues/7375))
- Add a default for `firebase init dataconnect:sdk`. ([#7406](https://github.com/firebase/firebase-tools/issues/7406))
- Bump SQL Connect emulator to v1.2.3, which adds support for `@index` on tables, `@auth(level: USER_ANON/USER_EMAIL_VERIFIED)`, and `key: {uid_expr: "auth.uid"}`, and fixes some issues related to SDK generation. ([#7409](https://github.com/firebase/firebase-tools/issues/7409))

## Version 13.12.0 - June 27, 2024

- Moved `dataconnect.location` key in `firebase.json` to `dataconnect.yaml`.
- Fixes issue where files were not properly being discovered and deployed to Firebase Hosting. ([#7363](https://github.com/firebase/firebase-tools/issues/7363), [#7378](https://github.com/firebase/firebase-tools/issues/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

- SQL Connect emulator now reuses existing instances if they are emulating the same service.
- Fixes issue where `deploy --only dataconnect` would error out with `cannot 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:generate` when no generated SDKs are configured.
- Fixes some cases where `firebase init dataconnect` did not write project files correctly.

## Version 13.11.2 - June 07, 2024

- Added a warning to `firebase dataconnect:sdk:generate` when no generated SDKs are configured.
- Fixed some cases where `firebase init dataconnect` did not write project files correctly.

## Version 13.11.1 - June 06, 2024

- `firebase init dataconnect` no longer waits for Cloud SQL instance provisioning. ([#7275](https://github.com/firebase/firebase-tools/issues/7275))
- Fixed an issue where the Firebase SQL Connect emulator would not start up correctly.

## Version 13.11.0 - June 05, 2024

- Added support for Node 22 in function deployments. ([#7252](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7264))
- Released Cloud Firestore emulator v1.19.7, which adds support for `withAuthContext` function triggers. ([#7037](https://github.com/firebase/firebase-tools/issues/7037))
- Released Firebase SQL Connect emulator v1.2.0, which adds support for Postgres 16 and creates the Postgres database specified in `dataconnect.yaml` or `.firebaserc`, if it doesn't already exist.
- Fixed some cases where Firebase SQL Connect deployment fails to pretty-print errors. ([#7230](https://github.com/firebase/firebase-tools/issues/7230))
- Updated Pub/Sub emulator to v0.8.14. ([#7197](https://github.com/firebase/firebase-tools/issues/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 SQL Connect emulator v1.1.19, which fixes serving IPv4 connections properly (127.0.0.1:9399 by default).
- Added a Windows build for Firebase SQL Connect emulator (starting from v1.1.19).

## Version 13.10.1 - May 21, 2024

- Fixed an issue where `dataconnect:sql:migrate` still prompts for confirmation even with `--force`. ([#7208](https://github.com/firebase/firebase-tools/issues/7208))
- Released Firebase SQL 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 SQL Connect emulator listens on all addresses by default instead of just `localhost`. ([#7211](https://github.com/firebase/firebase-tools/issues/7211))
- Fixed Firebase SQL Connect generated SDK sometimes using the wrong Google Cloud region. ([#7217](https://github.com/firebase/firebase-tools/issues/7217))

## Version 13.10.0 - May 21, 2024

- Cloud Functions discovery timeout can now be configured with the `FUNCTIONS_DISCOVERY_TIMEOUT` env var. ([#7176](https://github.com/firebase/firebase-tools/issues/7176))
- Upgrades the pubsub dependency to address a `npm audit` issue. ([#7122](https://github.com/firebase/firebase-tools/issues/7122))
- Fixes path issue in Windows deployments for Next.js SSR. ([#7148](https://github.com/firebase/firebase-tools/issues/7148))
- Updates Emulator Suite UI logos.
- Fixes an issue where `dataconnect:sql:migrate` would sometimes act as the wrong role. ([#7198](https://github.com/firebase/firebase-tools/issues/7198))
- Fixes an issue where `dataconnect:sql:migrate --force` would not ignore invalid connectors. ([#7199](https://github.com/firebase/firebase-tools/issues/7199))
- Improves logging and messaging throughout `dataconnect` commands.
- Improves handling for cases where a Firebase SQL Connect service could not access Cloud SQL. ([#7157](https://github.com/firebase/firebase-tools/issues/7157))

## Version 13.9.0 - May 14, 2024

- Added `firebase init genkit`. Learn more in the [Genkit documentation](https://genkit.dev/).
- Added the `apphosting:*` commands. Learn more in the [Firebase App Hosting documentation](https://firebase.google.com/docs/app-hosting.md.txt).

## Version 13.8.2 - May 09, 2024

- Released Cloud Firestore Emulator v1.19.6 which fixes a few Datastore mode bugs regarding transactions. ([#7132](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7099))

## Version 13.8.0 - May 01, 2024

- Updated dependencies in functions initialization template. ([#7084](https://github.com/firebase/firebase-tools/issues/7084))
- Added `*.local` to `.gitignore` and `functions ignore` for init functions. ([#7018](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/7020))
- Fixed non-static check for not-found route in Next.js 14.2. ([#7012](https://github.com/firebase/firebase-tools/issues/7012))
- Fixed Next.js path issue on Windows. ([#7031](https://github.com/firebase/firebase-tools/issues/7031))
- Fixed an issue where the Pub/Sub emulator would not start on Windows due to CVE-2024-27980. ([#7026](https://github.com/firebase/firebase-tools/issues/7026))

## Version 13.7.3 - April 17, 2024

- Improved internal handling of config files. ([#6987](https://github.com/firebase/firebase-tools/issues/6987))

## Version 13.7.2 - April 11, 2024

- Fixed bug where `firebase deploy --only firestore:rules,firestore:indexes` did not update rules and indexes. ([#6966](https://github.com/firebase/firebase-tools/issues/6966))
- Added Firebase console link after creating or restoring a Firestore database. ([#6949](https://github.com/firebase/firebase-tools/issues/6949))
- Increased supported Astro version to 4. ([#6960](https://github.com/firebase/firebase-tools/issues/6960))
- Fixed a deployment crash when resetting min instances to 0 in 1st gen functions. ([#6990](https://github.com/firebase/firebase-tools/issues/6990))
- Fixed bug in detecting functions runtime from `firebase.json`. ([#6964](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6965))

## Version 13.7.0 - April 04, 2024

- Added new 2nd gen Cloud Firestore triggered functions with Authentication context. ([#1519](https://github.com/firebase/firebase-functions/issues/1519))
- Added (opt-out) experiment to disable cleaning up containers after a functions deploy. ([#6861](https://github.com/firebase/firebase-tools/issues/6861))
- Fixed Next.js image optimization check in app directory for Windows. ([#6930](https://github.com/firebase/firebase-tools/issues/6930))
- Added support for `next.config.mjs`. ([#6933](https://github.com/firebase/firebase-tools/issues/6933))
- Removed development-only files from Next.js deployments. ([#6731](https://github.com/firebase/firebase-tools/issues/6731))

## Version 13.6.1 - April 02, 2024

- Stop trying to delete cache images that Google Cloud Functions already cleans up. ([#6927](https://github.com/firebase/firebase-tools/issues/6927))
- Add support timelines for functions runtimes. ([#6866](https://github.com/firebase/firebase-tools/issues/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 `reset` endpoint for Datastore mode.
- Released Pub/Sub emulator 0.8.2. This version includes support for `no_wrapper` options.
- Fixed an issue where GitHub actions service account couldn't add preview URLs to authorized domains. ([#6895](https://github.com/firebase/firebase-tools/issues/6895))
- Fixed an issue where `GOOGLE_CLOUD_QUOTA_PROJECT` broke functions source uploads. ([#6917](https://github.com/firebase/firebase-tools/issues/6917))

## Version 13.5.2 - March 19, 2024

- Fixed an issue where hosting rewrites failed when skipping functions. ([#6658](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6874))

## Version 13.5.0 - March 13, 2024

- Enabled dynamic debugger port for functions, in addition to support for inspecting multiple codebases. ([#6854](https://github.com/firebase/firebase-tools/issues/6854))
- Injected an environment variable in the node functions emulator to tell the `google-gax` SDK not to look for the metadata service. ([#6860](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6858) and [#6859](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6827))
- Fixed an issue with using demo projects and web frameworks together in the emulator suite. ([#6737](https://github.com/firebase/firebase-tools/issues/6737))
- Fixed Next.js static routes with server actions. ([#6664](https://github.com/firebase/firebase-tools/issues/6664))
- Fixed an issue where `GOOGLE_CLOUD_QUOTA_PROJECT` was not correctly respected. ([#6801](https://github.com/firebase/firebase-tools/issues/6801))
- Fixed an issue where VPC egress settings in functions could not be parameterized. ([#6843](https://github.com/firebase/firebase-tools/issues/6843))

## Version 13.4.0 - February 27, 2024

- Added new commands for managing Cloud Firestore backups and restoring databases. ([#6778](https://github.com/firebase/firebase-tools/issues/6778))
- Fixed quota attribution for Firebase Authentication API calls. ([#6819](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6679))
- Improved detection for when login has expired due to Google Cloud Session Control. ([#1846](https://github.com/firebase/firebase-tools/issues/1846))
- Fixed issues with internal utilities. ([#6754](https://github.com/firebase/firebase-tools/issues/6754))
- Fixed an issue where `firestore:delete` didn't target the emulator when expected. ([#6537](https://github.com/firebase/firebase-tools/issues/6537))

## Version 13.2.1 - February 07, 2024

- Fixed an issue where `appdistribution:distribute` would always attempt to run tests. ([#6749](https://github.com/firebase/firebase-tools/issues/6749))

## Version 13.2.0 - February 06, 2024

- Added rudimentary email enumeration protection for Authentication emulator. ([#6702](https://github.com/firebase/firebase-tools/issues/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](https://firebase.google.com/docs/app-distribution/android-automated-tester.md.txt). ([#6730](https://github.com/firebase/firebase-tools/issues/6730))

## Version 13.1.0 - January 24, 2024

- Switched v2 function target to entrypoint. ([#6698](https://github.com/firebase/firebase-tools/issues/6698))
- Fixed issue where Authentication emulator for sign in with Google only shows default tenant. ([#6683](https://github.com/firebase/firebase-tools/issues/6683))
- Blocked the use of `pinTags` + `minInstances` on the same function, since the features do not work together. ([#6684](https://github.com/firebase/firebase-tools/issues/6684))
- Added force flag to delete backend. ([#6635](https://github.com/firebase/firebase-tools/issues/6635))
- Use framework build target in Vite builds. ([#6643](https://github.com/firebase/firebase-tools/issues/6643))
- Use framework build target in NODE_ENV for production Vite builds. ([#6644](https://github.com/firebase/firebase-tools/issues/6644))
- Let framework handle public directory with emulator. ([#6674](https://github.com/firebase/firebase-tools/issues/6674))
- Fixed deprecated CJS build warning by dynamically importing Vite. ([#6660](https://github.com/firebase/firebase-tools/issues/6660))
- Fixed unsafe array spreads on Hosting deploys. ([#6712](https://github.com/firebase/firebase-tools/issues/6712))

## Version 13.0.3 - January 07, 2024

- Fixed typo in Cloud Storage bucket metadata location type. ([#6648](https://github.com/firebase/firebase-tools/issues/6648))
- Fixed an issue where including `export` in `.env` files caused parsing errors. ([#6629](https://github.com/firebase/firebase-tools/issues/6629))

## Version 13.0.2 - December 17, 2023

- Fixed Next.js dynamic and static OG images. ([#6592](https://github.com/firebase/firebase-tools/issues/6592))
- Addressed a regression introduced in 13.0.1 of the CLI when emulating Vite applications. ([#6599](https://github.com/firebase/firebase-tools/issues/6599))
- Added RSC headers of Next.js app directory pages to Hosting headers. ([#6608](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6583))
- Fixed an issue preventing Vite applications from being emulated on Windows. ([#6411](https://github.com/firebase/firebase-tools/issues/6411))
- Fixed an issue preventing Astro applications from being deployed from Windows. ([#5709](https://github.com/firebase/firebase-tools/issues/5709))
- Fixed an issue preventing Angular apps using `ng-deploy`\` from being emulated or deployed. ([#6584](https://github.com/firebase/firebase-tools/issues/6584))
- Added warning if a web framework is outside the known supported range on deploy/emulate. ([#6562](https://github.com/firebase/firebase-tools/issues/6562))
- Switched to using web framework's known supported version range in `firebase init hosting`. ([#6562](https://github.com/firebase/firebase-tools/issues/6562))
- Permitted use of more SSR regions in web frameworks deploys. ([#6086](https://github.com/firebase/firebase-tools/issues/6086))
- Limited web framework's generated function name to 23 characters, fixing deploys for some. ([#6260](https://github.com/firebase/firebase-tools/issues/6260))
- Allowed Nuxt as an option during `firebase init hosting`. ([#6309](https://github.com/firebase/firebase-tools/issues/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:publish` command. Use `ext:dev:upload` instead.
- **Breaking change:** Refactored `functions:shell` to remove its dependency on a deprecated `request` module.
  - As part of this change, removed support for some rarely used features of `request`.
- Added support for running the CLI on Node.js v20.
- Added force flag call-out for bypassing prompts. ([#6506](https://github.com/firebase/firebase-tools/issues/6506))
- Added the ability to deploy Angular apps using the new [application-builder](https://angular.dev/tools/cli/esbuild). ([#6480](https://github.com/firebase/firebase-tools/issues/6480))
- Switched Storage deployment to use `GetDefaultBucket` endpoint to fetch the default Storage bucket. ([#6467](https://github.com/firebase/firebase-tools/issues/6467))
- Fixed an issue with emulating blocking functions when using multiple codebases. ([#6504](https://github.com/firebase/firebase-tools/issues/6504))
- Fixed an issue where the `--non-interactive` flag was not respected in deploys of Firestore indexes. ([#6539](https://github.com/firebase/firebase-tools/issues/6539))
- Fixed an issue where `login:use` would not work outside of a Firebase project directory. ([#6526](https://github.com/firebase/firebase-tools/issues/6526))
- Fixed to prevent app router static `not-found` requiring a Cloud Function in Next.js deployments. ([#6558](https://github.com/firebase/firebase-tools/issues/6558))
- Fixed to use only site ID from site name in list versions API. ([#6565](https://github.com/firebase/firebase-tools/issues/6565))

## Version 12.9.1 - November 15, 2023

- Fixed an issue where initializing Hosting failed when selecting a project. ([#6527](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6506))
- Reverted enabling `preferRest` by default to avoid performance degradations for some users. ([#6520](https://github.com/firebase/firebase-tools/issues/6520))
- Fixed blocking functions in the emulator when using multiple codebases. ([#6504](https://github.com/firebase/firebase-tools/issues/6504))
- Fixed an issue where the functions emulator did not respect the `--log-verbosity` flag. ([#2859](https://github.com/firebase/firebase-tools/issues/2859))

## Version 12.8.0 - October 31, 2023

- Enabled `preferRest` option by default for Firestore triggered functions. ([#6147](https://github.com/firebase/firebase-tools/issues/6147))
- Fixed a bug where redeploying a Firestore triggered function (2nd gen) failed after updating secrets. ([#6456](https://github.com/firebase/firebase-tools/issues/6456))
- Fixed a bug where similarly named Hosting channels caused issues when updating authorized domains. ([#6356](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6388))
- Added a `--log-verbosity` flag to `emulators:*` commands that limits what logs are printed. ([#2859](https://github.com/firebase/firebase-tools/issues/2859))
- Fixed type mismatch for parameterized function region. ([#6205](https://github.com/firebase/firebase-tools/issues/6205))
- Ignore `FIRESTORE_EMULATOR_HOST` environment variable on functions deployment. ([#6442](https://github.com/firebase/firebase-tools/issues/6442))
- Fixed an issue where params were not resolved when used to set VPC connector during functions deployment. ([#6327](https://github.com/firebase/firebase-tools/issues/6327))

## Version 12.6.2 - October 04, 2023

- Fixed an issue with deploying multi-level grouped functions containing 2nd gen functions. ([#6419](https://github.com/firebase/firebase-tools/issues/6419))
- Fixed an issue where functions deployment required a new permission. ([#6425](https://github.com/firebase/firebase-tools/issues/6425))

## Version 12.6.1 - September 27, 2023

- Fixed an issue where the functions service account option was not treated as a param. ([#6389](https://github.com/firebase/firebase-tools/issues/6389))
- Fixed an issue with deploying function groups containing 2nd gen functions. ([#6408](https://github.com/firebase/firebase-tools/issues/6408))
- Changed to use the `GetDefaultBucket` endpoint 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](https://github.com/firebase/firebase-tools/issues/6376))
- Fixed an issue where `emulators:export` did not check if the target folder is empty. ([#6313](https://github.com/firebase/firebase-tools/issues/6313))
- Fixed an issue where retry could not be set for event-triggered functions. ([#6391](https://github.com/firebase/firebase-tools/issues/6391))
- Fixed `"Could not find the next executable"` on Next.js deployments. ([#6372](https://github.com/firebase/firebase-tools/issues/6372))
- Fixed issues caused by breaking changes in Next \>=v13.5.0. ([#6382](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/3286))

## Version 12.5.3 - September 08, 2023

- Fixed an issue where builds from [firebase.tools](https://firebase.tools) could not run commands that spawn `npm`. ([#6132](https://github.com/firebase/firebase-tools/issues/6132))
- Fixed an issue where `--non-interactive` and `--force` were not respected in some extension deploys. ([#6321](https://github.com/firebase/firebase-tools/issues/6321))
- Fixed the regex in Extensions changelog parser to lazy match the version prefix to allow matching higher versions. ([#6326](https://github.com/firebase/firebase-tools/issues/6326))

## Version 12.5.2 - August 24, 2023

- Fixed an issue that caused unexpected behavior and errors when deploying functions. ([#6290](https://github.com/firebase/firebase-tools/issues/6290))

## Version 12.5.1 - August 23, 2023

- Fixed issue where deploys with a mix of 1st and 2nd gen functions would fail. ([#6293](https://github.com/firebase/firebase-tools/issues/6293))

## Version 12.5.0 - August 22, 2023

- Fixed issue where the Extensions emulator would error when emulating local extensions with no params. ([#6271](https://github.com/firebase/firebase-tools/issues/6271))
- Fixed issue where `next.config.js` would not be bundled correctly. ([#6287](https://github.com/firebase/firebase-tools/issues/6287))
- Improved performance and reliability when deploying multiple 2nd gen functions using single builds. ([#6275](https://github.com/firebase/firebase-tools/issues/6275))

## Version 12.4.8 - August 15, 2023

- Increased Cloud Functions emulator HTTPS body size limit to 32mb to match production. ([#6201](https://github.com/firebase/firebase-tools/issues/6201))
- Fixed Astro web framework bug when loading configuration for version 2.9.7 and above. ([#6213](https://github.com/firebase/firebase-tools/issues/6213))
- Increased Next.js config bundle timeout to 60 seconds. ([#6214](https://github.com/firebase/firebase-tools/issues/6214))

## Version 12.4.7 - August 02, 2023

- Improved error message raised when `firebase init hosting:github` fails due to max number of keys limit for a service account. ([#6145](https://github.com/firebase/firebase-tools/issues/6145))
- Fixed bug where `functions:secrets:\*` family of commands did not work when Firebase CLI is authenticated via `GOOGLE_APPLICATION_CREDENTIALS`. ([#6190](https://github.com/firebase/firebase-tools/issues/6190))
- Fixed bug where some extension instance updates would default to the wrong location. ([#6202](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6060))
- Fixed `glob` usage in Next.js utility function to detect images in `app` directory ([#6166](https://github.com/firebase/firebase-tools/issues/6166))
- Allow experiments set with `firebase experiments:enable` to be accessed by the emulator UI. ([#6169](https://github.com/firebase/firebase-tools/issues/6169))

## Version 12.4.5 - July 19, 2023

- Fixed bug where `functions:secrets:set` didn't remove stale versions of a secret. ([#6080](https://github.com/firebase/firebase-tools/issues/6080))
- Fixed bug where `firebase deploy --only firestore:named-db` didn't update rules. ([#6129](https://github.com/firebase/firebase-tools/issues/6129))
- Fixed issue where Flutter Web wasn't detected as a web framework. ([#6085](https://github.com/firebase/firebase-tools/issues/6085))
- Added better messages for API permissions failures, which now direct the user to the URL to enable the API. ([#6130](https://github.com/firebase/firebase-tools/issues/6130))
- Fixed issue caused by adding stricter type checks. ([#5906](https://github.com/firebase/firebase-tools/issues/5906))
- Fixed `next/image` component in app directory for Next.js \> v13.4.9. ([#6143](https://github.com/firebase/firebase-tools/issues/6143))
- Fixed bug where Next.js Image Optimization in the app directory wasn't requiring a Cloud Function. ([#6143](https://github.com/firebase/firebase-tools/issues/6143))
- Fixed a transitive dependency on a vulnerable version of `vm2`. ([#6150](https://github.com/firebase/firebase-tools/issues/6150))

## Version 12.4.4 - July 12, 2023

- Disabled KeepAlive timeout when debugger is attached to the Cloud Functions emulator. ([#6069](https://github.com/firebase/firebase-tools/issues/6069))
- Fixed an issue where `database:list` would have inaccurate results. ([#6063](https://github.com/firebase/firebase-tools/issues/6063))

## Version 12.4.3 - July 06, 2023

- Fixed incorrect links in `firebase open hosting` and `firebase open crash`. ([#6073](https://github.com/firebase/firebase-tools/issues/6073))
- Released Firebase Emulator UI v1.11.7, which includes preview support for multiple Cloud Firestore database instances. ([#6079](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/6023))
- Increased extension instance create poll timeout to 1h to match backend. ([#5969](https://github.com/firebase/firebase-tools/issues/5969))
- Refactored `ext:install` to use the latest extension metadata. ([#5997](https://github.com/firebase/firebase-tools/issues/5997))
- Added descriptive error when repo is private or not found during `ext:dev:upload`. ([#6052](https://github.com/firebase/firebase-tools/issues/6052))
- Fixed issue where missing trigger warnings would be wrongly displayed when emulating extensions with HTTPS triggers. ([#6055](https://github.com/firebase/firebase-tools/issues/6055))
- Normalized extension root path before usage in `ext:dev:upload`. ([#6054](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/5942))
- Fixed an issue where lifecycle hooks would not run when codebases were specified via `--only`. ([#6011](https://github.com/firebase/firebase-tools/issues/6011))
- Fixed an issue causing `firebase emulators:start` to crash on Next.js apps. ([#6005](https://github.com/firebase/firebase-tools/issues/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](https://github.com/firebase/firebase-tools/issues/5955))
- Added `appdistribution:group:create` and `appdistribution:group:delete`. ([#5978](https://github.com/firebase/firebase-tools/pull/5978))
- Added `--group-alias` option to `appdistribution:testers:add` and `appdistribution:testers:remove`. ([#5978](https://github.com/firebase/firebase-tools/pull/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 `basePath` defined in `next.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.json` if there's a `baseUrl`.
- Fixed an issue where Authentication emulator created a user if empty email and empty password was provided.
- Improved error message raised when `--import` flag directory does not exist.
- Switched `ext:dev:init` to default `billingRequired` to true in `extension.yaml`.
- Removed `LOCATION` param from the `extensions.yaml` template for `ext: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 deploy` to 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: false` and `baseURL` were 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_TARGET` environment 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:start` and `firebase deploy` if Python Cloud Functions directory path has spaces.

## Version 12.0.0 - May 9, 2023

- Changed `hosting.frameworksBackend` to respect `omit: true`.
- Fixed an issue where the backend requirement was not tripped for Angular applications using `ng-deploy` with `serveOptimizedImages`.
- Fixed an issue where the Cloud Storage emulator would not fall back to open rules for `demo-` projects if `firebase.json` contained multiple Cloud Storage targets.
- Dropped support for running the CLI on Node.js v14.
- Updated `firebase init` function 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](https://firebase.google.com/support/release-notes/docs/extensions/publishers/get-started).

  > [!NOTE]
  > **Note** : The following commands were previously available to early access users behind an experiment flag. There are some breaking changes from the early access version of these commands.
  > - `ext:dev:publish` was renamed to `ext:dev:upload`. The `ext:dev:upload` command defaults to uploading extensions from GitHub instead of local source.
  > - `ext:dev:publish` is deprecated and will be removed in Firebase CLI v13.
  > - `ext:dev:delete`, `ext:dev:unpublish`, `ext:sources:create`, and `ext:dev:emualtors:*` were removed.

## 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 `ListDocumentsResponse` to `GetOrListDocumentsResponse` in 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:install` and `ext:configure` would error on extensions with no params.
- Fixed an issue with Vite and Angular integrations using an obsolete `npm` command.

## Version 11.28.0 - April 18, 2023

- Relaxed repo URI validation in `ext:dev:publish`.
- Enabled Secret Manager API during `ext:install` and `ext:update` for extensions that use secrets.
- Added `extensions` as an option in `firebase 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 `npm` build scripts as part of function deploy.
- Added experimental support for deploying Astro applications to Firebase Hosting.
- Changed `emulators:start` to 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-tools` as a library.
- Added experimental support for SvelteKit codebases.
- Added support for using of Angular and Vite within an `npm` workspace.
- Added ability to publish extension versions directly from GitHub.