Skip to content

Commit 3515b7f

Browse files
authored
Add information about v2 to readme files (#985)
1 parent b0a82d4 commit 3515b7f

File tree

5 files changed

+45
-4
lines changed

5 files changed

+45
-4
lines changed

2nd-gen/README.md

-1
This file was deleted.

README.md

+45-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,10 @@ To learn how to get started with Cloud Functions for Firebase by having a look a
1818
This repository contains a few categories of samples:
1919

2020
1. [**Quickstarts**](#quickstarts) are minimal examples for each types of triggers.
21+
1. [**Cloud Functions v2 public preview**](#v2) samples show how to use the public preview of [Cloud Functions for Firebase v2](https://firebase.google.com/docs/functions/beta).
2122
1. [**Development Environment Samples and Boilerplates**](#environment) illustrates how to get started with
22-
different, commonly used JavaScript development patterns such as Typescript, React SSR, ES2017 etc...
23-
1. [**Image Processing**](#image) shows a few ways where you can process and transform images using Cloud Functions such as generating thumbnails, converting images extracting metadata...
23+
different, commonly used JavaScript development patterns such as Typescript, React SSR, and ES2017.
24+
1. [**Image Processing**](#image) shows a few ways you can process and transform images using Cloud Functions such as generating thumbnails, converting images extracting metadata...
2425
1. [**Firebase Realtime Database Data Consistency**](#rtdb) shows how to implement automatic data consistency such as keeping a count of children, having a max amount of node childs, cleaning up old data etc... for your Realtime Database.
2526
1. [**Other common usecases**](#other) a set of other common usecases for Cloud Functions.
2627

@@ -59,6 +60,47 @@ This quickstart sample demonstrates using **Cloud Functions** triggered by **Pub
5960
This quickstart demonstrates how to trigger a function in response to the
6061
completion of a test matrix in **Firebase Test Lab**.
6162

63+
<a name="v2"></a>
64+
## Cloud Functions v2 public preview
65+
66+
> Note: Cloud Functions for Firebase v2 is a public preview. This means that the functionality might change in backward-incompatible ways. A preview release is not subject to any SLA or deprecation policy and may receive limited or no support.
67+
68+
See [the Firebase docs](https://firebase.google.com/docs/functions/beta) for more information about the v2 public preview.
69+
70+
### [HTTPS: Time Server](/2nd-gen/time-server/)
71+
72+
A minimal HTTPS example.
73+
74+
### [Task Queues: Back-up images from an API](/2nd-gen/taskqueues-backup-images/)
75+
76+
See how to use Task Queues to meter traffic to a rate-limited API.
77+
78+
### [Firebase Alerts: Send crash reports to Discord](/2nd-gen/alerts-to-discord/)
79+
80+
Trigger a function based on a Firebase Alert, and send information about the alert to a channel in a Discord server.
81+
82+
### [Custom Events: Save image metadata](/2nd-gen/custom-events/)
83+
84+
Learn how to trigger a function based on an event sent by an extension
85+
86+
### [Callables: Add numbers and sanitize text](/2nd-gen/callable-functions/)
87+
88+
See how to write a v2 function that can easily be triggered from an app.
89+
90+
### [PubSub: Hello world](/2nd-gen/pubsub-helloworld/)
91+
92+
A minimal PubSub example.
93+
94+
### [Storage: Generate image thumbnails](/2nd-gen/thumbnails/)
95+
96+
Resize images after they're added to a Storage bucket.
97+
98+
### Unit testing
99+
100+
- [Test with Jest](/2nd-gen/test-functions-jest/)
101+
- [Test with Jest and TypeScript](/2nd-gen/test-functions-jest-ts/)
102+
- [Test with Mocha](/2nd-gen/test-functions-mocha/)
103+
62104
<a name="environment"></a>
63105
## Development Boilerplates
64106

@@ -131,7 +173,7 @@ Uses a Realtime Database trigger.
131173

132174

133175
<a name="other"></a>
134-
## Other common usecases
176+
## Solve other common use cases
135177

136178
### [Send FCM notifications](fcm-notifications)
137179

0 commit comments

Comments
 (0)