State of Firebase (late 2020)

Official Firebase & Community Updates!

Wtih 2020 coming to an end, here are some notable releases since our last look at the State of Firebase!

state-of-firebase-late-2020-cover-image

Official Product Updates

Cloud Functions:

  • Node.js 14 LTS is in BETA while Node.js 8 is set to be deprecated in 2021
  • in addition to setting the runtime verison in package.json it can now be set in firebase.json with the functions.runtime field.
  • Per Function Service Accounts defined with serviceAccount in runWith() options
  • Per Function vpcConnector and vpcConnectorEgressSettings in the runWith options

Emulator Suite: Support for the Authentication service with local login windows and ID Tokens was added, rounding out the support for the local development of your product. SDKs were also improved for better unit testing of Security Rules, even in CI pipelines!

firebase-emulator-suite

Sourced from Firebase Docs. Credit to Firebase.

Authentication: Sign in with Apple

Hosting:

  • Brotli compression 🎉
  • i18n rewrites with language preference detected via Accept-Language request header and country detected by IP address
  • Preview Channels support deploying your site to a temporary URL that is shareable within your team. This is used to power PR preview deployments in the GitHub Action action-hosting-deploy (not official, but maintained by Googlers/Firebasers). Preview Channels does not support SSR workflows yet. Official launch blog post.