You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@
7
7
- Increase emulator UI body parser limit to match Storage emulator maximum. (#8329)
8
8
- Fixed Data Connect setup issues for fresh databases due to IAM user not being created. (#8335)
9
9
- Fixed an issue where `ext:install` used POSIX file seperators on Windows machines. (#8326)
10
+
- Fixed an issue where credentials from `firebase login` would not be correctly provided to the Data Connect emulator.
10
11
- Updated the Firebase Data Connect local toolkit to v1.9.1, which adds support for generated Angular SDKs and updates Dart SDK fields to follow best practices. (#8340)
11
12
- Fixed misleading comments in `firebase init dataconnect``connector.yaml` template.
12
13
- Improved Data Connect SQL permissions to better handle tables owned by IAM roles. (#8339)
// Provide default application credentials when appropriate
298
-
constcredentialEnv: Record<string,string>={};
299
-
if(process.env.GOOGLE_APPLICATION_CREDENTIALS){
300
-
this.logger.logLabeled(
301
-
"WARN",
302
-
"functions",
303
-
`Your GOOGLE_APPLICATION_CREDENTIALS environment variable points to ${process.env.GOOGLE_APPLICATION_CREDENTIALS}. Non-emulated services will access production using these credentials. Be careful!`,
// TODO: It would be safer to set GOOGLE_APPLICATION_CREDENTIALS to /dev/null here but we can't because some SDKs don't work
313
-
// without credentials even when talking to the emulator: https://github.com/firebase/firebase-js-sdk/issues/3144
314
-
this.logger.logLabeled(
315
-
"WARN",
316
-
"functions",
317
-
"You are not signed in to the Firebase CLI. If you have authorized this machine using gcloud application-default credentials those may be discovered and used to access production services.",
318
-
);
319
-
}
320
-
321
-
returncredentialEnv;
322
-
}
323
-
324
299
createHubServer(): express.Application{
325
300
// TODO(samstern): Should not need this here but some tests are directly calling this method
326
301
// because FunctionsEmulator.start() used to not be test safe.
@@ -458,7 +433,11 @@ export class FunctionsEmulator implements EmulatorInstance {
0 commit comments