Upcoming changes to Cloud Functions for Firebase

body{ font-family:Google Sans, Roboto, sans-serif; font-size:14px; -webkit-text-size-adjust: none !important; -webkit-font-smoothing: antialiased !important; -ms-text-size-adjust: none !important; } table, tr, td { border-collapse:collapse; mso-table-lspace:0pt; mso-table-rspace:0pt; } a{ color:#0288d1; text-decoration: none;"> } a:link, a:visited, a:hover, a:active { color: #4285f4; text-decoration: none; } .appleLinks a { color:#000000 !important; text-decoration:none !important; } strong { font-weight: bold !important; } em { font-style: italic !important; } .yshortcuts a span { color: inherit !important; border-bottom: none !important; } html { -webkit-text-size-adjust: none; -ms-text-size-adjust: 100%; } .ReadMsgBody { width: 100%; } .ExternalClass { width: 100%; } .ExternalClass * { line-height: 100% } td { -webkit-text-size-adjust: none; } a[href^=tel] { color: inherit; text-decoration: none; } .mob-hide { display:none !important; } div, p, a, li, td { -webkit-text-size-adjust:none; } td { text-decoration:none !important; } a[x-apple-data-detectors] { color: inherit !important; text-decoration: none !important; font-size: inherit !important; font-family: inherit !important; font-weight: inherit !important; line-height: inherit !important; } @media all and (max-width: 600px) { .table-main-gmail { /* Forces Gmail to display Desktop view */ width: 100% !important; min-width:100% !important; } }
Update to the Node.js 10 runtime and update to the “Blaze” pay-as-you-go billing plan.
Hi Sangyong,

We are writing to let you know about two upcoming changes to Cloud Functions for Firebase:

  1. All Firebase developers who use the Cloud Functions Node.js 10 runtime will need to use the “Blaze” pay-as-you-go billing plan.

  2. The Node.js 10 runtime on Cloud Function has now reached General Availability and the Node.js 8 runtime on Cloud Functions will be deprecated. To avoid potential disruptions or security risks, you should update your functions to Node.js 10.
What Happened?

Starting June 22, 2020, Cloud Functions for Firebase is rolling out a change in our Node.js 10 runtime that will allow you to see the output of the functions build process using Cloud Build and Container Registry. Although Cloud Build and Container Registry have a generous free quota, both products require you to be on the "Blaze" pay-as-you-go plan.

This change will give you better transparency and control over your Cloud Functions deployments. For more details on the benefits of Cloud Build and Container Registry, please see our online FAQ.

On Dec 31, 2019, Node.js 8 was marked end-of-life by the Node.js Foundation. The Node.js Foundation stopped issuing security releases for Node.js 8. To ensure that your functions are on a supported version of Node.js, you must update them to the Node.js 10 runtime.

These changes for Cloud Functions for Firebase will follow this timeline:

  • By June 22, 2020, all developers using the Node.js 10 runtime will need to update to the “Blaze” pay-as-you-go billing plan and enable the Cloud Build API in order to continue deploying functions.

  • By February 15, 2021, all developers using the Node.js 8 runtime should update to the Node.js 10 runtime and update to the “Blaze” pay-as-you-go billing plan. Developers will no longer be able to create new functions or update existing functions that use Node.js 8.

  • By March 15, 2021, Node.js 8 runtime will be shut down for Cloud Functions for Firebase. Functions using Node.js 8 will be disabled after this date.
What do I need to do?

After you update to the “Blaze” pay-as-you-go billing plan,

You must enable the Cloud Build API. Either upgrade your Firebase CLI to v8.1.0 or higher, or follow the manual instructions to enable the Cloud Build API below:

  1. Access the Cloud Build API link in the Cloud Console.
  2. Select your project from the drop-down menu.
  3. Click Continue to enable the Cloud Build API for the project. A box will appear in the lower-left corner to confirm the API is enabled.

Once you enable the Cloud Build API, your project may incur charges if its Cloud Build or Container Registry usage exceeds the free tier limits for these products, in addition to Cloud Functions usage charges. For more information, visit the Cloud Build and Container Registry pricing pages.

The "Blaze" pay-as-you-go plan includes free tier limits just like the "Spark" free plan. For more info, see the online FAQ. To avoid unexpected bills, it's always good practice to set budget alerts.

You can find a list of your projects that are using Cloud Functions for Firebase and may be affected by this change below:

If you have any questions or need any assistance, please read our online FAQ. As always, feel free to reach out to us for more assistance.
Raj on behalf of the Firebase team
You have received this mandatory service announcement to update you about important changes to Firebase or your account.
© 2020 Google LLC
1600 Amphitheatre Parkway
Mountain View, CA 94043 USA