firebase/firebase-tools (firebase-tools)
### [`v11.21.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.21.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.20.0...v11.21.0)
- Fix bug where CLI was unable to deploy Firebase Functions in some monorepo setups ([#5391](https://togithub.com/firebase/firebase-tools/issues/5391))
- Upgrade Storage Rules Runtime to v1.1.3 to support ternary operators ([#5370](https://togithub.com/firebase/firebase-tools/issues/5370))
- Fixes an issue where already deployed functions with the same remote configuration do not get skipped ([#5354](https://togithub.com/firebase/firebase-tools/issues/5354))
- App Distribution: Links to new releases are now available. These links help you manage binaries and ensure that testers and other developers have the right release. ([#5405](https://togithub.com/firebase/firebase-tools/issues/5405))
### [`v11.20.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.20.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.19.0...v11.20.0)
- Fixes a bug in the pubsub emulator by forcing a shutdown if it didn't end cleanly. ([#5294](https://togithub.com/firebase/firebase-tools/issues/5294))
- Fixes an issue where dependencies for emulated Extensions would not be installed on Windows - thanks [@stfsy](https://togithub.com/stfsy)! ([#5372](https://togithub.com/firebase/firebase-tools/issues/5372))
- Adds emulator support for Extensions with schedule triggers - thanks [@stsfy](https://togithub.com/stsfy)! ([#5374](https://togithub.com/firebase/firebase-tools/issues/5374))
- Update the Emulator Suite UI to v1.11.2 to capture a set of accessibility improvements. ([#5394](https://togithub.com/firebase/firebase-tools/issues/5394))
- Fixes an issue in the Functions emulator where secret values were undefined after hot reload with the `--inspect-functions` flag. ([#5384](https://togithub.com/firebase/firebase-tools/issues/5384))
- Fixes a bug where functions:delete command did not recognize '-' as delimiter. ([#5290](https://togithub.com/firebase/firebase-tools/issues/5290))
- Reintroduces an updated Hosting emulator with i18n ([#4879](https://togithub.com/firebase/firebase-tools/issues/4879)) and Windows path ([#5133](https://togithub.com/firebase/firebase-tools/issues/5133)) fixes.
### [`v11.19.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.19.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.18.0...v11.19.0)
- Support for string list typed parameters in functions deployment ([#5137](https://togithub.com/firebase/firebase-tools/issues/5137))
- Respect .npmrc in backends spun up for web frameworks ([#5235](https://togithub.com/firebase/firebase-tools/issues/5235))
- Remove esbuild dependency, instead bundle Next.js configuration on deploy with NPX ([#5336](https://togithub.com/firebase/firebase-tools/issues/5336))
- Add sharp NPM module to Cloud Functions when using Next.js Image Optimization ([#5238](https://togithub.com/firebase/firebase-tools/issues/5238))
- Adds user-defined env vars into the functions emulator ([#5330](https://togithub.com/firebase/firebase-tools/issues/5330)).
- Support Next.js Middleware ([#5320](https://togithub.com/firebase/firebase-tools/issues/5320))
- Log the reason for a Cloud Function if needed in Next.js ([#5320](https://togithub.com/firebase/firebase-tools/issues/5320))
- Fixed service enablement when installing extensions with v2 functions ([#5338](https://togithub.com/firebase/firebase-tools/issues/5338))
- Fix bug where functions:shell command didn't connect to emulators running on other processes. ([#5269](https://togithub.com/firebase/firebase-tools/issues/5269))
- Fixed bug with Cross-Service Rules integration for Firestore documents containing nulls ([#5342](https://togithub.com/firebase/firebase-tools/issues/5342))
### [`v11.18.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.18.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.17.0...v11.18.0)
- Add support for Firestore TTL ([#5267](https://togithub.com/firebase/firebase-tools/issues/5267))
- Fix bug where secrets were not loaded when emulating functions with `--inpsect-functions`. ([#4605](https://togithub.com/firebase/firebase-tools/issues/4605))
- Handle Next.js rewrites/redirects/headers incompatible with `firebase.json` in Cloud Functions ([#5212](https://togithub.com/firebase/firebase-tools/issues/5212))
- Filter out Next.js prerendered routes that matches rewrites/redirects/headers rules from SSG content directory ([#5212](https://togithub.com/firebase/firebase-tools/issues/5212))
- Warn if a web framework's package.json contains anything other than the framework default build command.
- Add support for nodejs18 for Cloud Functions for Firebase ([#5319](https://togithub.com/firebase/firebase-tools/issues/5319))
### [`v11.17.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.17.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.16.1...v11.17.0)
- Fix bug where disabling background triggers did nothing. ([#5221](https://togithub.com/firebase/firebase-tools/issues/5221))
- Fix bug in auth emulator where empty string should throw invalid email instead of missing email. ([#3898](https://togithub.com/firebase/firebase-tools/issues/3898))
- Fix bug in auth emulator in which createdAt was not set for signInWithIdp new users. ([#5203](https://togithub.com/firebase/firebase-tools/issues/5203))
- Add region warning for emulated database functions ([#5143](https://togithub.com/firebase/firebase-tools/issues/5143))
- Default to --no-localhost when calling login from Google Cloud Workstations
- Support the x-goog-api-key header in auth emulator. ([#5249](https://togithub.com/firebase/firebase-tools/issues/5249))
- Fix bug in deploying web frameworks when a predeploy hook was configured in firebase.json ([#5199](https://togithub.com/firebase/firebase-tools/issues/5199))
- Fix bug where function deployments using --only filter sometimes failed deployments. ([#5280](https://togithub.com/firebase/firebase-tools/issues/5280))
- Fix bug where `ext:install` would sometimes fail if no version was specified. ([#5305](https://togithub.com/firebase/firebase-tools/issues/5305))
### [`v11.16.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.16.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.16.0...v11.16.1)
- Updated the pubsub emulator to v0.7.1.
- Updated some emulator download logic to pause after unzipping to avoid a file not found issue.
- Fixes gzipped file handling in Storage Emulator.
- Add support for object list using certain Admin SDKs ([#5208](https://togithub.com/firebase/firebase-tools/issues/5208))
- Fixes source token expiration issue by acquiring new source token upon expiration.
- Fixes bug where emulated event triggered function broke in debug mode ([#5211](https://togithub.com/firebase/firebase-tools/issues/5211))
- Fixes bug that caused the Extensions Emulator to always appear to be inactive in the Emulator UI.
### [`v11.16.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.16.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.15.0...v11.16.0)
- Fixes an issue where an error during product provisioning check would block `firebase deploy --only extensions` ([#5074](https://togithub.com/firebase/firebase-tools/issues/5074)).
- Releases RTDB Emulator v4.11.0: Wire protocol update for `startAfter`, `endBefore`.
- Changes `superstatic` dependency to `v8`, addressing Hosting emulator issues on Windows.
- Fixes internal library that was not being correctly published.
- Add support for Next.js 13 in firebase deploy.
- Next.js routes with revalidate are now handled by the a backing Cloud Function.
- Adds `--disable-triggers` flag to RTDB write commands.
- Default enables experiment to skip deploying unmodified functions ([#5192](https://togithub.com/firebase/firebase-tools/issues/5192))
- Default enables experiment to allow parameterized functions codebases ([#5192](https://togithub.com/firebase/firebase-tools/issues/5192))
- Fixes parallel requests in the functions emulator ([#5149](https://togithub.com/firebase/firebase-tools/issues/5149)).
- Unspecified functions concurrency will shift between the defaults of 1 or 80 when CPU is changed to support/not support concurrency ([#5196](https://togithub.com/firebase/firebase-tools/issues/5196))
### [`v11.15.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.15.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.4...v11.15.0)
Fix a bug where next.js applications would fail to deploy if they did not have a public dir ([#5142](https://togithub.com/firebase/firebase-tools/issues/5142))
### [`v11.14.4`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.4)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.3...v11.14.4)
- Fixes a crash in integer params when a default value is selected in the prompt. ([#5118](https://togithub.com/firebase/firebase-tools/issues/5118))
- Fixes error handling for auth blocking functions.
- Fixes bug preventing Storage Rules from updating when ruleset compilation completed successfully but with warnings
### [`v11.14.3`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.3)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.2...v11.14.3)
- Fixes issue where errors were not properly propagating when listing backends. ([#5071](https://togithub.com/firebase/firebase-tools/issues/5071))
- Fixes issue where message from `-m` on deploy was not being properly applied. ([#5107](https://togithub.com/firebase/firebase-tools/issues/5107))
- Fixes error `EADDRNOTAVAIL` when running emulators in Docker.
- Fixes further issues where ports were not correctly recognized as unavailable.
### [`v11.14.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.1...v11.14.2)
- Enable single project mode for the database emulator ([#5068](https://togithub.com/firebase/firebase-tools/issues/5068)).
- Ravamp emulator networking to assign ports early and explictly listen on IP addresses ([#5083](https://togithub.com/firebase/firebase-tools/issues/5083)).
- Emulator UI and hub now listen on both IPv4 and IPv6 address by default (if possible) ([#5088](https://togithub.com/firebase/firebase-tools/issues/5088)).
- Fix Firestore emulator excessive logs about discovery endpoint not found ([#5088](https://togithub.com/firebase/firebase-tools/issues/5088)).
### [`v11.14.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.0...v11.14.1)
- Enables single project mode for the auth emulator ([#5068](https://togithub.com/firebase/firebase-tools/issues/5068)).
- Fixes issue deploying to Hosting with i18n enabled.
- Fixes issue where deploying to Hosting without Functions permissions would cause deployments to fail with 403 "Permission Denied" errors. ([#5071](https://togithub.com/firebase/firebase-tools/issues/5071))
- Fixes issue where Firestore Emulator UI Requests tab wrongly show error requiring updates ([#5051](https://togithub.com/firebase/firebase-tools/issues/5051))
- Fixes issue where Hosting configurations were being validated before predeploys could have been run ([#5072](https://togithub.com/firebase/firebase-tools/issues/5072)).
### [`v11.14.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.13.0...v11.14.0)
- Add functions emulator support for RTDB v2 triggers ([#5045](https://togithub.com/firebase/firebase-tools/issues/5045)).
- Enables single project mode for Firestore by default ([#4890](https://togithub.com/firebase/firebase-tools/issues/4890)).
- Add Emulator UI support for HTTPS, launching UI v1.10.0 ([#5065](https://togithub.com/firebase/firebase-tools/issues/5065)).
### [`v11.13.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.13.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.12.0...v11.13.0)
- Add the "experiments" family of commands ([#4994](https://togithub.com/firebase/firebase-tools/issues/4994))
- Enable detecting and skipping no-op function deploys ([#5032](https://togithub.com/firebase/firebase-tools/issues/5032)).
- Catches errors when fetching CLI MOTD, allowing process to continue ([#4998](https://togithub.com/firebase/firebase-tools/issues/4998)).
- Adds test lab triggers to firebase deploy ([#5011](https://togithub.com/firebase/firebase-tools/issues/5011)).
### [`v11.12.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.12.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.11.0...v11.12.0)
- Allow Firestore emulator UI websocket port to be configurable ([#4925](https://togithub.com/firebase/firebase-tools/issues/4925)).
- Fixes `init functions` throwing error when detecting existing legacy singleton functions configuration ([#5020](https://togithub.com/firebase/firebase-tools/issues/5020)).
- Removes unused dependency, updates `vm2` dependency flagged by `npm audit`.
- Fixes issue resolving a Hosting site using `open`. ([#3145](https://togithub.com/firebase/firebase-tools/issues/3145))
### [`v11.11.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.11.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.10.0...v11.11.0)
- Adds support for codebases in `firebase init functions` flow ([#4965](https://togithub.com/firebase/firebase-tools/issues/4965)).
- Fixes storage emulator resumable uploads ([#5018](https://togithub.com/firebase/firebase-tools/issues/5018))
- Fixes errors on exit related to `update-notifier` ([#5010](https://togithub.com/firebase/firebase-tools/issues/5010)).
- Removes dev dependencies on module publication to reduce package size ([#4445](https://togithub.com/firebase/firebase-tools/issues/4445)).
### [`v11.10.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.10.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.9.0...v11.10.0)
- Fix Storage Emulator crashing with NoClassDefFoundError in some cases ([#3481](https://togithub.com/firebase/firebase-tools/issues/3481)).
- Refactor mechanism for invoking function triggers ([#4886](https://togithub.com/firebase/firebase-tools/issues/4886)).
- Add support for `HTTP_PROXY` and `HTTPS_PROXY` environment variables to `crashlytics:mappingfile:upload` and `crashlytics:symbols:upload` commands ([#4604](https://togithub.com/firebase/firebase-tools/issues/4604)).
- Fix Emulators not shutting down / exporting correctly when CLI update available ([#4981](https://togithub.com/firebase/firebase-tools/issues/4981)).
- Adds `access-control-allow-private-network=true` header to Auth and Storage emulators. Enables accessing at localhost:port when site is exposed via tunnel ([#4227](https://togithub.com/firebase/firebase-tools/issues/4227)).
- Improves detection of in-use ports for Hosting Emulator on macOS ([#4628](https://togithub.com/firebase/firebase-tools/issues/4628)).
- Add Eventarc multi-db triggers support to RTDB Emulator ([#5000](https://togithub.com/firebase/firebase-tools/issues/5000)).
### [`v11.9.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.9.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.8.1...v11.9.0)
- Add v2 Remote Config triggers to deploy ([#4937](https://togithub.com/firebase/firebase-tools/issues/4937)).
- Fixes issue where large CF3 releases were failing to deploy ([#4969](https://togithub.com/firebase/firebase-tools/issues/4969))
### [`v11.8.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.8.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.8.0...v11.8.1)
- Fix bug where secrets were not attached to functions when using older Functions SDK ([#4797](https://togithub.com/firebase/firebase-tools/issues/4797)).
- Increase timeout of the Functions Emulator to wait for spawned process to initialize ([#4944](https://togithub.com/firebase/firebase-tools/issues/4944)).
- Fix bug where Storage Emulator did not convert non-string metadata value as key ([#4955](https://togithub.com/firebase/firebase-tools/issues/4955)).
### [`v11.8.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.8.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.7.0...v11.8.0)
- Adds support for media upload protocol to storage emulator ([#4869](https://togithub.com/firebase/firebase-tools/issues/4869))
- Adds support to storage emualtor GCS API for /storage/v1/b/:bucketId/o/:objectId url pattern ([#4869](https://togithub.com/firebase/firebase-tools/issues/4869))
- Removes extraneous default metadata fields from storage emulator ([#4869](https://togithub.com/firebase/firebase-tools/issues/4869))
- Fixes an issue where a blocked upload from the android sdks crashes the storage emulator ([#4860](https://togithub.com/firebase/firebase-tools/issues/4860))
- Fix deleting metadata fields in storage emulator ([#4889](https://togithub.com/firebase/firebase-tools/issues/4889))
- Fix storage emulator bug where rapid calls to the rules runtime results in no returns and non-resolving promises ([#3915](https://togithub.com/firebase/firebase-tools/issues/3915))
### [`v11.7.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.7.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.6.0...v11.7.0)
- Fix bug where CLI configured wrong cpu for 16GB/32GB v2 functions. ([#4845](https://togithub.com/firebase/firebase-tools/issues/4845))
- Adds `crashlytics:mappingfile:generateid` and `crashlytics:mappingfile:upload` commands. ([#4611](https://togithub.com/firebase/firebase-tools/issues/4611))
- Add v2 Schedule Triggers to function deploy ([#4764](https://togithub.com/firebase/firebase-tools/issues/4764)).
- Fix bug where eventarc emulator was incorrectly started in certain cases ([#4873](https://togithub.com/firebase/firebase-tools/issues/4873))
### [`v11.6.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.6.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.5.0...v11.6.0)
- Fixes an issue where pushing an empty buffer from the android sdks crashes the storage emulator ([#4843](https://togithub.com/firebase/firebase-tools/issues/4843))
- Adds emulation support for extensions that emit events / custom event triggers ([#4464](https://togithub.com/firebase/firebase-tools/issues/4464))
- Fixes issue with batchCreate in auth emulator in which it errored for empty mfaInfo ([#4848](https://togithub.com/firebase/firebase-tools/issues/4848))
- Fixes scroll bars in the Firestore Emulator UI
### [`v11.5.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.5.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.4.2...v11.5.0)
- Turns on content compression in the Hosting emulator. ([#2328](https://togithub.com/firebase/firebase-tools/issues/2328))
- Replaces underlying terminal coloring library.
- Makes storage emulator multipart parsing handle quotes in boundary header. ([#3953](https://togithub.com/firebase/firebase-tools/issues/3953))
- Makes storage emulator content type case insensitive. ([#3953](https://togithub.com/firebase/firebase-tools/issues/3953))
- Adds storage emulator support to init.js useEmulator flag. ([#4805](https://togithub.com/firebase/firebase-tools/issues/4805))
- Populates resource correctly in storage rules evaluation. ([#4329](https://togithub.com/firebase/firebase-tools/issues/4329))
- Reads name from metadata as backup for gcs upload into storage emulator. ([#3953](https://togithub.com/firebase/firebase-tools/issues/3953))
- Fixes bug where invalid CPU was set for 16GiB functions. ([#4823](https://togithub.com/firebase/firebase-tools/issues/4823))
- Fixes bug where failed function discovery crashed the entire emulator. ([#4826](https://togithub.com/firebase/firebase-tools/issues/4826))
- Fixes LIST security rule evaluation in storage emulator. ([#4827](https://togithub.com/firebase/firebase-tools/issues/4827))
- Fixes bug where vpc connector setting broke function deploy for old functions SDK. ([#4834](https://togithub.com/firebase/firebase-tools/issues/4834))
- Fixes issue where storage deploy targets weren't being fully respected. ([#3496](https://togithub.com/firebase/firebase-tools/issues/3496))
- Fixes bug where request.path variable was not set relative to the service in storage emulator. ([#4839](https://togithub.com/firebase/firebase-tools/issues/4839))
### [`v11.4.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.4.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.4.1...v11.4.2)
- Adds check for callable functions when discovering Hosting rewrite endpoints. ([#4792](https://togithub.com/firebase/firebase-tools/issues/4792))
- Allows defaulting to a `us-central1` instance of a rewrite function if that function is deployed in multiple regions including `us-central1`. ([#4810](https://togithub.com/firebase/firebase-tools/issues/4810))
- Fixes Storage emulator timeCreated metadata bug. ([#4599](https://togithub.com/firebase/firebase-tools/issues/4599))
- Fixes Storage import failure due to missing directories. ([#3823](https://togithub.com/firebase/firebase-tools/issues/3823))
### [`v11.4.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.4.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.4.0...v11.4.1)
- Adds warnings about upcoming deprecation of `--token`, `FIREBASE_TOKEN`, and `login:ci`.
- Fixes ENAMETOOLONG bug when uploading files with long paths in storage emulator. ([#4470](https://togithub.com/firebase/firebase-tools/issues/4470))
- Adds a bit more help for the `hosting:clone` command.
- Restores behavior where Hosting will not fail to deploy if a function rewrite does not exist. ([#4792](https://togithub.com/firebase/firebase-tools/issues/4792))
### [`v11.4.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.4.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.3.0...v11.4.0)
- Adds the ability for the CLI to automatically detect the region for Functions rewrites.
- Fixes bug where function timeout couldn't be configured in the Functions Emulator. ([#4745](https://togithub.com/firebase/firebase-tools/issues/4745))
- Adjusts API call to test IAM permissions to use the users' project's quota.
- Fixes issue where storage (and database) targets were not being recognized. ([#4752](https://togithub.com/firebase/firebase-tools/issues/4752))
### [`v11.3.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.3.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.2.2...v11.3.0)
- Fix bug where functions:config get command failed on empty variable. ([#4707](https://togithub.com/firebase/firebase-tools/issues/4707))
- Fix invoker type mismatch for https functions.
- Add multi-tenancy and multi-factor authentication features in Emulator UI
- Fix bug where not all the event trigger attributes are copied from build to backend ([#4746](https://togithub.com/firebase/firebase-tools/issues/4746)).
### [`v11.2.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.2.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.2.1...v11.2.2)
- Adds a check for out of band changes before deploying extensions.
- Fixes issue where `firestore:*` did not work with `--only` in `deploy`. ([#4698](https://togithub.com/firebase/firebase-tools/issues/4698))
- Removes DNS flag passed to Emulator UI. ([#4566](https://togithub.com/firebase/firebase-tools/issues/4566))
### [`v11.2.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.2.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.2.0...v11.2.1)
- Fix bug where Artifact Registry API was not enabled on function deploy ([#4715](https://togithub.com/firebase/firebase-tools/issues/4715)).
- Fix bug where function deployed failed with message "Invalid function service account requested: default." ([#4714](https://togithub.com/firebase/firebase-tools/issues/4714)).
- Firestore emulator: fixes condition Normalization to now correctly handles
cartesian products and flattening in certain edge cases.
### [`v11.2.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.2.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.1.0...v11.2.0)
- Fixes Auth Blocking Trigger registration in the Emulator ([#4592](https://togithub.com/firebase/firebase-tools/issues/4592)).
- Functions now store docker images on Artifact Registry rather than Container Repository ([#4654](https://togithub.com/firebase/firebase-tools/issues/4654))
- Adds better messaging when the Emulator UI isn't started ([#3781](https://togithub.com/firebase/firebase-tools/issues/3781)).
### [`v11.1.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.1.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.0.1...v11.1.0)
- Adds v2 RTDB triggers to function deploy ([#4582](https://togithub.com/firebase/firebase-tools/issues/4582)).
- Updates the minimum required version of Node.js to be `~14.18.0 || >=16.4.0` ([#4580](https://togithub.com/firebase/firebase-tools/issues/4580)).
- Fixes issue where `init` would fail to write existing RTDB rules containing comments ([#4596](https://togithub.com/firebase/firebase-tools/issues/4596)).
- Bump `@google-cloud/pubsub` from `2.19.4` to `3.0.1`
- Fixes issue where emualtor commands would error out when `frameworkawareness` preview flag was enabled and `firebase.json` did not have a hosting entry ([#4624](https://togithub.com/firebase/firebase-tools/issues/4624)).
- Updates the underlying HTTP request library for auth-related requests ([#4574](https://togithub.com/firebase/firebase-tools/issues/4574)).
- Replaces deprecated `tweetsodium` with `libsodium-wrappers`.
### [`v11.0.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.0.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.0.0...v11.0.1)
- Fixes issue where `ext:*` commands would error out if the `--local` flag was included. This flag is deprecated because it is now the default behavior ([#4577](https://togithub.com/firebase/firebase-tools/issues/4577)).
- Improves Node.js version warning for standalone Firebase CLI build ([#2791](https://togithub.com/firebase/firebase-tools/issues/2791)).
### [`v11.0.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.0.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.9.2...v11.0.0)
#### Breaking
- Drops support for Node 12.
- Tooling moves to Node 16, firepit (standalone) builds move to Node 16, testing moves to 14, 16, and 18.
- Removes support for running the emulators with Java versions prior to 11.
- Removes `params` flag from ext:install, ext:update, ext:configure commands as they are replaced by the Extensions Manifest. See https://firebase.google.com/docs/extensions/manifest for more details.
- Removes `ext:dev:emulators:start` and `ext:dev:emulators:exec` preview commands.
#### Not-so-breaking
- Fixes missing Connection header in RTDB emulator REST streaming API ([https://github.com/firebase/firebase-tools/issues/3329](https://togithub.com/firebase/firebase-tools/issues/3329)).
- Fixes error messaging when working with apps in interactive/non-interactive modes ([#4007](https://togithub.com/firebase/firebase-tools/issues/4007)).
- Fixes an issue where the Extensions emulator would not work on Windows ([#4554](https://togithub.com/firebase/firebase-tools/issues/4554)).
- Removes unused `dotenv` dependency.
- Updates `fs-extra` dependency.
- Updates `tmp` dependency.
### [`v10.9.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.9.2)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.9.1...v10.9.2)
- Fixes bug where secret environment variables were not set on functions ([#4543](https://togithub.com/firebase/firebase-tools/issues/4543))
### [`v10.9.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.9.1)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.9.0...v10.9.1)
- Fix bug where functions failed to deploy if Runtime Config is accessed at global scope ([#4541](https://togithub.com/firebase/firebase-tools/issues/4541))
- Updates [firebase-frameworks](https://togithub.com/FirebaseExtended/firebase-framework-tools) to 0.4.2 addressing several issues with the web frameworks integration.
- Adds `hosting.source` to configuration schema as an allowed property.
### [`v10.9.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.9.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.8.0...v10.9.0)
- Adds Firebase Extensions emulator. Learn more about how to test Extensions in the Emulator Suite here: https://firebase.google.com/docs/extensions/manifest.
- Adds support for Cloud Functions for Firebase gen 2.
### [`v10.8.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.8.0)
[Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.7.2...v10.8.0)
- Add support for secrets to v2 functions ([#4451](https://togithub.com/firebase/firebase-tools/issues/4451)).
- Fixes an issue where `ext:export` would write different param values than what it displayed in the prompt ([#4515](https://togithub.com/firebase/firebase-tools/issues/4515)).
- Enhances the functions IAM permission process and updates the error messages ([#4511](https://togithub.com/firebase/firebase-tools/issues/4511)).
- Removes logic for automatically pruning stale secrets after function deploys ([#4519](https://togithub.com/firebase/firebase-tools/issues/4519)).
- Adds 'build:watch' npm script to `firebase init` when initializing a project with Typescript functions.
### [`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
This PR contains the following updates:
7.1.0
->11.21.0
By merging this PR, the below issues will be automatically resolved and closed:
Release Notes
firebase/firebase-tools (firebase-tools)
### [`v11.21.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.21.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.20.0...v11.21.0) - Fix bug where CLI was unable to deploy Firebase Functions in some monorepo setups ([#5391](https://togithub.com/firebase/firebase-tools/issues/5391)) - Upgrade Storage Rules Runtime to v1.1.3 to support ternary operators ([#5370](https://togithub.com/firebase/firebase-tools/issues/5370)) - Fixes an issue where already deployed functions with the same remote configuration do not get skipped ([#5354](https://togithub.com/firebase/firebase-tools/issues/5354)) - App Distribution: Links to new releases are now available. These links help you manage binaries and ensure that testers and other developers have the right release. ([#5405](https://togithub.com/firebase/firebase-tools/issues/5405)) ### [`v11.20.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.20.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.19.0...v11.20.0) - Fixes a bug in the pubsub emulator by forcing a shutdown if it didn't end cleanly. ([#5294](https://togithub.com/firebase/firebase-tools/issues/5294)) - Fixes an issue where dependencies for emulated Extensions would not be installed on Windows - thanks [@stfsy](https://togithub.com/stfsy)! ([#5372](https://togithub.com/firebase/firebase-tools/issues/5372)) - Adds emulator support for Extensions with schedule triggers - thanks [@stsfy](https://togithub.com/stsfy)! ([#5374](https://togithub.com/firebase/firebase-tools/issues/5374)) - Update the Emulator Suite UI to v1.11.2 to capture a set of accessibility improvements. ([#5394](https://togithub.com/firebase/firebase-tools/issues/5394)) - Fixes an issue in the Functions emulator where secret values were undefined after hot reload with the `--inspect-functions` flag. ([#5384](https://togithub.com/firebase/firebase-tools/issues/5384)) - Fixes a bug where functions:delete command did not recognize '-' as delimiter. ([#5290](https://togithub.com/firebase/firebase-tools/issues/5290)) - Reintroduces an updated Hosting emulator with i18n ([#4879](https://togithub.com/firebase/firebase-tools/issues/4879)) and Windows path ([#5133](https://togithub.com/firebase/firebase-tools/issues/5133)) fixes. ### [`v11.19.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.19.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.18.0...v11.19.0) - Support for string list typed parameters in functions deployment ([#5137](https://togithub.com/firebase/firebase-tools/issues/5137)) - Respect .npmrc in backends spun up for web frameworks ([#5235](https://togithub.com/firebase/firebase-tools/issues/5235)) - Remove esbuild dependency, instead bundle Next.js configuration on deploy with NPX ([#5336](https://togithub.com/firebase/firebase-tools/issues/5336)) - Add sharp NPM module to Cloud Functions when using Next.js Image Optimization ([#5238](https://togithub.com/firebase/firebase-tools/issues/5238)) - Adds user-defined env vars into the functions emulator ([#5330](https://togithub.com/firebase/firebase-tools/issues/5330)). - Support Next.js Middleware ([#5320](https://togithub.com/firebase/firebase-tools/issues/5320)) - Log the reason for a Cloud Function if needed in Next.js ([#5320](https://togithub.com/firebase/firebase-tools/issues/5320)) - Fixed service enablement when installing extensions with v2 functions ([#5338](https://togithub.com/firebase/firebase-tools/issues/5338)) - Fix bug where functions:shell command didn't connect to emulators running on other processes. ([#5269](https://togithub.com/firebase/firebase-tools/issues/5269)) - Fixed bug with Cross-Service Rules integration for Firestore documents containing nulls ([#5342](https://togithub.com/firebase/firebase-tools/issues/5342)) ### [`v11.18.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.18.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.17.0...v11.18.0) - Add support for Firestore TTL ([#5267](https://togithub.com/firebase/firebase-tools/issues/5267)) - Fix bug where secrets were not loaded when emulating functions with `--inpsect-functions`. ([#4605](https://togithub.com/firebase/firebase-tools/issues/4605)) - Handle Next.js rewrites/redirects/headers incompatible with `firebase.json` in Cloud Functions ([#5212](https://togithub.com/firebase/firebase-tools/issues/5212)) - Filter out Next.js prerendered routes that matches rewrites/redirects/headers rules from SSG content directory ([#5212](https://togithub.com/firebase/firebase-tools/issues/5212)) - Warn if a web framework's package.json contains anything other than the framework default build command. - Add support for nodejs18 for Cloud Functions for Firebase ([#5319](https://togithub.com/firebase/firebase-tools/issues/5319)) ### [`v11.17.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.17.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.16.1...v11.17.0) - Fix bug where disabling background triggers did nothing. ([#5221](https://togithub.com/firebase/firebase-tools/issues/5221)) - Fix bug in auth emulator where empty string should throw invalid email instead of missing email. ([#3898](https://togithub.com/firebase/firebase-tools/issues/3898)) - Fix bug in auth emulator in which createdAt was not set for signInWithIdp new users. ([#5203](https://togithub.com/firebase/firebase-tools/issues/5203)) - Add region warning for emulated database functions ([#5143](https://togithub.com/firebase/firebase-tools/issues/5143)) - Default to --no-localhost when calling login from Google Cloud Workstations - Support the x-goog-api-key header in auth emulator. ([#5249](https://togithub.com/firebase/firebase-tools/issues/5249)) - Fix bug in deploying web frameworks when a predeploy hook was configured in firebase.json ([#5199](https://togithub.com/firebase/firebase-tools/issues/5199)) - Fix bug where function deployments using --only filter sometimes failed deployments. ([#5280](https://togithub.com/firebase/firebase-tools/issues/5280)) - Fix bug where `ext:install` would sometimes fail if no version was specified. ([#5305](https://togithub.com/firebase/firebase-tools/issues/5305)) ### [`v11.16.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.16.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.16.0...v11.16.1) - Updated the pubsub emulator to v0.7.1. - Updated some emulator download logic to pause after unzipping to avoid a file not found issue. - Fixes gzipped file handling in Storage Emulator. - Add support for object list using certain Admin SDKs ([#5208](https://togithub.com/firebase/firebase-tools/issues/5208)) - Fixes source token expiration issue by acquiring new source token upon expiration. - Fixes bug where emulated event triggered function broke in debug mode ([#5211](https://togithub.com/firebase/firebase-tools/issues/5211)) - Fixes bug that caused the Extensions Emulator to always appear to be inactive in the Emulator UI. ### [`v11.16.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.16.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.15.0...v11.16.0) - Fixes an issue where an error during product provisioning check would block `firebase deploy --only extensions` ([#5074](https://togithub.com/firebase/firebase-tools/issues/5074)). - Releases RTDB Emulator v4.11.0: Wire protocol update for `startAfter`, `endBefore`. - Changes `superstatic` dependency to `v8`, addressing Hosting emulator issues on Windows. - Fixes internal library that was not being correctly published. - Add support for Next.js 13 in firebase deploy. - Next.js routes with revalidate are now handled by the a backing Cloud Function. - Adds `--disable-triggers` flag to RTDB write commands. - Default enables experiment to skip deploying unmodified functions ([#5192](https://togithub.com/firebase/firebase-tools/issues/5192)) - Default enables experiment to allow parameterized functions codebases ([#5192](https://togithub.com/firebase/firebase-tools/issues/5192)) - Fixes parallel requests in the functions emulator ([#5149](https://togithub.com/firebase/firebase-tools/issues/5149)). - Unspecified functions concurrency will shift between the defaults of 1 or 80 when CPU is changed to support/not support concurrency ([#5196](https://togithub.com/firebase/firebase-tools/issues/5196)) ### [`v11.15.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.15.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.4...v11.15.0) Fix a bug where next.js applications would fail to deploy if they did not have a public dir ([#5142](https://togithub.com/firebase/firebase-tools/issues/5142)) ### [`v11.14.4`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.4) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.3...v11.14.4) - Fixes a crash in integer params when a default value is selected in the prompt. ([#5118](https://togithub.com/firebase/firebase-tools/issues/5118)) - Fixes error handling for auth blocking functions. - Fixes bug preventing Storage Rules from updating when ruleset compilation completed successfully but with warnings ### [`v11.14.3`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.3) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.2...v11.14.3) - Fixes issue where errors were not properly propagating when listing backends. ([#5071](https://togithub.com/firebase/firebase-tools/issues/5071)) - Fixes issue where message from `-m` on deploy was not being properly applied. ([#5107](https://togithub.com/firebase/firebase-tools/issues/5107)) - Fixes error `EADDRNOTAVAIL` when running emulators in Docker. - Fixes further issues where ports were not correctly recognized as unavailable. ### [`v11.14.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.1...v11.14.2) - Enable single project mode for the database emulator ([#5068](https://togithub.com/firebase/firebase-tools/issues/5068)). - Ravamp emulator networking to assign ports early and explictly listen on IP addresses ([#5083](https://togithub.com/firebase/firebase-tools/issues/5083)). - Emulator UI and hub now listen on both IPv4 and IPv6 address by default (if possible) ([#5088](https://togithub.com/firebase/firebase-tools/issues/5088)). - Fix Firestore emulator excessive logs about discovery endpoint not found ([#5088](https://togithub.com/firebase/firebase-tools/issues/5088)). ### [`v11.14.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.14.0...v11.14.1) - Enables single project mode for the auth emulator ([#5068](https://togithub.com/firebase/firebase-tools/issues/5068)). - Fixes issue deploying to Hosting with i18n enabled. - Fixes issue where deploying to Hosting without Functions permissions would cause deployments to fail with 403 "Permission Denied" errors. ([#5071](https://togithub.com/firebase/firebase-tools/issues/5071)) - Fixes issue where Firestore Emulator UI Requests tab wrongly show error requiring updates ([#5051](https://togithub.com/firebase/firebase-tools/issues/5051)) - Fixes issue where Hosting configurations were being validated before predeploys could have been run ([#5072](https://togithub.com/firebase/firebase-tools/issues/5072)). ### [`v11.14.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.14.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.13.0...v11.14.0) - Add functions emulator support for RTDB v2 triggers ([#5045](https://togithub.com/firebase/firebase-tools/issues/5045)). - Enables single project mode for Firestore by default ([#4890](https://togithub.com/firebase/firebase-tools/issues/4890)). - Add Emulator UI support for HTTPS, launching UI v1.10.0 ([#5065](https://togithub.com/firebase/firebase-tools/issues/5065)). ### [`v11.13.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.13.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.12.0...v11.13.0) - Add the "experiments" family of commands ([#4994](https://togithub.com/firebase/firebase-tools/issues/4994)) - Enable detecting and skipping no-op function deploys ([#5032](https://togithub.com/firebase/firebase-tools/issues/5032)). - Catches errors when fetching CLI MOTD, allowing process to continue ([#4998](https://togithub.com/firebase/firebase-tools/issues/4998)). - Adds test lab triggers to firebase deploy ([#5011](https://togithub.com/firebase/firebase-tools/issues/5011)). ### [`v11.12.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.12.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.11.0...v11.12.0) - Allow Firestore emulator UI websocket port to be configurable ([#4925](https://togithub.com/firebase/firebase-tools/issues/4925)). - Fixes `init functions` throwing error when detecting existing legacy singleton functions configuration ([#5020](https://togithub.com/firebase/firebase-tools/issues/5020)). - Removes unused dependency, updates `vm2` dependency flagged by `npm audit`. - Fixes issue resolving a Hosting site using `open`. ([#3145](https://togithub.com/firebase/firebase-tools/issues/3145)) ### [`v11.11.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.11.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.10.0...v11.11.0) - Adds support for codebases in `firebase init functions` flow ([#4965](https://togithub.com/firebase/firebase-tools/issues/4965)). - Fixes storage emulator resumable uploads ([#5018](https://togithub.com/firebase/firebase-tools/issues/5018)) - Fixes errors on exit related to `update-notifier` ([#5010](https://togithub.com/firebase/firebase-tools/issues/5010)). - Removes dev dependencies on module publication to reduce package size ([#4445](https://togithub.com/firebase/firebase-tools/issues/4445)). ### [`v11.10.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.10.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.9.0...v11.10.0) - Fix Storage Emulator crashing with NoClassDefFoundError in some cases ([#3481](https://togithub.com/firebase/firebase-tools/issues/3481)). - Refactor mechanism for invoking function triggers ([#4886](https://togithub.com/firebase/firebase-tools/issues/4886)). - Add support for `HTTP_PROXY` and `HTTPS_PROXY` environment variables to `crashlytics:mappingfile:upload` and `crashlytics:symbols:upload` commands ([#4604](https://togithub.com/firebase/firebase-tools/issues/4604)). - Fix Emulators not shutting down / exporting correctly when CLI update available ([#4981](https://togithub.com/firebase/firebase-tools/issues/4981)). - Adds `access-control-allow-private-network=true` header to Auth and Storage emulators. Enables accessing at localhost:port when site is exposed via tunnel ([#4227](https://togithub.com/firebase/firebase-tools/issues/4227)). - Improves detection of in-use ports for Hosting Emulator on macOS ([#4628](https://togithub.com/firebase/firebase-tools/issues/4628)). - Add Eventarc multi-db triggers support to RTDB Emulator ([#5000](https://togithub.com/firebase/firebase-tools/issues/5000)). ### [`v11.9.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.9.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.8.1...v11.9.0) - Add v2 Remote Config triggers to deploy ([#4937](https://togithub.com/firebase/firebase-tools/issues/4937)). - Fixes issue where large CF3 releases were failing to deploy ([#4969](https://togithub.com/firebase/firebase-tools/issues/4969)) ### [`v11.8.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.8.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.8.0...v11.8.1) - Fix bug where secrets were not attached to functions when using older Functions SDK ([#4797](https://togithub.com/firebase/firebase-tools/issues/4797)). - Increase timeout of the Functions Emulator to wait for spawned process to initialize ([#4944](https://togithub.com/firebase/firebase-tools/issues/4944)). - Fix bug where Storage Emulator did not convert non-string metadata value as key ([#4955](https://togithub.com/firebase/firebase-tools/issues/4955)). ### [`v11.8.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.8.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.7.0...v11.8.0) - Adds support for media upload protocol to storage emulator ([#4869](https://togithub.com/firebase/firebase-tools/issues/4869)) - Adds support to storage emualtor GCS API for /storage/v1/b/:bucketId/o/:objectId url pattern ([#4869](https://togithub.com/firebase/firebase-tools/issues/4869)) - Removes extraneous default metadata fields from storage emulator ([#4869](https://togithub.com/firebase/firebase-tools/issues/4869)) - Fixes an issue where a blocked upload from the android sdks crashes the storage emulator ([#4860](https://togithub.com/firebase/firebase-tools/issues/4860)) - Fix deleting metadata fields in storage emulator ([#4889](https://togithub.com/firebase/firebase-tools/issues/4889)) - Fix storage emulator bug where rapid calls to the rules runtime results in no returns and non-resolving promises ([#3915](https://togithub.com/firebase/firebase-tools/issues/3915)) ### [`v11.7.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.7.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.6.0...v11.7.0) - Fix bug where CLI configured wrong cpu for 16GB/32GB v2 functions. ([#4845](https://togithub.com/firebase/firebase-tools/issues/4845)) - Adds `crashlytics:mappingfile:generateid` and `crashlytics:mappingfile:upload` commands. ([#4611](https://togithub.com/firebase/firebase-tools/issues/4611)) - Add v2 Schedule Triggers to function deploy ([#4764](https://togithub.com/firebase/firebase-tools/issues/4764)). - Fix bug where eventarc emulator was incorrectly started in certain cases ([#4873](https://togithub.com/firebase/firebase-tools/issues/4873)) ### [`v11.6.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.6.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.5.0...v11.6.0) - Fixes an issue where pushing an empty buffer from the android sdks crashes the storage emulator ([#4843](https://togithub.com/firebase/firebase-tools/issues/4843)) - Adds emulation support for extensions that emit events / custom event triggers ([#4464](https://togithub.com/firebase/firebase-tools/issues/4464)) - Fixes issue with batchCreate in auth emulator in which it errored for empty mfaInfo ([#4848](https://togithub.com/firebase/firebase-tools/issues/4848)) - Fixes scroll bars in the Firestore Emulator UI ### [`v11.5.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.5.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.4.2...v11.5.0) - Turns on content compression in the Hosting emulator. ([#2328](https://togithub.com/firebase/firebase-tools/issues/2328)) - Replaces underlying terminal coloring library. - Makes storage emulator multipart parsing handle quotes in boundary header. ([#3953](https://togithub.com/firebase/firebase-tools/issues/3953)) - Makes storage emulator content type case insensitive. ([#3953](https://togithub.com/firebase/firebase-tools/issues/3953)) - Adds storage emulator support to init.js useEmulator flag. ([#4805](https://togithub.com/firebase/firebase-tools/issues/4805)) - Populates resource correctly in storage rules evaluation. ([#4329](https://togithub.com/firebase/firebase-tools/issues/4329)) - Reads name from metadata as backup for gcs upload into storage emulator. ([#3953](https://togithub.com/firebase/firebase-tools/issues/3953)) - Fixes bug where invalid CPU was set for 16GiB functions. ([#4823](https://togithub.com/firebase/firebase-tools/issues/4823)) - Fixes bug where failed function discovery crashed the entire emulator. ([#4826](https://togithub.com/firebase/firebase-tools/issues/4826)) - Fixes LIST security rule evaluation in storage emulator. ([#4827](https://togithub.com/firebase/firebase-tools/issues/4827)) - Fixes bug where vpc connector setting broke function deploy for old functions SDK. ([#4834](https://togithub.com/firebase/firebase-tools/issues/4834)) - Fixes issue where storage deploy targets weren't being fully respected. ([#3496](https://togithub.com/firebase/firebase-tools/issues/3496)) - Fixes bug where request.path variable was not set relative to the service in storage emulator. ([#4839](https://togithub.com/firebase/firebase-tools/issues/4839)) ### [`v11.4.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.4.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.4.1...v11.4.2) - Adds check for callable functions when discovering Hosting rewrite endpoints. ([#4792](https://togithub.com/firebase/firebase-tools/issues/4792)) - Allows defaulting to a `us-central1` instance of a rewrite function if that function is deployed in multiple regions including `us-central1`. ([#4810](https://togithub.com/firebase/firebase-tools/issues/4810)) - Fixes Storage emulator timeCreated metadata bug. ([#4599](https://togithub.com/firebase/firebase-tools/issues/4599)) - Fixes Storage import failure due to missing directories. ([#3823](https://togithub.com/firebase/firebase-tools/issues/3823)) ### [`v11.4.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.4.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.4.0...v11.4.1) - Adds warnings about upcoming deprecation of `--token`, `FIREBASE_TOKEN`, and `login:ci`. - Fixes ENAMETOOLONG bug when uploading files with long paths in storage emulator. ([#4470](https://togithub.com/firebase/firebase-tools/issues/4470)) - Adds a bit more help for the `hosting:clone` command. - Restores behavior where Hosting will not fail to deploy if a function rewrite does not exist. ([#4792](https://togithub.com/firebase/firebase-tools/issues/4792)) ### [`v11.4.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.4.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.3.0...v11.4.0) - Adds the ability for the CLI to automatically detect the region for Functions rewrites. - Fixes bug where function timeout couldn't be configured in the Functions Emulator. ([#4745](https://togithub.com/firebase/firebase-tools/issues/4745)) - Adjusts API call to test IAM permissions to use the users' project's quota. - Fixes issue where storage (and database) targets were not being recognized. ([#4752](https://togithub.com/firebase/firebase-tools/issues/4752)) ### [`v11.3.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.3.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.2.2...v11.3.0) - Fix bug where functions:config get command failed on empty variable. ([#4707](https://togithub.com/firebase/firebase-tools/issues/4707)) - Fix invoker type mismatch for https functions. - Add multi-tenancy and multi-factor authentication features in Emulator UI - Fix bug where not all the event trigger attributes are copied from build to backend ([#4746](https://togithub.com/firebase/firebase-tools/issues/4746)). ### [`v11.2.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.2.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.2.1...v11.2.2) - Adds a check for out of band changes before deploying extensions. - Fixes issue where `firestore:*` did not work with `--only` in `deploy`. ([#4698](https://togithub.com/firebase/firebase-tools/issues/4698)) - Removes DNS flag passed to Emulator UI. ([#4566](https://togithub.com/firebase/firebase-tools/issues/4566)) ### [`v11.2.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.2.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.2.0...v11.2.1) - Fix bug where Artifact Registry API was not enabled on function deploy ([#4715](https://togithub.com/firebase/firebase-tools/issues/4715)). - Fix bug where function deployed failed with message "Invalid function service account requested: default." ([#4714](https://togithub.com/firebase/firebase-tools/issues/4714)). - Firestore emulator: fixes condition Normalization to now correctly handles cartesian products and flattening in certain edge cases. ### [`v11.2.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.2.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.1.0...v11.2.0) - Fixes Auth Blocking Trigger registration in the Emulator ([#4592](https://togithub.com/firebase/firebase-tools/issues/4592)). - Functions now store docker images on Artifact Registry rather than Container Repository ([#4654](https://togithub.com/firebase/firebase-tools/issues/4654)) - Adds better messaging when the Emulator UI isn't started ([#3781](https://togithub.com/firebase/firebase-tools/issues/3781)). ### [`v11.1.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.1.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.0.1...v11.1.0) - Adds v2 RTDB triggers to function deploy ([#4582](https://togithub.com/firebase/firebase-tools/issues/4582)). - Updates the minimum required version of Node.js to be `~14.18.0 || >=16.4.0` ([#4580](https://togithub.com/firebase/firebase-tools/issues/4580)). - Fixes issue where `init` would fail to write existing RTDB rules containing comments ([#4596](https://togithub.com/firebase/firebase-tools/issues/4596)). - Bump `@google-cloud/pubsub` from `2.19.4` to `3.0.1` - Fixes issue where emualtor commands would error out when `frameworkawareness` preview flag was enabled and `firebase.json` did not have a hosting entry ([#4624](https://togithub.com/firebase/firebase-tools/issues/4624)). - Updates the underlying HTTP request library for auth-related requests ([#4574](https://togithub.com/firebase/firebase-tools/issues/4574)). - Replaces deprecated `tweetsodium` with `libsodium-wrappers`. ### [`v11.0.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.0.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v11.0.0...v11.0.1) - Fixes issue where `ext:*` commands would error out if the `--local` flag was included. This flag is deprecated because it is now the default behavior ([#4577](https://togithub.com/firebase/firebase-tools/issues/4577)). - Improves Node.js version warning for standalone Firebase CLI build ([#2791](https://togithub.com/firebase/firebase-tools/issues/2791)). ### [`v11.0.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v11.0.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.9.2...v11.0.0) #### Breaking - Drops support for Node 12. - Tooling moves to Node 16, firepit (standalone) builds move to Node 16, testing moves to 14, 16, and 18. - Removes support for running the emulators with Java versions prior to 11. - Removes `params` flag from ext:install, ext:update, ext:configure commands as they are replaced by the Extensions Manifest. See https://firebase.google.com/docs/extensions/manifest for more details. - Removes `ext:dev:emulators:start` and `ext:dev:emulators:exec` preview commands. #### Not-so-breaking - Fixes missing Connection header in RTDB emulator REST streaming API ([https://github.com/firebase/firebase-tools/issues/3329](https://togithub.com/firebase/firebase-tools/issues/3329)). - Fixes error messaging when working with apps in interactive/non-interactive modes ([#4007](https://togithub.com/firebase/firebase-tools/issues/4007)). - Fixes an issue where the Extensions emulator would not work on Windows ([#4554](https://togithub.com/firebase/firebase-tools/issues/4554)). - Removes unused `dotenv` dependency. - Updates `fs-extra` dependency. - Updates `tmp` dependency. ### [`v10.9.2`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.9.2) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.9.1...v10.9.2) - Fixes bug where secret environment variables were not set on functions ([#4543](https://togithub.com/firebase/firebase-tools/issues/4543)) ### [`v10.9.1`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.9.1) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.9.0...v10.9.1) - Fix bug where functions failed to deploy if Runtime Config is accessed at global scope ([#4541](https://togithub.com/firebase/firebase-tools/issues/4541)) - Updates [firebase-frameworks](https://togithub.com/FirebaseExtended/firebase-framework-tools) to 0.4.2 addressing several issues with the web frameworks integration. - Adds `hosting.source` to configuration schema as an allowed property. ### [`v10.9.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.9.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.8.0...v10.9.0) - Adds Firebase Extensions emulator. Learn more about how to test Extensions in the Emulator Suite here: https://firebase.google.com/docs/extensions/manifest. - Adds support for Cloud Functions for Firebase gen 2. ### [`v10.8.0`](https://togithub.com/firebase/firebase-tools/releases/tag/v10.8.0) [Compare Source](https://togithub.com/firebase/firebase-tools/compare/v10.7.2...v10.8.0) - Add support for secrets to v2 functions ([#4451](https://togithub.com/firebase/firebase-tools/issues/4451)). - Fixes an issue where `ext:export` would write different param values than what it displayed in the prompt ([#4515](https://togithub.com/firebase/firebase-tools/issues/4515)). - Enhances the functions IAM permission process and updates the error messages ([#4511](https://togithub.com/firebase/firebase-tools/issues/4511)). - Removes logic for automatically pruning stale secrets after function deploys ([#4519](https://togithub.com/firebase/firebase-tools/issues/4519)). - Adds 'build:watch' npm script to `firebase init` when initializing a project with Typescript functions. ### [`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