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!
Official Product Updates
- 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 infirebase.json
with thefunctions.runtime
field. - Per Function Service Accounts defined with
serviceAccount
inrunWith()
options - Per Function
vpcConnector
andvpcConnectorEgressSettings
in therunWith
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!
Authentication: Sign in with Apple
- 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.
- 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.
- 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
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.
If you found this useful, please share with your friends & colleagues.