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

[Question] Is there any plan to upgrade cloud function gen 2? #213

Open
bilabror opened this issue May 27, 2024 · 6 comments
Open

[Question] Is there any plan to upgrade cloud function gen 2? #213

bilabror opened this issue May 27, 2024 · 6 comments

Comments

@bilabror
Copy link

I am one of the users of the algolia extension on firebase.
a few days ago, I received an email from firebase regarding cloud functions, the contents are more or less like this :

Screenshot 2024-05-27 105648

Question :
will firestore-algolia-search still use cloud function gen 1?

need change imports from firebase-functions to firebase-functions/v1 before September 1, 2024.

or firestore-algolia-search will upgrade to cloud function gen 2?

@smomin
Copy link
Collaborator

smomin commented Jun 7, 2024

I am waiting on the Google Firebase team to let me know if Gen2 is supported. Last time I checked, they were going to look into it. I will check again.

@smomin
Copy link
Collaborator

smomin commented Jun 17, 2024

The extension team has confirmed that Gen2 functions is now supported. I am going to start the process of moving toward supporting V2 function.

@smomin
Copy link
Collaborator

smomin commented Jun 27, 2024

ok, it looks like gen2 is not support for Cloud Firestore. I will check with the Firebase team to see when this will be supported.

@davie-robertson
Copy link

davie-robertson commented Jul 4, 2024

what problem are you facing with Cloud Firestore on V2?
I'm using today with

import {onDocumentCreated} from "firebase-functions/v2/firestore";
export const myFunction= onDocumentCreated(
  {document: "collection/{document}/subcollection/{memberId}", region: "europe-west1"},
  async (document) => {

@wian-lloyd
Copy link

@smomin If you don't mind me asking. We're working on migrating a project to v2 too. A colleague noticed this commit of yours where you reverted to back V1 functions. Was there a specific issue you faced that caused the revert?

@smomin
Copy link
Collaborator

smomin commented Jul 23, 2024

Firestore extension does not support v2 functions so I had to remove it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants