firebase/firebase-tools
### [`v10.7.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.7.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.7.1...v10.7.2)
- Updates `superstatic` to `v8` to fix audit issues.
- Make grantToken tenant-aware ([#4475](https://togithub.com/firebase/firebase-tools/issues/4475))
- Fix database emulator rules error parsing ([#4454](https://togithub.com/firebase/firebase-tools/issues/4454)).
- Fix timestamp format in Auth Emulator events ([#3093](https://togithub.com/firebase/firebase-tools/issues/3093)).
- Fix `TypeError: Invalid Version:` error when emulating functions ([#4403](https://togithub.com/firebase/firebase-tools/issues/4403)).
- Fix issue with creating folders from Storage Emulator UI ([https://github.com/firebase/firebase-tools-ui/issues/738](https://togithub.com/firebase/firebase-tools-ui/issues/738)).
- Fix Storage Emulator showing folder placeholders in list results.
### [`v10.7.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.7.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.7.0...v10.7.1)
- Fixes bug where API enablement failed. ([#4467](https://togithub.com/firebase/firebase-tools/issues/4467))
### [`v10.7.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.7.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.6.0...v10.7.0)
- Fix URL with wrong host returned in storage resumable upload ([#4374](https://togithub.com/firebase/firebase-tools/issues/4374)).
- Fixes Firestore emulator transaction expiration and reused bug.
- Fixes Firestore emulator deadlock bug. [#2452](https://togithub.com/firebase/firebase-tools/issues/2452)
- Ensure that the hosting emulator port is not claimed by OSX ([#4415](https://togithub.com/firebase/firebase-tools/issues/4415)).
- Improves support for prerelease versions in `ext:dev:publish` ([#4244](https://togithub.com/firebase/firebase-tools/issues/4244)).
- Fixes console error on large uploads to Storage Emulator ([#4407](https://togithub.com/firebase/firebase-tools/issues/4407)).
- Fixes cross-platform incompatibility with Storage Emulator exports ([#4411](https://togithub.com/firebase/firebase-tools/issues/4411)).
- Fixes issue where function deployment errored on projects without secrets ([#4425](https://togithub.com/firebase/firebase-tools/issues/4425)).
- Adds a blocking trigger type ([#4395](https://togithub.com/firebase/firebase-tools/issues/4395)).
- Removes verbose HTTP responses from debug logs ([#4428](https://togithub.com/firebase/firebase-tools/issues/4428))
- Releases Cloud Firestore Emulator v1.14.3: fixes [#4336](https://togithub.com/firebase/firebase-tools/issues/4336).
### [`v10.6.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.6.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.5.0...v10.6.0)
- Improve error messages when using alpha features without being in the alpha program ([#4354](https://togithub.com/firebase/firebase-tools/issues/4354))
- Fixes bug where resumable uploads were not setting custom metadata on upload ([#3398](https://togithub.com/firebase/firebase-tools/issues/3398)).
- Fixes bug where GCS metadataUpdate cloud functions were triggered in incorrect situations ([#3398](https://togithub.com/firebase/firebase-tools/issues/3398)).
- Fixes bug where quoted escape sequences in .env files were incompletely unescaped. ([#4270](https://togithub.com/firebase/firebase-tools/issues/4270))
- Fixes Storage Emulator ruleset file watcher ([#4337](https://togithub.com/firebase/firebase-tools/issues/4337)).
- Fixes issue with importing Storage Emulator data exported prior to v10.3.0 ([#4358](https://togithub.com/firebase/firebase-tools/issues/4358)).
- Adds ergonomic improvements to CF3 secret commands to automatically redeploy functions and delete unused secrets ([#4130](https://togithub.com/firebase/firebase-tools/issues/4130)).
- Fixes issue with alpha users setting timeouts ([#4381](https://togithub.com/firebase/firebase-tools/issues/4381))
### [`v10.5.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.5.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.4.2...v10.5.0)
- Release Cloud Firestore emulator v1.14.1:
- Adds support of x-goog-request-params http header for routing.
- Changes `read-past-max-staleness` error code to align with production
implementation.
- Updates readtime-in-the-future error message.
- Supports importing exports from Windows on UNIX systems. ([#2421](https://togithub.com/firebase/firebase-tools/issues/2421))
- Marks Java 10 and below as deprecated. Support will be dropped in Firebase CLI v11. Please upgrade to Java version 11 or above to continue using the emulators. ([#4347](https://togithub.com/firebase/firebase-tools/issues/4347))
### [`v10.4.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.4.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.4.1...v10.4.2)
- Fixes an issue where some valid Cloud Functions for Firebase names would not pass validation in the Functions emulator ([#4352](https://togithub.com/firebase/firebase-tools/issues/4352)).
### [`v10.4.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.4.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.4.0...v10.4.1)
- Upgrade Storage Rules Runtime to v1.0.2.
- Adds support for an environment variable `FIREBASE_HOSTING_UPLOAD_CONCURRENCY` to specify custom levels of Hosting upload concurrency (defaults to 200).
- Fixes error handling in `auth:export` when API calls would fail.
- Fixes bug where new callable functions were not publicly accessible. ([#4327](https://togithub.com/firebase/firebase-tools/issues/4327))
### [`v10.4.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.4.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.3.1...v10.4.0)
- Adds support for configuration with multiple storage targets ([#4281](https://togithub.com/firebase/firebase-tools/issues/4281)).
- Fixes bug where callable functions couldn't be emulated ([#4314](https://togithub.com/firebase/firebase-tools/issues/4314)).
### [`v10.3.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.3.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.3.0...v10.3.1)
- Fixes bug where deploying callable functions failed ([#4310](https://togithub.com/firebase/firebase-tools/issues/4310)).
### [`v10.3.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.3.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.2.2...v10.3.0)
- Fixes bug where functions' memory configurations weren't preserved in batched function deploys ([#4253](https://togithub.com/firebase/firebase-tools/issues/4253)).
- Adds --local flag to ext:install, ext:update, ext:configure, and ext:uninstall, to save changes to firebase.json instead of deploying immediately.
- `ext:export` now uses stable ordering for params in .env files ([#4256](https://togithub.com/firebase/firebase-tools/issues/4256)).
- Adds alerting event provider ([#4258](https://togithub.com/firebase/firebase-tools/issues/4258)).
- Fixes bug where project-specific environment variables weren't loaded by the Functions Emulator ([#4273](https://togithub.com/firebase/firebase-tools/issues/4273)).
- Fixes bug where CORS was enabled too broadly on the Functions emulator ([#4294](https://togithub.com/firebase/firebase-tools/issues/4294)).
- Adds `rewriteTo` / `copyTo` endpoints to Cloud Storage Emulator ([#3647](https://togithub.com/firebase/firebase-tools/issues/3647), [#3751](https://togithub.com/firebase/firebase-tools/issues/3751)).
- Addes `createReadStream` support to Cloud Storage Emulator ([#3469](https://togithub.com/firebase/firebase-tools/issues/3469)).
- Fixes `list` endpoint in Cloud Storage Emulator ([#3647](https://togithub.com/firebase/firebase-tools/issues/3647)).
- Fixes `getFiles` for Cloud Storage Emulator ([#3778](https://togithub.com/firebase/firebase-tools/issues/3778)).
- Fixes `exists` for Cloud Storage Emulator ([#3764](https://togithub.com/firebase/firebase-tools/issues/3764)).
### [`v10.2.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.2.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.2.1...v10.2.2)
- Updates reserved environment variables for CF3 to include 'EVENTARC_CLOUD_EVENT_SOURCE' ([#4196](https://togithub.com/firebase/firebase-tools/issues/4196)).
- Fixes arg order for `firebase emulators:start --only storage` ([#4195](https://togithub.com/firebase/firebase-tools/issues/4195)).
- Fixes iOS auth for resumable uploads in Storage Emulator ([#4184](https://togithub.com/firebase/firebase-tools/issues/4184)).
- Fixes Storage Emulator crash on iOS auth error for resumable uploads ([#4210](https://togithub.com/firebase/firebase-tools/issues/4210)).
- Fixes bug where environment variable for gen 2 functions weren't updated on deploy ([#4209](https://togithub.com/firebase/firebase-tools/issues/4209)).
- Fixes an issue in the storage emulator where a file upload would trigger functions with a metadata update handler ([#4213](https://togithub.com/firebase/firebase-tools/issues/4213)).
- Fixes Storage Emulator rules resource evaluation ([#4214](https://togithub.com/firebase/firebase-tools/issues/4214)).
- Fixes bug where securityLevel is overwritten on https function re-deploys ([#4208](https://togithub.com/firebase/firebase-tools/issues/4208)).
- Fixes bug where functions emulator ignored functions.runtime option in firebase.json ([#4207](https://togithub.com/firebase/firebase-tools/issues/4207)).
- Fixes bug where functions emulator triggered wrong functions when started with --inspect-functions flag ([#4232](https://togithub.com/firebase/firebase-tools/issues/4232)).
- Updates functions init template to use latest versions of dependencies of functions init ([#4177](https://togithub.com/firebase/firebase-tools/issues/4177)).
### [`v10.2.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.2.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.2.0...v10.2.1)
- Fixes an issue where ext:list was not printing out information about installed Extension instances ([#4156](https://togithub.com/firebase/firebase-tools/issues/4156))
- Fixes issue where Functions Emulator crashed when parsing triggers if accessing functions config values ([#4162](https://togithub.com/firebase/firebase-tools/issues/4162)).
- `firebase emulators:start --export-on-exit ` now rejects overwriting the current directory or parents ([#4127](https://togithub.com/firebase/firebase-tools/issues/4127)).
- Fixes broken functions:config:clone command ([#4173](https://togithub.com/firebase/firebase-tools/issues/4173)).
- Fixes issue where `auth:import` would fail when reading a JSON file. ([#4157](https://togithub.com/firebase/firebase-tools/issues/4157))
- Fixes issue where custom claims added in Auth Emulator UI was not properly shown.
- Improves handling of API requests with XML responses ([#4180](https://togithub.com/firebase/firebase-tools/issues/4180)).
- Updates the underlying request library in Hosting deploys and uses project-scoped URLs. ([#2558](https://togithub.com/firebase/firebase-tools/issues/2558))
### [`v10.2.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.2.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.1.5...v10.2.0)
- Improves experience for `firebase login --no-localhost`.
- Add support for specifying environment variable of CF3 function using dotenv.
### [`v10.1.5`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.1.5)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.1.4...v10.1.5)
- Fixes bug where local extension installation and ext:publish failed to upload source to GCS bucket.
### [`v10.1.4`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.1.4)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.1.3...v10.1.4)
- Updates the Storage Emulator to use the actual default storage bucket.
- Fixes issue where `deploy` would fail with a `JSON: SyntaxError` error. ([#4117](https://togithub.com/firebase/firebase-tools/issues/4117))
### [`v10.1.3`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.1.3)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.1.2...v10.1.3)
- Updates Hosting initial `index.html` to be proper javascript.
- Fix issue where the Cloud Functions for Firebase Emulator would incorrectly log a node version mismatch ([#4024](https://togithub.com/firebase/firebase-tools/issues/4024)).
### [`v10.1.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.1.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.1.1...v10.1.2)
- Updates the streaming libraries used in `auth:import`.
### [`v10.1.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.1.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.1.0...v10.1.1)
- Fixes issue where Auth UI did not behave correctly.
### [`v10.1.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.1.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.0.1...v10.1.0)
- Now publishes npm-shrinkwrap.json which pins dependencies for the CLI.
- Preserve empty vpc connector setting on function deploy. ([#3973](https://togithub.com/firebase/firebase-tools/issues/3973))
- Upgrades google-auth-library to 7.x.x, enabling support for workload identity federation
### [`v10.0.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.0.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.0.0...v10.0.1)
- Upgrades Database Emulator to v4.7.3, removing log4j dependency.
### [`v10.0.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.0.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.23.3...v10.0.0)
- **BREAKING** Drops support for running the CLI on Node 10.
- **BREAKING** Replaces all usages of `-y`, `--yes`, or `--confirm` with `-f` and `--force`.
- **BREAKING** Function deploys upload source to the deployed region instead of us-central1.
- Requires firebase-functions >= 3.13.1 in Functions emulator to include bug fixes ([#3851](https://togithub.com/firebase/firebase-tools/issues/3851)).
- Updates default functions runtime to Node.js 16.
### [`v9.23.3`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.23.3)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.23.2...v9.23.3)
- Upgrades Database Emulator to v4.7.3, removing log4j dependency.
### [`v9.23.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.23.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.23.1...v9.23.2)
- Fixes issue when installing a Firebase Extension where secrets would be created before validation.
- Fixes issue with filtering on a specific storage bucket using functions in the emulator. ([#3893](https://togithub.com/firebase/firebase-tools/issues/3893))
- Fixes check in Cloud Functions for Firebase initialization to check for API enablement before trying to enable them. ([#2574](https://togithub.com/firebase/firebase-tools/issues/2574))
- No longer tries to clean up function build images from Artifact Registry when Artifact Registry is not enabled. ([#3943](https://togithub.com/firebase/firebase-tools/issues/3943))
- Show error message when running `firebase init hosting:github` with no Hosting config in `firebase.json`. ([#3113](https://togithub.com/firebase/firebase-tools/issues/3113))
- Fixes issue where `remoteconfig:get` was not fetching the latest version by default. ([#3559](https://togithub.com/firebase/firebase-tools/issues/3559))
- Fixes issue where empty variables in .env files would instead read as multi-line values. ([#3934](https://togithub.com/firebase/firebase-tools/issues/3934))
### [`v9.23.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.23.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.23.0...v9.23.1)
- Corrects a bug where containers in Artifact Registry would not be deleted if a function has an upper case character in its name ([#3918](https://togithub.com/firebase/firebase-tools/issues/3918))
- Fixes issue where providing the `--project` flag during `init` would not be recognized with a default project already set. ([#3870](https://togithub.com/firebase/firebase-tools/issues/3870))
- Fixes issue with setting memory limits for some functions ([#3924](https://togithub.com/firebase/firebase-tools/issues/3924))
- New HTTPS functions only allow secure traffic. ([#3923](https://togithub.com/firebase/firebase-tools/issues/3923))
- No longer default-enable AR and don't send builds to AR unless an experiment is enabled ([#3935](https://togithub.com/firebase/firebase-tools/issues/3935))
### [`v9.23.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.23.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.22.0...v9.23.0)
- `firebase deploy --only extensions` now supports project specifc .env files. When deploying to multiple projects, param values that are different between projects can be put in `extensions/${extensionInstanceId}.env.${projectIdOrAlias}` and common param values can be put in `extensions/${extensionInstanceId}.env`.
### [`v9.22.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.22.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.21.0...v9.22.0)
- Adds `firebase ext:export` command, and adds `extensions` to `firebase deploy`. See https://firebase.google.com/docs/extensions/reuse-project-config for more infomation on how to manage your extensions with these commands.
- Fixes issue where `init` would crash with multiple Hosting items selected ([#3742](https://togithub.com/firebase/firebase-tools/issues/3742)).
- Adds a command (`crashlytics:symbols:upload`) to upload native symbol files, used in Android NDK crash symbolication.
### [`v9.21.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.21.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.20.0...v9.21.0)
- Fix Auth Emulator deleteTenant not working with Node Admin ([#3817](https://togithub.com/firebase/firebase-tools/issues/3817)).
- Fix Crashlytics Android Native Symbols not working on Windows due to ":" in the path ([#3842](https://togithub.com/firebase/firebase-tools/issues/3842))
- Fixes Firestore emulator UI showing requests out of order
### [`v9.20.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.20.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.19.0...v9.20.0)
- `ext:install`, `ext:update` and `ext:configure` now support param type `secret`.
### [`v9.19.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.19.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.18.0...v9.19.0)
- `ext:dev:publish` and `ext:update` now support --force and --non-interactive flags.
- Fixes issue where account specified by `login:use` was not being correctly loaded ([#3759](https://togithub.com/firebase/firebase-tools/issues/3759)).
- Fixes minor layout issues in Auth Emulator IDP sign-in page ([#3774](https://togithub.com/firebase/firebase-tools/issues/3774)).
### [`v9.18.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.18.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.17.0...v9.18.0)
- `ext:install` now supports `--force` and `--non-interactive` flags.
- Fixes a crash when customers deploy an empty Cloud Functions project ([#3705](https://togithub.com/firebase/firebase-tools/issues/3705))
- Fixes (and implements) `--no-authorized-domains`, skipping syncing with Firebase Auth, when deploying to a Firebase Hosting channel ([#3740](https://togithub.com/firebase/firebase-tools/issues/3740)).
- Adds a command (`functions:list`) for listing all functions in the Firebase project.
- Uses public v1 AppDistribution API.
- Adds `appdistribution:testers:add` and `appdistribution:testers:remove` commands.
### [`v9.17.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.17.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.6...v9.17.0)
- Adds support for the `nodejs16` runtime for Cloud Functions.
- `ext:update` now displays release notes for the versions you are updating to.
- `ext:dev:publish` now checks for a CHANGELOG.md file before publishing.
- `firebase ext:dev:init` now creates a placeholder `CHANGELOG.md` file.
- Fixes error when using a project number as the `--project` flag.
- `firebase init hosting` now supports the version 9 compatibility SDK ([#3711](https://togithub.com/firebase/firebase-tools/issues/3711)).
- Fixes layout issues when editing fields in Firestore Emulator UI.
### [`v9.16.6`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.6)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.5...v9.16.6)
- Fixes bug where functions packaged as ES module failed to load on Windows. ([#3692](https://togithub.com/firebase/firebase-tools/issues/3692))
- Fixes bug parsing dotenv files with multiple quoted values ([#3703](https://togithub.com/firebase/firebase-tools/issues/3703))
- Tracks use of runtime config and environment variables on function deploys. ([#3704](https://togithub.com/firebase/firebase-tools/issues/3704))
### [`v9.16.5`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.5)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.4...v9.16.5)
- Fix Auth Emulator not updating lastLoginAt with signInWithPassword, causing some "token revoked" errors.
- Fix `firebase emulator:exec` throwing errors when run without project ID. ([#3681](https://togithub.com/firebase/firebase-tools/issues/3681))
### [`v9.16.4`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.4)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.3...v9.16.4)
- Fixes Auth Emulator tokens having invalid auth_time field. ([#3674](https://togithub.com/firebase/firebase-tools/issues/3674))
### [`v9.16.3`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.3)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.2...v9.16.3)
- Fixes bug where function deploys failed due to bad FIREBASE_CONFIG value ([#3668](https://togithub.com/firebase/firebase-tools/issues/3668)).
### [`v9.16.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.1...v9.16.2)
- Fixes issue deploying Cloud Functions for Firebase. ([#3664](https://togithub.com/firebase/firebase-tools/issues/3664))
### [`v9.16.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.16.0...v9.16.1)
- Makes auth_time emulator behavior match production (auth_time is now set to user's last sign in time). ([#3608](https://togithub.com/firebase/firebase-tools/issues/3608))
- Fixes Auth Emulator errors when importing many users. ([#3577](https://togithub.com/firebase/firebase-tools/issues/3577))
- Fixes support for `--except` flag when used for deploying Hosting. ([#3397](https://togithub.com/firebase/firebase-tools/issues/3397))
- Improves handling of project number identifiers.
- Fixes Emulator UI editing timestamp values in Firestore tab. ([#3653](https://togithub.com/firebase/firebase-tools/issues/3653))
- Fixes page layout issues on Emulator UI Database tab. ([#3653](https://togithub.com/firebase/firebase-tools/issues/3653))
- Stops Emulator UI triggering functions on importing JSON to Database by default. ([#3653](https://togithub.com/firebase/firebase-tools/issues/3653))
### [`v9.16.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.16.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.15.1...v9.16.0)
- Supports inspecting Firestore Emulator requests and rules in Emulator UI ([#3564](https://togithub.com/firebase/firebase-tools/issues/3564)).
### [`v9.15.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.15.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.15.0...v9.15.1)
- Fixes issue where `firebase.json` schema was not packaged in the module. ([#3561](https://togithub.com/firebase/firebase-tools/issues/3561))
### [`v9.15.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.15.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.14.0...v9.15.0)
- Fixes a number of issues where `ext:dev:emulator:*` was not providing the correct parameter values to the emulated extension ([#2928](https://togithub.com/firebase/firebase-tools/issues/2928))
- Support loading Firebase Functions packaged as an ES module. ([#3485](https://togithub.com/firebase/firebase-tools/issues/3485))
- Fixes Cloud Storage emulator missing classes. ([#3541](https://togithub.com/firebase/firebase-tools/issues/3541))
- Add missing properties to Authentication functions `context` in the Functions emulator. ([#3536](https://togithub.com/firebase/firebase-tools/issues/3536))
- Firestore Emulator UI now supports deleting documents and collections recursively.
- Fixes some Storage Emulator UI errors.
- Fixes some issues when using Emulator UI on a different device.
- Fixes issues where functions:log command did not showing some log entries. ([#3539](https://togithub.com/firebase/firebase-tools/issues/3539))
- Fixes Emulator issue when function definition changes ([#2533](https://togithub.com/firebase/firebase-tools/issues/2533)).
### [`v9.14.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.14.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.13.1...v9.14.0)
- Fix crash when deploying zero functions ([#3520](https://togithub.com/firebase/firebase-tools/issues/3520))
- Increase maximum function ID length to 63 ([#3521](https://togithub.com/firebase/firebase-tools/issues/3521))
- Delete Container Registry images left after Functions deployment ([#3439](https://togithub.com/firebase/firebase-tools/issues/3439))
- Avoid emulator data loss when there an error during export ([#3504](https://togithub.com/firebase/firebase-tools/issues/3504))
- Ask before overwriting `storage.rules` during `firebase init` ([#1833](https://togithub.com/firebase/firebase-tools/issues/1833))
- Release Cloud Firestore Emulator v1.13.0.
### [`v9.13.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.13.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.13.0...v9.13.1)
- Fixes an issue with ext:update where local extension is incorrectly inferred as published ([#3499](https://togithub.com/firebase/firebase-tools/issues/3499))
- Fixes `firebase init hosting:github` ([#3498](https://togithub.com/firebase/firebase-tools/issues/3498))
### [`v9.13.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.13.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.12.1...v9.13.0)
- Adds Warsaw (europe-central2) Cloud Function Location to Firebase Extension template.
- Add sSingapore (asia-southeast1) as a valid Firebase Realtime Database location.
- Fixes `firebase init database` failure when no project is selected ([#2981](https://togithub.com/firebase/firebase-tools/issues/2981))
- Fixes issue where `firebase init database` overwrites entire `firebase.json` ([#3299](https://togithub.com/firebase/firebase-tools/issues/3299))
- Fixes import/export bug with Storage emulator download tokens ([#3414](https://togithub.com/firebase/firebase-tools/issues/3414))
- Improves errors when failing to start Storage emulator ([#3443](https://togithub.com/firebase/firebase-tools/issues/3443))
- Fixes missing download tokens in Storage Emulator ([#3451](https://togithub.com/firebase/firebase-tools/issues/3451))
- Fixes `functions:shell` error with background functions ([#3490](https://togithub.com/firebase/firebase-tools/issues/3490))
### [`v9.12.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.12.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.12.0...v9.12.1)
- Fixes a regression where `timeZone` for scheduled Cloud Functions was always America/Los_Angeles. ([#3425](https://togithub.com/firebase/firebase-tools/issues/3425))
- Fixes an issue where a provided channel ID would be ignored when creating a Firebase Hosting channel. ([#3417](https://togithub.com/firebase/firebase-tools/issues/3417))
- Fixes a regression where HTTPS functions could not be called from `functions:shell` and `emulators:start`. ([#3426](https://togithub.com/firebase/firebase-tools/issues/3426))
### [`v9.12.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.12.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.11.0...v9.12.0)
- Enable running functions in multiple regions in the emulator. ([#3364](https://togithub.com/firebase/firebase-tools/issues/3364))
- Adds the deployed version to the output when deploying to Firebase Hosting. ([#3157](https://togithub.com/firebase/firebase-tools/issues/3157))
- Updates the configured runtime for functions generated by `firebase init functions` from Node.js 12 to 14 ([#3399](https://togithub.com/firebase/firebase-tools/issues/3399))
- Releases Firestore Emulator v1.12.0: supports clearing data partially. ([#3402](https://togithub.com/firebase/firebase-tools/issues/3402))
- Fixes manually setting download tokens in Storage Emulator. ([#3396](https://togithub.com/firebase/firebase-tools/issues/3396))
- Fixes deleting custom metadata in Storage emulator. ([#3385](https://togithub.com/firebase/firebase-tools/issues/3385))
- Fixes errors when calling makePublic() with Storage Emulator([#3394](https://togithub.com/firebase/firebase-tools/issues/3394))
- Fixes mishandling of bytes when uploading two files with the same name in the Storage Emulator ([#3406](https://togithub.com/firebase/firebase-tools/issues/3406))
- Adds support for setting user labels on scheduled functions. ([#3408](https://togithub.com/firebase/firebase-tools/issues/3408))
### [`v9.11.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.11.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.10.2...v9.11.0)
- Adds Cloud Storage for Firebase emulator. ( [#1738](https://togithub.com/firebase/firebase-tools/issues/1738))
- Allows Hosting deploys with no `public` directory when dynamic rewrites or redirects are present. ([#3349](https://togithub.com/firebase/firebase-tools/issues/3349))
- Fixes error where Hosting gets in an undeployable state due to the hash cache having incorrect entries. ([#2126](https://togithub.com/firebase/firebase-tools/issues/2126))
- Improves error handling for the throttler queue, to better diagnose Hosting deploys that fail during the file upload step. ([#2126](https://togithub.com/firebase/firebase-tools/issues/2126))
### [`v9.10.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.10.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.10.1...v9.10.2)
- Bug fixes and Performance Improvements 😉
### [`v9.10.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.10.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.10.0...v9.10.1)
- Include `appId` in web app configuration when using the Hosting emulator ([#2798](https://togithub.com/firebase/firebase-tools/issues/2798)).
- Add support for emulating the `demo-*` project ID namespace with fake Admin and Web SDK configurations ([#3291](https://togithub.com/firebase/firebase-tools/issues/3291)).
- Update Cloud Firestore emulator to v1.11.15 which fixes unexpected PERMISSION_DENIED errors when headers are empty ([#3258](https://togithub.com/firebase/firebase-tools/issues/3258))
- Fix Auth emulator export only exporting 20 users. ([#3311](https://togithub.com/firebase/firebase-tools/issues/3311))
- Update the workflow template generated by `firebase init hosting:github` so that the preview action doesn't attempt to run on PRs from forks ([#3326](https://togithub.com/firebase/firebase-tools/issues/3326))
### [`v9.10.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.10.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.9.0...v9.10.0)
- Migrates Firebase Extensions commands to use registry API.
### [`v9.9.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.9.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.8.0...v9.9.0)
- Fixes native module issues by removing `fast-crc32c` ([#3247](https://togithub.com/firebase/firebase-tools/issues/3247), [#3239](https://togithub.com/firebase/firebase-tools/issues/3239)).
- Adds retries on Quota Exceeded errors during functions deployment ([#2606](https://togithub.com/firebase/firebase-tools/issues/2606), [#1372](https://togithub.com/firebase/firebase-tools/issues/1372)).
- Fixes Firestore Emulator wrong behavior for documents which are created and deleted in a single transaction.
- Fixes header parsing in Firestore Emulator causing permission denined errors with JS SDK v8.3.2 ([#3258](https://togithub.com/firebase/firebase-tools/issues/3258)).
- Fixes an edge case with nextPageToken in batchGet in Auth Emulator ([#3231](https://togithub.com/firebase/firebase-tools/issues/3231)).
- Removes unused dependencies ([#3252](https://togithub.com/firebase/firebase-tools/issues/3252)).
- Adds support for multiple accounts via new commands `login:use`, `login:add` and `login:list`.
### [`v9.8.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.8.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.7.0...v9.8.0)
- Bug fixes and Performance Improvements 😉
### [`v9.7.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.7.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.6.1...v9.7.0)
- Fixes an issue where `ext:dev:init` failed when Typescript was chosen.
- Add support for reading/writing mfaInfo field in Auth Emulator ([#3173](https://togithub.com/firebase/firebase-tools/issues/3173)).
- Work around CORS issues with jsdom in Auth Emulator and Emulator Hub ([#3224](https://togithub.com/firebase/firebase-tools/issues/3224)).
- Fixes port conflict issues with `functions:shell` ([#3210](https://togithub.com/firebase/firebase-tools/issues/3210)).
- Fixes issue where `database:settings:set` would cause an error with valid input ([#3217](https://togithub.com/firebase/firebase-tools/issues/3217)).
### [`v9.6.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.6.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.6.0...v9.6.1)
- Adds `hosting:sites:` commands to allow managing Hosting Sites.
- Fixes extra logging and race conditions when disabling emulated background functions.
### [`v9.6.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.6.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.5.0...v9.6.0)
- Fixes issue where proxied requests to dynamic content through the Hosting emulator would return unexpected `location` headers. ([#3097](https://togithub.com/firebase/firebase-tools/issues/3097))
- Fixes issue where optional extension parameters could not be omitted. ([#3126](https://togithub.com/firebase/firebase-tools/issues/3126))
- Fixes issues with initializing Remote Config ([#3137](https://togithub.com/firebase/firebase-tools/issues/3137))
- Deploying a function with a retry policy will no longer prompt if the function already had a retry policy ([firebase-functions#798](https://togithub.com/firebase-functions/firebase-tools/issues/798))
- Fixes issue where the Firebase Hosting emulator would fail to start with `--only` filters using targets ([#2820](https://togithub.com/firebase/firebase-tools/issues/2820)).
- Fixes issue where `database:remove` fails for large nodes ([#3186](https://togithub.com/firebase/firebase-tools/issues/3186), [#3193](https://togithub.com/firebase/firebase-tools/issues/3193)).
### [`v9.5.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.5.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.4.0...v9.5.0)
- Fixes issue where OOB flow is not initiated after updating a user's email ([#3096](https://togithub.com/firebase/firebase-tools/issues/3096))
- Fixes issue where rules are not applied to the default emulated Realtime Database instance ([#3124](https://togithub.com/firebase/firebase-tools/issues/3124))
- Adds `setup:emulators:ui` command to download the Emulators UI ([#3152](https://togithub.com/firebase/firebase-tools/issues/3152))
- Fixes issue causing timeout errors for eventually successful functions deploys ([#3147](https://togithub.com/firebase/firebase-tools/issues/3147))
- Fixes issue where adding a field to an empty document in Firestore Emulator UI fails
### [`v9.4.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.4.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.3.0...v9.4.0)
- Fixes issue where proxied requests to dynamic content through the Hosting emulator would return unexpected `location` headers. ([#3097](https://togithub.com/firebase/firebase-tools/issues/3097))
- Fixes issue where optional extension parameters could not be omitted. ([#3126](https://togithub.com/firebase/firebase-tools/issues/3126))
- Fixes issue where deploying Cloud Functions for Firebase fails on Node.js v15. ([#3120](https://togithub.com/firebase/firebase-tools/issues/3120))
- Fixes issue where hosting emulator would connect to 0.0.0.0 for emulators. ([#3121](https://togithub.com/firebase/firebase-tools/issues/3121))
- Improves performance and reliability of Cloud Functions for Firebase deployments. ([#3132](https://togithub.com/firebase/firebase-tools/issues/3132))
### [`v9.3.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.3.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.2.2...v9.3.0)
- Adds support for batchDelete in Auth Emulator ([#3091](https://togithub.com/firebase/firebase-tools/issues/3091)).
- Adds support for createSessionCookie in Auth Emulator ([#3094](https://togithub.com/firebase/firebase-tools/issues/3094)).
- Fixes support for using the CLI as a library against locally running emulators ([#3084](https://togithub.com/firebase/firebase-tools/issues/3084)).
### [`v9.2.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.2.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.2.1...v9.2.2)
- Improves handling of compressed content when proxying through the Hosting emulator. ([#3052](https://togithub.com/firebase/firebase-tools/issues/3052), [#3055](https://togithub.com/firebase/firebase-tools/issues/3055))
### [`v9.2.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.2.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.2.0...v9.2.1)
- Catches errors while updating authorized domains when deleting channels, printing a warning instead of failing.
- Fixes issue where `host` header was being incorrectly set when proxying to Cloud Run or Cloud Functions for Firebase from the Hosting emulator. ([#3012](https://togithub.com/firebase/firebase-tools/issues/3012))
- Adds support for setting availableMemoryMb to 4GB in the Cloud Functions for Firebase emulator. ([#3026](https://togithub.com/firebase/firebase-tools/issues/3026))
- Fixes issue where emulated HTTP functions would crash when the URL contained query parameters ([#3032](https://togithub.com/firebase/firebase-tools/issues/3032))
- Fixes issue with routing to emulated HTTP functions in regions outside of `us-central1` ([#3031](https://togithub.com/firebase/firebase-tools/issues/3031))
- Fixes issue where authorized domains were not being correctly updated when deploying to Hosting channels. ([#3002](https://togithub.com/firebase/firebase-tools/issues/3002))
- Fixes issue where the User-Agent was being overridden when proxying through the Hosting emulator. ([#2970](https://togithub.com/firebase/firebase-tools/issues/2970))
- Fixes issue where Firestore Emulator wrongly triggers events on deleting an nonexistent document ([#3043](https://togithub.com/firebase/firebase-tools/issues/3043)).
- Adds `root: true` to lint configurations for newly initialized functions directories to prevent it being combined with a higher level config. ([#2925](https://togithub.com/firebase/firebase-tools/issues/2925))
- Fixes issue where Auth emulator APIs require Oauth security for incoming requests. ([#3044](https://togithub.com/firebase/firebase-tools/issues/3044))
### [`v9.2.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.2.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.1.2...v9.2.0)
- Improves logging for `emulators:start` and `emulators:exec` ([#3020](https://togithub.com/firebase/firebase-tools/issues/3020)).
- Add warning when a developer is using yarn@2 PnP ([#2198](https://togithub.com/firebase/firebase-tools/issues/2198)).
- Fixes incorrect URLs reported inside emulated HTTPS functions ([#1862](https://togithub.com/firebase/firebase-tools/issues/1862)).
- Updates underlying timeout handler when proxying through the Hosting emulator.
- Adds support for installing [experimental extensions](https://togithub.com/FirebaseExtended/experimental-extensions) ([#2830](https://togithub.com/firebase/firebase-tools/issues/2830)).
- Adds support for setting ingressSettings when deploying Cloud Functions ([#2924](https://togithub.com/firebase/firebase-tools/issues/2924)).
### [`v9.1.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.1.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.1.1...v9.1.2)
- Fixes `firebase init` error when no arguments pased ([#3000](https://togithub.com/firebase/firebase-tools/issues/3000))
- Fixes `firebase serve` error when serving Functions ([#3000](https://togithub.com/firebase/firebase-tools/issues/3000))
### [`v9.1.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.1.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.1.0...v9.1.1)
- Allows more than 100 concurrent connections to the Realtime Database emulator.
- Fixes incorrect `databaseURL` inside the Cloud Functions emulator for new projects ([#2965](https://togithub.com/firebase/firebase-tools/issues/2965)).
- Fixes function URLs when emulating namespaced/grouped Cloud Functions ([#2966](https://togithub.com/firebase/firebase-tools/issues/2966)).
- Supports using `firebase-bolt` installed in local `node_modules` ([#767](https://togithub.com/firebase/firebase-tools/issues/767)).
- Fixes issue where Auth triggers were not disabled when background trigges were disabled.
- Re-adds support for proxying HTTP requests in a new underlying library ([#2927](https://togithub.com/firebase/firebase-tools/issues/2927)).
- Updates the Cloud Functions for Firebase templates used in initialization ([#2919](https://togithub.com/firebase/firebase-tools/issues/2919)).
### [`v9.1.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.1.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.0.1...v9.1.0)
- Improves error handling for `firestore:delete` when deleting very large documents.
- Support batchCreate API in Auth Emulator ([#2947](https://togithub.com/firebase/firebase-tools/issues/2947)).
- Support emulators:export and import for Auth Emulator ([#2955](https://togithub.com/firebase/firebase-tools/issues/2955)).
- Fixes issue with `firebase init database` populating wrong key for `database.rules`.
- Fixes Emulator UI failing to load Firestore listening on 0.0.0.0.
### [`v9.0.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.0.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v9.0.0...v9.0.1)
- Fixes "checkForNode8 is not a function" issue in `firebase deploy` ([#2944](https://togithub.com/firebase/firebase-tools/issues/2944)).
### [`v9.0.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v9.0.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.20.0...v9.0.0)
- Breaking: Drops support for Node.js 8.
- Breaking: Disables deploys of the deprecated Node.js 8 runtime for Cloud Functions. **Existing Node.js 8 functions will stop executing on 2021-03-15.**
- Updates several dependencies that require Node.js >= 10 to fix `npm audit` issues.
### [`v8.20.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.20.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.19.0...v8.20.0)
- Shows missing documents in Emulator UI Firestore viewer.
- Better supports paths with special characters in Emulator UI Firestore viewer.
- Fixes generating email link from Admin SDK failing with Auth Emulator ([#2933](https://togithub.com/firebase/firebase-tools/issues/2933)).
- Fixes issue where multiple set-cookie headers were being proxied incorrectly in proxied responses through the Firebase Hosting emulator ([#2931](https://togithub.com/firebase/firebase-tools/issues/2931)).
### [`v8.19.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.19.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.18.1...v8.19.0)
- Adds Node.js 14 (Beta) runtime support to Cloud Functions for Firebase.
### [`v8.18.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.18.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.18.0...v8.18.1)
- Fixes issue where emulated functions were not receiving all expected headers.
### [`v8.18.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.18.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.17.0...v8.18.0)
- Adds [i18n rewrites](https://firebase.google.com/docs/hosting/i18n-rewrites) to the Firebase Hosting emulator.
- Changes Auth Emulator IDP sign-in to always return an access token.
- Adds new Cloud Functions regions and new versions of `firebase-functions` and `firebase-admin` to `ext:dev:init` templates.
- Fixes unclear error messages when trying to enable APIs that require billing on projects without a billing account.
- Adds support for specifying the service account a Cloud Function should run as, by setting the `serviceAccount` in `functions.runWith()`.
- Fixes Firestore Emulator listCollectionId not returning collections with nested docs.
- Fixes Firestore Emulator listDocuments with showMissing returning 500 errors.
- Adds additional logging when deploying to a Firebase Hosting preview channel.
### [`v8.17.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.17.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.16.2...v8.17.0)
- Fixes issue where `database:get` would not completely finish writing to the output file.
- Updates Firebase Hosting emulator's code to not use the deprecated `request` module.
- Fixes race condition with disabling of background triggers ([#2857](https://togithub.com/firebase/firebase-tools/issues/2857)).
- Supports != and not-in queries in Firestore viewer in Emulator UI.
- Shows filtered values when sorted in the Firestore Emulator UI.
- Shows spaces in field keys in the Firestore Emulator UI.
- Fixes Auth Emulator UI not including project ID in API calls.
- Fixed an issue in the emulated auth widget UI where there would be an error if one of the opener frames was a cross-origin frame.
- Adds default RTDB instance creation and API enablement to `firebase init`.
### [`v8.16.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.16.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.16.1...v8.16.2)
- Fixes issue when running in a Node 8 environment where `URL` was not defined. ([#2817](https://togithub.com/firebase/firebase-tools/issues/2817))
- Sets `FIREBASE_AUTH_EMULATOR_HOST` in `emulators:exec`.
- Updates roles for Firebase Hosting's channels GitHub action to allow the action to update authorized domains.
### [`v8.16.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.16.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.16.0...v8.16.1)
- Fixes issue in setting data in Firebase Realtime Database. ([#2814](https://togithub.com/firebase/firebase-tools/issues/2814))
### [`v8.16.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.16.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.15.1...v8.16.0)
- Adds support for the `europe-west1` region for Firebase Realtime Database.
- Fixes an issue where the `${param:FOO}` syntax for Firebase Extensions did not work with the emulator.
- Fixes issue in `database:settings:get` where the value wasn't being properly displayed.
- Fixes Firebase Console URLs for Firebase Realtime Database `database:push`, `database:set`, and `database:update` commands.
### [`v8.15.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.15.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.15.0...v8.15.1)
- Works around Java emulators + WSL connectivity issues.
- Fixes normalization when creating/deploying Firebase Hosting channels.
- Release RTDB emulator 4.7.1 out-of-region request error fix
### [`v8.15.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.15.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.14.1...v8.15.0)
- Fixes Cloud Function inspection when using standalone binary release ([#2740](https://togithub.com/firebase/firebase-tools/issues/2740))
- Fix Database emulator crash on invalid `.validate` rules ([#2734](https://togithub.com/firebase/firebase-tools/issues/2734))
- Fix Database emulator rejecting Auth emulator tokens.
- Fixes lookup empty results using Admin SDK in Auth Emulator.
- Automatically connects to other running emulators from the Firebase Hosting emulator.
### [`v8.14.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.14.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.14.0...v8.14.1)
- Fixes issue in `hosting:channel` commands where a Firebase Hosting target may cause configuration parsing issues ([#2746](https://togithub.com/firebase/firebase-tools/issues/2746)).
### [`v8.14.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.14.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.13.1...v8.14.0)
- Restores the ability to specify a Hosting `site` (configured in `firebase.json`) as a deploy `--only` target. ([#2731](https://togithub.com/firebase/firebase-tools/issues/2731))
- Introduces the Firebase Authentication Emulator.
### [`v8.13.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.13.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.13.0...v8.13.1)
- Fixes incorrect defaults when using commands from Node.js ([#2672](https://togithub.com/firebase/firebase-tools/issues/2672))
- Fixes issue where deploys would fail when including both Firebase Hosting and Realtime Database ([#2726](https://togithub.com/firebase/firebase-tools/issues/2726))
### [`v8.13.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.13.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.12.1...v8.13.0)
- Updates the Google Cloud Run proxy API calls to `v1` (from `v1alpha1`) ([#2695](https://togithub.com/firebase/firebase-tools/issues/2695)).
- Release RTDB emulator v4.6.0: Get wire protocol with optional query.
- Updates Cloud Functions for Firebase templates to use Node 12 and better support function development.
- Release Firestore emulator v1.11.9: Fixes != and not-in operators.
- Add endpoints to enable/disable background triggers in the Cloud Functions emulator.
- Fixes `TypeError` that arises when trying to deploy with Firebase Hosting targets that don't exist in the project's firebase.json ([#1232](https://togithub.com/firebase/firebase-tools/issues/1232)).
- Updates `firebase hosting:channel:delete` to remove the channel from the authorized domains list.
- Add custom claims to auth:export and auth:import.
- Fixes input issue when prompting for a Hosting Channel name.
- Fixes commands that rely on default RTDB instance.
### [`v8.12.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.12.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.12.0...v8.12.1)
- Fixes issue where database export does not work if database is empty ([#2634](https://togithub.com/firebase/firebase-tools/issues/2634)).
- Fixes an issue where `firebase init hosting:github` did not write yml files to the correct location ([#2688](https://togithub.com/firebase/firebase-tools/issues/2688)).
### [`v8.12.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v8.12.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v8.11.2...v8.12.0)
- Adds the `hosting:channel:*` commands for interacting with Firebase Hosting Preview Channels.
- Adds the `hosting:clone` command for cloning versions between Hosting Preview Channels or Sites.
- Introduces an option to [set up automated deployments with GitHub](https://firebase.google.com/docs/hosting/github-integration) when initializing Hosting.
- Fixe
This PR contains the following updates:
7.1.0
->10.7.2
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
firebase/firebase-tools
### [`v10.7.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.7.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.7.1...v10.7.2) - Updates `superstatic` to `v8` to fix audit issues. - Make grantToken tenant-aware ([#4475](https://togithub.com/firebase/firebase-tools/issues/4475)) - Fix database emulator rules error parsing ([#4454](https://togithub.com/firebase/firebase-tools/issues/4454)). - Fix timestamp format in Auth Emulator events ([#3093](https://togithub.com/firebase/firebase-tools/issues/3093)). - Fix `TypeError: Invalid Version:` error when emulating functions ([#4403](https://togithub.com/firebase/firebase-tools/issues/4403)). - Fix issue with creating folders from Storage Emulator UI ([https://github.com/firebase/firebase-tools-ui/issues/738](https://togithub.com/firebase/firebase-tools-ui/issues/738)). - Fix Storage Emulator showing folder placeholders in list results. ### [`v10.7.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.7.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.7.0...v10.7.1) - Fixes bug where API enablement failed. ([#4467](https://togithub.com/firebase/firebase-tools/issues/4467)) ### [`v10.7.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.7.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.6.0...v10.7.0) - Fix URL with wrong host returned in storage resumable upload ([#4374](https://togithub.com/firebase/firebase-tools/issues/4374)). - Fixes Firestore emulator transaction expiration and reused bug. - Fixes Firestore emulator deadlock bug. [#2452](https://togithub.com/firebase/firebase-tools/issues/2452) - Ensure that the hosting emulator port is not claimed by OSX ([#4415](https://togithub.com/firebase/firebase-tools/issues/4415)). - Improves support for prerelease versions in `ext:dev:publish` ([#4244](https://togithub.com/firebase/firebase-tools/issues/4244)). - Fixes console error on large uploads to Storage Emulator ([#4407](https://togithub.com/firebase/firebase-tools/issues/4407)). - Fixes cross-platform incompatibility with Storage Emulator exports ([#4411](https://togithub.com/firebase/firebase-tools/issues/4411)). - Fixes issue where function deployment errored on projects without secrets ([#4425](https://togithub.com/firebase/firebase-tools/issues/4425)). - Adds a blocking trigger type ([#4395](https://togithub.com/firebase/firebase-tools/issues/4395)). - Removes verbose HTTP responses from debug logs ([#4428](https://togithub.com/firebase/firebase-tools/issues/4428)) - Releases Cloud Firestore Emulator v1.14.3: fixes [#4336](https://togithub.com/firebase/firebase-tools/issues/4336). ### [`v10.6.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.6.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.5.0...v10.6.0) - Improve error messages when using alpha features without being in the alpha program ([#4354](https://togithub.com/firebase/firebase-tools/issues/4354)) - Fixes bug where resumable uploads were not setting custom metadata on upload ([#3398](https://togithub.com/firebase/firebase-tools/issues/3398)). - Fixes bug where GCS metadataUpdate cloud functions were triggered in incorrect situations ([#3398](https://togithub.com/firebase/firebase-tools/issues/3398)). - Fixes bug where quoted escape sequences in .env files were incompletely unescaped. ([#4270](https://togithub.com/firebase/firebase-tools/issues/4270)) - Fixes Storage Emulator ruleset file watcher ([#4337](https://togithub.com/firebase/firebase-tools/issues/4337)). - Fixes issue with importing Storage Emulator data exported prior to v10.3.0 ([#4358](https://togithub.com/firebase/firebase-tools/issues/4358)). - Adds ergonomic improvements to CF3 secret commands to automatically redeploy functions and delete unused secrets ([#4130](https://togithub.com/firebase/firebase-tools/issues/4130)). - Fixes issue with alpha users setting timeouts ([#4381](https://togithub.com/firebase/firebase-tools/issues/4381)) ### [`v10.5.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.5.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.4.2...v10.5.0) - Release Cloud Firestore emulator v1.14.1: - Adds support of x-goog-request-params http header for routing. - Changes `read-past-max-staleness` error code to align with production implementation. - Updates readtime-in-the-future error message. - Supports importing exports from Windows on UNIX systems. ([#2421](https://togithub.com/firebase/firebase-tools/issues/2421)) - Marks Java 10 and below as deprecated. Support will be dropped in Firebase CLI v11. Please upgrade to Java version 11 or above to continue using the emulators. ([#4347](https://togithub.com/firebase/firebase-tools/issues/4347)) ### [`v10.4.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.4.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.4.1...v10.4.2) - Fixes an issue where some valid Cloud Functions for Firebase names would not pass validation in the Functions emulator ([#4352](https://togithub.com/firebase/firebase-tools/issues/4352)). ### [`v10.4.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.4.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.4.0...v10.4.1) - Upgrade Storage Rules Runtime to v1.0.2. - Adds support for an environment variable `FIREBASE_HOSTING_UPLOAD_CONCURRENCY` to specify custom levels of Hosting upload concurrency (defaults to 200). - Fixes error handling in `auth:export` when API calls would fail. - Fixes bug where new callable functions were not publicly accessible. ([#4327](https://togithub.com/firebase/firebase-tools/issues/4327)) ### [`v10.4.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.4.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.3.1...v10.4.0) - Adds support for configuration with multiple storage targets ([#4281](https://togithub.com/firebase/firebase-tools/issues/4281)). - Fixes bug where callable functions couldn't be emulated ([#4314](https://togithub.com/firebase/firebase-tools/issues/4314)). ### [`v10.3.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.3.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.3.0...v10.3.1) - Fixes bug where deploying callable functions failed ([#4310](https://togithub.com/firebase/firebase-tools/issues/4310)). ### [`v10.3.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.3.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.2.2...v10.3.0) - Fixes bug where functions' memory configurations weren't preserved in batched function deploys ([#4253](https://togithub.com/firebase/firebase-tools/issues/4253)). - Adds --local flag to ext:install, ext:update, ext:configure, and ext:uninstall, to save changes to firebase.json instead of deploying immediately. - `ext:export` now uses stable ordering for params in .env files ([#4256](https://togithub.com/firebase/firebase-tools/issues/4256)). - Adds alerting event provider ([#4258](https://togithub.com/firebase/firebase-tools/issues/4258)). - Fixes bug where project-specific environment variables weren't loaded by the Functions Emulator ([#4273](https://togithub.com/firebase/firebase-tools/issues/4273)). - Fixes bug where CORS was enabled too broadly on the Functions emulator ([#4294](https://togithub.com/firebase/firebase-tools/issues/4294)). - Adds `rewriteTo` / `copyTo` endpoints to Cloud Storage Emulator ([#3647](https://togithub.com/firebase/firebase-tools/issues/3647), [#3751](https://togithub.com/firebase/firebase-tools/issues/3751)). - Addes `createReadStream` support to Cloud Storage Emulator ([#3469](https://togithub.com/firebase/firebase-tools/issues/3469)). - Fixes `list` endpoint in Cloud Storage Emulator ([#3647](https://togithub.com/firebase/firebase-tools/issues/3647)). - Fixes `getFiles` for Cloud Storage Emulator ([#3778](https://togithub.com/firebase/firebase-tools/issues/3778)). - Fixes `exists` for Cloud Storage Emulator ([#3764](https://togithub.com/firebase/firebase-tools/issues/3764)). ### [`v10.2.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.2.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.2.1...v10.2.2) - Updates reserved environment variables for CF3 to include 'EVENTARC_CLOUD_EVENT_SOURCE' ([#4196](https://togithub.com/firebase/firebase-tools/issues/4196)). - Fixes arg order for `firebase emulators:start --only storage` ([#4195](https://togithub.com/firebase/firebase-tools/issues/4195)). - Fixes iOS auth for resumable uploads in Storage Emulator ([#4184](https://togithub.com/firebase/firebase-tools/issues/4184)). - Fixes Storage Emulator crash on iOS auth error for resumable uploads ([#4210](https://togithub.com/firebase/firebase-tools/issues/4210)). - Fixes bug where environment variable for gen 2 functions weren't updated on deploy ([#4209](https://togithub.com/firebase/firebase-tools/issues/4209)). - Fixes an issue in the storage emulator where a file upload would trigger functions with a metadata update handler ([#4213](https://togithub.com/firebase/firebase-tools/issues/4213)). - Fixes Storage Emulator rules resource evaluation ([#4214](https://togithub.com/firebase/firebase-tools/issues/4214)). - Fixes bug where securityLevel is overwritten on https function re-deploys ([#4208](https://togithub.com/firebase/firebase-tools/issues/4208)). - Fixes bug where functions emulator ignored functions.runtime option in firebase.json ([#4207](https://togithub.com/firebase/firebase-tools/issues/4207)). - Fixes bug where functions emulator triggered wrong functions when started with --inspect-functions flag ([#4232](https://togithub.com/firebase/firebase-tools/issues/4232)). - Updates functions init template to use latest versions of dependencies of functions init ([#4177](https://togithub.com/firebase/firebase-tools/issues/4177)). ### [`v10.2.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.2.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.2.0...v10.2.1) - Fixes an issue where ext:list was not printing out information about installed Extension instances ([#4156](https://togithub.com/firebase/firebase-tools/issues/4156)) - Fixes issue where Functions Emulator crashed when parsing triggers if accessing functions config values ([#4162](https://togithub.com/firebase/firebase-tools/issues/4162)). - `firebase emulators:start --export-on-exit