Skip to content

Commit a5ff8d5

Browse files
yuchenshibkendall
andauthored
Require firebase-functions >= 3.13.1 in functions emulator. (#3851)
* Require firebase-functions >= 3.13.1 in functions emulator. To include the fix in firebase/firebase-functions#838, causing a hard to debug issue when both database and functions emulators are started. * Update CHANGELOG.md Co-authored-by: Bryan Kendall <[email protected]>
1 parent 017dab4 commit a5ff8d5

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@
44
- Fixes issue with filtering on a specific storage bucket using functions in the emulator (#3893)
55
- Fixes check in Cloud Functions for Firebase initialization to check for API enablement before trying to enable them. (#2574)
66
- No longer tries to clean up function build images from Artifact Registry when Artifact Registry is not enabled (#3943)
7+
- Requires firebase-functions >= 3.13.1 in Functions emulator to include bug fixes (#3851).

src/emulator/functionsEmulatorRuntime.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ async function assertResolveDeveloperNodeModule(
261261
async function verifyDeveloperNodeModules(frb: FunctionsRuntimeBundle): Promise<boolean> {
262262
const modBundles = [
263263
{ name: "firebase-admin", isDev: false, minVersion: "8.9.0" },
264-
{ name: "firebase-functions", isDev: false, minVersion: "3.3.0" },
264+
{ name: "firebase-functions", isDev: false, minVersion: "3.13.1" },
265265
];
266266

267267
for (const modBundle of modBundles) {

0 commit comments

Comments
 (0)