firebase-functions
firebase-functions copied to clipboard
Firebase SDK for Cloud Functions
### Description When using firebase-functions v2 `traceId` is missing for Firestore triggers like `onDocumentUpdated`. After a deep dive into the repository's code I've found that there's a difference. `onDocumentCreated` relies...
Firebase logger structured logs for v2 Cloud functions are missing labels. This causes a secondary issue, which is that, when trying to access function logs from Firebase console, the logs...
### Related issues ### [REQUIRED] Version info **node:** 16 **firebase-functions:** 4.3.1 **firebase-tools:** 11.24.0 **firebase-admin:** 11.3.0 ### [REQUIRED] Test case I want to deploy the same function to multiple GCP projects,...
### Related issues ### [REQUIRED] Version info **node:** v18.7.0 **firebase-functions:** v4.5.0 **firebase-tools:** **firebase-admin:** v11.11.1 ### [REQUIRED] Test case In Firebase Cloud Functions V2, when using `setGlobalOptions` to set the region...
### Related issues ### [REQUIRED] Version info **node:** v20.10.0 **firebase-functions:** 4.7.0 **firebase-tools:** 12.5.2 **firebase-admin:** 12.0.0 ### [REQUIRED] Test case index.js ``` import { defineList } from "firebase-functions/params"; const listParam =...
In v2, `cors` param on `https.onCall` should accept `cors.CorsOptions` object like on `v1`, the frontend app keeps sending check for CORS (OPTIONS) before every request because there isn't no maxAge...
### [REQUIRED] Version info **node:** v21.5.0 **firebase-functions:** v1 **firebase-tools:** 13.0.2 ### [REQUIRED] Test case Sample Firebase Auth beforeSignIn function code: ``` "use strict"; const functions = require("firebase-functions"); const admin =...
### Related issues ### [REQUIRED] Version info **node:** 18.19.0 **firebase-functions:** 4.6.0 **firebase-tools:** 12.9.1 **firebase-admin:** 11.11.0 ### [REQUIRED] Test case My function is the following: ```ts import { onCall } from...
Currently we can't access custom parameters while deployment of functions or while serving functions locally. Only a few selected params are allowed. e.g. minInstance Can we expect custom parameters to...