Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dependency firebase-tools to v9 - autoclosed #25

Closed

Conversation

mend-for-github-com[bot]
Copy link

This PR contains the following updates:

Package Type Update Change
firebase-tools devDependencies major 7.1.0 -> 9.0.0

By merging this PR, the below issues will be automatically resolved and closed:

Severity CVSS Score CVE GitHub Issue
High 7.3 CVE-2020-7720 #13
High 7.3 CVE-2020-8116 #3
Medium 6.6 WS-2022-0008 #19
Medium 6.5 CVE-2020-8244 #11
Medium 6.1 CVE-2022-0122 #17

Release Notes

firebase/firebase-tools

v9.0.0

Compare Source

  • 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

Compare Source

  • 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).
  • Fixes issue where multiple set-cookie headers were being proxied incorrectly in proxied responses through the Firebase Hosting emulator (#​2931).

v8.19.0

Compare Source

  • Adds Node.js 14 (Beta) runtime support to Cloud Functions for Firebase.

v8.18.1

Compare Source

  • Fixes issue where emulated functions were not receiving all expected headers.

v8.18.0

Compare Source

  • Adds 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

Compare Source

  • 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).
  • 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

Compare Source

  • Fixes issue when running in a Node 8 environment where URL was not defined. (#​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

Compare Source

  • Fixes issue in setting data in Firebase Realtime Database. (#​2814)

v8.16.0

Compare Source

  • 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

Compare Source

  • 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

Compare Source

  • Fixes Cloud Function inspection when using standalone binary release (#​2740)
  • Fix Database emulator crash on invalid .validate rules (#​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

Compare Source

  • Fixes issue in hosting:channel commands where a Firebase Hosting target may cause configuration parsing issues (#​2746).

v8.14.0

Compare Source

  • Restores the ability to specify a Hosting site (configured in firebase.json) as a deploy --only target. (#​2731)
  • Introduces the Firebase Authentication Emulator.

v8.13.1

Compare Source

  • Fixes incorrect defaults when using commands from Node.js (#​2672)
  • Fixes issue where deploys would fail when including both Firebase Hosting and Realtime Database (#​2726)

v8.13.0

Compare Source

  • Updates the Google Cloud Run proxy API calls to v1 (from v1alpha1) (#​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).
  • 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

Compare Source

  • Fixes issue where database export does not work if database is empty (#​2634).
  • Fixes an issue where firebase init hosting:github did not write yml files to the correct location (#​2688).

v8.12.0

Compare Source

  • 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 when initializing Hosting.
  • Fixes issue where the ESLint config file would not be added to version control for new Typescript Cloud Functions projects (#​2645).
  • Fixes issue where the CLI displayed NaN when choosing the default port for the Emulator UI.
  • Fixes the npm run lint (eslint) command in newly initalized Cloud Functions for Firebase directories on Windows (#​2644).
  • Fixes database:remove command (#​2657).
  • Improves the output of hosting:disable when dealing with Firebase Hosting multisite setups.

v8.11.2

Compare Source

  • Fixes issue where background triggers in the Cloud Functions emulator could take up to 30s to execute.

v8.11.1

Compare Source

  • Fixes an emulator related issue.

v8.11.0

Compare Source

  • Replaces tslint with eslint as the default linter in new Cloud Functions for Firebase directories. (#​1663)
  • Fixes bug where scheduled Cloud Functions for Firebase deploys unexpectedly succeeded with invalid Cloud Scheduler configurations. (#​2609)
  • Adds Firebase Remote Config commands: remoteconfig:get, remoteconfig:versions:list, remoteconfig:rollback.
  • Adds a remoteconfig target for firebase deploy.

v8.10.0

Compare Source

  • Change default runtime for Firebase Extensions template to nodejs10.
  • Modify messages for Firebase Extensions Node.js 10 migration.
  • Stop creating, updating and deleting service accounts during extension installation, update, and uninstallation.
  • Adds regular expression support for the Firebase Hosting emulator.
  • Changes update notification to reflect all CLI management options.
  • Defaults firebase login to use an authorization code in Codespaces environments.
  • Fixes Firebase Hosting deploys when using --config flag.

v8.9.2

Compare Source

  • Change default runtime for Firebase Extensions template to nodejs10.
  • Modify messages for Firebase Extensions Node.js 10 migration.

v8.9.1

Compare Source

  • Fixes default credentials inside functions:shell (#​2561)

v8.9.0

Compare Source

  • Display additional info on the impact of running Firebase extensions with Node.js 10 runtime. (#​2549)
  • Add support for vpcConnector and vpcConnectorEgressSettings customization for functions. Must be used in conjunction with firebase-functions v3.11.0 or higher. Thanks @​pcboy! (#​2525)

v8.8.1

Compare Source

  • Fixes a bug where all Cloud Functions for Firebase deploys asked about failure policies.

v8.8.0

Compare Source

  • Fixes an issue where immutable params were not sent during ext:configure.
  • Includes latest features and improvements from production in the Firestore Emulator.
  • Fixes issue where all database functions triggered on the default namespace (#​2501)
  • Fixes issue where rules paths were not normalized before reading (#​2544)
  • Functions emulator waits for all functions to finish before exiting (#​1813)
  • Adds support for deploying functions with a failure policy.

v8.7.0

Compare Source

  • Fixes issue where Authorization header was missing from callable functions in the emulator (#​2459).
  • Improve support for the Node.js 12 (Beta) runtime in the Functions emulator.
  • Allow specifying the config (firebase.json) file using the --config/-c flag.
  • Fixes issue where emulators:exec could fail to shut down cleanly (#​2477).
  • Fixes issue where database emulator did not properly load initial rules (#​2483).
  • Allow starting the UI with emulators:exec using the --ui flag.
  • Fixes issue where multiple CLI instances compete for the same log (#​2464).
  • Fixes issue where emulators run from npm scripts could not be shut down cleanly (#​2507).
  • Makes it easier to import data from production databases.

v8.6.0

Compare Source

  • Adds support for Node.js 12 (beta) to Cloud Functions for Firebase. Specify "node":"12" in package.json or "runtime": "nodejs12" in firebase.json.

  • Enables runtime for Cloud Functions to be set in firebase.json (#​2241, thanks @​quentinvernot!), for example:

    {
      "functions": {
        "runtime": "nodejs10"
      }
    }
    
  • Fixes an issue where the suggested redeploy command for Firebase Functions was incorrect for names with dashes.

  • Adds the --export-on-exit flag to emulators:start and emulators:exec to automatically export emulator data on command exit (#​2224)

  • Fixes support for camel-case query parameters in Firestore Emulator.

  • Adds support for != style queries in Firestore Emulator.

  • Fixes connecting to host 0.0.0.0 from Emulator UI.

v8.5.0

Compare Source

  • Adds support for regular expression-based custom headers and rewrites for Firebase Hosting. (#​2391)
  • Fixes a bug with RTDB Rules hot reloading in the RTDB emulator. (#​2371)
  • Changes default functions runtime to Node.js 10 for firebase init.
  • Adds import/export support to the Realtime Database emulator.
  • Adds application default credentials inside the Functions emulator (#​1940)
  • Fixes firebase init firestore when no project is specified (#​2399)

v8.4.3

Compare Source

  • Makes functions:shell terminate the server together with the shell
  • Makes functions:shell respect the .clear command
  • Fixes issue where functions emulator would fail while looking for tsconfig.json (#​2353)
  • Improves error messages for deploy and serve when invalid targets are specified (#​2363)
  • Fixes #​1774 by removing "]0;Firebase CLI" from stdout (#​2330)
  • Supports cloning from a filtered dataset in RTDB Viewer in Emulator Suite UI.

v8.4.2

Compare Source

  • Fixes error message when firebase init firestore is used on a project with Cloud Firestore in Datastore mode.
  • Fixes error message when Java version is too low to run the emulators (#​2307).
  • Fixes issue where firebase init storage incorrectly reports Cloud Storage has not been used.
  • Adds warning message when an emulator starts on a port restricted by Chrome (#​2276).
  • Allows deleting Firestore indexes with the --force flag (#​2002).
  • Fixes issue where massively parallel functions could lock the host machine (#​2277).

v8.4.1

Compare Source

  • Fixes issue where custom emulator ports were strings not numbers (#​2287).
  • Fixes issue where Emulator UI was never downloaded during firebase init emulators.
  • Skips app selection in firebase apps:sdkconfig if there is a single matching app.
  • Fixes incorrect warning about emulator configuration (#​2290).
  • Improves error messages for firebase init with new projects (#​2266).
  • Improves handling of permission denied errors during API enablement.
  • Removes deep proxying of functions.config() inside the Functions emulator.
  • Updates App Distribution upload URL.
  • Fixes an incompatibility between the functions emulator and firebase-functions version 3.6.2 (#​2301)

v8.4.0

Compare Source

  • Support referencing variables in extension.yaml using ${param:PARAM_NAME} syntax
  • Releases the Local Emulator UI, which now starts with firebase emulators:start.
  • Fixes bug causing Hosting emulator to serve invalid /__/* files.
  • Fixes bug in Firestore emulator for evaluating rules in query listening. (#​2197)
  • Fixes support in Firestore emulator for ?show_missing in listing collection.
  • Supports ?disableTriggers=true for disabling function triggers in RTDB Emulator REST APIs.
  • Includes other production Realtime Database improvements into the RTDB Emulator.
  • Fixes bug where functions would run in local time zone instead of UTC (#​2253).

v8.3.0

Compare Source

  • Sets the FIREBASE_CONFIG environment variable during deploys of Cloud Functions for Firebase to fix "process.env.GCLOUD_PROJECT is not set" issues during deployment or execution.
  • Fixes an issue where ext:list would fail when no extensions were installed.
  • Fixes an issue where database emulator could not load rules from target configurations (#​2184).
  • Adds new API commands that handle list/create/delete operations on the Android SHA certificate hashes apps:android:sha:list, apps:android:sha:create, and apps:android:sha:delete.
  • Fixes an issue where the CLI did not assume admin privileges when performing Firestore / RTDB emulator operations.
  • Fixes an issue where the functions and hosting emulators would crash when not properly initialized (#​2112).
  • Improves logs when running emulators:start.
  • Fixes an issue where use would allow an invalid project identifier.
  • Fixes an issue where custom options passed to admin.initializeApp() in the functions emulator were improperly augmented.
  • Changes firebasemods.*.* IAM permission checks to firebaseextensions.*.*
  • Fixes an issue where unicode characters in auth tokens crashed callable auth (#​2185).
  • Fixes an issue where emulators could not be cleanly shut down if they had not started properly (#​2228).

v8.2.0

Compare Source

  • Improves login flow when using the --reauth flag.
  • Increases minimum Node.js version to v8.6.0, accurately reflecting underlying requirements of the CLI tool.
  • Updates firebase-functions and typescript dependencies in template files for firebase init.
  • Adds the project number to the output when listing projects.
  • Fixes possible bug with rules hot reloading showing empty content (#​2132).

v8.1.1

Compare Source

  • Fixes error when deploying Cloud Functions for Firebase from a project subdirectory. (#​2138)

v8.1.0

Compare Source

  • Important: Disables Node.js 6 runtime deploys for Cloud Functions. This change corrects a previous oversight that allowed Node.js 6 deploys past intended date of full deprecation. Please immediately upgrade Node.js 6 functions to a newer runtime to avoid service disruption.
  • Fixes a bug where firebase-functions SDK version checking was unreliable and did not consider package-lock.json.
  • Improves Cloud Functions error messaging around required APIs.
  • Fixes rolling back an already failed transaction in Cloud Firestore Emulator.
  • Fixes gRPC issue on large rules coverage reports in Cloud Firestore Emulator.

v8.0.3

Compare Source

  • Improves error messages for Cloud Functions for Firebase deployment permissions. (#​2086)
  • Makes firestore:delete respect FIRESTORE_EMULATOR_HOST.
  • Makes database:get, database:set, database:push, and database:update respect FIREBASE_DATABASE_EMULATOR_HOST.
  • Makes functions:shell connect to running service emulators when appropriate.

v8.0.2

Compare Source

  • Improves error messages for Cloud Functions for Firebase deployment permissions. (#​2086)

v8.0.1

Compare Source

  • Fixes missing template for printing web SDK configuration.
  • Allows skipping informational permissions check by setting FIREBASE_SKIP_INFORMATIONAL_IAM environment variable. (#​2083)

v8.0.0

Compare Source

  • BREAKING: Removes firebase list command (replacement: firebase projects:list).
  • BREAKING: Removes firebase tools:migrate command.
  • BREAKING: Removes firebase setup:web command (replacement: firebase apps:sdkconfig web).
  • BREAKING: Increases the minimum version of firebase-admin in the Cloud Functions for Firebase emulator from 8.0.0 to 8.9.0.
  • BREAKING: Increases the minimum version of firebase-functions in the Cloud Functions for Firebase emulator from 3.0.0 to 3.3.0.
  • BREAKING: Removes support for top-level Firebase Hosting config in firebase.json. Firebase Hosting configuration must be under the hosting key in firebase.json.
  • BREAKING: firebase serve can no longer start the Cloud Firestore or Realtime Database emulators.
  • BREAKING: Unifies the Cloud Functions for Firebase emulator within firebase serve and firebase emulators:start.
  • BREAKING: Removes support for separate WebChannel port in the Cloud Firestore emulator. Use the main port instead.
  • BREAKING: Rejects Firebase project IDs with invalid format.
  • Updates underlying logging infrastructure.
  • Replaces deprecated google-auto-auth package with google-auth-library.
  • Fixes file output of apps:sdkconfig.
  • Replaces instances of firebaseapp.com with web.app for Firebase Hosting URLs.

v7.16.2

Compare Source

  • Fixes an auth issue with https.onCall functions when runtime options (runWith) are specified (#​2059).
  • Fixes an issue with the Cloud Firestore emulator where ternary operators were not allowed.
  • Fixes an issue where JWTs from the @firebase/testing SDK were not accepted by callable functions (#​1475).

v7.16.1

Compare Source

  • Fixes issue with context.auth.uid in callable Cloud Functions for Firebase (#​2057).
  • Fixes issue with SELECT and MULTISELECT params in Extensions.

v7.16.0

Compare Source

  • Release Realtime Database Emulator v4.4.1: bugfix for unreleased feature.
  • Fixes a bug when using firebase-tools to delete Cloud Firestore documents inside the Cloud Functions for Firebase emulator (#​2001).
  • Fixes a bug where .runtimeconfig.json files were not properly detected (#​1836).
  • Adds support for setting maxInstances in Cloud Functions for Firebase.
  • Fixes a bug where rules were sometimes read as blank after a file save (#​1980).
  • Fixes an issue where callable functions with authentication could not be emulated (#​1475).
  • Adds an sdkConfig parameter to the results object of apps:sdkconfig requests for web apps.

v7.15.1

Compare Source

  • Updated minimist dependency to fix security vulnerability.

v7.15.0

Compare Source

  • Adds warning message when installing a closed or open alpha extension.
  • Adds support for scheduled pubsub functions to pubsub emulator.
  • Returns an error if the public parameter is not configured for Hosting in firebase.json or via the -p parameter.
  • Firestore Emulator now accepts service account tokens.
  • ListCollectionIds with Firestore Emulator now correctly omits empty collections.
  • The first request in Firestore Emulator now correctly interacts with imported data.

v7.14.0

Compare Source

  • Adds import/export support to emulators commands for Firestore (#​1167).
  • Release RTDB Emulator v4.4.0: Add .inspect/databases.json endpoint
  • Fixes an issue with how functions:shell lists nested functions (#​1735)

v7.13.1

Compare Source

  • Updates google-auto-auth dependency to fix GCP Metadata API issues (#​1970).

v7.13.0

Compare Source

  • Adds breakpoint debugging to functions:shell (#​1872)
  • Removes function timeouts when breakpoint debugging is enabled (#​1931)
  • Fixes unhandled error when invoking a non-existent function (#​1937)
  • [Firestore emulator] Add support for update_transforms in Firestore commit and batchWrite API.
  • [Firestore emulator] Send resume tokens on the Listen stream
  • Fixes a bug where emulators could not bind to external IP (#​1949)
  • Improves error message when using config:set with a reserved namespace.

v7.12.1

Compare Source

  • Set a dependency (google-gax) so that the CLI continues to install successfully on Node 8 environments.

v7.12.0

Compare Source

  • Adds the ability to select an extension to install from a list of available official extensions when firebase ext:install -i or firebase ext:install --interactive is run.
  • Fixes a small bug that caused false values in the options object to be ignored.
  • Release Database Emulator v4.3.1.
  • Fixes a bug where unidentified commands gave an unhelpful error message (#​1889).
  • Prevents potential false-negative permissions check errors from erroring command.
  • Adds -s, --site flag to hosting:disable command, allowing it to be run against the non-default site of a project.
  • During init, a provided --project will be respected and cause the selection prompt to be skipped.
  • Adds support for the disabled flag when importing and exporting users (#​1777).

v7.11.0

Compare Source

  • Clean up extraneous error messages in extensions commands.
  • Adds breakpoint debugging for the Cloud Functions emulator using the --inspect-functions flag (#​1360).
  • Adds the ability for the Hosting emulator start offline through emulators:start (#​1854).
  • Changes ext:install to display helpful links instead of post-install instructions.
  • Sets the GCLOUD_PROJECT environment variable for scripts ran through 'emulators:exec'.

v7.10.0

Compare Source

  • Display update warnings during ext:update.
  • Fixes an issue where all multi-site pre- and post-deploy hooks trigger for targeted deploys (#​1160).
  • Fixes UX bugs in ext:update.

v7.9.0

Compare Source

  • Adds support for immutable params in ext:configure.
  • Fixes an issue where console.log() sometimes printed incorrectly (#​1817)
  • Improved Firebase App Distribution binary uploading.

v7.8.1

Compare Source

  • Improved error handling when exporting users.
  • Fixes Firebase ext command and enables it to run without a project.
  • Fixes an issue where repeated invoations cause an EADDRINUSE error (#​1815).

v7.8.0

Compare Source

  • Fixes a bug where the Functions emulator ignored the "host" configuration (#​1722)
  • Fixes a bug where the Functions emulator accepted requests to too many paths (#​1773)
  • Modifies firebase ext:update to not perform update if the extension is already up to date.
  • Print Firebase Console links for Extensions after operations.
  • Updated Firebase Extensions registry address.
  • Adds the firebase init emulators command.
  • Adds a Cloud Pub/Sub Emulator (#​1748).
  • Fixes a bug where the Firestore emulator was unable to serve rule coverage HTML reports.
  • Fixes a bug in the Firestore emulator where rapidly overwriting the same document could trigger exceptions.

v7.7.0

Compare Source

  • Fixed an issue in Firestore Emulator where batchGet and transactions does not work over REST.
  • Make additional setIamPolicy call when creating HTTP functions to ensure they continue to be publicly available.
  • Prevent duplicate rulesets from being created.

v7.6.2

Compare Source

  • Fixes a bug where rounds=0 was accepted for SHA1 hashes (#​1617).
  • Allows support for using \n in the --releaseNotes option of the appdistribution:distribute command (#​1739).
  • Specifies schema version when dealing with IAM Policies related to Extensions.
  • Functions emulator now re-uses workers to avoid running global code on each execution (#​1353).
  • Improves error handling of unreachable regions for Cloud Functions deploys.

v7.6.1

Compare Source

  • Fixes a bug where the wrong updateMask was sent during ext:update.
  • Fixes a bug where users were prompted for unchanged params during ext:update.

v7.6.0

Compare Source

  • Added support for managing the Realtime Database setting strictTriggerValidation.
  • Fixes trigger parser to not rely on prototype methods (#​1687).
  • Fixes bug where standalone CLI would hang in the Android Studio integrated terminal.
  • Fixes a bug where accessing refs from background function arguments would point to prod (#​1682).
  • Fixes a bug where WSL users without java would get an uncaught exception (#​1713).

v7.5.0

Compare Source

  • Firestore Emulator now serves WebChannel traffic on the same port as gRPC.
  • Fix bug where emulators could not find free ports on Windows Subsystem for Linux.
  • Fixes invalid JSON output in auth.export within a scripting environment.

v7.4.0

Compare Source

  • Initial release of the appdistribution:distribute command. Refer to the Firebase App Distribution Firebase CLI documentation for Android and iOS for more information about using the Firebase CLI to quickly distribute pre-release versions of your apps to testers.
  • Initial release of the Firebase Extensions ext:* commands. Refer to the CLI documentation for more information about the available commands.
  • (Removed some features from the preview list.)

v7.3.2

Compare Source

  • Ensures auth:export results are fully flushed to the output file.
  • Fix bug in Firestore emulator where concurrent requests for the same transaction would sometimes hang.
  • Fix bug in Firestore emulator where WriteResults for deletes had an update_time populated.
  • Set the predefined runtime environment variables in the functions emulator

v7.3.1

Compare Source

  • Fixed bug in Firestore emulator where transactions that timed out could still modify data.
  • Fixed bug where the auth:export command could export the same page of users multiple times.

v7.3.0

Compare Source

  • Mark list command as deprecated.
  • Mark setup:web command as deprecated.
  • Mark tools:migrate command as deprecated.
  • Fix bug in Cloud Firestore emulator where committing a transaction with no writes would not release locks.

v7.2.4

Compare Source

  • Update portfinder dependency to avoid breakage when installing firebase-tools.

v7.2.3

Compare Source

  • Introduce experimental support for browser clients to the Firestore emulator.
  • No longer require authentication to run the functions emulator.
  • Add new project management commands: projects:create, projects:list,
    projects:addFirebase.
  • Add new app management commands: apps:create, apps:list, apps:sdkconfig.
  • Improve init command to be able to create a new project.
  • Automatically choose a port for the Firestore emulator to serve WebChannel traffic.
  • Add support for running queries inside of transactions to the Firestore emulator.

v7.2.2

Compare Source

  • Allow passing GOOGLE_APPLICATION_CREDENTIALS environment variable into the functions emulator.
  • Set FIREBASE_DATABASE_EMULATOR_HOST in emulators:exec.
  • Add upsert API for function triggers to the database emulator.
  • Fix a bug where only one RTDB function could be registered by using the RTDB emulator upsert API to register functions triggers.

v7.2.1

Compare Source

  • Fixed bug causing Realtime Database emulator to serve errors on the .inspect/coverage.json route.
  • Fixed bug causing Realtime Database emulator to reject requests with Host headers not containing "localhost".
  • Fixed regression in deployment with service account.

v7.2.0

Compare Source

  • Allow the RTDB emulator to hot-reload rules file on changes.
  • Allows emulated Cloud Functions to talk to production RTDB/Firestore if the emulators are not running.
  • Fixes an issue where internal logs would sometimes appear in stdout.
  • Improves RTDB emulator support for JWT algorithms and arbitrary Google Cloud auth tokens.
  • Fixes an issue where functions:shell logs could be double escaped.
  • Fixes an issue with false noisy logging about emulators not running.
  • Allow starting the RTDB or Firestore emulators with any project ID.

v7.1.1

Compare Source

  • Fixes issue deploying scheduled functions for non us-central project locations.
  • Cleans up unnecessary emulator JAR files when a new one is downloaded.

  • If you want to rebase/retry this PR, click this checkbox.

@mend-for-github-com mend-for-github-com bot added the security fix Security fix generated by WhiteSource label Feb 7, 2022
@mend-for-github-com mend-for-github-com bot changed the title Update dependency firebase-tools to v9 Update dependency firebase-tools to v9 - autoclosed Feb 7, 2022
@mend-for-github-com mend-for-github-com bot deleted the whitesource-remediate/firebase-tools-9.x branch February 7, 2022 22:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
security fix Security fix generated by WhiteSource
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants