snorreks / nx-cloud-functions-deployer

Plugin for Nx that adds support for deploying Cloud Functions for Firebase.
MIT License
6 stars 1 forks source link

firebase functions v6 - default entrypoint is now gen v2 #13

Open kjetilhp opened 1 month ago

kjetilhp commented 1 month ago

heads up, v6 release of firebase-functions changes default entrypoint to v2, this breaks the auth/scheduler triggers in this project

import type { EventContext } from 'firebase-functions/v1';

v6.0.0 Breaking: Change default entrypoint of the firebase-functions package to v2 instead of v1 (https://github.com/firebase/firebase-functions/pull/1594) Add @deprecated annotation on functions.config() API (https://github.com/firebase/firebase-functions/pull/1604)

snorreks commented 2 weeks ago

Thanks for the heads up, i have added a version 3.0.0-beta1 that is using nx 20 and firebase-functions v6