firebase-tools
Version:
Command-Line Interface for Firebase
22 lines (16 loc) • 1.34 kB
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.logFunctionsConfigDeprecationWarning = void 0;
const utils_1 = require("../utils");
const FUNCTIONS_CONFIG_DEPRECATION_MESSAGE = `DEPRECATION NOTICE: Action required to deploy after Dec 31, 2025
functions.config() API is deprecated.
Cloud Runtime Configuration API, the Google Cloud service used to store function configuration data, will be shut down on December 31, 2025. As a result, you must migrate away from using functions.config() to continue deploying your functions after December 31, 2025.
What this means for you:
- The Firebase CLI commands for managing this configuration (functions:config:set, get, unset, clone, and export) are deprecated. These commands no longer work after December 31, 2025.
- firebase deploy command will fail for functions that use the legacy functions.config() API after December 31, 2025.
Existing deployments will continue to work with their current configuration.
See your migration options at: https://firebase.google.com/docs/functions/config-env#migrate-to-dotenv`;
function logFunctionsConfigDeprecationWarning() {
(0, utils_1.logWarningToStderr)(FUNCTIONS_CONFIG_DEPRECATION_MESSAGE);
}
exports.logFunctionsConfigDeprecationWarning = logFunctionsConfigDeprecationWarning;
;