From 63909d2add8a076eefdd8789dff009f485f0cc8b Mon Sep 17 00:00:00 2001 From: Michael Bleigh Date: Tue, 9 Jun 2020 16:02:28 -0700 Subject: [PATCH 1/2] Update CHANGELOG.md --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1b87ad8b8..d57bbfc2c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,7 +12,9 @@ - Adds a special require that mimics Node.js 8 runtime logging in Node.js 10 and later runtimes: ```js - require('firebase-functions/logger/compat'); + require('firebase-functions/lib/logger/compat'); ``` In newer runtimes, requiring this will emit text logs with multi-line support and appropriate severity. In the Node.js 8 runtime, the `compat` module has no effect. + +- Fixes `https.onRequest` type to allow Promises for `async` functions. From 90da74d6ccdea41c582eb8c4050b1c9c00669011 Mon Sep 17 00:00:00 2001 From: Michael Bleigh Date: Tue, 9 Jun 2020 16:03:56 -0700 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d57bbfc2c..248ab7792 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,4 +17,4 @@ In newer runtimes, requiring this will emit text logs with multi-line support and appropriate severity. In the Node.js 8 runtime, the `compat` module has no effect. -- Fixes `https.onRequest` type to allow Promises for `async` functions. +- Fixes `https.onRequest` type signature to allow Promises for `async` functions.