-
Notifications
You must be signed in to change notification settings - Fork 175
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
Upgrade Cloud Functions to v2 (Gen2) #598
Comments
Hi @nilsreichardt! Unfortunately, Extensions currently support only v1 http-triggered Cloud Fnctions and Firestore triggers. We are monitoring updates, so v2 functions will be added once Extensions start fully supporting them. |
@jauntybrain any update on the node version making the extension deprecated? |
@ryanwhitemedia version I'm assuming you're still on the deprecated extension, per this comment the extensions are now on the Invertase publisher. |
Any update on this V1 is being decommissioned soon... @jauntybrain |
I've got an email from Firebase with next content:
This means that you have to upgrade to gen version 2 or to explicit import from 'firebase-functions/v1' SDK. Are you going to upgrade to gen2 functions? Please, answer. |
Any insight on this would be greatly appreciated. |
Firebase Extensions are not affected by this, see this comment. |
The original suggestion is to upgrade "stripe-firebase-extensions" from Cloud Functions v1 to v2. I personally agree and will follow through on it. |
@Hibrix-net Unfortunately, v2 function triggers (including Firestore) are still not yet supported in Firebase Extensions, so we cannot do anything about it until then, once it's supported we can upgrade 🙂 check the docs here. |
We already know that from @jauntybrain's response above. However, that doesn't mean we can't support the original suggestion in this thread, which could also help prompt an update to Firebase Extensions. |
Sorry, I'm not following. The original request was to upgrade the functions deployed by this extension to v2, or did you mean something else? |
It would be great to be able to upgrade to Cloud Functions v2 because they have less cold starts.
The text was updated successfully, but these errors were encountered: