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
Migrate off functions.config() + bump functions to Node 24
Closes#1669.
functions.config() / Cloud Runtime Config is deprecated (shuts down
March 2027). The function code already reads everything from process.env
via functions/.env* files, so this finishes the migration in the
remaining places that still referenced the legacy config:
- e2e CI: stop writing the legacy .runtimeconfig.json; convert the
nested config secret into functions/.env.local (the dotenv the
emulator loads) with jq.
- docs/install: replace `firebase functions:config:set` /
`functions:config:get > .runtimeconfig.json` with .env instructions.
- userInvite trigger: drop the stale functions:config:get comment.
Also bump the functions runtime to Node 24 (engines.node + .nvmrc).
Note: nodejs24 is GA on Cloud Functions, but firebase-tools <= 15.20.0
(current latest) still caps deploy validation at nodejs22. Until a
firebase-tools release adds nodejs24, deploy the functions with
`gcloud functions deploy --runtime nodejs24` (or bump firebase-tools
once it supports it); plain `firebase deploy` will reject the runtime.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
To test cloud functions with Mailgun on your local machine (with cloud function shell), you will need to generate ``.runtimeconfig.json` file with environment variables :
0 commit comments