From 52fc56ec47599af617a29ff5b6a4b4f4dbe3b99f Mon Sep 17 00:00:00 2001 From: Joe Hanley Date: Mon, 7 Dec 2020 14:16:53 -0800 Subject: [PATCH 1/7] adds changelog entries for 3.13.0 --- CHANGELOG.md | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29bb..cb16b7484 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,13 @@ +- Adds `serviceAccount` option to `runtimeOptions`, which lets users to specify what service account a Cloud Function should run as. For example: ``` +const functions = require('firebase-functions'); + +functions.runWith({ + serviceAccount: 'test-sa@project.iam.gserviceaccount.com' + // OR + // serviceAcount: 'test-sa@" + // OR + // serviceAccount: 'default' +}) +``` +Requires firebase-tools@8.18.0 or later. Thanks @egor-miasnikov! +- Upgrades `highlight.js` to `10.4.1` to fix a vulnerability. \ No newline at end of file From 8994a2bb4d789ec687bf1a87f47800596c67ea35 Mon Sep 17 00:00:00 2001 From: Joe Hanley Date: Mon, 7 Dec 2020 14:19:02 -0800 Subject: [PATCH 2/7] formats --- CHANGELOG.md | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index cb16b7484..fc4aba952 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,15 @@ - Adds `serviceAccount` option to `runtimeOptions`, which lets users to specify what service account a Cloud Function should run as. For example: ``` -const functions = require('firebase-functions'); + const functions = require('firebase-functions'); functions.runWith({ - serviceAccount: 'test-sa@project.iam.gserviceaccount.com' - // OR - // serviceAcount: 'test-sa@" - // OR - // serviceAccount: 'default' +serviceAccount: 'test-sa@project.iam.gserviceaccount.com' +// OR +// serviceAcount: 'test-sa@" +// OR +// serviceAccount: 'default' }) + ``` Requires firebase-tools@8.18.0 or later. Thanks @egor-miasnikov! -- Upgrades `highlight.js` to `10.4.1` to fix a vulnerability. \ No newline at end of file +- Upgrades `highlight.js` to `10.4.1` to fix a vulnerability. +``` From 706ec112e073c2d34ae528755cd6679e6cb5ac28 Mon Sep 17 00:00:00 2001 From: joehan Date: Mon, 7 Dec 2020 15:39:02 -0800 Subject: [PATCH 3/7] Update CHANGELOG.md Co-authored-by: Sam Stern --- CHANGELOG.md | 1 - 1 file changed, 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fc4aba952..be0c81745 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,4 +12,3 @@ serviceAccount: 'test-sa@project.iam.gserviceaccount.com' ``` Requires firebase-tools@8.18.0 or later. Thanks @egor-miasnikov! - Upgrades `highlight.js` to `10.4.1` to fix a vulnerability. -``` From 3ec57f20770c9d70d26e76f6d1b3611e23b161d0 Mon Sep 17 00:00:00 2001 From: joehan Date: Mon, 7 Dec 2020 15:39:09 -0800 Subject: [PATCH 4/7] Update CHANGELOG.md Co-authored-by: Sam Stern --- CHANGELOG.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index be0c81745..7a325eb82 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,13 +1,13 @@ - Adds `serviceAccount` option to `runtimeOptions`, which lets users to specify what service account a Cloud Function should run as. For example: ``` const functions = require('firebase-functions'); -functions.runWith({ -serviceAccount: 'test-sa@project.iam.gserviceaccount.com' -// OR -// serviceAcount: 'test-sa@" -// OR -// serviceAccount: 'default' -}) +exports.myFunction = functions.runWith({ + serviceAccount: 'test-sa@project.iam.gserviceaccount.com' + // OR + // serviceAcount: 'test-sa@" + // OR + // serviceAccount: 'default' + }) ``` Requires firebase-tools@8.18.0 or later. Thanks @egor-miasnikov! From 6a5bf807d30fb2a1f0fefbcc648eb4aa77869b58 Mon Sep 17 00:00:00 2001 From: joehan Date: Mon, 7 Dec 2020 15:39:34 -0800 Subject: [PATCH 5/7] Update CHANGELOG.md Co-authored-by: Sam Stern --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7a325eb82..150aee0e4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -- Adds `serviceAccount` option to `runtimeOptions`, which lets users to specify what service account a Cloud Function should run as. For example: ``` +- Adds `serviceAccount` option to `runtimeOptions` to specify which service account Cloud Function should use at runtime. For example: ``` const functions = require('firebase-functions'); exports.myFunction = functions.runWith({ From 0f44d1b73886cc33bd245c0f9e075688668995cf Mon Sep 17 00:00:00 2001 From: Joe Hanley Date: Mon, 7 Dec 2020 15:41:19 -0800 Subject: [PATCH 6/7] formats --- CHANGELOG.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 150aee0e4..a873fc371 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ -- Adds `serviceAccount` option to `runtimeOptions` to specify which service account Cloud Function should use at runtime. For example: ``` - const functions = require('firebase-functions'); +- Adds `serviceAccount` option to `runtimeOptions` to specify which service account Cloud Function should use at runtime. For example: +``` +const functions = require('firebase-functions'); exports.myFunction = functions.runWith({ serviceAccount: 'test-sa@project.iam.gserviceaccount.com' From d7a2d3287387059de26966473b39dd0c4365f537 Mon Sep 17 00:00:00 2001 From: Joe Hanley Date: Mon, 7 Dec 2020 15:41:50 -0800 Subject: [PATCH 7/7] formats --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a873fc371..c9cb1adff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,5 @@ - Adds `serviceAccount` option to `runtimeOptions` to specify which service account Cloud Function should use at runtime. For example: + ``` const functions = require('firebase-functions'); @@ -11,5 +12,7 @@ exports.myFunction = functions.runWith({ }) ``` + Requires firebase-tools@8.18.0 or later. Thanks @egor-miasnikov! + - Upgrades `highlight.js` to `10.4.1` to fix a vulnerability.