State of Firebase (late 2020)
By: James Hegedus
Tags: Firebase, Serverless, Google, JavaScript, Google Cloud Platform

State of Firebase (late 2020)

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

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.

it can now be set in with the field. Per Function Service Accounts defined with serviceAccount in runWith() options

in 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!

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

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.

Sourced from the official launch blog post. Credit to Firebase.

Hosting Website request logs can be realtime exported to Cloud Logging for analysis.

Realtime Database: has a new region in Belgium and also supports multiple instances of RTDB in the same Firebase project.

Friestore: != and not-in in query .where clause.

Security Rules: Language improvemnts with support of Sets, Maps, Local variables and the ternary operator. Improved rule size limit from 64KB to 256KB.

Extensions:

Official Extensions from Stripe for both managing Subscription Payments and Invoices!

Detect Online Presence is currently in preview (sign up for alpha access)

Performance Monitoring: New dashboard with near-realtime data syncing.

Remote Config: New dashboard with groups, filtering, sorting, searching and an icon to denote if it is in use in an experiment.

BigQuery:

Firebase project data exports to BigQuery were improved with each of the following products supported: Analytics, Cloud Messaging, Crashlytics, Performance Monitoring, Predictions, A/B Testing

Import existing user segments from external systems into BQ to be ingested by Firebase to use in Remote Config, Cloud Messaging, In-App Messaging.

Events

Official Podcast Logo. Credit to Firebase.

Firebase Podcast was launched and is hosted by David East! It is available on all your favourite podcast platforms: Spotify, Google Podcasts, Stitcher etc

Thanks to all the Firebase Live & Firebase Summit organizers and presenters, the virtual events really helped with this difficult year. For those who missed them:

Firebase Live 2020 — All Firebase talks @ the Firebase Live 2020.

Firebase Summit 2020 — All Firebase talks @ the Firebase Summit 2020.

Open Source & Community

firebase-kotlin-sdk — Kotlin-first SDK for Firebase supporting multiplatform projects ( ios , android & js ).

, & ). GeoFirestore — Location-based querying and filtering using Firebase Firestore saw a v4 release this year with a lot of improvements.

SvelteFire — Cybernetically enhanced Firebase apps Svelte.

Firestore Lite — Lightweight Cloud Firestore library for the browser.

React Fire — Official Firebase React library with Hooks, Context Providers, and Components that make it easy to interact with Firebase. This library was used heavily in the early days of React but has since been updated and repurposed to be the Firebase dev-team supported React library.

Firecode — VS Code Firestore Rules Extension.

Flank — Massively parallel Android and iOS test runner for Firebase Test Lab.

Flamingo — A Firebase Firestore model framework for Dart/Flutter.

FlutterFire — Collection of Firebase plugins for Flutter apps. This library had a large refactor this year bringing much better product support!

Firetable — Excel/Google Sheets like UI for Firebase/Firestore. No more admin portals!

Sourced from awesome-firebase , PRs welcome!

Conclusions

The second half of 2020 brought some great additions to the Firebase product lineup, particularly rounding out the local developer experience and CI pipeline support, as well as the Enterprise-y features of VPC Connector and Service Accounts for Cloud Functions!

For more play by play updates, follow along with Awesome Firebase 🔥

Or join the Firebase alpha program and help test out these features!

Need something else to read?

📑 Table of Contents

An index for my weblog.